files.com 1.2.370 → 1.2.372
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.
- package/README.md +1 -0
- package/_VERSION +1 -1
- package/docs/Errors.md +1 -0
- package/docs/models/RemoteServer.md +7 -0
- package/docs/models/Site.md +4 -0
- package/lib/Errors.js +361 -349
- package/lib/Files.js +1 -1
- package/lib/models/RemoteServer.js +152 -131
- package/lib/models/Site.js +60 -49
- package/package.json +1 -1
- package/src/Errors.js +1 -0
- package/src/Files.js +1 -1
- package/src/models/RemoteServer.js +17 -0
- package/src/models/Site.js +8 -0
package/README.md
CHANGED
|
@@ -712,6 +712,7 @@ Error
|
|
|
712
712
|
| `ProcessingFailure_AlreadyCompletedError`| `ProcessingFailureError` |
|
|
713
713
|
| `ProcessingFailure_AutomationCannotBeRunManuallyError`| `ProcessingFailureError` |
|
|
714
714
|
| `ProcessingFailure_BehaviorNotAllowedOnRemoteServerError`| `ProcessingFailureError` |
|
|
715
|
+
| `ProcessingFailure_BufferedUploadDisabledForThisDestinationError`| `ProcessingFailureError` |
|
|
715
716
|
| `ProcessingFailure_BundleOnlyAllowsPreviewsError`| `ProcessingFailureError` |
|
|
716
717
|
| `ProcessingFailure_BundleOperationRequiresSubfolderError`| `ProcessingFailureError` |
|
|
717
718
|
| `ProcessingFailure_CouldNotCreateParentError`| `ProcessingFailureError` |
|
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.372
|
package/docs/Errors.md
CHANGED
|
@@ -166,6 +166,7 @@ These errors are derived from the error groups listed above.
|
|
|
166
166
|
### ProcessingFailure_AlreadyCompletedError
|
|
167
167
|
### ProcessingFailure_AutomationCannotBeRunManuallyError
|
|
168
168
|
### ProcessingFailure_BehaviorNotAllowedOnRemoteServerError
|
|
169
|
+
### ProcessingFailure_BufferedUploadDisabledForThisDestinationError
|
|
169
170
|
### ProcessingFailure_BundleOnlyAllowsPreviewsError
|
|
170
171
|
### ProcessingFailure_BundleOperationRequiresSubfolderError
|
|
171
172
|
### ProcessingFailure_CouldNotCreateParentError
|
|
@@ -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).
|
|
@@ -203,6 +205,7 @@ await RemoteServer.create({
|
|
|
203
205
|
'cloudflare_access_key': "example",
|
|
204
206
|
'cloudflare_bucket': "my-bucket",
|
|
205
207
|
'cloudflare_endpoint': "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
208
|
+
'description': "More information or notes about my server",
|
|
206
209
|
'dropbox_teams': true,
|
|
207
210
|
'enable_dedicated_ips': true,
|
|
208
211
|
'filebase_access_key': "example",
|
|
@@ -275,6 +278,7 @@ await 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.
|
|
@@ -401,6 +405,7 @@ await remote_server.update({
|
|
|
401
405
|
'cloudflare_access_key': "example",
|
|
402
406
|
'cloudflare_bucket': "my-bucket",
|
|
403
407
|
'cloudflare_endpoint': "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
408
|
+
'description': "More information or notes about my server",
|
|
404
409
|
'dropbox_teams': true,
|
|
405
410
|
'enable_dedicated_ips': true,
|
|
406
411
|
'filebase_access_key': "example",
|
|
@@ -473,6 +478,7 @@ await remote_server.update({
|
|
|
473
478
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
474
479
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
475
480
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
481
|
+
* `description` (string): Internal description for your reference
|
|
476
482
|
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
477
483
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
478
484
|
* `filebase_access_key` (string): Filebase: Access Key.
|
|
@@ -517,6 +523,7 @@ await remote_server.update({
|
|
|
517
523
|
"hostname": "remote-server.com",
|
|
518
524
|
"remote_home_path": "/home/user1",
|
|
519
525
|
"name": "My Remote server",
|
|
526
|
+
"description": "More information or notes about my server",
|
|
520
527
|
"port": 1,
|
|
521
528
|
"buffer_uploads": "example",
|
|
522
529
|
"max_connections": 1,
|
package/docs/models/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?
|
|
@@ -634,6 +636,7 @@ await Site.update({
|
|
|
634
636
|
'site_public_footer': "example",
|
|
635
637
|
'login_help_text': "Login page help text.",
|
|
636
638
|
'use_dedicated_ips_for_smtp': false,
|
|
639
|
+
'email_footer_custom_text': "Copyright © %Y MyCompany Inc.",
|
|
637
640
|
'smtp_address': "smtp.my-mail-server.com",
|
|
638
641
|
'smtp_authentication': "plain",
|
|
639
642
|
'smtp_from': "me@my-mail-server.com",
|
|
@@ -796,6 +799,7 @@ await 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
|