files.com 1.1.134 → 1.1.136
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/_VERSION +1 -1
- data/docs/remote_server_configuration_file.md +7 -7
- data/docs/site.md +0 -5
- data/docs/user.md +1 -1
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/remote_server_configuration_file.rb +8 -8
- data/lib/files.com/models/site.rb +0 -6
- data/lib/files.com/models/user.rb +1 -1
- 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: 3e859f7c41276594a9eb2212c1c76ba8704592000d82c9d39276d86f8ff8c7cf
|
4
|
+
data.tar.gz: 0cc4abaa60ae1a97cc03a23332fd9a8a3d499c4097d4e58d495d46af7de85171
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dcdb120db0ebbef604268e33b104cdf7edf5000d0d98583e3f2d2ba5d7b6626c20a76312958bb745a73553361d294189e5b6ea02c8486aad11e3fb89b00947c
|
7
|
+
data.tar.gz: 450ac8eeabf09ba388aff5d662fbfb27d6cc9683b0969cb3b7b3e2a5f6df6dfb232db35882a933c0c6f4b8f9b423526a735fff64e15337b81a542713834b8a69
|
data/README.md
CHANGED
@@ -483,6 +483,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
|
|
483
483
|
|`TwoFactorAuthenticationCodeAlreadySentError`| `ProcessingFailureError` |
|
484
484
|
|`TwoFactorAuthenticationCountryBlacklistedError`| `ProcessingFailureError` |
|
485
485
|
|`TwoFactorAuthenticationGeneralErrorError`| `ProcessingFailureError` |
|
486
|
+
|`TwoFactorAuthenticationMethodUnsupportedErrorError`| `ProcessingFailureError` |
|
486
487
|
|`TwoFactorAuthenticationUnsubscribedRecipientError`| `ProcessingFailureError` |
|
487
488
|
|`UpdatesNotAllowedForRemotesError`| `ProcessingFailureError` |
|
488
489
|
|`DuplicateShareRecipientError`| `RateLimitedError` |
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.136
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"log_level": "example",
|
19
19
|
"log_rotate_num": 1,
|
20
20
|
"log_rotate_size": 1,
|
21
|
-
"
|
21
|
+
"override_max_concurrent_jobs": 1,
|
22
22
|
"graceful_shutdown_timeout": 1,
|
23
23
|
"transfer_rate_limit": "example",
|
24
24
|
"api_token": "example",
|
@@ -37,16 +37,16 @@
|
|
37
37
|
* `subdomain` (string): Files.com subdomain site name
|
38
38
|
* `root` (string): The root directory for the agent
|
39
39
|
* `follow_links` (boolean): Follow symlinks when traversing directories
|
40
|
-
* `prefer_protocol` (string): Preferred network protocol ['udp', 'tcp']
|
41
|
-
* `dns` (string): DNS lookup method ['auto','doh','system']
|
40
|
+
* `prefer_protocol` (string): Preferred network protocol ['udp', 'tcp'] (default udp)
|
41
|
+
* `dns` (string): DNS lookup method ['auto','doh','system'] (default auto)
|
42
42
|
* `proxy_all_outbound` (boolean): Proxy all outbound traffic through files.com proxy server
|
43
43
|
* `endpoint_override` (string): Custom site endpoint URL
|
44
44
|
* `log_file` (string): Log file name and location
|
45
|
-
* `log_level` (string): Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal']
|
45
|
+
* `log_level` (string): Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal'] (default info)
|
46
46
|
* `log_rotate_num` (int64): Log route for agent logs. (default 5)
|
47
|
-
* `log_rotate_size` (int64): Log route size in MB for agent logs. (default
|
48
|
-
* `
|
49
|
-
* `graceful_shutdown_timeout` (int64): Graceful shutdown timeout in seconds
|
47
|
+
* `log_rotate_size` (int64): Log route size in MB for agent logs. (default 20)
|
48
|
+
* `override_max_concurrent_jobs` (int64): Maximum number of concurrent jobs (default 1024)
|
49
|
+
* `graceful_shutdown_timeout` (int64): Graceful shutdown timeout in seconds (default 15)
|
50
50
|
* `transfer_rate_limit` (string): File transfer (upload/download) rate limit
|
51
51
|
`<limit>-<period>`, with the given periods:
|
52
52
|
* 'S': second
|
data/docs/site.md
CHANGED
@@ -11,7 +11,6 @@
|
|
11
11
|
],
|
12
12
|
"allowed_2fa_method_sms": true,
|
13
13
|
"allowed_2fa_method_totp": true,
|
14
|
-
"allowed_2fa_method_u2f": true,
|
15
14
|
"allowed_2fa_method_webauthn": true,
|
16
15
|
"allowed_2fa_method_yubi": true,
|
17
16
|
"allowed_2fa_method_email": true,
|
@@ -166,7 +165,6 @@
|
|
166
165
|
"two_factor_setup_needed": false,
|
167
166
|
"allowed_2fa_method_sms": true,
|
168
167
|
"allowed_2fa_method_totp": true,
|
169
|
-
"allowed_2fa_method_u2f": true,
|
170
168
|
"allowed_2fa_method_webauthn": true,
|
171
169
|
"allowed_2fa_method_yubi": true,
|
172
170
|
"use_provided_modified_at": true,
|
@@ -291,7 +289,6 @@
|
|
291
289
|
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
292
290
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
293
291
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
294
|
-
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
295
292
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
296
293
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
297
294
|
* `allowed_2fa_method_email` (boolean): Is OTP via email two factor authentication allowed?
|
@@ -570,7 +567,6 @@ Files::Site.update(
|
|
570
567
|
bundle_recipient_blacklist_domains: ["example"],
|
571
568
|
admins_bypass_locked_subfolders: true,
|
572
569
|
allowed_2fa_method_sms: true,
|
573
|
-
allowed_2fa_method_u2f: true,
|
574
570
|
allowed_2fa_method_totp: true,
|
575
571
|
allowed_2fa_method_webauthn: true,
|
576
572
|
allowed_2fa_method_yubi: true,
|
@@ -721,7 +717,6 @@ Files::Site.update(
|
|
721
717
|
* `bundle_recipient_blacklist_domains` (array(string)): List of email domains to disallow when entering a Bundle/Inbox recipients
|
722
718
|
* `admins_bypass_locked_subfolders` (boolean): Allow admins to bypass the locked subfolders setting.
|
723
719
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
724
|
-
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
725
720
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
726
721
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
727
722
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
data/docs/user.md
CHANGED
@@ -130,7 +130,7 @@
|
|
130
130
|
* `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
|
131
131
|
* `externally_managed` (boolean): Is this user managed by a SsoStrategy?
|
132
132
|
* `time_zone` (string): User time zone
|
133
|
-
* `type_of_2fa` (string): Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `
|
133
|
+
* `type_of_2fa` (string): Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `webauthn`, `yubi`, `email`, or multiple values sorted alphabetically and joined by an underscore. Does not specify whether user has more than one of a given method.
|
134
134
|
* `type_of_2fa_for_display` (string): Type(s) of 2FA methods in use, formatted for displaying in the UI. Unlike `type_of_2fa`, this value will make clear when a user has more than 1 of the same type of method.
|
135
135
|
* `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
|
136
136
|
* `days_remaining_until_password_expire` (int64): Number of days remaining until password expires
|
data/lib/files.com/errors.rb
CHANGED
@@ -200,6 +200,7 @@ module Files
|
|
200
200
|
class TwoFactorAuthenticationCodeAlreadySentError < ProcessingFailureError; end
|
201
201
|
class TwoFactorAuthenticationCountryBlacklistedError < ProcessingFailureError; end
|
202
202
|
class TwoFactorAuthenticationGeneralErrorError < ProcessingFailureError; end
|
203
|
+
class TwoFactorAuthenticationMethodUnsupportedErrorError < ProcessingFailureError; end
|
203
204
|
class TwoFactorAuthenticationUnsubscribedRecipientError < ProcessingFailureError; end
|
204
205
|
class UpdatesNotAllowedForRemotesError < ProcessingFailureError; end
|
205
206
|
|
@@ -39,12 +39,12 @@ module Files
|
|
39
39
|
@attributes[:follow_links]
|
40
40
|
end
|
41
41
|
|
42
|
-
# string - Preferred network protocol ['udp', 'tcp']
|
42
|
+
# string - Preferred network protocol ['udp', 'tcp'] (default udp)
|
43
43
|
def prefer_protocol
|
44
44
|
@attributes[:prefer_protocol]
|
45
45
|
end
|
46
46
|
|
47
|
-
# string - DNS lookup method ['auto','doh','system']
|
47
|
+
# string - DNS lookup method ['auto','doh','system'] (default auto)
|
48
48
|
def dns
|
49
49
|
@attributes[:dns]
|
50
50
|
end
|
@@ -64,7 +64,7 @@ module Files
|
|
64
64
|
@attributes[:log_file]
|
65
65
|
end
|
66
66
|
|
67
|
-
# string - Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal']
|
67
|
+
# string - Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal'] (default info)
|
68
68
|
def log_level
|
69
69
|
@attributes[:log_level]
|
70
70
|
end
|
@@ -74,17 +74,17 @@ module Files
|
|
74
74
|
@attributes[:log_rotate_num]
|
75
75
|
end
|
76
76
|
|
77
|
-
# int64 - Log route size in MB for agent logs. (default
|
77
|
+
# int64 - Log route size in MB for agent logs. (default 20)
|
78
78
|
def log_rotate_size
|
79
79
|
@attributes[:log_rotate_size]
|
80
80
|
end
|
81
81
|
|
82
|
-
# int64 - Maximum number of concurrent jobs (default
|
83
|
-
def
|
84
|
-
@attributes[:
|
82
|
+
# int64 - Maximum number of concurrent jobs (default 1024)
|
83
|
+
def override_max_concurrent_jobs
|
84
|
+
@attributes[:override_max_concurrent_jobs]
|
85
85
|
end
|
86
86
|
|
87
|
-
# int64 - Graceful shutdown timeout in seconds
|
87
|
+
# int64 - Graceful shutdown timeout in seconds (default 15)
|
88
88
|
def graceful_shutdown_timeout
|
89
89
|
@attributes[:graceful_shutdown_timeout]
|
90
90
|
end
|
@@ -34,11 +34,6 @@ module Files
|
|
34
34
|
@attributes[:allowed_2fa_method_totp]
|
35
35
|
end
|
36
36
|
|
37
|
-
# boolean - Is U2F two factor authentication allowed?
|
38
|
-
def allowed_2fa_method_u2f
|
39
|
-
@attributes[:allowed_2fa_method_u2f]
|
40
|
-
end
|
41
|
-
|
42
37
|
# boolean - Is WebAuthn two factor authentication allowed?
|
43
38
|
def allowed_2fa_method_webauthn
|
44
39
|
@attributes[:allowed_2fa_method_webauthn]
|
@@ -927,7 +922,6 @@ module Files
|
|
927
922
|
# bundle_recipient_blacklist_domains - array(string) - List of email domains to disallow when entering a Bundle/Inbox recipients
|
928
923
|
# admins_bypass_locked_subfolders - boolean - Allow admins to bypass the locked subfolders setting.
|
929
924
|
# allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
|
930
|
-
# allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
|
931
925
|
# allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
932
926
|
# allowed_2fa_method_webauthn - boolean - Is WebAuthn two factor authentication allowed?
|
933
927
|
# allowed_2fa_method_yubi - boolean - Is yubikey two factor authentication allowed?
|
@@ -527,7 +527,7 @@ module Files
|
|
527
527
|
@attributes[:time_zone] = value
|
528
528
|
end
|
529
529
|
|
530
|
-
# string - Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `
|
530
|
+
# string - Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `webauthn`, `yubi`, `email`, or multiple values sorted alphabetically and joined by an underscore. Does not specify whether user has more than one of a given method.
|
531
531
|
def type_of_2fa
|
532
532
|
@attributes[:type_of_2fa]
|
533
533
|
end
|
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.136
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|