A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
fix: ambiguous storage field labels.
towfiqie3413e8ecf9a
diff --git a/backend/src/utils/providers/_s3Options.ts b/backend/src/utils/providers/_s3Options.tsindex a3c05ae..653c0f6 100644--- a/backend/src/utils/providers/_s3Options.ts+++ b/backend/src/utils/providers/_s3Options.ts@@ -2,11 +2,16 @@ const s3Options = [{label: 'Server-side Encryption',value: 'server_side_encryption',- fieldType: 'string',+ fieldType: 'select',required: false,default: '',description: 'The server-side encryption algorithm used when storing this object in S3.',command: '--s3-server-side-encryption',+ options: [+ { label: 'None', value: '' },+ { label: 'AES256', value: 'AES256' },+ { label: 'aws:kms', value: 'aws:kms' },+ ],},{label: 'SSE KMS ID',@@ -16,25 +21,46 @@ const s3Options = [default: '',description: 'If using KMS ID you must provide the ARN of Key.',command: '--s3-sse-kms-key-id',+ condition: [{ server_side_encryption: 'aws:kms' }],},{label: 'Storage Class',value: 'storage_class',- fieldType: 'string',+ fieldType: 'select',+ allowCustom: true,required: false,default: '',description: 'The storage class to use when storing new objects in S3.',command: '--s3-storage-class',+ options: [+ { label: 'Default', value: '' },+ { label: 'Standard', value: 'STANDARD' },+ { label: 'Reduced Redundancy', value: 'REDUCED_REDUNDANCY' },+ { label: 'Standard IA', value: 'STANDARD_IA' },+ { label: 'One Zone IA', value: 'ONEZONE_IA' },+ { label: 'Glacier', value: 'GLACIER' },+ { label: 'Glacier Deep Archive', value: 'DEEP_ARCHIVE' },+ { label: 'Intelligent-Tiering', value: 'INTELLIGENT_TIERING' },+ { label: 'Glacier Instant Retrieval', value: 'GLACIER_IR' },+ { label: 'Custom', value: 'custom' },+ ],},{label: 'Bucket ACL',value: 'bucket_acl',- fieldType: 'string',+ fieldType: 'select',required: false,default: '',description:'Canned ACL used when creating buckets. For more info visit https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl',command: '--s3-bucket-acl',+ options: [+ { label: 'Default (private)', value: '' },+ { label: 'Private', value: 'private' },+ { label: 'Public Read', value: 'public-read' },+ { label: 'Public Read/Write', value: 'public-read-write' },+ { label: 'Authenticated Read', value: 'authenticated-read' },+ ],},{label: 'Requester pays',@@ -48,12 +74,16 @@ const s3Options = [{label: 'Use SSE-C Algorithm',value: 'sse_customer_algorithm',- fieldType: 'string',+ fieldType: 'select',required: false,default: '',description:'If using SSE-C, the server-side encryption algorithm used when storing this object in S3.',command: '--s3-sse-customer-algorithm',+ options: [+ { label: 'None', value: '' },+ { label: 'AES256', value: 'AES256' },+ ],},{label: 'SSE-C Key',@@ -62,8 +92,9 @@ const s3Options = [required: false,default: '',description:- 'To use SSE-C you may provide the secret encryption key used to encrypt/decrypt your data. Alternatively you can provide --sse-customer-key-base64.',+ 'To use SSE-C you may provide the secret encryption key used to encrypt/decrypt your data. Alternatively you can provide SSE-C Key (Base64 Encoded) instead.',command: '--s3-sse-customer-key',+ condition: [{ sse_customer_algorithm: 'AES256' }],},{label: 'SSE-C Key (Base64 Encoded)',@@ -72,8 +103,9 @@ const s3Options = [required: false,default: '',description:- 'If using SSE-C you must provide the secret encryption key encoded in base64 format to encrypt/decrypt your data. Alternatively you can provide --sse-customer-key.',+ 'If using SSE-C you must provide the secret encryption key encoded in base64 format to encrypt/decrypt your data. Alternatively you can provide SSE-C Key instead.',command: '--s3-sse-customer-key-base64',+ condition: [{ sse_customer_algorithm: 'AES256' }],},{label: 'SSE-C Key (MD5 checksum)',@@ -82,8 +114,9 @@ const s3Options = [required: false,default: '',description:- 'If using SSE-C you may provide the secret encryption key MD5 checksum (optional). If you leave it blank, this is calculated automatically from the sse_customer_key provided.',+ 'If using SSE-C you may provide the secret encryption key MD5 checksum (optional). If you leave it blank, this is calculated automatically from the SSE-C Key provided.',command: '--s3-sse-customer-key-md5',+ condition: [{ sse_customer_algorithm: 'AES256' }],},{label: 'Upload Cutoff',@@ -92,7 +125,7 @@ const s3Options = [required: false,default: '200mi',description:- 'Cutoff for switching to chunked upload. Any files larger than this will be uploaded in chunks of chunk_size. The minimum is 0 and the maximum is 5 GiB.',+ 'Cutoff for switching to chunked upload. Any files larger than this will be uploaded in chunks. The minimum is 0 and the maximum is 5 GiB.',command: '--s3-upload-cutoff',},{@@ -102,7 +135,7 @@ const s3Options = [required: false,default: '5mi',description:- 'Chunk size to use for uploading. When uploading files larger than upload_cutoff or files with unknown size (e.g. from "rclone rcat" or uploaded with "rclone mount" or google photos or google docs) they will be uploaded as multipart uploads using this chunk size.',+ 'Chunk size to use for uploading. Files larger than the Upload Cutoff will be uploaded as multipart uploads using this chunk size.',command: '--s3-chunk-size',},{@@ -132,7 +165,7 @@ const s3Options = [required: false,default: false,description:- "Don't store MD5 checksum with object metadata. Normally rclone will calculate the MD5 checksum of the input before uploading it so it can add it to metadata on the object. This is great for data integrity checking but can cause long delays for large files to start uploading.",+ "Don't store MD5 checksum with object metadata. This speeds up uploads of large files but reduces data integrity checking.",command: '--s3-disable-checksum',},{@@ -142,8 +175,9 @@ const s3Options = [required: false,default: '',description:- 'Path to the shared credentials file. If env_auth = true then rclone can use a shared credentials file.',+ 'Path to the shared credentials file. Only used when Environment Auth is enabled.',command: '--s3-shared-credentials-file',+ condition: [{ env_auth: true }],},{label: 'Profile',@@ -152,8 +186,9 @@ const s3Options = [required: false,default: '',description:- 'Profile to use in the shared credentials file. If env_auth = true then rclone can use a shared credentials file. This variable controls which profile is used in that file.',+ 'Profile to use in the shared credentials file. Only used when Environment Auth is enabled.',command: '--s3-profile',+ condition: [{ env_auth: true }],},{label: 'Session Token',@@ -163,6 +198,7 @@ const s3Options = [default: '',description: 'An AWS session token.',command: '--s3-session-token',+ condition: [{ env_auth: false }],},{label: 'Upload Concurrency',@@ -181,7 +217,7 @@ const s3Options = [required: false,default: true,description:- 'If true use path style access if false use virtual hosted style. If this is true (the default) then rclone will use path style access, if false then rclone will use virtual path style. See the AWS S3 docs for more info.',+ 'If enabled, use path style access. If disabled, use virtual hosted style. See the AWS S3 docs for more info.',command: '--s3-force-path-style',},{@@ -191,7 +227,7 @@ const s3Options = [required: false,default: false,description:- 'If true use v2 authentication. If this is false (the default) then rclone will use v4 authentication. If it is set then rclone will use v2 authentication.',+ 'If enabled, use v2 authentication instead of the default v4 authentication.',command: '--s3-v2-auth',},{@@ -230,7 +266,7 @@ const s3Options = [required: false,default: '1000',description:- 'Size of listing chunk (response list for each ListObject S3 request). This option is also known as "MaxKeys", "max-items", or "page-size" from the AWS S3 specification. Most services truncate the response list to 1000 objects even if requested more than that. In AWS S3 this is a global maximum and cannot be changed, see AWS S3. In Ceph, this can be increased with the "rgw list buckets max chunk" option.',+ 'Number of objects to request per listing page. Most S3 providers cap this at 1000.',command: '--s3-list-chunk',},{@@ -250,7 +286,7 @@ const s3Options = [required: false,default: 'unset',description:- "Whether to url encode listings: true/false/unset Some providers support URL encoding listings and where this is available this is more reliable when using control characters in file names. If this is set to unset (the default) then rclone will choose according to the provider setting what to apply, but you can override rclone's choice here.",+ 'Whether to URL-encode listings. Some providers support URL encoding which is more reliable with special characters in file names. Leave unset to use the provider default.',command: '--s3-list-url-encode',},{@@ -260,7 +296,7 @@ const s3Options = [required: false,default: false,description:- "If set, don't attempt to check the bucket exists or create it. This can be useful when trying to minimise the number of transactions rclone does if you know the bucket exists already.",+ "If set, don't attempt to check the bucket exists or create it. Useful if you know the bucket already exists and want to reduce API calls.",command: '--s3-no-check-bucket',},{@@ -270,7 +306,7 @@ const s3Options = [required: false,default: false,description:- "If set, don't HEAD uploaded objects to check integrity. This can be useful when trying to minimise the number of transactions rclone does.",+ "If set, don't HEAD uploaded objects to check integrity. Useful to reduce API calls.",command: '--s3-no-head',},{@@ -288,8 +324,7 @@ const s3Options = [fieldType: 'encoding',required: false,default: 'slash,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--s3-encoding',},{@@ -317,7 +352,7 @@ const s3Options = [required: false,default: false,description:- 'Disable usage of http2 for S3 backends. There is currently an unsolved issue with the s3 (specifically minio) backend and HTTP/2. HTTP/2 is enabled by default for the s3 backend but can be disabled here. When the issue is solved this flag will be removed.',+ 'Disable HTTP/2 for S3 connections. Enable this if you experience issues with your S3 provider and HTTP/2.',command: '--s3-disable-http2',},{@@ -357,7 +392,7 @@ const s3Options = [required: false,default: 'unset',description:- "Whether to use an unsigned payload in PutObject Rclone has to avoid the AWS SDK seeking the body when calling PutObject. The AWS provider can add checksums in the trailer to avoid seeking but other providers can't.",+ 'Whether to use an unsigned payload when uploading objects. May be needed for non-AWS S3 providers that do not support chunked checksums.',command: '--s3-use-unsigned-payload',},{@@ -367,7 +402,7 @@ const s3Options = [required: false,default: false,description:- 'Whether to use a presigned request or PutObject for single part uploads If this is false rclone will use PutObject from the AWS SDK to upload an object.',+ 'Whether to use a presigned request for single part uploads instead of the standard PutObject method.',command: '--s3-use-presigned-request',},{@@ -396,7 +431,7 @@ const s3Options = [required: false,default: false,description:- 'Show deleted file markers when using versions. This shows deleted file markers in the listing when using versions. These will appear as 0 size files. The only operation which can be performed on them is deletion.',+ 'Show deleted file markers when using versions. These appear as 0-size files that can only be deleted.',command: '--s3-version-deleted',},{@@ -406,7 +441,7 @@ const s3Options = [required: false,default: false,description:- 'If set this will decompress gzip encoded objects. It is possible to upload objects to S3 with "Content-Encoding: gzip" set. Normally rclone will download these files as compressed objects.',+ 'If set, decompress gzip-encoded objects when downloading. By default, compressed objects are downloaded as-is.',command: '--s3-decompress',},{@@ -416,7 +451,7 @@ const s3Options = [required: false,default: 'unset',description:- "Set this if the backend might gzip objects. Normally providers will not alter objects when they are downloaded. If an object was not uploaded with Content-Encoding: gzip then it won't be set on download.",+ 'Set this if the backend might gzip objects. Normally providers will not alter objects when they are downloaded.',command: '--s3-might-gzip',},{@@ -426,7 +461,7 @@ const s3Options = [required: false,default: 'unset',description:- 'Whether to send Accept-Encoding: gzip header. By default, rclone will append Accept-Encoding: gzip to the request to download compressed objects whenever possible.',+ 'Whether to send Accept-Encoding: gzip header when downloading objects. By default, compressed downloads are requested whenever possible.',command: '--s3-use-accept-encoding-gzip',},{@@ -455,7 +490,7 @@ const s3Options = [required: false,default: 'unset',description:- 'Set if rclone should report BucketAlreadyExists errors on bucket creation. At some point during the evolution of the s3 protocol, AWS started returning an AlreadyOwnedByYou error when attempting to create a bucket that the user already owned, rather than a BucketAlreadyExists error.',+ 'Controls how existing bucket errors are handled during bucket creation. Leave unset to use the provider default.',command: '--s3-use-already-exists',},{@@ -465,7 +500,7 @@ const s3Options = [required: false,default: 'unset',description:- "Set if rclone should use multipart uploads. You can change this if you want to disable the use of multipart uploads. This shouldn't be necessary in normal operation.",+ 'Whether to use multipart uploads. Disabling this is not necessary in normal operation.',command: '--s3-use-multipart-uploads',},{@@ -475,7 +510,7 @@ const s3Options = [required: false,default: false,description:- 'Set to use AWS Directory Buckets If you are using an AWS Directory Bucket then set this flag.',+ 'Enable this if you are using an AWS Directory Bucket.',command: '--s3-directory-bucket',},{@@ -484,8 +519,7 @@ const s3Options = [fieldType: 'bits',required: false,default: 'off',- description:- 'Set to debug the SDK This can be set to a comma separated list of the following functions:',+ description: 'Set to enable SDK debug logging.',command: '--s3-sdk-log-mode',},{diff --git a/backend/src/utils/providers/azureblob.ts b/backend/src/utils/providers/azureblob.tsindex 17cc472..322ffa2 100644--- a/backend/src/utils/providers/azureblob.ts+++ b/backend/src/utils/providers/azureblob.ts@@ -46,7 +46,7 @@ const azureblobSettings = [required: false,default: '',description:- "ID of the service principal's tenant. Also called its directory ID. Set this if using",+ "ID of the service principal's tenant, also called its directory ID.",command: '--azureblob-tenant',},{@@ -56,7 +56,7 @@ const azureblobSettings = [authFieldType: 'password',required: false,default: '',- description: 'The ID of the client in use. Set this if using',+ description: 'The ID of the client in use.',command: '--azureblob-client-id',},{@@ -65,7 +65,7 @@ const azureblobSettings = [fieldType: 'string',required: false,default: '',- description: "One of the service principal's client secrets Set this if using",+ description: "One of the service principal's client secrets.",command: '--azureblob-client-secret',},{@@ -75,7 +75,7 @@ const azureblobSettings = [required: false,default: '',description:- 'Path to a PEM or PKCS12 certificate file including the private key. Set this if using',+ 'Path to a PEM or PKCS12 certificate file including the private key.',command: '--azureblob-client-certificate-path',},{@@ -84,7 +84,7 @@ const azureblobSettings = [fieldType: 'string',required: false,default: '',- description: 'Password for the certificate file (optional). Optionally set this if using',+ description: 'Password for the certificate file (optional).',command: '--azureblob-client-certificate-password',},{@@ -104,7 +104,7 @@ const azureblobSettings = [authFieldType: 'password',required: false,default: '',- description: 'User name (usually an email address) Set this if using',+ description: 'User name (usually an email address).',command: '--azureblob-username',},{@@ -114,7 +114,7 @@ const azureblobSettings = [authFieldType: 'password',required: false,default: '',- description: "The user's password. Set this if using",+ description: "The user's password.",command: '--azureblob-password',},{@@ -154,8 +154,9 @@ const azureblobSettings = [required: false,default: '',description:- 'Object ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_mi_res_id specified.',+ 'Object ID of the user-assigned MSI to use, if any. Leave blank if MSI Client ID or MSI Resource ID is specified.',command: '--azureblob-msi-object-id',+ condition: [{ use_msi: true }],},{label: 'MSI Client ID',@@ -164,8 +165,9 @@ const azureblobSettings = [required: false,default: '',description:- 'Object ID of the user-assigned MSI to use, if any. Leave blank if msi_object_id or msi_mi_res_id specified.',+ 'Client ID of the user-assigned MSI to use, if any. Leave blank if MSI Object ID or MSI Resource ID is specified.',command: '--azureblob-msi-client-id',+ condition: [{ use_msi: true }],},{label: 'MSI Resource ID',@@ -174,8 +176,9 @@ const azureblobSettings = [required: false,default: '',description:- 'Azure resource ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_object_id specified.',+ 'Azure resource ID of the user-assigned MSI to use, if any. Leave blank if MSI Client ID or MSI Object ID is specified.',command: '--azureblob-msi-mi-res-id',+ condition: [{ use_msi: true }],},{label: 'Use Emulator',@@ -194,7 +197,7 @@ const azureblobSettings = [required: false,default: false,description:- 'Use Azure CLI tool az for authentication Set to use the Azure CLI tool az as the sole means of authentication.',+ 'Use the Azure CLI tool (az) as the sole means of authentication.',command: '--azureblob-use-az',},{@@ -222,7 +225,7 @@ const azureblobSettings = [required: false,default: '4mi',description:- 'Upload chunk size. Note that this is stored in memory and there may be up to "--transfers" * "--azureblob-upload-concurrency" chunks stored at once in memory.',+ 'Upload chunk size. Chunks are stored in memory, and memory usage depends on the number of concurrent transfers.',command: '--azureblob-chunk-size',},{@@ -242,18 +245,25 @@ const azureblobSettings = [required: false,default: '5000',description:- 'Size of blob list. This sets the number of blobs requested in each listing chunk. Default is the maximum, 5000. "List blobs" requests are permitted 2 minutes per megabyte to complete. If an operation is taking longer than 2 minutes per megabyte on average, it will time out ( source ). This can be used to limit the number of blobs items to return, to avoid the time out.',+ 'Number of blobs requested per listing page. Reduce this value if listing operations are timing out.',command: '--azureblob-list-chunk',},{label: 'Access Tier',value: 'access_tier',- fieldType: 'string',+ fieldType: 'select',required: false,default: '',description:'Access tier of blob: hot, cool, cold or archive. Archived blobs can be restored by setting access tier to hot, cool or cold. Leave blank if you intend to use default access tier, which is set at account level',command: '--azureblob-access-tier',+ options: [+ { label: 'Default (account-level)', value: '' },+ { label: 'Hot', value: 'hot' },+ { label: 'Cool', value: 'cool' },+ { label: 'Cold', value: 'cold' },+ { label: 'Archive', value: 'archive' },+ ],},{label: 'Archive Tier Delete',@@ -262,7 +272,7 @@ const azureblobSettings = [required: false,default: false,description:- 'Delete archive tier blobs before overwriting. Archive tier blobs cannot be updated. So without this flag, if you attempt to update an archive tier blob, then rclone will produce the error:',+ 'Delete archive tier blobs before overwriting. Archive tier blobs cannot be updated directly, so this deletes them first before writing new data.',command: '--azureblob-archive-tier-delete',},{@@ -272,7 +282,7 @@ const azureblobSettings = [required: false,default: false,description:- "Don't store MD5 checksum with object metadata. Normally rclone will calculate the MD5 checksum of the input before uploading it so it can add it to metadata on the object. This is great for data integrity checking but can cause long delays for large files to start uploading.",+ "Don't store MD5 checksum with object metadata. Disabling checksums can speed up uploads for large files but reduces data integrity verification.",command: '--azureblob-disable-checksum',},{@@ -300,17 +310,22 @@ const azureblobSettings = [required: false,default: 'slash,backslash,del,ctl,rightperiod,invalidutf8',description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ 'The encoding for the backend.',command: '--azureblob-encoding',},{label: 'Public Access',value: 'public_access',- fieldType: 'string',+ fieldType: 'select',required: false,default: '',description: 'Public access level of a container: blob or container.',command: '--azureblob-public-access',+ options: [+ { label: 'No public access', value: '' },+ { label: 'Blob-level public read', value: 'blob' },+ { label: 'Full public read (container)', value: 'container' },+ ],},{label: 'Directory Markers',@@ -329,7 +344,7 @@ const azureblobSettings = [required: false,default: false,description:- "If set, don't attempt to check the container exists or create it. This can be useful when trying to minimize the number of transactions rclone does if you know the container exists already.",+ "If set, don't attempt to check the container exists or create it. Useful if you know the container already exists and want to reduce API calls.",command: '--azureblob-no-check-container',},{@@ -344,11 +359,16 @@ const azureblobSettings = [{label: 'Delete Snapshots',value: 'delete_snapshots',- fieldType: 'string',+ fieldType: 'select',required: false,default: '',description: 'Set to specify how to deal with snapshots on blob deletion.',command: '--azureblob-delete-snapshots',+ options: [+ { label: 'Fail if blob has snapshots', value: '' },+ { label: 'Delete blob and all snapshots', value: 'include' },+ { label: 'Delete only snapshots', value: 'only' },+ ],},{label: 'Description',diff --git a/backend/src/utils/providers/azurefiles.ts b/backend/src/utils/providers/azurefiles.tsindex 86dae42..88f15c7 100644--- a/backend/src/utils/providers/azurefiles.ts+++ b/backend/src/utils/providers/azurefiles.ts@@ -61,7 +61,7 @@ const azurefilesSettings = [required: false,default: '',description:- "ID of the service principal's tenant. Also called its directory ID. Set this if using",+ "ID of the service principal's tenant, also called its directory ID.",command: '--azurefiles-tenant',},{@@ -70,7 +70,7 @@ const azurefilesSettings = [fieldType: 'string',required: false,default: '',- description: 'The ID of the client in use. Set this if using',+ description: 'The ID of the client in use.',command: '--azurefiles-client-id',},{@@ -79,7 +79,7 @@ const azurefilesSettings = [fieldType: 'string',required: false,default: '',- description: "One of the service principal's client secrets Set this if using",+ description: "One of the service principal's client secrets.",command: '--azurefiles-client-secret',},{@@ -89,7 +89,7 @@ const azurefilesSettings = [required: false,default: '',description:- 'Path to a PEM or PKCS12 certificate file including the private key. Set this if using',+ 'Path to a PEM or PKCS12 certificate file including the private key.',command: '--azurefiles-client-certificate-path',},{@@ -98,7 +98,7 @@ const azurefilesSettings = [fieldType: 'string',required: false,default: '',- description: 'Password for the certificate file (optional). Optionally set this if using',+ description: 'Password for the certificate file (optional).',command: '--azurefiles-client-certificate-password',},{@@ -117,7 +117,7 @@ const azurefilesSettings = [fieldType: 'string',required: false,default: '',- description: 'User name (usually an email address) Set this if using',+ description: 'User name (usually an email address).',command: '--azurefiles-username',},{@@ -126,7 +126,7 @@ const azurefilesSettings = [fieldType: 'string',required: false,default: '',- description: "The user's password Set this if using",+ description: "The user's password.",command: '--azurefiles-password',},{@@ -156,7 +156,7 @@ const azurefilesSettings = [required: false,default: '',description:- 'Object ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_mi_res_id specified.',+ 'Object ID of the user-assigned MSI to use, if any. Leave blank if MSI Client ID or MSI Resource ID is specified.',command: '--azurefiles-msi-object-id',},{@@ -166,7 +166,7 @@ const azurefilesSettings = [required: false,default: '',description:- 'Object ID of the user-assigned MSI to use, if any. Leave blank if msi_object_id or msi_mi_res_id specified.',+ 'Client ID of the user-assigned MSI to use, if any. Leave blank if MSI Object ID or MSI Resource ID is specified.',command: '--azurefiles-msi-client-id',},{@@ -176,7 +176,7 @@ const azurefilesSettings = [required: false,default: '',description:- 'Azure resource ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_object_id specified.',+ 'Azure resource ID of the user-assigned MSI to use, if any. Leave blank if MSI Client ID or MSI Object ID is specified.',command: '--azurefiles-msi-mi-res-id',},{@@ -195,7 +195,7 @@ const azurefilesSettings = [required: false,default: '4mi',description:- 'Upload chunk size. Note that this is stored in memory and there may be up to "--transfers" * "--azurefile-upload-concurrency" chunks stored at once in memory.',+ 'Upload chunk size. Chunks are stored in memory, and memory usage depends on the number of concurrent transfers.',command: '--azurefiles-chunk-size',},{@@ -215,7 +215,7 @@ const azurefilesSettings = [required: false,default: '10gi',description:- "Max size for streamed files. Azure files needs to know in advance how big the file will be. When rclone doesn't know it uses this value instead.",+ "Max size for streamed files. Azure Files needs to know the file size in advance. This value is used when the file size is unknown.",command: '--azurefiles-max-stream-size',},{@@ -226,7 +226,7 @@ const azurefilesSettings = [default:'slash,ltgt,doublequote,colon,question,asterisk,pipe,backslash,del,ctl,rightperiod,invalidutf8,dot',description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ 'The encoding for the backend.',command: '--azurefiles-encoding',},{diff --git a/backend/src/utils/providers/b2.ts b/backend/src/utils/providers/b2.tsindex 694a712..cce2413 100644--- a/backend/src/utils/providers/b2.ts+++ b/backend/src/utils/providers/b2.ts@@ -44,7 +44,7 @@ const b2Settings = [required: false,default: '',description:- 'A flag string for X-Bz-Test-Mode header for debugging. This is for debugging purposes only. Setting it to one of the strings below will cause b2 to return specific errors: fail_some_uploads, expire_some_account_authorization_tokens, force_cap_exceeded',+ 'A test mode flag for debugging purposes only. Setting it will cause B2 to return specific errors: fail_some_uploads, expire_some_account_authorization_tokens, force_cap_exceeded.',command: '--b2-test-mode',},{@@ -74,7 +74,7 @@ const b2Settings = [required: false,default: '200mi',description:- 'Cutoff for switching to chunked upload. Files above this size will be uploaded in chunks of "--b2-chunk-size".',+ 'Cutoff for switching to chunked upload. Files above this size will be uploaded in chunks of the configured Chunk Size.',command: '--b2-upload-cutoff',},{@@ -113,7 +113,7 @@ const b2Settings = [required: false,default: false,description:- 'Disable checksums for large (> upload cutoff) files. Normally rclone will calculate the SHA1 checksum of the input before uploading it so it can add it to metadata on the object. This is great for data integrity checking but can cause long delays for large files to start uploading.',+ 'Disable checksums for large files (above the Upload Cutoff). Checksums ensure data integrity but can cause long delays for large files to start uploading.',command: '--b2-disable-checksum',},{@@ -123,7 +123,7 @@ const b2Settings = [required: false,default: '',description:- 'Custom endpoint for downloads. This is usually set to a Cloudflare CDN URL as Backblaze offers free egress for data downloaded through the Cloudflare network. Rclone works with private buckets by sending an "Authorization" header. If the custom endpoint rewrites the requests for authentication, e.g., in Cloudflare Workers, this header needs to be handled properly. Leave blank if you want to use the endpoint provided by Backblaze.',+ 'Custom endpoint for downloads, usually a Cloudflare CDN URL since Backblaze offers free egress through Cloudflare. Leave blank to use the default Backblaze endpoint.',command: '--b2-download-url',},{@@ -133,7 +133,7 @@ const b2Settings = [required: false,default: '1w',description:- 'Time before the public link authorization token will expire in s or suffix ms|s|m|h|d. This is used in combination with "rclone link" for making files accessible to the public and sets the duration before the download authorization token will expire.',+ 'Time before the public link authorization token will expire. Used when making files accessible via public links.',command: '--b2-download-auth-duration',},{@@ -170,8 +170,7 @@ const b2Settings = [fieldType: 'encoding',required: false,default: 'slash,backslash,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--b2-encoding',},{diff --git a/backend/src/utils/providers/boxCom.ts b/backend/src/utils/providers/boxCom.tsindex 63fde7f..1dc1696 100644--- a/backend/src/utils/providers/boxCom.ts+++ b/backend/src/utils/providers/boxCom.ts@@ -94,7 +94,7 @@ const boxSettings = [fieldType: 'string',required: false,default: '0',- description: 'Fill in for rclone to use a non root folder as its starting point.',+ description: 'Set a non-root folder as the starting point. Use "0" for the root folder.',command: '--box-root-folder-id',},{@@ -140,7 +140,7 @@ const boxSettings = [required: false,default: '',description:- 'Impersonate this user ID when using a service account. Setting this flag allows rclone, when using a JWT service account, to act on behalf of another user by setting the as-user header.',+ 'Impersonate this user ID when using a service account, to act on behalf of another user.',command: '--box-impersonate',},{@@ -150,7 +150,7 @@ const boxSettings = [required: false,default: 'slash,backslash,del,ctl,rightspace,invalidutf8,dot',description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ 'The encoding for the backend.',command: '--box-encoding',},{diff --git a/backend/src/utils/providers/ceph.ts b/backend/src/utils/providers/ceph.tsindex 33a8030..6f6cb80 100644--- a/backend/src/utils/providers/ceph.ts+++ b/backend/src/utils/providers/ceph.ts@@ -28,7 +28,7 @@ const cephSettings = [authFieldType: 'client',required: true,default: '',- description: 'API Ednpoint to conenct to. eg: https://ceph.endpoint.example.com',+ description: 'API Endpoint to connect to. Example: https://ceph.endpoint.example.com',command: '--s3-endpoint',},...s3Options,diff --git a/backend/src/utils/providers/dropbox.ts b/backend/src/utils/providers/dropbox.tsindex 151abde..b1476db 100644--- a/backend/src/utils/providers/dropbox.ts+++ b/backend/src/utils/providers/dropbox.ts@@ -54,8 +54,7 @@ const dropboxSettings = [authFieldType: 'client',required: false,default: false,- description:- 'Use client credentials OAuth flow. This will use the OAUTH2 client Credentials Flow as described in RFC 6749.',+ description: 'Use client credentials OAuth flow instead of interactive login.',command: '--dropbox-client-credentials',},{@@ -74,8 +73,7 @@ const dropboxSettings = [fieldType: 'string',required: false,default: '',- description:- 'Impersonate this user when using a business account. Note that if you want to use impersonate, you should make sure this flag is set when running "rclone config" as this will cause rclone to request the "members.read" scope which it won\'t normally. This is needed to lookup a members email address into the internal ID that dropbox uses in the API.',+ description: 'Impersonate this user when using a Dropbox Business account.',command: '--dropbox-impersonate',},{@@ -85,7 +83,7 @@ const dropboxSettings = [required: false,default: false,description:- "Instructs rclone to work on individual shared files. In this mode rclone's features are extremely limited - only list (ls, lsl, etc.) operations and read operations (e.g. downloading) are supported in this mode. All other operations will be disabled.",+ 'Work with individual shared files. In this mode, only listing and downloading are supported.',command: '--dropbox-shared-files',},{@@ -95,7 +93,7 @@ const dropboxSettings = [required: false,default: false,description:- 'Instructs rclone to work on shared folders. When this flag is used with no path only the List operation is supported and all available shared folders will be listed. If you specify a path the first part will be interpreted as the name of shared folder. Rclone will then try to mount this shared to the root namespace. On success shared folder rclone proceeds normally. The shared folder is now pretty much a normal folder and all normal operations are supported.',+ 'Work with shared folders. When enabled without a path, all shared folders are listed. With a path, the first part is treated as the shared folder name.',command: '--dropbox-shared-folders',},{@@ -113,8 +111,7 @@ const dropboxSettings = [fieldType: 'encoding',required: false,default: 'slash,backslash,del,rightspace,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'Character encoding for file and folder names.',command: '--dropbox-encoding',},{@@ -129,11 +126,16 @@ const dropboxSettings = [{label: 'Batch Mode',value: 'batch_mode',- fieldType: 'string',+ fieldType: 'select',required: false,default: 'sync',- description: 'Upload file batching sync|async|off. This sets the batch mode used by rclone.',+ description: 'Upload file batching mode.',command: '--dropbox-batch-mode',+ options: [+ { label: 'Sync (batch and check completion)', value: 'sync' },+ { label: 'Async (batch, no completion check)', value: 'async' },+ { label: 'Off (no batching)', value: 'off' },+ ],},{label: 'Batch Size',diff --git a/backend/src/utils/providers/fichier.ts b/backend/src/utils/providers/fichier.tsindex 95b1d72..dc9e472 100644--- a/backend/src/utils/providers/fichier.ts+++ b/backend/src/utils/providers/fichier.ts@@ -25,7 +25,7 @@ const fichierSettings = [required: false,default: '',description:- 'If you want to download a shared file that is password protected, add this parameter. NB Input to this must be obscured - see rclone obscure.',+ 'If you want to download a shared file that is password protected, add this parameter.',command: '--fichier-file-password',},{@@ -35,7 +35,7 @@ const fichierSettings = [required: false,default: '',description:- 'If you want to list the files in a shared folder that is password protected, add this parameter. NB Input to this must be obscured - see rclone obscure.',+ 'If you want to list the files in a shared folder that is password protected, add this parameter.',command: '--fichier-folder-password',},{@@ -55,7 +55,7 @@ const fichierSettings = [default:'slash,ltgt,doublequote,singlequote,backquote,dollar,backslash,del,ctl,leftspace,rightspace,invalidutf8,dot',description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ 'The encoding for the backend.',command: '--fichier-encoding',},{diff --git a/backend/src/utils/providers/filesCom.ts b/backend/src/utils/providers/filesCom.tsindex 66116de..2a8fa2e 100644--- a/backend/src/utils/providers/filesCom.ts+++ b/backend/src/utils/providers/filesCom.ts@@ -37,8 +37,7 @@ const filesSettings = [authFieldType: 'password',required: false,default: '',- description:- 'The password used to authenticate with Files.com. NB Input to this must be obscured - see rclone obscure.',+ description: 'The password used to authenticate with Files.com.',command: '--filescom-password',},{@@ -47,8 +46,7 @@ const filesSettings = [fieldType: 'encoding',required: false,default: 'slash,backslash,del,ctl,rightspace,rightcrlfhtvt,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--filescom-encoding',},{diff --git a/backend/src/utils/providers/ftp.ts b/backend/src/utils/providers/ftp.tsindex c189339..8293cf4 100644--- a/backend/src/utils/providers/ftp.ts+++ b/backend/src/utils/providers/ftp.ts@@ -1,4 +1,6 @@-const ftpSettings = [+import type { ProviderSetting } from './types';++const ftpSettings: ProviderSetting[] = [{label: 'FTP Host',command: '--ftp-host',@@ -37,7 +39,7 @@ const ftpSettings = [required: false,value: 'pass',default: '',- description: 'FTP password. NB Input to this must be obscured - see rclone obscure.',+ description: 'FTP password.',},{label: 'Use Implicit FTPS (FTP over TLS)',@@ -48,7 +50,7 @@ const ftpSettings = [value: 'tls',default: false,description:- 'Use Implicit FTPS (FTP over TLS). When using implicit FTP over TLS the client connects using TLS\nright from the start which breaks compatibility with\nnon-TLS-aware servers. This is usually served over port 990 rather\nthan port 21. Cannot be used in combination with explicit FTPS.',+ 'Use Implicit FTPS (FTP over TLS). Connects using TLS from the start, usually on port 990. Cannot be used with explicit FTPS.',},{label: 'Use Explicit FTPS (FTP over TLS)',@@ -59,7 +61,7 @@ const ftpSettings = [value: 'explicit_tls',default: false,description:- 'Use Explicit FTPS (FTP over TLS). When using explicit FTP over TLS the client explicitly requests\nsecurity from the server in order to upgrade a plain text connection\nto an encrypted one. Cannot be used in combination with implicit FTPS.',+ 'Use Explicit FTPS (FTP over TLS). Upgrades a plain text connection to encrypted. Cannot be used with implicit FTPS.',},{label: 'Max FTP Simultaneous Connections',@@ -69,7 +71,7 @@ const ftpSettings = [value: 'concurrency',default: '0',description:- 'Maximum number of FTP simultaneous connections, 0 for unlimited. Note that setting this is very likely to cause deadlocks so it should\nbe used with care.',+ 'Maximum number of FTP simultaneous connections, 0 for unlimited. Setting this is likely to cause deadlocks, so use with care.',},{label: 'Do Not Verify TLS Certificate',@@ -79,6 +81,7 @@ const ftpSettings = [value: 'no_check_certificate',default: false,description: 'Do not verify the TLS certificate of the server.',+ condition: [{ tls: true }, { explicit_tls: true }],},{label: 'Disable EPSV',@@ -134,7 +137,7 @@ const ftpSettings = [value: 'idle_timeout',default: '1m0s',description:- 'Max time before closing idle connections. If no connections have been returned to the connection pool in the time\ngiven, rclone will empty the connection pool.',+ 'Max time before closing idle connections. If no connections are used within this time, the connection pool is emptied.',},{label: 'Close Response Timeout',@@ -153,7 +156,8 @@ const ftpSettings = [value: 'tls_cache_size',default: '32',description:- 'Size of TLS session cache for all control and data connections. TLS cache allows to resume TLS sessions and reuse PSK between connections.\nIncrease if default size is not enough resulting in TLS resumption errors.\nEnabled by default. Use 0 to disable.',+ 'Size of TLS session cache for all control and data connections. Enabled by default; use 0 to disable.',+ condition: [{ tls: true }, { explicit_tls: true }],},{label: 'Disable TLS 1.3',@@ -163,6 +167,7 @@ const ftpSettings = [value: 'disable_tls13',default: false,description: 'Disable TLS 1.3 (workaround for FTP servers with buggy TLS)',+ condition: [{ tls: true }, { explicit_tls: true }],},{label: 'Data Connection Close Timeout',@@ -180,8 +185,7 @@ const ftpSettings = [required: false,value: 'ask_password',default: false,- description:- 'Allow asking for FTP password when needed. If this is set and no password is supplied then rclone will ask for a password',+ description: 'Allow prompting for an FTP password when none is configured.',},{label: 'SOCKS Proxy',@@ -201,7 +205,7 @@ const ftpSettings = [value: 'no_check_upload',default: false,description:- "Don't check the upload is OK Normally rclone will try to check the upload exists after it has\nuploaded a file to make sure the size and modification time are as\nexpected.",+ 'Skip verifying uploads. By default, uploaded files are checked to ensure the size and modification time are correct.',},{label: 'Backend Encoding',@@ -210,8 +214,7 @@ const ftpSettings = [required: false,value: 'encoding',default: 'slash,del,ctl,rightspace,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',},{label: 'Description',diff --git a/backend/src/utils/providers/gcs.ts b/backend/src/utils/providers/gcs.tsindex 7b4ba4a..921438a 100644--- a/backend/src/utils/providers/gcs.ts+++ b/backend/src/utils/providers/gcs.ts@@ -74,20 +74,37 @@ const gcsSettings = [{label: 'Object ACL',value: 'object_acl',- fieldType: 'string',+ fieldType: 'select',required: false,default: '',description: 'Access Control List for new objects.',command: '--gcs-object-acl',+ options: [+ { label: 'Default (private)', value: '' },+ { label: 'Authenticated Read', value: 'authenticatedRead' },+ { label: 'Bucket Owner Full Control', value: 'bucketOwnerFullControl' },+ { label: 'Bucket Owner Read', value: 'bucketOwnerRead' },+ { label: 'Private', value: 'private' },+ { label: 'Project Private', value: 'projectPrivate' },+ { label: 'Public Read', value: 'publicRead' },+ ],},{label: 'Bucket ACL',value: 'bucket_acl',- fieldType: 'string',+ fieldType: 'select',required: false,default: '',description: 'Access Control List for new buckets.',command: '--gcs-bucket-acl',+ options: [+ { label: 'Default (private)', value: '' },+ { label: 'Authenticated Read', value: 'authenticatedRead' },+ { label: 'Private', value: 'private' },+ { label: 'Project Private', value: 'projectPrivate' },+ { label: 'Public Read', value: 'publicRead' },+ { label: 'Public Read/Write', value: 'publicReadWrite' },+ ],},{label: 'Bucket Policy Only',@@ -102,20 +119,66 @@ const gcsSettings = [{label: 'Location',value: 'location',- fieldType: 'string',+ fieldType: 'select',+ allowCustom: true,required: false,default: '',description: 'Location for the newly created buckets.',command: '--gcs-location',+ options: [+ { label: 'Default (US)', value: '' },+ { label: 'Multi-regional: Asia', value: 'asia' },+ { label: 'Multi-regional: EU', value: 'eu' },+ { label: 'Multi-regional: US', value: 'us' },+ { label: 'Taiwan', value: 'asia-east1' },+ { label: 'Hong Kong', value: 'asia-east2' },+ { label: 'Tokyo', value: 'asia-northeast1' },+ { label: 'Osaka', value: 'asia-northeast2' },+ { label: 'Seoul', value: 'asia-northeast3' },+ { label: 'Mumbai', value: 'asia-south1' },+ { label: 'Delhi', value: 'asia-south2' },+ { label: 'Singapore', value: 'asia-southeast1' },+ { label: 'Jakarta', value: 'asia-southeast2' },+ { label: 'Sydney', value: 'australia-southeast1' },+ { label: 'Melbourne', value: 'australia-southeast2' },+ { label: 'Finland', value: 'europe-north1' },+ { label: 'Belgium', value: 'europe-west1' },+ { label: 'London', value: 'europe-west2' },+ { label: 'Frankfurt', value: 'europe-west3' },+ { label: 'Netherlands', value: 'europe-west4' },+ { label: 'Zürich', value: 'europe-west6' },+ { label: 'Warsaw', value: 'europe-central2' },+ { label: 'Iowa', value: 'us-central1' },+ { label: 'South Carolina', value: 'us-east1' },+ { label: 'Northern Virginia', value: 'us-east4' },+ { label: 'Oregon', value: 'us-west1' },+ { label: 'California', value: 'us-west2' },+ { label: 'Salt Lake City', value: 'us-west3' },+ { label: 'Las Vegas', value: 'us-west4' },+ { label: 'Montréal', value: 'northamerica-northeast1' },+ { label: 'Toronto', value: 'northamerica-northeast2' },+ { label: 'São Paulo', value: 'southamerica-east1' },+ { label: 'Santiago', value: 'southamerica-west1' },+ { label: 'Custom', value: 'custom' },+ ],},{label: 'Storage Class',value: 'storage_class',- fieldType: 'string',+ fieldType: 'select',required: false,default: '',description: 'The storage class to use when storing objects in Google Cloud Storage.',command: '--gcs-storage-class',+ options: [+ { label: 'Default', value: '' },+ { label: 'Multi-Regional', value: 'MULTI_REGIONAL' },+ { label: 'Regional', value: 'REGIONAL' },+ { label: 'Nearline', value: 'NEARLINE' },+ { label: 'Coldline', value: 'COLDLINE' },+ { label: 'Archive', value: 'ARCHIVE' },+ { label: 'Durable Reduced Availability', value: 'DURABLE_REDUCED_AVAILABILITY' },+ ],},{label: 'Environment Auth',@@ -124,7 +187,7 @@ const gcsSettings = [required: false,default: false,description:- 'Get GCP IAM credentials from runtime (environment variables or instance meta data if no env vars). Only applies if service_account_file and service_account_credentials is blank.',+ 'Get GCP IAM credentials from runtime (environment variables or instance metadata). Only applies if Service Account File and Service Account Credentials are blank.',command: '--gcs-env-auth',},{@@ -193,7 +256,7 @@ const gcsSettings = [required: false,default: false,description:- "If set, don't attempt to check the bucket exists or create it. This can be useful when trying to minimise the number of transactions rclone does if you know the bucket exists already.",+ "If set, don't attempt to check the bucket exists or create it. Useful if you know the bucket already exists and want to reduce API calls.",command: '--gcs-no-check-bucket',},{@@ -203,7 +266,7 @@ const gcsSettings = [required: false,default: false,description:- 'If set this will decompress gzip encoded objects. It is possible to upload objects to GCS with "Content-Encoding: gzip" set. Normally rclone will download these files as compressed objects.',+ 'If set, gzip-encoded objects will be decompressed on download.',command: '--gcs-decompress',},{@@ -222,7 +285,7 @@ const gcsSettings = [required: false,default: 'slash,crlf,invalidutf8,dot',description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ 'The encoding for the backend.',command: '--gcs-encoding',},{diff --git a/backend/src/utils/providers/gdrive.ts b/backend/src/utils/providers/gdrive.tsindex b941f13..554bb29 100644--- a/backend/src/utils/providers/gdrive.ts+++ b/backend/src/utils/providers/gdrive.ts@@ -7,7 +7,7 @@ const googleDriveSettings = [required: true,default: '',description:- 'Google Application Client Id Setting your own is recommended. See https://rclone.org/drive/#making-your-own-client-id for how to create your own. If you leave this blank, it will use an internal key which is low performance.',+ 'Google Application Client ID. Setting your own is recommended for better performance. Leave blank to use the built-in default.',command: '--drive-client-id',},{@@ -23,13 +23,19 @@ const googleDriveSettings = [{label: 'Scope',value: 'scope',- fieldType: 'string',+ fieldType: 'select',authFieldType: 'all',required: true,- default: '',- description:- 'Comma separated list of scopes that rclone should use when requesting access from drive. Scopes: drive.readonly, drive.file, drive.appfolder, drive.metadata.readonly',+ default: 'drive',+ description: 'Access level to request from Google Drive.',command: '--drive-scope',+ options: [+ { label: 'Full access (all files)', value: 'drive' },+ { label: 'Read-only access', value: 'drive.readonly' },+ { label: 'Access rclone files only', value: 'drive.file' },+ { label: 'Application Data folder', value: 'drive.appfolder' },+ { label: 'Read-only metadata', value: 'drive.metadata.readonly' },+ ],},{label: 'Service Account File',@@ -38,7 +44,7 @@ const googleDriveSettings = [required: false,default: '',description:- 'Service Account Credentials JSON file path. Leave blank normally. Needed only if you want use SA instead of interactive login.',+ 'Path to a Service Account credentials JSON file. Leave blank to use interactive login.',command: '--drive-service-account-file',},{@@ -85,8 +91,7 @@ const googleDriveSettings = [authFieldType: 'client',required: false,default: false,- description:- 'Use client credentials OAuth flow. This will use the OAUTH2 client Credentials Flow as described in RFC 6749.',+ description: 'Use client credentials OAuth flow instead of interactive login.',command: '--drive-client-credentials',},{@@ -96,7 +101,7 @@ const googleDriveSettings = [required: false,default: '',description:- 'ID of the root folder. Leave blank normally. Fill in to access "Computers" folders (see docs), or for rclone to use a non root folder as its starting point.',+ 'ID of the root folder. Leave blank to use the default root. Fill in to access "Computers" folders or start from a specific folder.',command: '--drive-root-folder-id',},{@@ -106,7 +111,7 @@ const googleDriveSettings = [required: false,default: '',description:- 'Service Account Credentials JSON blob. Leave blank normally. Needed only if you want use SA instead of interactive login.',+ 'Service Account credentials as a JSON string. Leave blank to use interactive login.',command: '--drive-service-account-credentials',},{@@ -133,8 +138,7 @@ const googleDriveSettings = [fieldType: 'bool',required: false,default: true,- description:- 'Send files to the trash instead of deleting permanently. Defaults to true, namely sending files to the trash. Use --drive-use-trash=false to delete files permanently instead.',+ description: 'Send files to the trash instead of deleting permanently.',command: '--drive-use-trash',},{@@ -144,7 +148,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'Server side copy contents of shortcuts instead of the shortcut. When doing server side copies, normally rclone will copy shortcuts as shortcuts.',+ 'Copy the actual file contents of shortcuts instead of the shortcut itself.',command: '--drive-copy-shortcut-content',},{@@ -153,8 +157,7 @@ const googleDriveSettings = [fieldType: 'bool',required: false,default: false,- description:- 'Skip google documents in all listings. If given, gdocs practically become invisible to rclone.',+ description: 'Skip Google Docs in all file listings, making them invisible.',command: '--drive-skip-gdocs',},{@@ -164,7 +167,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'Show all Google Docs including non-exportable ones in listings. If you try a server side copy on a Google Form without this flag, you will get this error:',+ 'Show all Google Docs in listings, including non-exportable ones like Google Forms.',command: '--drive-show-all-gdocs',},{@@ -183,8 +186,7 @@ const googleDriveSettings = [fieldType: 'bool',required: false,default: false,- description:- 'Only show files that are shared with me. Instructs rclone to operate on your "Shared with me" folder (where Google Drive lets you access the files and folders others have shared with you).',+ description: 'Only show files from your "Shared with me" folder.',command: '--drive-shared-with-me',},{@@ -212,7 +214,7 @@ const googleDriveSettings = [fieldType: 'string',required: false,default: '',- description: 'Deprecated: See export_formats.',+ description: 'Deprecated: See Export Formats.',command: '--drive-formats',},{@@ -240,7 +242,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'Allow the filetype to change when uploading Google docs. E.g. file.doc to file.docx. This will confuse sync and reupload every time.',+ 'Allow the file type to change when uploading Google Docs (e.g., file.doc to file.docx). This may cause files to be re-uploaded on each sync.',command: '--drive-allow-import-name-change',},{@@ -249,8 +251,7 @@ const googleDriveSettings = [fieldType: 'bool',required: false,default: false,- description:- 'Use file created date instead of modified date. Useful when downloading data and you want the creation date used in place of the last modified date.',+ description: 'Use the file creation date instead of the last modified date.',command: '--drive-use-created-date',},{@@ -260,7 +261,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'Use date file was shared instead of modified date. Note that, as with "--drive-use-created-date", this flag may have unexpected consequences when uploading/downloading files.',+ 'Use the date a file was shared instead of the last modified date. Like "Use Created Date", this may cause unexpected behavior during transfers.',command: '--drive-use-shared-date',},{@@ -306,7 +307,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'Set to allow files which return cannotDownloadAbusiveFile to be downloaded. If downloading a file returns the error "This file has been identified as malware or spam and cannot be downloaded" with the error code "cannotDownloadAbusiveFile" then supply this flag to rclone to indicate you acknowledge the risks of downloading the file and rclone will download it anyway.',+ 'Allow downloading files that Google has flagged as potential malware or spam.',command: '--drive-acknowledge-abuse',},{@@ -325,7 +326,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'Show sizes as storage quota usage, not actual size. Show the size of a file as the storage quota used. This is the current version plus any older versions that have been set to keep forever.',+ 'Show file sizes as storage quota usage (including all kept versions) instead of the actual file size.',command: '--drive-size-as-quota',},{@@ -334,7 +335,8 @@ const googleDriveSettings = [fieldType: 'sizesuffix',required: false,default: 'off',- description: "If Object's are greater, use drive v2 API to download.",+ description:+ 'Minimum file size to trigger an alternative download method. Leave as default unless experiencing issues with large files.',command: '--drive-v2-download-min-size',},{@@ -362,7 +364,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'Deprecated: use --server-side-across-configs instead. Allow server-side operations (e.g. copy) to work across different drive configs.',+ 'Deprecated. Allow server-side operations (e.g., copy) to work across different Google Drive configurations.',command: '--drive-server-side-across-configs',},{@@ -372,7 +374,7 @@ const googleDriveSettings = [required: false,default: true,description:- 'Disable drive using http2. There is currently an unsolved issue with the google drive backend and HTTP/2. HTTP/2 is therefore disabled by default for the drive backend but can be re-enabled here. When the issue is solved this flag will be removed.',+ 'Disable HTTP/2 for Google Drive connections. Disabled by default due to a known issue.',command: '--drive-disable-http2',},{@@ -382,7 +384,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'Make upload limit errors be fatal. At the time of writing it is only possible to upload 750 GiB of data to Google Drive a day (this is an undocumented limit). When this limit is reached Google Drive produces a slightly different error message. When this flag is set it causes these errors to be fatal. These will stop the in-progress sync.',+ "Stop the operation when Google Drive's daily upload limit (approximately 750 GB/day) is reached.",command: '--drive-stop-on-upload-limit',},{@@ -392,7 +394,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'Make download limit errors be fatal. At the time of writing it is only possible to download 10 TiB of data from Google Drive a day (this is an undocumented limit). When this limit is reached Google Drive produces a slightly different error message. When this flag is set it causes these errors to be fatal. These will stop the in-progress sync.',+ "Stop the operation when Google Drive's daily download limit (approximately 10 TB/day) is reached.",command: '--drive-stop-on-download-limit',},{@@ -402,7 +404,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'If set skip shortcut files. Normally rclone dereferences shortcut files making them appear as if they are the original file (see the shortcuts section). If this flag is set then rclone will ignore shortcut files completely.',+ 'Skip shortcut files instead of following them to the original file.',command: '--drive-skip-shortcuts',},{@@ -412,7 +414,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'If set skip dangling shortcut files. If this is set then rclone will not show any dangling shortcuts in listings.',+ 'Skip shortcut files that point to deleted or inaccessible files.',command: '--drive-skip-dangling-shortcuts',},{@@ -421,8 +423,7 @@ const googleDriveSettings = [fieldType: 'string',required: false,default: '',- description:- 'Resource key for accessing a link-shared file. If you need to access files shared with a link like this',+ description: 'Resource key for accessing a link-shared file.',command: '--drive-resource-key',},{@@ -432,7 +433,7 @@ const googleDriveSettings = [required: false,default: true,description:- 'Work around a bug in Google Drive listing. Normally rclone will work around a bug in Google Drive when using --fast-list (ListR) where the search "(A in parents) or (B in parents)" returns nothing sometimes. See #3114, #4289 and https://issuetracker.google.com/issues/149522397',+ 'Work around a bug in Google Drive that can cause some files to be missed in listings.',command: '--drive-fast-list-bug-fix',},{@@ -442,7 +443,7 @@ const googleDriveSettings = [required: false,default: 'read',description:- "Control whether owner should be read or written in metadata. Owner is a standard part of the file metadata so is easy to read. But it isn't always desirable to set the owner from the metadata.",+ 'Control whether file ownership information should be read or written in metadata.',command: '--drive-metadata-owner',},{@@ -452,7 +453,7 @@ const googleDriveSettings = [required: false,default: 'off',description:- "Control whether permissions should be read or written in metadata. Reading permissions metadata from files can be done quickly, but it isn't always desirable to set the permissions from the metadata.",+ 'Control whether file permissions should be read or written in metadata.',command: '--drive-metadata-permissions',},{@@ -462,7 +463,7 @@ const googleDriveSettings = [required: false,default: 'off',description:- "Control whether labels should be read or written in metadata. Reading labels metadata from files takes an extra API transaction and will slow down listings. It isn't always desirable to set the labels from the metadata.",+ 'Control whether labels should be read or written in metadata. Reading labels will slow down file listings.',command: '--drive-metadata-labels',},{@@ -471,8 +472,7 @@ const googleDriveSettings = [fieldType: 'encoding',required: false,default: 'invalidutf8',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'Character encoding for file and folder names.',command: '--drive-encoding',},{@@ -482,7 +482,7 @@ const googleDriveSettings = [required: false,default: false,description:- 'Get IAM credentials from runtime (environment variables or instance meta data if no env vars). Only applies if service_account_file and service_account_credentials is blank.',+ 'Get IAM credentials from the environment. Only applies if Service Account File and Service Account Credentials are blank.',command: '--drive-env-auth',},{diff --git a/backend/src/utils/providers/gofile.ts b/backend/src/utils/providers/gofile.tsindex 1e113de..017e62f 100644--- a/backend/src/utils/providers/gofile.ts+++ b/backend/src/utils/providers/gofile.ts@@ -15,8 +15,7 @@ const gofileSettings = [fieldType: 'string',required: false,default: '',- description:- 'ID of the root folder Leave this blank normally, rclone will fill it in automatically.',+ description: 'ID of the root folder. Leave blank normally, it will be filled in automatically.',command: '--gofile-root-folder-id',},{@@ -25,7 +24,7 @@ const gofileSettings = [fieldType: 'string',required: false,default: '',- description: 'Account ID Leave this blank normally, rclone will fill it in automatically.',+ description: 'Account ID. Leave blank normally, it will be filled in automatically.',command: '--gofile-account-id',},{@@ -44,8 +43,7 @@ const gofileSettings = [required: false,default:'slash,ltgt,doublequote,colon,question,asterisk,pipe,backslash,del,ctl,leftperiod,rightperiod,invalidutf8,dot,exclamation',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--gofile-encoding',},{diff --git a/backend/src/utils/providers/gphotos.ts b/backend/src/utils/providers/gphotos.tsindex 922934c..e5a9030 100644--- a/backend/src/utils/providers/gphotos.ts+++ b/backend/src/utils/providers/gphotos.ts@@ -26,7 +26,7 @@ const gphotosSettings = [required: false,default: false,description:- 'Set to make the Google Photos backend read only. If you choose read only then rclone will only request read only access to your photos, otherwise rclone will request full access.',+ 'Set to read-only access. When enabled, only viewing and downloading photos is allowed.',command: '--gphotos-read-only',},{@@ -64,8 +64,7 @@ const gphotosSettings = [authFieldType: 'client',required: false,default: false,- description:- 'Use client credentials OAuth flow. This will use the OAUTH2 client Credentials Flow as described in RFC 6749.',+ description: 'Use client credentials OAuth flow instead of interactive login.',command: '--gphotos-client-credentials',},{@@ -75,7 +74,7 @@ const gphotosSettings = [required: false,default: false,description:- "Set to read the size of media items. Normally rclone does not read the size of media items since this takes another transaction. This isn't necessary for syncing. However rclone mount needs to know the size of files in advance of reading them, so setting this flag when using rclone mount is recommended if you want to read the media.",+ 'Read the size of media items. This adds an extra request per file but may be needed for some advanced operations.',command: '--gphotos-read-size',},{@@ -95,7 +94,7 @@ const gphotosSettings = [required: false,default: false,description:- 'Also view and download archived media. By default, rclone does not request archived media. Thus, when syncing, archived media is not visible in directory listings or transferred.',+ 'Also view and download archived media. By default, archived media is hidden from listings and not transferred.',command: '--gphotos-include-archived',},{@@ -105,7 +104,7 @@ const gphotosSettings = [required: false,default: '',description:- "Use the gphotosdl proxy for downloading the full resolution images The Google API will deliver images and video which aren't full resolution, and/or have EXIF data missing.",+ 'Proxy URL for downloading full-resolution images. Without this, Google may deliver lower-resolution images with missing EXIF data.',command: '--gphotos-proxy',},{@@ -114,18 +113,22 @@ const gphotosSettings = [fieldType: 'encoding',required: false,default: 'slash,crlf,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'Character encoding for file and folder names.',command: '--gphotos-encoding',},{label: 'Batch Mode',value: 'batch_mode',- fieldType: 'string',+ fieldType: 'select',required: false,default: 'sync',- description: 'Upload file batching sync|async|off. This sets the batch mode used by rclone.',+ description: 'Upload file batching mode.',command: '--gphotos-batch-mode',+ options: [+ { label: 'Sync (batch and check completion)', value: 'sync' },+ { label: 'Async (batch, no completion check)', value: 'async' },+ { label: 'Off (no batching)', value: 'off' },+ ],},{label: 'Batch Size',diff --git a/backend/src/utils/providers/hdfs.ts b/backend/src/utils/providers/hdfs.tsindex b763563..6e2970b 100644--- a/backend/src/utils/providers/hdfs.ts+++ b/backend/src/utils/providers/hdfs.ts@@ -46,8 +46,7 @@ const hdfsSettings = [fieldType: 'encoding',required: false,default: 'slash,colon,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--hdfs-encoding',},{diff --git a/backend/src/utils/providers/hidrive.ts b/backend/src/utils/providers/hidrive.tsindex b402e7a..7d78f32 100644--- a/backend/src/utils/providers/hidrive.ts+++ b/backend/src/utils/providers/hidrive.ts@@ -22,12 +22,16 @@ const hidriveSettings = [{label: 'Access Scope',value: 'scope_access',- fieldType: 'string',+ fieldType: 'select',required: false,default: 'rw',description:- 'Access permissions to use when requesting access from HiDrive. rw: Read/Write, ro: Read-only',+ 'Access permissions to use when requesting access from HiDrive.',command: '--hidrive-scope-access',+ options: [+ { label: 'Read and Write', value: 'rw' },+ { label: 'Read-only', value: 'ro' },+ ],},{label: 'OAuth Access Token',@@ -71,11 +75,16 @@ const hidriveSettings = [{label: 'Role Scope',value: 'scope_role',- fieldType: 'string',+ fieldType: 'select',required: false,default: 'user',- description: 'User-level that rclone should use when requesting access from HiDrive.',+ description: 'User-level to use when requesting access from HiDrive.',command: '--hidrive-scope-role',+ options: [+ { label: 'User (sufficient for most cases)', value: 'user' },+ { label: 'Admin', value: 'admin' },+ { label: 'Owner', value: 'owner' },+ ],},{label: 'Root Prefix',@@ -84,7 +93,7 @@ const hidriveSettings = [required: false,default: '/',description:- 'The root/parent folder for all paths. Fill in to use the specified folder as the parent for all paths given to the storage. This way rclone can use any folder as its starting point.',+ 'The root/parent folder for all paths. Fill in to use the specified folder as the parent for all paths given to the storage.',command: '--hidrive-root-prefix',},{@@ -142,8 +151,7 @@ const hidriveSettings = [fieldType: 'encoding',required: false,default: 'slash,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--hidrive-encoding',},{diff --git a/backend/src/utils/providers/http.ts b/backend/src/utils/providers/http.tsindex 89f9934..05d79ca 100644--- a/backend/src/utils/providers/http.ts+++ b/backend/src/utils/providers/http.ts@@ -37,7 +37,7 @@ const httpSettings = [value: 'no_slash',default: false,description:- "Set this if the site doesn't end directories with /. Use this if your target website does not use / on the end of\ndirectories.",+ "Enable this if the site doesn't end directory paths with /.",},{label: "Don't use HEAD requests",@@ -47,7 +47,7 @@ const httpSettings = [value: 'no_head',default: false,description:- 'HEAD requests are mainly used to find file sizes in dir listing.\nIf your site is being very slow to load then you can try this option.\nNormally rclone does a HEAD request for each potential file in a\ndirectory listing to:',+ 'Disable HEAD requests for directory listings. Enable this if your site is very slow to load.',},{label: 'Description',diff --git a/backend/src/utils/providers/ibmcos.ts b/backend/src/utils/providers/ibmcos.tsindex 6203516..0ca27de 100644--- a/backend/src/utils/providers/ibmcos.ts+++ b/backend/src/utils/providers/ibmcos.ts@@ -120,7 +120,7 @@ const ibmcosSettings = [],required: true,default: '',- description: "Select a Region to connect to that region's API Ednpoint.",+ description: "Select a Region to connect to that region's API Endpoint.",command: '--s3-region',},{@@ -154,7 +154,7 @@ const ibmcosSettings = [required: false,default: '',description:- "Canned ACL used when creating buckets and storing or copying objects. This ACL is used for creating objects and if bucket_acl isn't set, for creating buckets too.",+ 'Access control permissions applied when creating buckets and storing objects.',command: '--s3-acl',},...s3Options,diff --git a/backend/src/utils/providers/internetarchive.ts b/backend/src/utils/providers/internetarchive.tsindex d80a2e9..76d2315 100644--- a/backend/src/utils/providers/internetarchive.ts+++ b/backend/src/utils/providers/internetarchive.ts@@ -45,7 +45,7 @@ const internetarchiveSettings = [required: false,default: true,description:- "Don't ask the server to test against MD5 checksum calculated by rclone. Normally rclone will calculate the MD5 checksum of the input before uploading it so it can ask the server to check the object against checksum. This is great for data integrity checking but can cause long delays for large files to start uploading.",+ "Don't verify MD5 checksum with the server before uploading. This speeds up uploads of large files but reduces data integrity checking.",command: '--internetarchive-disable-checksum',},{@@ -64,8 +64,7 @@ const internetarchiveSettings = [fieldType: 'encoding',required: false,default: 'slash,ltgt,crlf,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--internetarchive-encoding',},{diff --git a/backend/src/utils/providers/jottacloud.ts b/backend/src/utils/providers/jottacloud.tsindex 36cdc99..4545586 100644--- a/backend/src/utils/providers/jottacloud.ts+++ b/backend/src/utils/providers/jottacloud.ts@@ -120,8 +120,7 @@ const jottacloudSettings = [fieldType: 'encoding',required: false,default: 'slash,ltgt,doublequote,colon,question,asterisk,pipe,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--jottacloud-encoding',},{diff --git a/backend/src/utils/providers/koofr.ts b/backend/src/utils/providers/koofr.tsindex 87465fe..df05d58 100644--- a/backend/src/utils/providers/koofr.ts+++ b/backend/src/utils/providers/koofr.ts@@ -2,7 +2,7 @@ const koofrSettings = [{label: 'Storage Provider',value: 'provider',- fieldType: 'string',+ fieldType: 'select',authFieldType: 'client',required: true,default: 'https://app.koofr.net/',@@ -41,7 +41,7 @@ const koofrSettings = [required: true,default: '',description:- 'Your password for rclone generate one at https://app.koofr.net/app/admin/preferences/password. NB Input to this must be obscured - see rclone obscure.',+ 'Your app password. Generate one at https://app.koofr.net/app/admin/preferences/password.',command: '--koofr-password',},{@@ -69,8 +69,7 @@ const koofrSettings = [fieldType: 'encoding',required: false,default: 'slash,backslash,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--koofr-encoding',},{diff --git a/backend/src/utils/providers/local.ts b/backend/src/utils/providers/local.tsindex f6317ba..98b3e3a 100644--- a/backend/src/utils/providers/local.ts+++ b/backend/src/utils/providers/local.ts@@ -5,8 +5,7 @@ const localSettings = [fieldType: 'bool',required: false,default: '',- description:- 'Enabling this will copy symbolic links from the local storage, and store them as text files, with a .rclonelink suffix.',+ description: 'Copy symbolic links as text files instead of following them.',command: '--local-links',},{diff --git a/backend/src/utils/providers/mailru.ts b/backend/src/utils/providers/mailru.tsindex fa80b8f..1878ee9 100644--- a/backend/src/utils/providers/mailru.ts+++ b/backend/src/utils/providers/mailru.ts@@ -17,7 +17,7 @@ const mailruSettings = [required: true,default: '',description:- 'This must be an app password - rclone will not work with your normal password. See the Configuration section in the docs for how to make an app password.',+ 'This must be an app password. Regular passwords are not supported. See your Mail.ru account settings to create an app password.',command: '--mailru-pass',},{@@ -45,7 +45,7 @@ const mailruSettings = [required: false,default: true,description:- 'Skip full upload if there is another file with same data hash. This feature is called "speedup" or "put by hash". It is especially efficient in case of generally available files like popular books, video or audio clips, because files are searched by hash in all accounts of all mailru users. It is meaningless and ineffective if source file is unique or encrypted. Please note that rclone may need local memory and disk space to calculate content hash in advance and decide whether full upload is required. Also, if rclone does not know file size in advance (e.g. in case of streaming or partial uploads), it will not even try this optimization.',+ 'Skip full upload if another file with the same data hash already exists. Especially efficient for common files like popular media. Not effective for unique or encrypted files.',command: '--mailru-speedup-enable',},{@@ -130,8 +130,7 @@ const mailruSettings = [fieldType: 'string',required: false,default: '',- description:- 'HTTP user agent used internally by client. Defaults to "rclone/VERSION" or "--user-agent" provided on command line.',+ description: 'HTTP user agent used internally by the client.',command: '--mailru-user-agent',},{@@ -141,7 +140,7 @@ const mailruSettings = [required: false,default: '',description:- 'Comma separated list of internal maintenance flags. This option must not be used by an ordinary user. It is intended only to facilitate remote troubleshooting of backend issues. Strict meaning of flags is not documented and not guaranteed to persist between releases. Quirks will be removed when the backend grows stable. Supported quirks: atomicmkdir binlist unknowndirs',+ 'Comma separated list of internal maintenance flags. Used for troubleshooting backend issues.',command: '--mailru-quirks',},{@@ -151,8 +150,7 @@ const mailruSettings = [required: false,default:'slash,ltgt,doublequote,colon,question,asterisk,pipe,backslash,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--mailru-encoding',},{diff --git a/backend/src/utils/providers/mega.ts b/backend/src/utils/providers/mega.tsindex 00a87c0..d5e535e 100644--- a/backend/src/utils/providers/mega.ts+++ b/backend/src/utils/providers/mega.ts@@ -16,7 +16,7 @@ const megaSettings = [authFieldType: 'password',required: true,default: '',- description: 'Password. NB Input to this must be obscured - see rclone obscure.',+ description: 'Password.',command: '--mega-pass',},{@@ -26,7 +26,7 @@ const megaSettings = [required: false,default: false,description:- 'Output more debug from Mega. If this flag is set (along with -vv) it will print further debugging information from the mega backend.',+ 'Output additional debug information from MEGA for troubleshooting.',command: '--mega-debug',},{@@ -36,7 +36,7 @@ const megaSettings = [required: false,default: false,description:- 'Delete files permanently rather than putting them into the trash. Normally the mega backend will put all deletions into the trash rather than permanently deleting them. If you specify this then rclone will permanently delete objects instead.',+ 'Delete files permanently rather than putting them into the trash.',command: '--mega-hard-delete',},{@@ -46,7 +46,7 @@ const megaSettings = [required: false,default: false,description:- 'Use HTTPS for transfers. MEGA uses plain text HTTP connections by default. Some ISPs throttle HTTP connections, this causes transfers to become very slow. Enabling this will force MEGA to use HTTPS for all transfers. HTTPS is normally not necessary since all data is already encrypted anyway. Enabling it will increase CPU usage and add network overhead.',+ 'Use HTTPS for transfers. MEGA uses plain HTTP by default. Some ISPs throttle HTTP connections, making transfers slow. Enabling HTTPS increases CPU usage and network overhead but may help with throttled connections.',command: '--mega-use-https',},{@@ -56,7 +56,7 @@ const megaSettings = [required: false,default: 'slash,invalidutf8,dot',description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ 'The encoding for the backend.',command: '--mega-encoding',},{diff --git a/backend/src/utils/providers/netstorage.ts b/backend/src/utils/providers/netstorage.tsindex d0b373a..0045897 100644--- a/backend/src/utils/providers/netstorage.ts+++ b/backend/src/utils/providers/netstorage.ts@@ -33,12 +33,16 @@ const netstorageSettings = [{label: 'Protocol',value: 'protocol',- fieldType: 'string',+ fieldType: 'select',required: false,default: 'https',description:'Select between HTTP or HTTPS protocol. Most users should choose HTTPS, which is the default. HTTP is provided primarily for debugging purposes.',command: '--netstorage-protocol',+ options: [+ { label: 'HTTPS (recommended)', value: 'https' },+ { label: 'HTTP', value: 'http' },+ ],},{label: 'Description',diff --git a/backend/src/utils/providers/obs.ts b/backend/src/utils/providers/obs.tsindex 77ffcbe..f0422bf 100644--- a/backend/src/utils/providers/obs.ts+++ b/backend/src/utils/providers/obs.ts@@ -52,7 +52,7 @@ const obsSettings = [],required: true,default: '',- description: "Select a Region to connect to that region's API Ednpoint.",+ description: "Select a Region to connect to that region's API Endpoint.",command: '--s3-region',},...s3Options,diff --git a/backend/src/utils/providers/onedrive.ts b/backend/src/utils/providers/onedrive.tsindex af00699..17b51d6 100644--- a/backend/src/utils/providers/onedrive.ts+++ b/backend/src/utils/providers/onedrive.ts@@ -43,7 +43,7 @@ const onedriveSettings = [required: false,default: '',description:- "ID of the service principal's tenant. Also called its directory ID. Set this if using",+ "ID of the service principal's tenant (also called Directory ID).",command: '--onedrive-tenant',},{@@ -80,8 +80,7 @@ const onedriveSettings = [fieldType: 'bool',required: false,default: false,- description:- 'Use client credentials OAuth flow. This will use the OAUTH2 client Credentials Flow as described in RFC 6749.',+ description: 'Use client credentials OAuth flow instead of interactive login.',command: '--onedrive-client-credentials',},{@@ -91,7 +90,7 @@ const onedriveSettings = [required: false,default: '10mi',description:- 'Chunk size to upload files with - must be multiple of 320k (327,680 bytes). Above this size files will be chunked - must be multiple of 320k (327,680 bytes) and should not exceed 250M (262,144,000 bytes) else you may encounter "Microsoft.SharePoint.Client.InvalidClientQueryException: The request message is too big." Note that the chunks will be buffered into memory.',+ 'Size of upload chunks. Must be a multiple of 320 KB and should not exceed 250 MB.',command: '--onedrive-chunk-size',},{@@ -106,11 +105,17 @@ const onedriveSettings = [{label: 'Drive Type',value: 'drive_type',- fieldType: 'string',+ fieldType: 'select',required: false,default: '',- description: 'The type of the drive (personal | business | documentLibrary).',+ description: 'The type of the drive.',command: '--onedrive-drive-type',+ options: [+ { label: 'Default', value: '' },+ { label: 'Personal', value: 'personal' },+ { label: 'Business', value: 'business' },+ { label: 'Document Library (SharePoint)', value: 'documentLibrary' },+ ],},{label: 'Root Folder ID',@@ -119,7 +124,7 @@ const onedriveSettings = [required: false,default: '',description:- "ID of the root folder. This isn't normally needed, but in special circumstances you might know the folder ID that you wish to access but not be able to get there through a path traversal.",+ "ID of the root folder. Only needed if you can't navigate to the desired folder by path.",command: '--onedrive-root-folder-id',},{@@ -130,7 +135,7 @@ const onedriveSettings = [default:'files.read files.readwrite files.read.all files.readwrite.all sites.read.all offline_access',description:- 'Set scopes to be requested by rclone. Choose or manually enter a custom space separated list with all scopes, that rclone should request.',+ 'Access permissions to request from OneDrive. Choose or enter a custom space-separated list of scopes.',command: '--onedrive-access-scopes',},{@@ -140,7 +145,7 @@ const onedriveSettings = [required: false,default: false,description:- "Disable the request for Sites.Read.All permission. If set to true, you will no longer be able to search for a SharePoint site when configuring drive ID, because rclone will not request Sites.Read.All permission. Set it to true if your organization didn't assign Sites.Read.All permission to the application, and your organization disallows users to consent app permission request on their own.",+ "Disable the request for Sites.Read.All permission. If enabled, you won't be able to search for SharePoint sites when configuring Drive ID. Use this if your organization doesn't allow this permission.",command: '--onedrive-disable-site-permission',},{@@ -150,7 +155,7 @@ const onedriveSettings = [required: false,default: false,description:- 'Set to make OneNote files show up in directory listings. By default, rclone will hide OneNote files in directory listings because operations like "Open" and "Update" won\'t work on them. But this behaviour may also prevent you from deleting them. If you want to delete OneNote files or otherwise want them to show up in directory listing, set this option.',+ "Show OneNote files in directory listings. OneNote files are hidden by default since they can't be opened or modified, but enabling this allows you to see and delete them.",command: '--onedrive-expose-onenote-files',},{@@ -160,7 +165,7 @@ const onedriveSettings = [required: false,default: false,description:- 'Deprecated: use --server-side-across-configs instead. Allow server-side operations (e.g. copy) to work across different onedrive configs.',+ 'Deprecated. Allow server-side operations (e.g., copy) to work across different OneDrive configurations.',command: '--onedrive-server-side-across-configs',},{@@ -179,7 +184,7 @@ const onedriveSettings = [required: false,default: false,description:- 'Remove all versions on modifying operations. Onedrive for business creates versions when rclone uploads new files overwriting an existing one and when it sets the modification time.',+ 'Remove all previous versions when files are modified. OneDrive for Business creates a new version on each upload.',command: '--onedrive-no-versions',},{@@ -189,26 +194,35 @@ const onedriveSettings = [required: false,default: false,description:- 'Permanently delete files on removal. Normally files will get sent to the recycle bin on deletion. Setting this flag causes them to be permanently deleted. Use with care.',+ 'Permanently delete files instead of sending them to the recycle bin. Use with care.',command: '--onedrive-hard-delete',},{label: 'Link Scope',value: 'link_scope',- fieldType: 'string',+ fieldType: 'select',required: false,default: 'anonymous',- description: 'Set the scope of the links created by the link command.',+ description: 'Set the visibility scope of shared links.',command: '--onedrive-link-scope',+ options: [+ { label: 'Anyone with the link', value: 'anonymous' },+ { label: 'Organization (tenant)', value: 'organization' },+ ],},{label: 'Link Type',value: 'link_type',- fieldType: 'string',+ fieldType: 'select',required: false,default: 'view',- description: 'Set the type of the links created by the link command.',+ description: 'Set the permission type of shared links.',command: '--onedrive-link-type',+ options: [+ { label: 'Read-only', value: 'view' },+ { label: 'Read-write', value: 'edit' },+ { label: 'Embeddable', value: 'embed' },+ ],},{label: 'Link Password',@@ -217,18 +231,26 @@ const onedriveSettings = [required: false,default: '',description:- 'Set the password for links created by the link command. At the time of writing this only works with OneDrive personal paid accounts.',+ 'Set a password for shared links. Only works with OneDrive Personal paid accounts.',command: '--onedrive-link-password',},{label: 'Hash Type',value: 'hash_type',- fieldType: 'string',+ fieldType: 'select',required: false,default: 'auto',description:- 'Specify the hash in use for the backend. This specifies the hash type in use. If set to "auto" it will use the default hash which is QuickXorHash.',+ 'Hash algorithm used for file verification. "Auto" uses the recommended QuickXorHash.',command: '--onedrive-hash-type',+ options: [+ { label: 'Auto (recommended)', value: 'auto' },+ { label: 'QuickXorHash', value: 'quickxor' },+ { label: 'SHA1', value: 'sha1' },+ { label: 'SHA256', value: 'sha256' },+ { label: 'CRC32', value: 'crc32' },+ { label: 'None', value: 'none' },+ ],},{label: 'AV Override',@@ -237,7 +259,7 @@ const onedriveSettings = [required: false,default: false,description:- 'Allows download of files the server thinks has a virus. The onedrive/sharepoint server may check files uploaded with an Anti Virus checker. If it detects any potential viruses or malware it will block download of the file.',+ 'Allow downloading files that OneDrive has flagged as potential viruses or malware.',command: '--onedrive-av-override',},{@@ -246,8 +268,7 @@ const onedriveSettings = [fieldType: 'bool',required: false,default: false,- description:- 'If set rclone will use delta listing to implement recursive listings. If this flag is set the onedrive backend will advertise ListR support for recursive listings.',+ description: 'Use delta queries for faster recursive folder listings.',command: '--onedrive-delta',},{@@ -257,7 +278,7 @@ const onedriveSettings = [required: false,default: 'off',description:- "Control whether permissions should be read or written in metadata. Reading permissions metadata from files can be done quickly, but it isn't always desirable to set the permissions from the metadata.",+ 'Control whether file permissions should be read or written in metadata.',command: '--onedrive-metadata-permissions',},{@@ -267,8 +288,7 @@ const onedriveSettings = [required: false,default:'slash,ltgt,doublequote,colon,question,asterisk,pipe,backslash,del,ctl,leftspace,lefttilde,rightspace,rightperiod,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'Character encoding for file and folder names.',command: '--onedrive-encoding',},{diff --git a/backend/src/utils/providers/opendrive.ts b/backend/src/utils/providers/opendrive.tsindex 1cebe71..19ebd38 100644--- a/backend/src/utils/providers/opendrive.ts+++ b/backend/src/utils/providers/opendrive.ts@@ -16,7 +16,7 @@ const opendriveSettings = [authFieldType: 'password',required: true,default: '',- description: 'Password. NB Input to this must be obscured - see rclone obscure.',+ description: 'Password.',command: '--opendrive-password',},{@@ -26,8 +26,7 @@ const opendriveSettings = [required: false,default:'slash,ltgt,doublequote,colon,question,asterisk,pipe,backslash,leftspace,leftcrlfhtvt,rightspace,rightcrlfhtvt,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--opendrive-encoding',},{diff --git a/backend/src/utils/providers/oracle.ts b/backend/src/utils/providers/oracle.tsindex 87ae83b..6b0874f 100644--- a/backend/src/utils/providers/oracle.ts+++ b/backend/src/utils/providers/oracle.ts@@ -98,7 +98,7 @@ const oracleSettings = [required: false,default: '5mi',description:- 'Chunk size to use for uploading. When uploading files larger than upload_cutoff or files with unknown size (e.g. from "rclone rcat" or uploaded with "rclone mount" they will be uploaded as multipart uploads using this chunk size.',+ 'Chunk size to use for uploading. Files larger than the Upload Cutoff will be uploaded as multipart uploads using this chunk size.',command: '--oos-chunk-size',},{@@ -148,7 +148,7 @@ const oracleSettings = [required: false,default: false,description:- "Don't store MD5 checksum with object metadata. Normally rclone will calculate the MD5 checksum of the input before uploading it so it can add it to metadata on the object. This is great for data integrity checking but can cause long delays for large files to start uploading.",+ "Don't store MD5 checksum with object metadata. This speeds up uploads of large files but reduces data integrity checking.",command: '--oos-disable-checksum',},{@@ -157,8 +157,7 @@ const oracleSettings = [fieldType: 'encoding',required: false,default: 'slash,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--oos-encoding',},{@@ -188,7 +187,7 @@ const oracleSettings = [required: false,default: false,description:- "If set, don't attempt to check the bucket exists or create it. This can be useful when trying to minimise the number of transactions rclone does if you know the bucket exists already.",+ "If set, don't attempt to check the bucket exists or create it. Useful if you know the bucket already exists and want to reduce API calls.",command: '--oos-no-check-bucket',},{@@ -198,7 +197,7 @@ const oracleSettings = [required: false,default: '',description:- "To use SSE-C, a file containing the base64-encoded string of the AES-256 encryption key associated with the object. Please note only one of sse_customer_key_file|sse_customer_key|sse_kms_key_id is needed.'",+ "To use SSE-C, a file containing the base64-encoded AES-256 encryption key. Only one of SSE Customer Key File, SSE Customer Key, or SSE KMS Key ID is needed.",command: '--oos-sse-customer-key-file',},{@@ -208,7 +207,7 @@ const oracleSettings = [required: false,default: '',description:- 'To use SSE-C, the optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the data. Please note only one of sse_customer_key_file|sse_customer_key|sse_kms_key_id is needed. For more information, see Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm)',+ 'To use SSE-C, the base64-encoded 256-bit encryption key for encrypting or decrypting data. Only one of SSE Customer Key File, SSE Customer Key, or SSE KMS Key ID is needed.',command: '--oos-sse-customer-key',},{@@ -218,7 +217,7 @@ const oracleSettings = [required: false,default: '',description:- 'If using SSE-C, The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This value is used to check the integrity of the encryption key. see Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).',+ 'If using SSE-C, the base64-encoded SHA256 hash of the encryption key. Used to verify the integrity of the encryption key.',command: '--oos-sse-customer-key-sha256',},{@@ -228,7 +227,7 @@ const oracleSettings = [required: false,default: '',description:- 'if using your own master key in vault, this header specifies the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key. Please note only one of sse_customer_key_file|sse_customer_key|sse_kms_key_id is needed.',+ 'If using your own master key in vault, the OCID of the master encryption key for the Key Management service. Only one of SSE Customer Key File, SSE Customer Key, or SSE KMS Key ID is needed.',command: '--oos-sse-kms-key-id',},{@@ -238,7 +237,7 @@ const oracleSettings = [required: false,default: '',description:- 'If using SSE-C, the optional header that specifies "AES256" as the encryption algorithm. Object Storage supports "AES256" as the encryption algorithm. For more information, see Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).',+ 'If using SSE-C, the encryption algorithm. Object Storage supports "AES256".',command: '--oos-sse-customer-algorithm',},{diff --git a/backend/src/utils/providers/oss.ts b/backend/src/utils/providers/oss.tsindex 711b8a8..8281c98 100644--- a/backend/src/utils/providers/oss.ts+++ b/backend/src/utils/providers/oss.ts@@ -60,7 +60,7 @@ const ossSettings = [required: true,default: '',description:- "Select a Region to connect to that region's API Ednpoint. Custom Endpoint example: obs.ap-southeast-4.myhuaweicloud.com ",+ "Select a Region to connect to that region's API Endpoint.",command: '--s3-region',},{@@ -80,7 +80,7 @@ const ossSettings = [required: false,default: '',description:- "Canned ACL used when creating buckets and storing or copying objects. This ACL is used for creating objects and if bucket_acl isn't set, for creating buckets too.",+ 'Access control permissions applied when creating buckets and storing objects.',command: '--s3-acl',},{diff --git a/backend/src/utils/providers/outscale.ts b/backend/src/utils/providers/outscale.tsindex 3dec14b..efc9fc4 100644--- a/backend/src/utils/providers/outscale.ts+++ b/backend/src/utils/providers/outscale.ts@@ -38,7 +38,7 @@ const outscaleSettings = [],required: true,default: '',- description: "Select a Region to connect to that region's API Ednpoint.",+ description: "Select a Region to connect to that region's API Endpoint.",command: '--s3-region',},// {diff --git a/backend/src/utils/providers/pcloud.ts b/backend/src/utils/providers/pcloud.tsindex 3689e09..f226f58 100644--- a/backend/src/utils/providers/pcloud.ts+++ b/backend/src/utils/providers/pcloud.ts@@ -65,7 +65,7 @@ const pcloudSettings = [required: false,default: 'slash,backslash,del,ctl,invalidutf8,dot',description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ 'The encoding for the backend.',command: '--pcloud-encoding',},{@@ -74,18 +74,22 @@ const pcloudSettings = [fieldType: 'string',required: false,default: 'd0',- description: 'Fill in for rclone to use a non root folder as its starting point.',+ description: 'Set a non-root folder as the starting point.',command: '--pcloud-root-folder-id',},{label: 'Hostname',value: 'hostname',- fieldType: 'string',+ fieldType: 'select',required: false,default: 'api.pcloud.com',description:- 'Hostname to connect to. This is normally set when rclone initially does the oauth connection,\nhowever you will need to set it by hand if you are using storage config\nwith rclone authorize.',+ 'Hostname to connect to. This is normally set automatically during the OAuth connection. Change only if you need to use a different region.',command: '--pcloud-hostname',+ options: [+ { label: 'US / Global', value: 'api.pcloud.com' },+ { label: 'EU', value: 'eapi.pcloud.com' },+ ],},{label: 'Username',@@ -95,7 +99,7 @@ const pcloudSettings = [required: false,default: '',description:- 'Your pcloud username. This is only required when you want to use the cleanup command. Due to a bug\nin the pcloud API the required API does not support OAuth authentication so\nwe have to rely on user password authentication for it.',+ 'Your pcloud username. Only required if you want to use the cleanup command.',command: '--pcloud-username',},{@@ -105,7 +109,7 @@ const pcloudSettings = [authFieldType: 'password',required: false,default: '',- description: 'Your pcloud password. NB Input to this must be obscured - see rclone obscure.',+ description: 'Your pcloud password.',command: '--pcloud-password',},{diff --git a/backend/src/utils/providers/pikpak.ts b/backend/src/utils/providers/pikpak.tsindex 3467683..ad645a6 100644--- a/backend/src/utils/providers/pikpak.ts+++ b/backend/src/utils/providers/pikpak.ts@@ -16,7 +16,7 @@ const pikpakSettings = [authFieldType: 'password',required: true,default: '',- description: 'Pikpak password. NB Input to this must be obscured - see rclone obscure.',+ description: 'Pikpak password.',command: '--pikpak-pass',},{@@ -34,8 +34,7 @@ const pikpakSettings = [fieldType: 'string',required: false,default: 'mozilla/5.0 (windows nt 10.0; win64; x64; rv',- description:- 'HTTP user agent for pikpak. Defaults to "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0" or "--pikpak-user-agent" provided on command line.',+ description: 'HTTP user agent for PikPak.',command: '--pikpak-user-agent',},{@@ -45,7 +44,7 @@ const pikpakSettings = [required: false,default: '',description:- 'ID of the root folder. Leave blank normally. Fill in for rclone to use a non root folder as its starting point.',+ 'ID of the root folder. Leave blank normally. Fill in to use a non-root folder as the starting point.',command: '--pikpak-root-folder-id',},{@@ -54,8 +53,7 @@ const pikpakSettings = [fieldType: 'bool',required: false,default: true,- description:- 'Send files to the trash instead of deleting permanently. Defaults to true, namely sending files to the trash. Use --pikpak-use-trash=false to delete files permanently instead.',+ description: 'Send files to the trash instead of deleting permanently.',command: '--pikpak-use-trash',},{@@ -114,8 +112,7 @@ const pikpakSettings = [required: false,default:'slash,ltgt,doublequote,colon,question,asterisk,pipe,backslash,ctl,leftspace,rightspace,rightperiod,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--pikpak-encoding',},{diff --git a/backend/src/utils/providers/premiumizeme.ts b/backend/src/utils/providers/premiumizeme.tsindex 7adcf60..ff5d7c0 100644--- a/backend/src/utils/providers/premiumizeme.ts+++ b/backend/src/utils/providers/premiumizeme.ts@@ -74,8 +74,7 @@ const premiumizemeSettings = [fieldType: 'encoding',required: false,default: 'slash,doublequote,backslash,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--premiumizeme-encoding',},{diff --git a/backend/src/utils/providers/protondrive.ts b/backend/src/utils/providers/protondrive.tsindex 48d5e2b..fca98f7 100644--- a/backend/src/utils/providers/protondrive.ts+++ b/backend/src/utils/providers/protondrive.ts@@ -16,8 +16,7 @@ const protondriveSettings = [authFieldType: 'password',required: true,default: '',- description:- 'The password of your proton account. NB Input to this must be obscured - see rclone obscure.',+ description: 'The password of your Proton account.',command: '--protondrive-password',},{@@ -26,8 +25,7 @@ const protondriveSettings = [fieldType: 'string',required: false,default: '',- description:- 'If you account has 2FA enabled. Insert the 2FA code here. The 2FA code The value can also be provided with --protondrive-2fa=000000',+ description: 'The 2FA code for your Proton account, if 2FA is enabled.',command: '--protondrive-2fa',},{@@ -82,8 +80,7 @@ const protondriveSettings = [fieldType: 'encoding',required: false,default: 'slash,leftspace,rightspace,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--protondrive-encoding',},{@@ -93,7 +90,7 @@ const protondriveSettings = [required: false,default: true,description:- 'Return the file size before encryption The size of the encrypted file will be different from (bigger than) the original file size. Unless there is a reason to return the file size after encryption is performed, otherwise, set this option to true, as features like Open() which will need to be supplied with original content size, will fail to operate properly',+ 'Return the file size before encryption. The encrypted file size will be larger than the original.',command: '--protondrive-original-file-size',},{@@ -103,7 +100,7 @@ const protondriveSettings = [required: false,default: '[email protected]+rclone"',description:- 'The app version string The app version string indicates the client that is currently performing the API request. This information is required and will be sent with every API request.',+ 'The app version string sent with every API request.',command: '--protondrive-app-version',},{@@ -113,7 +110,7 @@ const protondriveSettings = [required: false,default: false,description:- 'Create a new revision when filename conflict is detected When a file upload is cancelled or failed before completion, a draft will be created and the subsequent upload of the same file to the same location will be reported as a conflict.',+ 'Create a new revision when a filename conflict is detected due to a previously cancelled or failed upload.',command: '--protondrive-replace-existing-draft',},{@@ -123,7 +120,7 @@ const protondriveSettings = [required: false,default: true,description:- "Caches the files and folders metadata to reduce API calls Notice: If you are mounting ProtonDrive as a VFS, please disable this feature, as the current implementation doesn't update or clear the cache when there are external changes.",+ 'Caches files and folders metadata to reduce API calls. Disable if external changes need to be reflected immediately.',command: '--protondrive-enable-caching',},{diff --git a/backend/src/utils/providers/putio.ts b/backend/src/utils/providers/putio.tsindex 2871a1a..e0bf8ea 100644--- a/backend/src/utils/providers/putio.ts+++ b/backend/src/utils/providers/putio.ts@@ -64,8 +64,7 @@ const putioSettings = [fieldType: 'encoding',required: false,default: 'slash,backslash,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--putio-encoding',},{diff --git a/backend/src/utils/providers/qingstor.ts b/backend/src/utils/providers/qingstor.tsindex 2b74fe9..a7d774d 100644--- a/backend/src/utils/providers/qingstor.ts+++ b/backend/src/utils/providers/qingstor.ts@@ -95,8 +95,7 @@ const qingstorSettings = [fieldType: 'encoding',required: false,default: 'slash,ctl,invalidutf8',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--qingstor-encoding',},{diff --git a/backend/src/utils/providers/qiniu.ts b/backend/src/utils/providers/qiniu.tsindex f4037be..45bd26c 100644--- a/backend/src/utils/providers/qiniu.ts+++ b/backend/src/utils/providers/qiniu.ts@@ -42,7 +42,7 @@ const qiniuSettings = [],required: true,default: '',- description: "Select a Region to connect to that region's API Ednpoint.",+ description: "Select a Region to connect to that region's API Endpoint.",command: '--s3-region',},{@@ -61,7 +61,7 @@ const qiniuSettings = [],required: true,default: '',- description: 'The storage class to use when storing new objects in Tencent COS',+ description: 'The storage class to use when storing new objects in Qiniu Kodo.',command: '--s3-storage_class',},{@@ -76,7 +76,7 @@ const qiniuSettings = [required: false,default: '',description:- "Canned ACL used when creating buckets and storing or copying objects. This ACL is used for creating objects and if bucket_acl isn't set, for creating buckets too.",+ 'Access control permissions applied when creating buckets and storing objects.',command: '--s3-acl',},diff --git a/backend/src/utils/providers/quatrix.ts b/backend/src/utils/providers/quatrix.tsindex 6dde83b..8551df4 100644--- a/backend/src/utils/providers/quatrix.ts+++ b/backend/src/utils/providers/quatrix.ts@@ -25,8 +25,7 @@ const quatrixSettings = [fieldType: 'encoding',required: false,default: 'slash,backslash,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--quatrix-encoding',},{diff --git a/backend/src/utils/providers/rackcorp.ts b/backend/src/utils/providers/rackcorp.tsindex 977f87e..2ffed85 100644--- a/backend/src/utils/providers/rackcorp.ts+++ b/backend/src/utils/providers/rackcorp.ts@@ -50,7 +50,7 @@ const rackcorpSettings = [],required: true,default: '',- description: "Select a Region to connect to that region's API Ednpoint.",+ description: "Select a Region to connect to that region's API Endpoint.",command: '--s3-region',},{@@ -65,7 +65,7 @@ const rackcorpSettings = [required: false,default: '',description:- "Canned ACL used when creating buckets and storing or copying objects. This ACL is used for creating objects and if bucket_acl isn't set, for creating buckets too.",+ 'Access control permissions applied when creating buckets and storing objects.',command: '--s3-acl',},diff --git a/backend/src/utils/providers/s3.ts b/backend/src/utils/providers/s3.tsindex 6e63b6e..88369a7 100644--- a/backend/src/utils/providers/s3.ts+++ b/backend/src/utils/providers/s3.ts@@ -70,13 +70,24 @@ const s3Settings = [{label: 'ACL',value: 'acl',- fieldType: 'string',+ fieldType: 'select',+ allowCustom: true,authFieldType: 'client',required: false,default: '',description:- "Canned ACL used when creating buckets and storing or copying objects. This ACL is used for creating objects and if bucket_acl isn't set, for creating buckets too.",+ 'Canned ACL used when creating buckets and storing or copying objects. This ACL is used for creating objects and, if Bucket ACL is not set, for creating buckets too.',command: '--s3-acl',+ options: [+ { label: 'Default (private)', value: '' },+ { label: 'Private', value: 'private' },+ { label: 'Public Read', value: 'public-read' },+ { label: 'Public Read/Write', value: 'public-read-write' },+ { label: 'Authenticated Read', value: 'authenticated-read' },+ { label: 'Bucket Owner Read', value: 'bucket-owner-read' },+ { label: 'Bucket Owner Full Control', value: 'bucket-owner-full-control' },+ { label: 'Custom', value: 'custom' },+ ],},...s3Options,];diff --git a/backend/src/utils/providers/seafile.ts b/backend/src/utils/providers/seafile.tsindex a9b6021..e608a57 100644--- a/backend/src/utils/providers/seafile.ts+++ b/backend/src/utils/providers/seafile.ts@@ -26,7 +26,7 @@ const seafileSettings = [authFieldType: 'password',required: false,default: '',- description: 'Password. NB Input to this must be obscured - see rclone obscure.',+ description: 'Password for your Seafile account.',command: '--seafile-pass',},{@@ -55,7 +55,7 @@ const seafileSettings = [required: false,default: '',description:- 'Library password (for encrypted libraries only). Leave blank if you pass it through the command line.',+ 'Library password (for encrypted libraries only).',command: '--seafile-library-key',},{@@ -73,7 +73,7 @@ const seafileSettings = [fieldType: 'bool',required: false,default: false,- description: "Should rclone create a library if it doesn't exist.",+ description: "Create a library automatically if it doesn't exist.",command: '--seafile-create-library',},{@@ -82,8 +82,7 @@ const seafileSettings = [fieldType: 'encoding',required: false,default: 'slash,doublequote,backslash,ctl,invalidutf8',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--seafile-encoding',},{diff --git a/backend/src/utils/providers/seaweedfs.ts b/backend/src/utils/providers/seaweedfs.tsindex 84bc718..7ecc77d 100644--- a/backend/src/utils/providers/seaweedfs.ts+++ b/backend/src/utils/providers/seaweedfs.ts@@ -8,7 +8,7 @@ const seaweedfsSettings = [authFieldType: 'client',required: true,default: '',- description: 'R2 Access Key ID.',+ description: 'Access Key ID.',command: '--s3-access-key-id',},{@@ -18,7 +18,7 @@ const seaweedfsSettings = [authFieldType: 'client',required: true,default: '',- description: 'R2 Secret Access Key (password).',+ description: 'Secret Access Key (password).',command: '--s3-secret-access-key',},{diff --git a/backend/src/utils/providers/sftp.ts b/backend/src/utils/providers/sftp.tsindex 858ebb9..5129fa6 100644--- a/backend/src/utils/providers/sftp.ts+++ b/backend/src/utils/providers/sftp.ts@@ -37,8 +37,7 @@ const sftpSettings = [required: false,value: 'pass',default: '',- description:- 'SSH password, leave blank to use ssh-agent. NB Input to this must be obscured - see rclone obscure.',+ description: 'SSH password. Leave blank to use SSH agent.',},{label: 'PEM-Encoded Private Key',@@ -48,7 +47,7 @@ const sftpSettings = [value: 'key_pem',default: '',description:- "Raw PEM-encoded private key. Note that this should be on a single line with line endings replaced with '\\n', eg",+ 'Raw PEM-encoded private key. Must be on a single line with line endings replaced by \\n.',},{label: 'Private Key File',@@ -58,7 +57,7 @@ const sftpSettings = [value: 'key_file',default: '',description:- 'Path to PEM-encoded private key file. Leave blank or set key-use-agent to use ssh-agent.',+ 'Path to PEM-encoded private key file. Leave blank or enable Use SSH Agent to use an SSH agent.',},{label: 'Private Key Passphrase',@@ -68,7 +67,7 @@ const sftpSettings = [value: 'key_file_pass',default: '',description:- "The passphrase to decrypt the PEM-encoded private key file. Only PEM encrypted key files (old OpenSSH format) are supported. Encrypted keys\nin the new OpenSSH format can't be used.",+ 'Passphrase to decrypt the PEM-encoded private key file. Only old OpenSSH format encrypted keys are supported.',},{label: 'SSH Public Certificate',@@ -78,7 +77,7 @@ const sftpSettings = [value: 'pubkey',default: '',description:- 'SSH public certificate for public certificate based authentication.\nSet this if you have a signed certificate you want to use for authentication.\nIf specified will override pubkey_file.',+ 'SSH public certificate for certificate-based authentication. If specified, overrides the Public Key File setting.',},{label: 'Public Key File',@@ -98,7 +97,7 @@ const sftpSettings = [value: 'key_use_agent',default: false,description:- 'When set forces the usage of the ssh-agent. When key-file is also set, the ".pub" file of the specified key-file is read and only the associated key is\nrequested from the ssh-agent. This allows to avoid Too many authentication failures for *username* errors\nwhen the ssh-agent contains many keys.',+ 'Force the use of an SSH agent for authentication. When a Private Key File is also set, only the matching key is requested from the agent.',},{label: 'Allow Insecure Ciphers',@@ -108,7 +107,7 @@ const sftpSettings = [value: 'use_insecure_cipher',default: false,description:- 'Enable the use of insecure ciphers and key exchange methods. This enables the use of the following insecure ciphers and key exchange methods:',+ 'Enable the use of insecure ciphers and key exchange methods. Only use this if your server requires legacy encryption.',},{label: 'Disable Hash Check',@@ -118,7 +117,7 @@ const sftpSettings = [value: 'disable_hashcheck',default: false,description:- 'Disable the execution of SSH commands to determine if remote file hashing is available. Leave blank or set to false to enable hashing (recommended), set to true to disable hashing.',+ 'Disable checking for remote file hashing support. Leave disabled to enable hashing (recommended).',},{label: 'External SSH Binary',@@ -128,7 +127,7 @@ const sftpSettings = [value: 'ssh',default: '',description:- 'Path and arguments to external ssh binary. Normally rclone will use its internal ssh library to connect to the\nSFTP server. However it does not implement all possible ssh options so\nit may be desirable to use an external ssh binary.',+ 'Path and arguments to an external SSH binary. Use this if you need SSH options not supported by the built-in SSH library.',},{label: 'Known Hosts File',@@ -147,8 +146,7 @@ const sftpSettings = [required: false,value: 'ask_password',default: false,- description:- 'Allow asking for SFTP password when needed. If this is set and no password is supplied then rclone will:',+ description: 'Allow prompting for an SFTP password when none is configured.',},{label: 'SSH Path Override',@@ -158,7 +156,7 @@ const sftpSettings = [value: 'path_override',default: '',description:- 'Override path used by SSH shell commands. This allows checksum calculation when SFTP and SSH paths are\ndifferent. This issue affects among others Synology NAS boxes.',+ 'Override path used by SSH shell commands. Use this when SFTP and SSH paths differ, such as on Synology NAS devices.',},{label: 'Set Remote Modified Time',@@ -172,11 +170,18 @@ const sftpSettings = [{label: 'Remote Shell Type',command: '--sftp-shell-type',- fieldType: 'string',+ fieldType: 'select',required: false,value: 'shell_type',default: '',description: 'The type of SSH shell on remote server, if any. Leave blank for autodetect.',+ options: [+ { label: 'Autodetect', value: '' },+ { label: 'No shell access', value: 'none' },+ { label: 'Unix shell', value: 'unix' },+ { label: 'PowerShell', value: 'powershell' },+ { label: 'Windows Command Prompt', value: 'cmd' },+ ],},{label: 'MD5 Hash Command',@@ -222,7 +227,7 @@ const sftpSettings = [value: 'server_command',default: '',description:- 'Specifies the path or command to run a sftp server on the remote host. The subsystem option is ignored when server_command is defined.',+ 'Path or command to run an SFTP server on the remote host. The SSH Subsystem setting is ignored when this is set.',},{label: 'Use fstat Instead of stat',@@ -232,7 +237,7 @@ const sftpSettings = [value: 'use_fstat',default: false,description:- 'If set use fstat instead of stat. Some servers limit the amount of open files and calling Stat after opening\nthe file will throw an error from the server. Setting this flag will call\nFstat instead of Stat which is called on an already open file handle.',+ 'Use fstat instead of stat. Enable this if your server limits open files and throws errors when checking file status.',},{label: 'Disable Concurrent Reads',@@ -242,7 +247,7 @@ const sftpSettings = [value: 'disable_concurrent_reads',default: false,description:- "If set don't use concurrent reads. Normally concurrent reads are safe to use and not using them will\ndegrade performance, so this option is disabled by default.",+ 'Disable concurrent reads. Concurrent reads are normally safe and improve performance.',},{label: 'Disable Concurrent Writes',@@ -252,7 +257,7 @@ const sftpSettings = [value: 'disable_concurrent_writes',default: false,description:- "If set don't use concurrent writes. Normally rclone uses concurrent writes to upload files. This improves\nthe performance greatly, especially for distant servers.",+ 'Disable concurrent writes. Concurrent writes improve upload performance, especially for distant servers.',},{label: 'Idle Connection Timeout',@@ -262,7 +267,7 @@ const sftpSettings = [value: 'idle_timeout',default: '1m0s',description:- 'Max time before closing idle connections. If no connections have been returned to the connection pool in the time\ngiven, rclone will empty the connection pool.',+ 'Max time before closing idle connections. If no connections are used within this time, the connection pool is emptied.',},{label: 'Chunk Size',@@ -272,7 +277,7 @@ const sftpSettings = [value: 'chunk_size',default: '32ki',description:- 'Upload and download chunk size. This controls the maximum size of payload in SFTP protocol packets.\nThe RFC limits this to 32768 bytes (32k), which is the default. However,\na lot of servers support larger sizes, typically limited to a maximum\ntotal package size of 256k, and setting it larger will increase transfer\nspeed dramatically on high latency links. This includes OpenSSH, and,\nfor example, using the value of 255k works well, leaving plenty of room\nfor overhead while still being within a total packet size of 256k.',+ 'Upload and download chunk size. Increasing this can significantly improve transfer speed on high-latency connections. Most servers support up to 255k.',},{label: 'Max Concurrent Requests per File',@@ -282,7 +287,7 @@ const sftpSettings = [value: 'concurrency',default: '64',description:- 'The maximum number of outstanding requests for one file This controls the maximum number of outstanding requests for one file.\nIncreasing it will increase throughput on high latency links at the\ncost of using more memory.',+ 'Maximum number of outstanding requests for one file. Increasing this can improve throughput on high-latency connections at the cost of more memory.',},{label: 'Max Simultaneous Connections',@@ -292,7 +297,7 @@ const sftpSettings = [value: 'connections',default: '0',description:- 'Maximum number of SFTP simultaneous connections, 0 for unlimited. Note that setting this is very likely to cause deadlocks so it should\nbe used with care.',+ 'Maximum number of SFTP simultaneous connections, 0 for unlimited. Setting this is likely to cause deadlocks, so use with care.',},{label: 'Environment Variables',@@ -301,8 +306,7 @@ const sftpSettings = [required: false,value: 'set_env',default: '',- description:- 'Environment variables to pass to sftp and commands Set environment variables in the form:',+ description: 'Environment variables to pass to SFTP commands.',},{label: 'Session Encryption Ciphers',@@ -312,7 +316,7 @@ const sftpSettings = [value: 'ciphers',default: '',description:- 'Space separated list of ciphers to be used for session encryption, ordered by preference. At least one must match with server configuration. This can be checked for example using ssh -Q cipher.',+ 'Space-separated list of ciphers for session encryption, ordered by preference. At least one must match the server configuration.',},{label: 'Key Exchange Algorithms',@@ -322,7 +326,7 @@ const sftpSettings = [value: 'key_exchange',default: '',description:- 'Space separated list of key exchange algorithms, ordered by preference. At least one must match with server configuration. This can be checked for example using ssh -Q kex.',+ 'Space-separated list of key exchange algorithms, ordered by preference. At least one must match the server configuration.',},{label: 'Message Authentication Code (MAC) Algorithms',@@ -332,7 +336,7 @@ const sftpSettings = [value: 'macs',default: '',description:- 'Space separated list of MACs (message authentication code) algorithms, ordered by preference. At least one must match with server configuration. This can be checked for example using ssh -Q mac.',+ 'Space-separated list of MAC (message authentication code) algorithms, ordered by preference. At least one must match the server configuration.',},{label: 'Host Key Algorithms',@@ -342,7 +346,7 @@ const sftpSettings = [value: 'host_key_algorithms',default: '',description:- 'Space separated list of host key algorithms, ordered by preference. At least one must match with server configuration. This can be checked for example using ssh -Q HostKeyAlgorithms.',+ 'Space-separated list of host key algorithms, ordered by preference. At least one must match the server configuration.',},{label: 'SOCKS Proxy',@@ -362,7 +366,7 @@ const sftpSettings = [value: 'copy_is_hardlink',default: false,description:- 'Set to enable server side copies using hardlinks. The SFTP protocol does not define a copy command so normally server\nside copies are not allowed with the sftp backend.',+ 'Enable server-side copies using hardlinks. The SFTP protocol does not natively support a copy command, so this uses hardlinks instead.',},{label: 'Description',diff --git a/backend/src/utils/providers/sharefile.ts b/backend/src/utils/providers/sharefile.tsindex 8d459b8..7af45da 100644--- a/backend/src/utils/providers/sharefile.ts+++ b/backend/src/utils/providers/sharefile.ts@@ -22,12 +22,21 @@ const citrixSharefileSettings = [{label: 'Root Folder ID',value: 'root_folder_id',- fieldType: 'string',+ fieldType: 'select',+ allowCustom: true,required: false,default: '',description:'ID of the root folder. Leave blank to access "Personal Folders". You can use one of the standard values here or any folder ID (long hex number ID).',command: '--sharefile-root-folder-id',+ options: [+ { label: 'Personal Folders', value: '' },+ { label: 'Favorites', value: 'favorites' },+ { label: 'All Shared Folders', value: 'allshared' },+ { label: 'All Connectors', value: 'connectors' },+ { label: 'Home, Favorites, Shared, Connectors', value: 'top' },+ { label: 'Custom Folder ID', value: 'custom' },+ ],},{label: 'OAuth Access Token',@@ -103,8 +112,7 @@ const citrixSharefileSettings = [required: false,default:'slash,ltgt,doublequote,colon,question,asterisk,pipe,backslash,ctl,leftspace,leftperiod,rightspace,rightperiod,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--sharefile-encoding',},{diff --git a/backend/src/utils/providers/sia.ts b/backend/src/utils/providers/sia.tsindex b9d0f2e..e511190 100644--- a/backend/src/utils/providers/sia.ts+++ b/backend/src/utils/providers/sia.ts@@ -7,7 +7,7 @@ const siaSettings = [required: true,default: 'http://127.0.0.1:9980',description:- 'Sia daemon API URL, like http://sia.daemon.host:9980. Note that siad must run with --disable-api-security to open API port for other hosts (not recommended). Keep default if Sia daemon runs on localhost.',+ 'Sia daemon API URL, like http://sia.daemon.host:9980. The daemon must have API security disabled to allow connections from other hosts (not recommended). Keep default if the Sia daemon runs on localhost.',command: '--sia-api-url',},{@@ -37,8 +37,7 @@ const siaSettings = [fieldType: 'encoding',required: false,default: 'slash,question,hash,percent,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--sia-encoding',},{diff --git a/backend/src/utils/providers/smb.ts b/backend/src/utils/providers/smb.tsindex f9fe9d9..6fac40d 100644--- a/backend/src/utils/providers/smb.ts+++ b/backend/src/utils/providers/smb.ts@@ -36,7 +36,7 @@ const smbSettings = [authFieldType: 'password',required: false,default: '',- description: 'SMB password. Note: Input to this must be obscured - see rclone obscure.',+ description: 'SMB password.',command: '--smb-pass',},{@@ -56,7 +56,7 @@ const smbSettings = [required: false,default: '',description:- "Service principal name. Rclone presents this name to the server. Some servers use this as further authentication, and it often needs to be set for clusters. For example: 'cifs/remotehost:1020'. Leave blank if not sure.",+ "Service principal name presented to the server. Some servers use this for additional authentication, often needed for clusters. For example: 'cifs/remotehost:1020'. Leave blank if not sure.",command: '--smb-spn',},{@@ -66,7 +66,7 @@ const smbSettings = [required: false,default: '1m0s',description:- 'Max time before closing idle connections. If no connections have been returned to the connection pool in the time given, rclone will empty the connection pool. Set to 0 to keep connections indefinitely.',+ 'Max time before closing idle connections. If no connections are used within this time, the connection pool is emptied. Set to 0 to keep connections indefinitely.',command: '--smb-idle-timeout',},{@@ -95,8 +95,7 @@ const smbSettings = [required: false,default:'Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--smb-encoding',},{diff --git a/backend/src/utils/providers/storj.ts b/backend/src/utils/providers/storj.tsindex 434857d..cd1e7c6 100644--- a/backend/src/utils/providers/storj.ts+++ b/backend/src/utils/providers/storj.ts@@ -49,12 +49,16 @@ const storjSettings = [{label: 'Auth Provider',value: 'provider',- fieldType: 'string',+ fieldType: 'select',authFieldType: 'client',required: false,default: 'existing',description: 'Choose an authentication method.',command: '--storj-provider',+ options: [+ { label: 'Use an existing access grant', value: 'existing' },+ { label: 'Create a new access grant', value: 'new' },+ ],},{label: 'Description',diff --git a/backend/src/utils/providers/sugarsync.ts b/backend/src/utils/providers/sugarsync.tsindex 1850918..6a2cafa 100644--- a/backend/src/utils/providers/sugarsync.ts+++ b/backend/src/utils/providers/sugarsync.ts@@ -26,7 +26,7 @@ const sugarsyncSettings = [authFieldType: 'client',required: false,default: '',- description: "Sugarsync App ID. Leave blank to use rclone's.",+ description: "Sugarsync App ID. Leave blank to use the default.",command: '--sugarsync-app-id',},{@@ -36,7 +36,7 @@ const sugarsyncSettings = [authFieldType: 'client',required: false,default: '',- description: "Sugarsync Access Key ID. Leave blank to use rclone's.",+ description: "Sugarsync Access Key ID. Leave blank to use the default.",command: '--sugarsync-access-key-id',},{@@ -46,7 +46,7 @@ const sugarsyncSettings = [authFieldType: 'client',required: false,default: '',- description: "Sugarsync Private Access Key. Leave blank to use rclone's.",+ description: "Sugarsync Private Access Key. Leave blank to use the default.",command: '--sugarsync-private-access-key',},{@@ -65,7 +65,7 @@ const sugarsyncSettings = [required: false,default: '',description:- 'Sugarsync refresh token. Leave blank normally, will be auto configured by rclone.',+ 'Sugarsync refresh token. Leave blank normally.',command: '--sugarsync-refresh-token',},{@@ -75,7 +75,7 @@ const sugarsyncSettings = [required: false,default: '',description:- 'Sugarsync authorization. Leave blank normally, will be auto configured by rclone.',+ 'Sugarsync authorization. Leave blank normally.',command: '--sugarsync-authorization',},{@@ -85,7 +85,7 @@ const sugarsyncSettings = [required: false,default: '',description:- 'Sugarsync authorization expiry. Leave blank normally, will be auto configured by rclone.',+ 'Sugarsync authorization expiry. Leave blank normally.',command: '--sugarsync-authorization-expiry',},{@@ -94,7 +94,7 @@ const sugarsyncSettings = [fieldType: 'string',required: false,default: '',- description: 'Sugarsync root id. Leave blank normally, will be auto configured by rclone.',+ description: 'Sugarsync root id. Leave blank normally.',command: '--sugarsync-root-id',},{@@ -104,7 +104,7 @@ const sugarsyncSettings = [required: false,default: '',description:- 'Sugarsync deleted folder id. Leave blank normally, will be auto configured by rclone.',+ 'Sugarsync deleted folder id. Leave blank normally.',command: '--sugarsync-deleted-id',},{@@ -113,8 +113,7 @@ const sugarsyncSettings = [fieldType: 'encoding',required: false,default: 'slash,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--sugarsync-encoding',},{diff --git a/backend/src/utils/providers/swift.ts b/backend/src/utils/providers/swift.tsindex 2ef37ab..141e751 100644--- a/backend/src/utils/providers/swift.ts+++ b/backend/src/utils/providers/swift.ts@@ -6,7 +6,7 @@ const swiftSettings = [authFieldType: 'password',required: true,default: '',- description: 'User name to log in (OS_USERNAME).',+ description: 'User name to log in.',command: '--swift-user',},{@@ -16,7 +16,7 @@ const swiftSettings = [authFieldType: 'password',required: true,default: '',- description: 'API key or password (OS_PASSWORD).',+ description: 'API key or password.',command: '--swift-key',},{@@ -26,7 +26,7 @@ const swiftSettings = [authFieldType: 'password',required: true,default: '',- description: 'Authentication URL for server (OS_AUTH_URL).',+ description: 'Authentication URL for server.',options: [{ label: 'Rackspace US', value: 'https://auth.api.rackspacecloud.com/v1.0' },{ label: 'Rackspace UK', value: 'https://lon.auth.api.rackspacecloud.com/v1.0' },@@ -55,8 +55,9 @@ const swiftSettings = [required: false,default: '',description:- 'User ID to log in - optional - most swift systems use user and leave this blank (v3 auth) (OS_USER_ID).',+ 'User ID to log in. Optional — most systems use Username instead. Only used with v3 authentication.',command: '--swift-user-id',+ condition: [{ auth_version: 0 }, { auth_version: 3 }],},{label: 'User Domain',@@ -64,8 +65,9 @@ const swiftSettings = [fieldType: 'string',required: false,default: '',- description: 'User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)',+ description: 'User domain. Optional, only used with v3 authentication.',command: '--swift-domain',+ condition: [{ auth_version: 0 }, { auth_version: 3 }],},{label: 'Tenant Name',@@ -74,7 +76,7 @@ const swiftSettings = [required: true,default: '',description:- 'Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME).',+ 'Tenant name. Optional for v1 auth, otherwise this or Tenant ID is required.',command: '--swift-tenant',},{@@ -84,7 +86,7 @@ const swiftSettings = [required: false,default: '',description:- 'Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID).',+ 'Tenant ID. Optional for v1 auth, otherwise this or Tenant Name is required.',command: '--swift-tenant-id',},{@@ -93,8 +95,9 @@ const swiftSettings = [fieldType: 'string',required: false,default: '',- description: 'Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME).',+ description: 'Tenant domain. Optional, only used with v3 authentication.',command: '--swift-tenant-domain',+ condition: [{ auth_version: 0 }, { auth_version: 3 }],},{label: 'Region',@@ -102,7 +105,7 @@ const swiftSettings = [fieldType: 'string',required: false,default: '',- description: 'Region name - optional (OS_REGION_NAME).',+ description: 'Region name (optional).',command: '--swift-region',},{@@ -111,7 +114,7 @@ const swiftSettings = [fieldType: 'string',required: false,default: '',- description: 'Storage URL - optional (OS_STORAGE_URL).',+ description: 'Storage URL (optional).',command: '--swift-storage-url',},{@@ -120,7 +123,7 @@ const swiftSettings = [fieldType: 'string',required: false,default: '',- description: 'Auth Token from alternate authentication - optional (OS_AUTH_TOKEN).',+ description: 'Auth token from alternate authentication (optional).',command: '--swift-auth-token',},{@@ -129,8 +132,9 @@ const swiftSettings = [fieldType: 'string',required: false,default: '',- description: 'Application Credential ID (OS_APPLICATION_CREDENTIAL_ID).',+ description: 'Application credential ID for authentication.',command: '--swift-application-credential-id',+ condition: [{ auth_version: 0 }, { auth_version: 3 }],},{label: 'Application Credential Name',@@ -138,8 +142,9 @@ const swiftSettings = [fieldType: 'string',required: false,default: '',- description: 'Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME).',+ description: 'Application credential name for authentication.',command: '--swift-application-credential-name',+ condition: [{ auth_version: 0 }, { auth_version: 3 }],},{label: 'Application Credential Secret',@@ -147,8 +152,9 @@ const swiftSettings = [fieldType: 'string',required: false,default: '',- description: 'Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET).',+ description: 'Application credential secret for authentication.',command: '--swift-application-credential-secret',+ condition: [{ auth_version: 0 }, { auth_version: 3 }],},{label: 'Auth Version',@@ -157,27 +163,39 @@ const swiftSettings = [required: false,default: '0',description:- 'AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION).',+ 'Authentication version. Set to 1, 2, or 3 if your Auth URL has no version specified.',command: '--swift-auth-version',},{label: 'Endpoint Type',value: 'endpoint_type',- fieldType: 'string',+ fieldType: 'select',required: false,default: 'public',- description: 'Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE).',+ description: 'Endpoint type to choose from the service catalogue.',command: '--swift-endpoint-type',+ options: [+ { label: 'Public (default)', value: 'public' },+ { label: 'Internal', value: 'internal' },+ { label: 'Admin', value: 'admin' },+ ],},{label: 'Storage Policy',value: 'storage_policy',- fieldType: 'string',+ fieldType: 'select',+ allowCustom: true,required: false,default: '',description:'The storage policy to use when creating a new container. This applies the specified storage policy when creating a new container. The policy cannot be changed afterwards. The allowed configuration values and their meaning depend on your Swift storage provider.',command: '--swift-storage-policy',+ options: [+ { label: 'Default', value: '' },+ { label: 'OVH Public Cloud Storage', value: 'pcs' },+ { label: 'OVH Public Cloud Archive', value: 'pca' },+ { label: 'Custom', value: 'custom' },+ ],},{label: 'Leave Parts On Error',@@ -196,7 +214,7 @@ const swiftSettings = [required: false,default: false,description:- 'When paginating, always fetch unless we received an empty page. Consider using this option if rclone listings show fewer objects than expected, or if repeated syncs copy unchanged objects.',+ 'When paginating, always fetch unless an empty page is received. Enable if file listings show fewer objects than expected or repeated syncs copy unchanged objects.',command: '--swift-fetch-until-empty-page',},{@@ -206,7 +224,7 @@ const swiftSettings = [required: false,default: '0',description:- 'When paginating, fetch if the current page is within this percentage of the limit. Consider using this option if rclone listings show fewer objects than expected, or if repeated syncs copy unchanged objects.',+ 'When paginating, fetch if the current page is within this percentage of the limit. Enable if file listings show fewer objects than expected or repeated syncs copy unchanged objects.',command: '--swift-partial-page-fetch-threshold',},{@@ -216,7 +234,7 @@ const swiftSettings = [required: false,default: '5gi',description:- 'Above this size files will be chunked. Above this size files will be chunked into a a _segments container or a .file-segments directory. (See the use_segments_container option for more info). Default for this is 5 GiB which is its maximum value, which means only files above this size will be chunked.',+ 'Files above this size will be chunked into segments. Default is 5 GiB, which is also the maximum value.',command: '--swift-chunk-size',},{@@ -226,7 +244,7 @@ const swiftSettings = [required: false,default: false,description:- "Don't chunk files during streaming upload. When doing streaming uploads (e.g. using rcat or mount with --vfs-cache-mode off) setting this flag will cause the swift backend to not upload chunked files.",+ "Don't chunk files during streaming upload.",command: '--swift-no-chunk',},{@@ -236,7 +254,7 @@ const swiftSettings = [required: false,default: false,description:- 'Disable support for static and dynamic large objects Swift cannot transparently store files bigger than 5 GiB. There are two schemes for chunking large files, static large objects (SLO) or dynamic large objects (DLO), and the API does not allow rclone to determine whether a file is a static or dynamic large object without doing a HEAD on the object. Since these need to be treated differently, this means rclone has to issue HEAD requests for objects for example when reading checksums.',+ 'Disable support for static and dynamic large objects. Swift cannot transparently store files bigger than 5 GiB. Enabling this may improve performance but limits large file support.',command: '--swift-no-large-objects',},{@@ -246,7 +264,7 @@ const swiftSettings = [required: false,default: 'unset',description:- 'Choose destination for large object segments Swift cannot transparently store files bigger than 5 GiB and rclone will chunk files larger than chunk_size (default 5 GiB) in order to upload them.',+ 'Choose destination for large object segments. Swift cannot store files bigger than 5 GiB, so files larger than the Chunk Size will be split into segments.',command: '--swift-use-segments-container',},{@@ -256,7 +274,7 @@ const swiftSettings = [required: false,default: 'slash,invalidutf8',description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ 'The encoding for the backend.',command: '--swift-encoding',},{diff --git a/backend/src/utils/providers/tencent.ts b/backend/src/utils/providers/tencent.tsindex 79f3b2b..277f189 100644--- a/backend/src/utils/providers/tencent.ts+++ b/backend/src/utils/providers/tencent.ts@@ -29,7 +29,7 @@ const tencentSettings = [required: true,default: '',description:- 'Your Tencent COS Endpoint. Can be found in your Leviia dashboard. example: examplebucket-1250000000.cos.ap-guangzhou.myqcloud.com',+ 'Your Tencent COS Endpoint. Example: examplebucket-1250000000.cos.ap-guangzhou.myqcloud.com',command: '--s3-endpoint',},...s3Options,diff --git a/backend/src/utils/providers/types.ts b/backend/src/utils/providers/types.tsnew file mode 100644index 0000000..57c0323--- /dev/null+++ b/backend/src/utils/providers/types.ts@@ -0,0 +1,13 @@+export type ProviderSetting = {+ label: string;+ value: string;+ fieldType: string;+ required: boolean;+ default: string | boolean;+ description: string;+ authFieldType?: string;+ command?: string;+ allowCustom?: boolean;+ options?: { label: string; value: string; showInput?: boolean }[];+ condition?: Record<string, number | boolean | string>[];+};diff --git a/backend/src/utils/providers/ulozto.ts b/backend/src/utils/providers/ulozto.tsindex 84ca1c6..6ad710b 100644--- a/backend/src/utils/providers/ulozto.ts+++ b/backend/src/utils/providers/ulozto.ts@@ -16,8 +16,7 @@ const uloztoSettings = [authFieldType: 'password',required: true,default: '',- description:- 'The password for the user. NB Input to this must be obscured - see rclone obscure.',+ description: 'The password for the user.',command: '--ulozto-password',},{@@ -36,8 +35,7 @@ const uloztoSettings = [fieldType: 'string',required: false,default: '',- description:- "If set, rclone will use this folder as the root folder for all operations. For example, if the slug identifies 'foo/bar/', 'ulozto:baz' is equivalent to 'ulozto:foo/bar/baz' without any root slug set.",+ description: 'If set, this folder will be used as the root folder for all operations.',command: '--ulozto-root-folder-slug',},{@@ -55,8 +53,7 @@ const uloztoSettings = [fieldType: 'encoding',required: false,default: 'slash,backslash,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--ulozto-encoding',},{diff --git a/backend/src/utils/providers/wasabi.ts b/backend/src/utils/providers/wasabi.tsindex 5652585..30f01ab 100644--- a/backend/src/utils/providers/wasabi.ts+++ b/backend/src/utils/providers/wasabi.ts@@ -67,7 +67,7 @@ const wasabiSettings = [required: false,default: '',description:- 'Control lists (ACL) are subresources attached to buckets and objects. They define which Scaleway users have access to the attached object/bucket, and the type of access they have.',+ 'Access control lists (ACL) define which users have access to your buckets and objects, and the type of access they have.',command: '--s3-acl',},...s3Options,diff --git a/backend/src/utils/providers/webdav.ts b/backend/src/utils/providers/webdav.tsindex c1dae9a..289c907 100644--- a/backend/src/utils/providers/webdav.ts+++ b/backend/src/utils/providers/webdav.ts@@ -11,11 +11,21 @@ const webdavSettings = [{label: 'Vendor Name',value: 'vendor',- fieldType: 'string',+ fieldType: 'select',required: false,default: '',description: 'Name of the WebDAV site/service/software you are using.',command: '--webdav-vendor',+ options: [+ { label: 'Fastmail Files', value: 'fastmail' },+ { label: 'Nextcloud', value: 'nextcloud' },+ { label: 'Owncloud', value: 'owncloud' },+ { label: 'ownCloud Infinite Scale', value: 'infinitescale' },+ { label: 'Sharepoint Online', value: 'sharepoint' },+ { label: 'Sharepoint (NTLM)', value: 'sharepoint-ntlm' },+ { label: 'rclone WebDAV', value: 'rclone' },+ { label: 'Other', value: 'other' },+ ],},{label: 'Username',@@ -33,7 +43,7 @@ const webdavSettings = [fieldType: 'string',required: false,default: '',- description: 'Password. NB Input to this must be obscured - see rclone obscure.',+ description: 'Password.',command: '--webdav-pass',},{@@ -60,8 +70,7 @@ const webdavSettings = [fieldType: 'string',required: false,default: '',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--webdav-encoding',},{@@ -70,8 +79,7 @@ const webdavSettings = [fieldType: 'commaseplist',required: false,default: '',- description:- 'Set HTTP headers for all transactions. Use this to set additional HTTP headers for all transactions',+ description: 'Set additional HTTP headers for all transactions.',command: '--webdav-headers',},{@@ -90,8 +98,9 @@ const webdavSettings = [required: false,default: '10mi',description:- 'Nextcloud upload chunk size. We recommend configuring your NextCloud instance to increase the max chunk size to 1 GB for better upload performances. See https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html#adjust-chunk-size-on-nextcloud-side',+ 'Nextcloud upload chunk size. Consider increasing the max chunk size on your Nextcloud instance for better upload performance.',command: '--webdav-nextcloud-chunk-size',+ condition: [{ vendor: 'nextcloud' }],},{label: 'Exclude OwnCloud Shares',@@ -101,6 +110,7 @@ const webdavSettings = [default: false,description: 'Exclude ownCloud shares',command: '--webdav-owncloud-exclude-shares',+ condition: [{ vendor: 'owncloud' }],},{label: 'Exclude OwnCloud Mounts',@@ -110,6 +120,7 @@ const webdavSettings = [default: false,description: 'Exclude ownCloud mounted storages',command: '--webdav-owncloud-exclude-mounts',+ condition: [{ vendor: 'owncloud' }],},{label: 'Unix Socket Path',@@ -128,7 +139,7 @@ const webdavSettings = [required: false,default: false,description:- 'Preserve authentication on redirect. If the server redirects rclone to a new domain when it is trying to read a file then normally rclone will drop the Authorization: header from the request.',+ 'Preserve authentication on redirect. By default, authorization headers are removed when the server redirects to a different domain.',command: '--webdav-auth-redirect',},{diff --git a/backend/src/utils/providers/yandex.ts b/backend/src/utils/providers/yandex.tsindex a8b0b0f..3130626 100644--- a/backend/src/utils/providers/yandex.ts+++ b/backend/src/utils/providers/yandex.ts@@ -73,8 +73,7 @@ const yandexSettings = [fieldType: 'encoding',required: false,default: 'slash,del,ctl,invalidutf8,dot',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--yandex-encoding',},{diff --git a/backend/src/utils/providers/zoho.ts b/backend/src/utils/providers/zoho.tsindex 89bed7c..3118c46 100644--- a/backend/src/utils/providers/zoho.ts+++ b/backend/src/utils/providers/zoho.ts@@ -22,13 +22,21 @@ const zohoSettings = [{label: 'Region',value: 'region',- fieldType: 'string',+ fieldType: 'select',authFieldType: 'client',required: true,default: '',description:"Zoho region to connect to. You'll have to use the region your organization is registered in. If not sure use the same top level domain as you connect to in your browser.",command: '--zoho-region',+ options: [+ { label: 'United States / Global', value: 'com' },+ { label: 'Europe', value: 'eu' },+ { label: 'India', value: 'in' },+ { label: 'Japan', value: 'jp' },+ { label: 'China', value: 'com.cn' },+ { label: 'Australia', value: 'com.au' },+ ],},{label: 'OAuth Access Token',@@ -84,8 +92,7 @@ const zohoSettings = [fieldType: 'encoding',required: false,default: 'del,ctl,invalidutf8',- description:- 'The encoding for the backend. See the encoding section in the overview for more info.',+ description: 'The encoding for the backend.',command: '--zoho-encoding',},{