Skip to content

Rostdav 0.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 13:25
· 48 commits to main since this release

Added

  • Files page: drag and drop of files and whole folders anywhere on the page (empty folders included), a "Choose a folder" button, and one progress bar for the whole batch. A file that cannot be stored (for example a refused name) is reported at the end; the rest of the batch still uploads.
  • Profile picture: any picture can be chosen or dropped. The browser crops it to a square, shrinks it and re-encodes it so that it fits what the server stores (at most 256 KiB, 16 to 1024 pixels), and shows a preview before it is saved.
  • File inputs are drop zones (Settings, Files), with sidebar icons for "Recent" and "Shares".

Changed

  • Database engine: Turso Database instead of SQLite (ADR 0008). Same file format and file name; no C library any more. Existing databases are converted on the first start (take a backup first). Small files are slower (about 245 uploads/s instead of 420, 660 downloads/s instead of 1100 in the load test), large files and listings are not; the binary grows from about 20 MB to 47 MB.
  • rostdav admin fsck (and the status page) now also run the database's integrity check and look for rows whose parent row is gone.
  • The page upload no longer probes every file with a request that answers 404 (it starts the transfer and reads it only when it exists).