Replace Proton-API-Bridge and go-proton-api with a client in
backend/protondrive written against Proton's current Drive API, following
the behaviour of Proton's official Drive SDK:
- volume-based and v2 routes only
- upload block verification, signed manifests and extended attributes
- current content encryption (v4 node keys, v6 PKESK, SEIPDv2)
- browser (session fork) sign-in, with username and password still
supported
- the volume's change events, used to keep the metadata cache current and
for ChangeNotify, polled at most every 30 s
- an in-memory fake Proton server (protontest) so the tests run without
an account
Uses ProtonMail/gopenpgp/v3 and ProtonMail/go-srp directly; no cgo.
Written with heavy AI assistance (Claude Code).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Filen treats names which differ only in case as the same name, but the
backend didn't set the CaseInsensitive feature. Syncing "Photos/a.txt"
onto an existing "photos/a.txt" uploaded it as a new file, which
replaced the existing one on Filen, and then failed to delete the old
name with "file_is_versioned" on every run.
Set CaseInsensitive and treat parent paths which differ only in case
as the same directory when moving. Allow DirMove when the destination
found is the source directory itself, which is a case-only rename.
Before this change the Seafile backend reported that it doesn't support
modification times, so a file uploaded by rclone got the time of the
upload as its modification time and rclone compared files by size only.
A file which changed without changing its size was not seen as changed
by sync or bisync - in both directions.
Since Seafile server 12.0.4 the upload API reads an optional
last_modify field (RFC 3339) and uses it as the modification time of the
uploaded file (haiwen/seafile-server#666). rclone now sends this field
when the server is 12.0.4 or newer and reports a precision of 1 second
there. The time still can't be changed without uploading the file again,
so SetModTime keeps returning fs.ErrorCantSetModTime and rclone uploads
the file again when only the time differs. Older servers behave as
before.
Tested against Seafile Server CE 13.0.28 (docker image): a file uploaded
with rclone now lists with its original modification time (to the
second), and bisync picks up same-size changes on both sides. The
backend integration tests give the same results with and without this
change (the existing failures are unrelated to modification times), and
the modification time tests (ObjectModTime, FsPrecision) pass.
The precision in docs/data/backends/seafile.yaml is updated to 1s, as
reported by the current Seafile docker image.
Fixes#8337
Seafile stores file and directory names in NFC whatever form they are
uploaded in, but looks them up byte for byte. A file uploaded with a
decomposed (NFD) name, as macOS produces, could therefore not be found,
renamed, copied or moved afterwards, and the operations integration
test TestMoveUnicodeEquivalentWithoutServerSideMove failed.
This normalizes paths inside a library to NFC before they are sent to
the server. Library names are left as they are since Seafile stores
them verbatim.
Add a new backend for dosya.dev, a cloud file storage, sharing, and
synchronization platform with workspace-based multi-tenancy.
Features:
- Server-side copy, move, rename (files and directories)
- Purge (recursive directory delete)
- Recursive listing (ListR) for --fast-list
- Multipart upload for large files (>10MB)
- Public link sharing via rclone link
- About (workspace storage quota)
- MIME type detection
- Empty directory support
- Workspace-based multi-tenancy (one remote per workspace)
- Download via presigned R2 URLs with Range header support
Co-authored-by: firatkaya <firat@netiket.com.tr>
Use OCI BatchDeleteObjects to remove up to 1,000 objects per request when
purging. Include directory markers so purging a bucket leaves it empty for
deletion.
Use OCI RenameObject for moves within a bucket, avoiding a server-side copy
followed by source deletion. Cross-bucket moves continue to fall back to copy
and delete.
The /file-entries/duplicate endpoint returns a 500 Server Error for
every request (reported to Drime 2026-06) which made all server side
copies fail after 10 retries. Remove the Copy method so rclone falls
back to downloading and re-uploading instead. It can be restored if
Drime fix the endpoint.
The server stores the SMB last write time with 100 ns (FILETIME)
precision and returns it in full in listings, so advertise that as
the precision instead of one second. This makes syncs preserve
sub-second modtimes when comparing and copying files.
Note that this means rclone will consider files with modtimes
differing by less than a second as needing their modtime set where
before it did not.