files.com 1.1.134 → 1.1.135

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '019143d70ade40e5a242798d14c869726438d9446789145cb825993cca90d08e'
4
- data.tar.gz: 51ed1c765234cbf29d386401b32fd63640e064c94c91be8b3d4bb7fb7437ed46
3
+ metadata.gz: '09c4cb3d58a17be7a9ab26258187f31ae2d1637846a28639226bfc74894b252e'
4
+ data.tar.gz: 0372652b3e8759b015fcabe8142408940c8948295e65cd37d6e82757e0936d9c
5
5
  SHA512:
6
- metadata.gz: 365fe737726cf052824a70eaa81188a43d804afbe861f9e5e2140af05e772b89e3bbe71e657f37162b9045c094908594cf474f896485c4f51bcd9242420fd178
7
- data.tar.gz: 5afa057bf594fc7ba4f41f1255614eae21aba0f229a1fac025b4c45a20dddde5edb216728776185fe1e140782ab34c002c67098d5f7ca99a46c7a70206f71db7
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.134
1
+ 1.1.135
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`, `u2f`, `yubi`, or multiple values sorted alphabetically and joined by an underscore. Does not specify whether user has more than one of a given method.
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
@@ -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
 
@@ -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`, `u2f`, `yubi`, or multiple values sorted alphabetically and joined by an underscore. Does not specify whether user has more than one of a given method.
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.134"
4
+ VERSION = "1.1.135"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.134
4
+ version: 1.1.135
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com