SPB Git

spb/drive Public

SPB Drive — self-hosted personal cloud drive (files, previews, sharing) on the MacLustr cluster.

JavaScript 82.7% CSS 10.6% Nunjucks 3.6% Shell 1.8% SQL 1.3%

History of src/storage/versions.mjs · clear filter

  1. feat: v2.0 — file versioning, in-browser editor, file requests, storage insights
    - node_versions table: replace/edit archives previous blob (20 kept/file, CAS refs)
    - versions API: list, download, restore, delete; Info panel + Version history UI
    - upload conflicts: Keep both / Replace (new version) / Skip, batch-applicable
    - in-browser text editor (code/md/json/csv), ⌘S saves as version, New text file
    - file requests: public /r/<token> pages receive uploads into a chosen folder
      (12-char base58, expiry, max-files quota, QR, instant close, activity log)
    - storage insights: dedup savings, version footprint, largest files, duplicates
    - 27 tests green (unit + e2e incl. stranger upload + version restore)
    
    Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
    Simon-Pierre Boucher committed 12 h ago (Aug 10, 2026) · 1 file changed +112