files.com 1.1.386 → 1.1.387
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/_VERSION +1 -1
- data/docs/remote_server.md +8 -0
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/remote_server.rb +15 -0
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27ebd943ede649143dedc29facc04503699c7790677dd4a1ae42c5e35f545f5e
|
|
4
|
+
data.tar.gz: 24dd337b9546c0cde36cf755d71fdf3086db2e22807aa5f998ed4c1f93f70e09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a8463af7f64315c68628e3989f13575737ee0e426f52be4d0e8b6cb0a62bd39701fca10a7817f9b0ba902dfeb048e478f8cd3ab3dcc0e50f6a69d3e957ff148
|
|
7
|
+
data.tar.gz: aca00c2338c54ded987fe49d6c6f0bdbc5d3aef67b1c5604fff3a50324f0d13f242c2bedd5d61edf827cef8ceb52d06565c081c99566390368ece1a7bd816ad8
|
data/README.md
CHANGED
|
@@ -589,6 +589,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
|
|
|
589
589
|
|`AlreadyCompletedError`| `ProcessingFailureError` |
|
|
590
590
|
|`AutomationCannotBeRunManuallyError`| `ProcessingFailureError` |
|
|
591
591
|
|`BehaviorNotAllowedOnRemoteServerError`| `ProcessingFailureError` |
|
|
592
|
+
|`BufferedUploadDisabledForThisDestinationError`| `ProcessingFailureError` |
|
|
592
593
|
|`BundleOnlyAllowsPreviewsError`| `ProcessingFailureError` |
|
|
593
594
|
|`BundleOperationRequiresSubfolderError`| `ProcessingFailureError` |
|
|
594
595
|
|`CouldNotCreateParentError`| `ProcessingFailureError` |
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.387
|
data/docs/remote_server.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"hostname": "remote-server.com",
|
|
11
11
|
"remote_home_path": "/home/user1",
|
|
12
12
|
"name": "My Remote server",
|
|
13
|
+
"description": "More information or notes about my server",
|
|
13
14
|
"port": 1,
|
|
14
15
|
"buffer_uploads": "example",
|
|
15
16
|
"max_connections": 1,
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
* `hostname` (string): Hostname or IP address
|
|
70
71
|
* `remote_home_path` (string): Initial home folder on remote server
|
|
71
72
|
* `name` (string): Internal name for your reference
|
|
73
|
+
* `description` (string): Internal description for your reference
|
|
72
74
|
* `port` (int64): Port for remote server. Not needed for S3.
|
|
73
75
|
* `buffer_uploads` (string): If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
74
76
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
|
@@ -204,6 +206,7 @@ Files::RemoteServer.create(
|
|
|
204
206
|
cloudflare_access_key: "example",
|
|
205
207
|
cloudflare_bucket: "my-bucket",
|
|
206
208
|
cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
209
|
+
description: "More information or notes about my server",
|
|
207
210
|
dropbox_teams: true,
|
|
208
211
|
enable_dedicated_ips: true,
|
|
209
212
|
filebase_access_key: "example",
|
|
@@ -275,6 +278,7 @@ Files::RemoteServer.create(
|
|
|
275
278
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
276
279
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
277
280
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
281
|
+
* `description` (string): Internal description for your reference
|
|
278
282
|
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
279
283
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
280
284
|
* `filebase_access_key` (string): Filebase: Access Key.
|
|
@@ -367,6 +371,7 @@ Files::RemoteServer.update(id,
|
|
|
367
371
|
cloudflare_access_key: "example",
|
|
368
372
|
cloudflare_bucket: "my-bucket",
|
|
369
373
|
cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
374
|
+
description: "More information or notes about my server",
|
|
370
375
|
dropbox_teams: true,
|
|
371
376
|
enable_dedicated_ips: true,
|
|
372
377
|
filebase_access_key: "example",
|
|
@@ -439,6 +444,7 @@ Files::RemoteServer.update(id,
|
|
|
439
444
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
440
445
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
441
446
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
447
|
+
* `description` (string): Internal description for your reference
|
|
442
448
|
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
443
449
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
444
450
|
* `filebase_access_key` (string): Filebase: Access Key.
|
|
@@ -548,6 +554,7 @@ remote_server.update(
|
|
|
548
554
|
cloudflare_access_key: "example",
|
|
549
555
|
cloudflare_bucket: "my-bucket",
|
|
550
556
|
cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
557
|
+
description: "More information or notes about my server",
|
|
551
558
|
dropbox_teams: true,
|
|
552
559
|
enable_dedicated_ips: true,
|
|
553
560
|
filebase_access_key: "example",
|
|
@@ -620,6 +627,7 @@ remote_server.update(
|
|
|
620
627
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
621
628
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
622
629
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
630
|
+
* `description` (string): Internal description for your reference
|
|
623
631
|
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
624
632
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
625
633
|
* `filebase_access_key` (string): Filebase: Access Key.
|
data/lib/files.com/errors.rb
CHANGED
|
@@ -173,6 +173,7 @@ module Files
|
|
|
173
173
|
class AlreadyCompletedError < ProcessingFailureError; end
|
|
174
174
|
class AutomationCannotBeRunManuallyError < ProcessingFailureError; end
|
|
175
175
|
class BehaviorNotAllowedOnRemoteServerError < ProcessingFailureError; end
|
|
176
|
+
class BufferedUploadDisabledForThisDestinationError < ProcessingFailureError; end
|
|
176
177
|
class BundleOnlyAllowsPreviewsError < ProcessingFailureError; end
|
|
177
178
|
class BundleOperationRequiresSubfolderError < ProcessingFailureError; end
|
|
178
179
|
class CouldNotCreateParentError < ProcessingFailureError; end
|
|
@@ -63,6 +63,15 @@ module Files
|
|
|
63
63
|
@attributes[:name] = value
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
+
# string - Internal description for your reference
|
|
67
|
+
def description
|
|
68
|
+
@attributes[:description]
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
def description=(value)
|
|
72
|
+
@attributes[:description] = value
|
|
73
|
+
end
|
|
74
|
+
|
|
66
75
|
# int64 - Port for remote server. Not needed for S3.
|
|
67
76
|
def port
|
|
68
77
|
@attributes[:port]
|
|
@@ -753,6 +762,7 @@ module Files
|
|
|
753
762
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
|
754
763
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
|
755
764
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
|
765
|
+
# description - string - Internal description for your reference
|
|
756
766
|
# dropbox_teams - boolean - Dropbox: If true, list Team folders in root?
|
|
757
767
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
|
758
768
|
# filebase_access_key - string - Filebase: Access Key.
|
|
@@ -822,6 +832,7 @@ module Files
|
|
|
822
832
|
raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
|
|
823
833
|
raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
|
|
824
834
|
raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
|
|
835
|
+
raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
|
|
825
836
|
raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
|
|
826
837
|
raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
|
|
827
838
|
raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
|
|
@@ -967,6 +978,7 @@ module Files
|
|
|
967
978
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
|
968
979
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
|
969
980
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
|
981
|
+
# description - string - Internal description for your reference
|
|
970
982
|
# dropbox_teams - boolean - Dropbox: If true, list Team folders in root?
|
|
971
983
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
|
972
984
|
# filebase_access_key - string - Filebase: Access Key.
|
|
@@ -1032,6 +1044,7 @@ module Files
|
|
|
1032
1044
|
raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
|
|
1033
1045
|
raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
|
|
1034
1046
|
raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
|
|
1047
|
+
raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
|
|
1035
1048
|
raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
|
|
1036
1049
|
raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
|
|
1037
1050
|
raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
|
|
@@ -1136,6 +1149,7 @@ module Files
|
|
|
1136
1149
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
|
1137
1150
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
|
1138
1151
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
|
1152
|
+
# description - string - Internal description for your reference
|
|
1139
1153
|
# dropbox_teams - boolean - Dropbox: If true, list Team folders in root?
|
|
1140
1154
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
|
1141
1155
|
# filebase_access_key - string - Filebase: Access Key.
|
|
@@ -1204,6 +1218,7 @@ module Files
|
|
|
1204
1218
|
raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
|
|
1205
1219
|
raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
|
|
1206
1220
|
raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
|
|
1221
|
+
raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
|
|
1207
1222
|
raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
|
|
1208
1223
|
raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
|
|
1209
1224
|
raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
|
data/lib/files.com/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: files.com
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.387
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|