Skip to content

Native sync client

Latest
Compare
Choose a tag to compare
@ianopolous ianopolous released this 12 Dec 22:25
· 63 commits to master since this release

This release add new native sync client to allow you to sync a native folder with a Peergos folder across any number of devices. It includes many fixes to issues found by Solène Rapenne. Thank you! This release also includes the fixes from the recent security audit. There are also a large number of optimisations and improvements to the webdav bridge.

The sync client has the following properties:

  • Keep a local directory in sync with a Peergos directory, allowing you to work offline on your files
  • Keep empty sub directories in sync as well as files
  • Sync only diffs if a file is changed (within the encryption chunk size)
  • Sync file and directory deletions
  • If nothing has changed, use only ~4 bytes/s of bandwidth (300KB/day)
  • Keep both versions of a file if it is concurrently changed in different ways locally and in Peergos

Features:

  • Native folder sync client
  • Support webp thumbnails in Java client (shell, sync, fuse and webdav)
  • Support .mjs mimetype
  • Add tree hash, based on sha256 of each chunk, in encrypted file metadata
  • Keep child thumbnails when copying a directory
  • Webdav thumbnail generation
  • Update PDF viewer
  • Use shift to select ranges of files in web-ui
  • Add usage bar on web-ui side panel
  • Refresh current folder in web-ui from breadcrumb click
  • Preserve modified time in uploads
  • Progress bar for copy and move operations

Optimisations:

  • Remove duplicate writes in FileBlockCache
  • Remove unnecessary HEAD requests in S3 auth read calls
  • Webdav streaming downloads and uploads
  • Webdav move/rename uses Peergos move and rename (rather than copy and delete)
  • 10X faster bulk deletes, removing unnecessary champ.get calls

Fixes:

  • Fallback to png thumbnail in Java client if jpg fails
  • Move in writable secret links
  • Recalculate mimetype if start of file is changed (affected webdav which uploads empty file first)
  • Pretty thumbnails in Java client (matching web-ui)
  • Check mfa type before trying to deserialise webauthn
  • Memory leak in BufferedStorage
  • Lazily load files in shell.put (fixes uploading huge directories)
  • Bulk delete in write-shared folders
  • Various S3 blockstore fixes
  • Deleting a writable folder with secret links to descendants
  • Markdown handling of embedded images
  • Update dompurify
  • Support latest Java versions
  • Sanitise calendar event fields
  • Sanitise files names client side

Mirrored at https://peergos.net/public/peergos/releases

Release commit:
web-ui/89f98dacfccd9b553a32a172e4d521ba21a1eb84