Commit Graph

8743 Commits

Author SHA1 Message Date
1d3650feff http: update remote implementation, take remote from contentDispositionFilename if it is existing 2025-04-12 19:01:56 +02:00
26c6702913 serve: pass system metadata via http serve 2025-04-12 18:32:37 +02:00
21b6de4ded cmd: revert lsjson changes 2025-04-12 13:24:52 +02:00
d121aec1a0 lsjson: revert changes 2025-04-12 13:23:19 +02:00
177646e1d1 http: add requested metadata fields and make object fields naming closer to s3 backend 2025-04-12 13:22:02 +02:00
c228c2ca3e docs: remove metadata section in documentation sicne it's autogenerated 2025-04-12 11:03:04 +02:00
008e72e837 docs: fix lsjson autogenerated documentation 2025-04-12 11:03:04 +02:00
592a4ee1dc docs: add documentation for http and lsjson 2025-04-12 11:03:04 +02:00
22b84e5730 http: add test for metadata 2025-04-12 11:03:04 +02:00
4a011dcbc3 lsjson: fix typo in skip message 2025-04-12 11:03:04 +02:00
4e6bc4a660 lsjson: skip test if windoes 2025-04-12 11:03:04 +02:00
372afff227 lsjson: skip test if set metadata is not supported 2025-04-12 11:03:04 +02:00
1222521cdd lsjson: update tests 2025-04-12 11:03:04 +02:00
d5ddaed224 lsjson: move from autofilename to metadata 2025-04-12 11:03:04 +02:00
cdea0cf8e3 lsjson: update imports 2025-04-12 11:03:04 +02:00
30f8813d0d lsjson: add test for autofilename 2025-04-12 11:03:04 +02:00
ee607aa373 serve: add test for content-disposition 2025-04-12 11:03:04 +02:00
a8fe16f381 lsjson: handle error 2025-04-12 11:03:04 +02:00
393f64a70c lsjson: revert changes in tests 2025-04-12 11:03:04 +02:00
52c74e344f serve: add content-disposition handling for get/head requests 2025-04-12 11:03:04 +02:00
2e248f88b3 lsjon: add autofilename opt and draft for test 2025-04-12 11:03:04 +02:00
0ff48aee8f lsjson: simplify getting metadata process 2025-04-12 11:03:04 +02:00
69633ec2e8 http: add comment for choosing name codeblock 2025-04-12 11:03:04 +02:00
5865f3aaeb http: make it work in case entry does not implement metadaer 2025-04-12 11:03:04 +02:00
4a2d13f528 http: remove meta field from object structure, unused 2025-04-12 11:03:04 +02:00
e746320694 http: naive implementation of returning name from content-disposition header 2025-04-12 11:03:04 +02:00
d96c791623 http: fix nilmap error 2025-04-12 11:03:04 +02:00
d26e627a51 http: naive content-disposition as object metadata implementation 2025-04-12 11:03:04 +02:00
0b9671313b webdav: add an ownCloud Infinite Scale vendor that enables tus chunked upload support
Some checks failed
build / windows (push) Has been cancelled
build / other_os (push) Has been cancelled
build / mac_amd64 (push) Has been cancelled
build / mac_arm64 (push) Has been cancelled
build / linux (push) Has been cancelled
build / go1.23 (push) Has been cancelled
build / linux_386 (push) Has been cancelled
build / lint (push) Has been cancelled
build / android-all (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm/v6 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm/v7 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm64 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/386 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/amd64 (push) Has been cancelled
Build & Push Docker Images / Merge & Push Final Docker Image (push) Has been cancelled
This change adds a new vendor called "infinitescale" to the webdav
backend. It enables the ownCloud Infinite Scale
https://github.com/owncloud/ocis project and implements its specific
chunked uploader following the tus protocol https://tus.io

Signed-off-by: Christian Richter <crichter@owncloud.com>
Co-authored-by: Klaas Freitag <klaas.freitag@kiteworks.com>
Co-authored-by: Christian Richter <crichter@owncloud.com>
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
Co-authored-by: Ralf Haferkamp <r.haferkamp@opencloud.eu>
2025-04-11 12:23:55 +01:00
e0c99d6203 onedrive: fix metadata ordering in permissions
Before this change, due to a quirk in Graph, User permissions could be
lost when applying permissions.

Fixes #8465
2025-04-11 10:38:51 +01:00
7af1a930b7 Add Ben Alex to contributors 2025-04-11 10:38:51 +01:00
6e46ee4ffa Add simwai to contributors 2025-04-11 10:38:51 +01:00
4f1fc1a84e iclouddrive: fix so created files are writable
Some checks failed
Build & Push Docker Images / Build Docker Image for linux/386 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/amd64 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm/v6 (push) Has been cancelled
build / windows (push) Has been cancelled
build / other_os (push) Has been cancelled
build / mac_amd64 (push) Has been cancelled
build / mac_arm64 (push) Has been cancelled
build / linux (push) Has been cancelled
build / go1.23 (push) Has been cancelled
build / linux_386 (push) Has been cancelled
build / lint (push) Has been cancelled
build / android-all (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm/v7 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm64 (push) Has been cancelled
Build & Push Docker Images / Merge & Push Final Docker Image (push) Has been cancelled
At present any created file (eg through the touch command, copy, mount
etc) is read-only in iCloud.

This has been reported by users at
https://forum.rclone.org/t/icloud-and-file-editing-permissions/50659.
2025-04-10 11:38:38 +01:00
c10b6c5e8e cmd/authorize: show required arguments in help text
Some checks are pending
build / windows (push) Waiting to run
build / other_os (push) Waiting to run
build / mac_amd64 (push) Waiting to run
build / mac_arm64 (push) Waiting to run
build / linux (push) Waiting to run
build / go1.23 (push) Waiting to run
build / linux_386 (push) Waiting to run
build / lint (push) Waiting to run
build / android-all (push) Waiting to run
Build & Push Docker Images / Build Docker Image for linux/386 (push) Waiting to run
Build & Push Docker Images / Build Docker Image for linux/amd64 (push) Waiting to run
Build & Push Docker Images / Build Docker Image for linux/arm/v6 (push) Waiting to run
Build & Push Docker Images / Build Docker Image for linux/arm/v7 (push) Waiting to run
Build & Push Docker Images / Build Docker Image for linux/arm64 (push) Waiting to run
Build & Push Docker Images / Merge & Push Final Docker Image (push) Blocked by required conditions
2025-04-09 16:30:38 +01:00
52ff407116 cloudinary: var naming convention - #8416 2025-04-09 15:03:59 +01:00
078d202f39 cloudinary: automatically add/remove known media files extensions #8416 2025-04-09 15:03:59 +01:00
3e105f7e58 Add Markus Gerstel to contributors 2025-04-09 15:03:59 +01:00
02ca72e30c Add Enduriel to contributors 2025-04-09 15:03:59 +01:00
e567c52457 Add huanghaojun to contributors 2025-04-09 15:03:59 +01:00
10501d0398 Add simonmcnair to contributors 2025-04-09 15:03:59 +01:00
972ed42661 Add Samantha Bowen to contributors 2025-04-09 15:03:59 +01:00
48802b0a3b s3: documentation regression - fixes #8438
We lost a previous documentation fix (#7077) detailing how to restore
single objects from AWS S3 Glacier.

Also make clearer that rclone provides restore functionality natively.

Co-authored-by: danielkrajnik <dan94kra@gmail.com>
2025-04-09 14:18:18 +01:00
a9c7c493cf hash: add SHA512 support for file hashes 2025-04-09 14:16:22 +01:00
49f6ed5f5e vfs: fix inefficient directory caching when directory reads are slow
Before this change, when querying directories with large datasets, if
the query duration exceeded the directory cache expiration time, the
cache became invalid by the time results were retrieved. This means
every execution of `_readDir` triggers `_readDirFromEntries`,
resulting in prolonged processing times.

After this change we update the directory time with the time at the
end of the query.
2025-04-09 11:58:09 +01:00
a5d03e0ada docs: update fuse version in docker docs 2025-04-09 11:54:06 +01:00
199f61cefa fs/config: Read configuration passwords from stdin even when terminated with EOF - fixes #8480 2025-04-09 11:41:10 +01:00
fa78c6443e cmd/gitannex: Reject unknown layout modes in INITREMOTE
This is a "fail fast" improvement. Now, we will reject invalid layout
modes at setup time, rather than deferring failure until the user
attempts a transfer.
2025-04-09 11:27:44 +01:00
52e2e4b84c cmd/gitannex: Add configparse.go and refactor
This is a behavior-preserving refactor. I'm mostly just moving the code
that defines and parses configs (e.g. "rcloneremotename") into a new
source file. This lets us focus more on implementing the text protocol
in gitannex.go.
2025-04-09 11:27:44 +01:00
1c933372fe cmd/gitannex: Permit remotes with options
It looks like commit 2a1e28f5f5683eaba22d67a0e253c95b934f8c41 did not
fix the errors in the integration tests that I hoped it would. Upon
further inspection, I noticed that I forgot that remotes can have
options just like backends.

This should fix some of the failing integration tests. For context:
https://github.com/rclone/rclone/pull/7987#issuecomment-2688580667

Specifically, I believe that TestGitAnnexFstestBackendCases/HandlesInit
should no longer fail on the Azure backend with "INITREMOTE-FAILURE
remote does not exist: TestAzureBlob,directory_markers:".

Issue #7984
2025-04-09 11:27:44 +01:00
f5dfe3f5a6 serve ftp: add serve rc interface 2025-04-09 11:12:07 +01:00