v0.5.1
This update contains a few new features and fixes.
New features:
prvt serve
offers a new--read-only
flag. When in read-only mode, operations that alter the repository are disabled.- New
prvt repo info
command andGET /api/repo/info
route that return information on the repository, such as its version and the number of files stored.
Changes:
- The index file is now cached for as long as the server is running, and it's not refreshed every 5 minutes anymore.
- The info modal for folders shows the number of files inside a folder.
Fixes:
- Photos and videos shown within the web UI that are in portrait mode now are displayed not taller than the viewport, so can be seen entirely without scrolling the page.
/repo/keytest
and/repo/unlock
routes work with legacy info files v1 too again.- Other code improvements, refactorings, and cleanups.