files.com 1.1.133 → 1.1.135
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/permission.md +5 -5
- 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/permission.rb +5 -5
- 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: '09c4cb3d58a17be7a9ab26258187f31ae2d1637846a28639226bfc74894b252e'
|
4
|
+
data.tar.gz: 0372652b3e8759b015fcabe8142408940c8948295e65cd37d6e82757e0936d9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 436944eb77c62f2b239a12ee4b4df981a929f96d44505e2b9720e12558f045754e45bf0978b9f856076ac92fae61639ffa11d4000c3109c40a3d66c0e46b06ef
|
7
|
+
data.tar.gz: 232a5a10fc682b48fe5c9b62b4f93a4994e36c1ed6ed7269571b7770bebf261c0cc97feb6172810072b36338b75fd7b8c4774f6cc19b13ee202d205c13799ead
|
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.135
|
data/docs/permission.md
CHANGED
@@ -16,13 +16,13 @@
|
|
16
16
|
```
|
17
17
|
|
18
18
|
* `id` (int64): Permission ID
|
19
|
-
* `path` (string):
|
19
|
+
* `path` (string): Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
20
20
|
* `user_id` (int64): User ID
|
21
|
-
* `username` (string):
|
21
|
+
* `username` (string): Username (if applicable)
|
22
22
|
* `group_id` (int64): Group ID
|
23
|
-
* `group_name` (string): Group name if applicable
|
24
|
-
* `permission` (string): Permission type
|
25
|
-
* `recursive` (boolean):
|
23
|
+
* `group_name` (string): Group name (if applicable)
|
24
|
+
* `permission` (string): Permission type. See the table referenced in the documentation for an explanation of each permission.
|
25
|
+
* `recursive` (boolean): Recursive: does this permission apply to subfolders?
|
26
26
|
|
27
27
|
|
28
28
|
---
|
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
|
|
@@ -18,7 +18,7 @@ module Files
|
|
18
18
|
@attributes[:id] = value
|
19
19
|
end
|
20
20
|
|
21
|
-
# string -
|
21
|
+
# string - Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
22
22
|
def path
|
23
23
|
@attributes[:path]
|
24
24
|
end
|
@@ -36,7 +36,7 @@ module Files
|
|
36
36
|
@attributes[:user_id] = value
|
37
37
|
end
|
38
38
|
|
39
|
-
# string -
|
39
|
+
# string - Username (if applicable)
|
40
40
|
def username
|
41
41
|
@attributes[:username]
|
42
42
|
end
|
@@ -54,7 +54,7 @@ module Files
|
|
54
54
|
@attributes[:group_id] = value
|
55
55
|
end
|
56
56
|
|
57
|
-
# string - Group name if applicable
|
57
|
+
# string - Group name (if applicable)
|
58
58
|
def group_name
|
59
59
|
@attributes[:group_name]
|
60
60
|
end
|
@@ -63,7 +63,7 @@ module Files
|
|
63
63
|
@attributes[:group_name] = value
|
64
64
|
end
|
65
65
|
|
66
|
-
# string - Permission type
|
66
|
+
# string - Permission type. See the table referenced in the documentation for an explanation of each permission.
|
67
67
|
def permission
|
68
68
|
@attributes[:permission]
|
69
69
|
end
|
@@ -72,7 +72,7 @@ module Files
|
|
72
72
|
@attributes[:permission] = value
|
73
73
|
end
|
74
74
|
|
75
|
-
# boolean -
|
75
|
+
# boolean - Recursive: does this permission apply to subfolders?
|
76
76
|
def recursive
|
77
77
|
@attributes[:recursive]
|
78
78
|
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.135
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|