files.com 1.1.386 → 1.1.388
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/docs/site.md +4 -0
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/remote_server.rb +15 -0
- data/lib/files.com/models/site.rb +7 -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: 747c2425ef76a0f1a0e9214dd372f4a17a47e2f399661bd0c3fcd571ac7cb0cf
|
|
4
|
+
data.tar.gz: 4735cd97a9ea2bc38bfcb07a19b51308b4fdf2b2ca4b9ce4734c604d52c63afd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 354308856330b6a7d8e2c5d69f064ef836aa7c029915882e754138afc9147877bf6a6e10b6b2716193bb0ca7322fdd8ae0c9670a44f3b7d4a841c4435df7c7e9
|
|
7
|
+
data.tar.gz: b097b98c2b9b97e3110f14e766a5a88cd26ce11b4f4d37c9cd4d423dd1702a90b68f074389009a5779852e8d46b67bfc778b33cf1f15065b9989bdec0a0da97b
|
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.388
|
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/docs/site.md
CHANGED
|
@@ -303,6 +303,7 @@
|
|
|
303
303
|
"users_can_create_api_keys": true,
|
|
304
304
|
"users_can_create_ssh_keys": true,
|
|
305
305
|
"welcome_custom_text": "Welcome to my site!",
|
|
306
|
+
"email_footer_custom_text": "Copyright © %Y MyCompany Inc.",
|
|
306
307
|
"welcome_email_cc": "example",
|
|
307
308
|
"welcome_email_subject": "example",
|
|
308
309
|
"welcome_email_enabled": true,
|
|
@@ -479,6 +480,7 @@
|
|
|
479
480
|
* `users_can_create_api_keys` (boolean): Allow users to create their own API keys?
|
|
480
481
|
* `users_can_create_ssh_keys` (boolean): Allow users to create their own SSH keys?
|
|
481
482
|
* `welcome_custom_text` (string): Custom text send in user welcome email
|
|
483
|
+
* `email_footer_custom_text` (string): Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
|
|
482
484
|
* `welcome_email_cc` (email): Include this email in welcome emails if enabled
|
|
483
485
|
* `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
|
|
484
486
|
* `welcome_email_enabled` (boolean): Will the welcome email be sent to new users?
|
|
@@ -635,6 +637,7 @@ Files::Site.update(
|
|
|
635
637
|
site_public_footer: "example",
|
|
636
638
|
login_help_text: "Login page help text.",
|
|
637
639
|
use_dedicated_ips_for_smtp: false,
|
|
640
|
+
email_footer_custom_text: "Copyright © %Y MyCompany Inc.",
|
|
638
641
|
smtp_address: "smtp.my-mail-server.com",
|
|
639
642
|
smtp_authentication: "plain",
|
|
640
643
|
smtp_from: "me@my-mail-server.com",
|
|
@@ -796,6 +799,7 @@ Files::Site.update(
|
|
|
796
799
|
* `site_public_footer` (string): Custom site footer text for public pages
|
|
797
800
|
* `login_help_text` (string): Login help text
|
|
798
801
|
* `use_dedicated_ips_for_smtp` (boolean): If using custom SMTP, should we use dedicated IPs to deliver emails?
|
|
802
|
+
* `email_footer_custom_text` (string): Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
|
|
799
803
|
* `smtp_address` (string): SMTP server hostname or IP
|
|
800
804
|
* `smtp_authentication` (string): SMTP server authentication type
|
|
801
805
|
* `smtp_from` (string): From address to use when mailing through custom SMTP
|
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)
|
|
@@ -844,6 +844,11 @@ module Files
|
|
|
844
844
|
@attributes[:welcome_custom_text]
|
|
845
845
|
end
|
|
846
846
|
|
|
847
|
+
# string - Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
|
|
848
|
+
def email_footer_custom_text
|
|
849
|
+
@attributes[:email_footer_custom_text]
|
|
850
|
+
end
|
|
851
|
+
|
|
847
852
|
# email - Include this email in welcome emails if enabled
|
|
848
853
|
def welcome_email_cc
|
|
849
854
|
@attributes[:welcome_email_cc]
|
|
@@ -1010,6 +1015,7 @@ module Files
|
|
|
1010
1015
|
# site_public_footer - string - Custom site footer text for public pages
|
|
1011
1016
|
# login_help_text - string - Login help text
|
|
1012
1017
|
# use_dedicated_ips_for_smtp - boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
|
|
1018
|
+
# email_footer_custom_text - string - Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
|
|
1013
1019
|
# smtp_address - string - SMTP server hostname or IP
|
|
1014
1020
|
# smtp_authentication - string - SMTP server authentication type
|
|
1015
1021
|
# smtp_from - string - From address to use when mailing through custom SMTP
|
|
@@ -1102,6 +1108,7 @@ module Files
|
|
|
1102
1108
|
raise InvalidParameterError.new("Bad parameter: site_public_header must be an String") if params[:site_public_header] and !params[:site_public_header].is_a?(String)
|
|
1103
1109
|
raise InvalidParameterError.new("Bad parameter: site_public_footer must be an String") if params[:site_public_footer] and !params[:site_public_footer].is_a?(String)
|
|
1104
1110
|
raise InvalidParameterError.new("Bad parameter: login_help_text must be an String") if params[:login_help_text] and !params[:login_help_text].is_a?(String)
|
|
1111
|
+
raise InvalidParameterError.new("Bad parameter: email_footer_custom_text must be an String") if params[:email_footer_custom_text] and !params[:email_footer_custom_text].is_a?(String)
|
|
1105
1112
|
raise InvalidParameterError.new("Bad parameter: smtp_address must be an String") if params[:smtp_address] and !params[:smtp_address].is_a?(String)
|
|
1106
1113
|
raise InvalidParameterError.new("Bad parameter: smtp_authentication must be an String") if params[:smtp_authentication] and !params[:smtp_authentication].is_a?(String)
|
|
1107
1114
|
raise InvalidParameterError.new("Bad parameter: smtp_from must be an String") if params[:smtp_from] and !params[:smtp_from].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.388
|
|
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
|
+
date: 2025-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|