files.com 1.0.237 → 1.0.238

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: c9b01ad36b460e0a396f659522c814ccdf52cf3bd0c233cd22152e04f512b8a0
4
- data.tar.gz: 83f49c3285c98a4dcd7aab591ab5770734aff469057932379a8e4bd01212e282
3
+ metadata.gz: 702a974ca2b9858e24c5906f60f5c4ffeac5968bdbc9bae74cc4cea3cf9b265a
4
+ data.tar.gz: b267aeae588b6b132d8824691624a53160f80a49231b632f217a0ac01f4c6621
5
5
  SHA512:
6
- metadata.gz: e776d1997e2f912d06d97671c839c03179162002fd06a5e4e30df39c5054108ce5ea572ff87ae0890a6fbe90b4f88e12e0580966008a454a607bebddd2eba71d
7
- data.tar.gz: 31957d31a4be647e5a847c7f8ddedcd53cc8abe0e12adb81e3ccccdd2343120c2e363a085cbbc3813613a8ff5876774f581d63c44fa81234c1cbb288965776ce
6
+ metadata.gz: bcbd8b164d5ea6992cd87aeb84cc8c66643b7e6bf2ec59278905087639f83e16b37c176ecdd6477558ac0465296769c7d064af0d7a99567039484ab02369b7e1
7
+ data.tar.gz: ef1b9b6f097f5a4a9f0a5c90b5196afc65c499c24bf37ece5d21bffe50f404f7b5515e75f4570aa8a7ae31394f05d0b933727798dc969c651421fe08eb4fed34
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.237
1
+ 1.0.238
data/docs/session.md CHANGED
@@ -20,6 +20,7 @@
20
20
  "allowed_2fa_method_sms": true,
21
21
  "allowed_2fa_method_totp": true,
22
22
  "allowed_2fa_method_u2f": true,
23
+ "allowed_2fa_method_webauthn": true,
23
24
  "allowed_2fa_method_yubi": true,
24
25
  "use_provided_modified_at": true,
25
26
  "windows_mode_ftp": true
@@ -42,6 +43,7 @@
42
43
  * `allowed_2fa_method_sms` (boolean): Sent only if 2FA setup is needed. Is SMS two factor authentication allowed?
43
44
  * `allowed_2fa_method_totp` (boolean): Sent only if 2FA setup is needed. Is TOTP two factor authentication allowed?
44
45
  * `allowed_2fa_method_u2f` (boolean): Sent only if 2FA setup is needed. Is U2F two factor authentication allowed?
46
+ * `allowed_2fa_method_webauthn` (boolean): Sent only if 2FA setup is needed. Is WebAuthn two factor authentication allowed?
45
47
  * `allowed_2fa_method_yubi` (boolean): Sent only if 2FA setup is needed. Is Yubikey two factor authentication allowed?
46
48
  * `use_provided_modified_at` (boolean): Allow the user to provide file/folder modified at dates? If false, the server will always use the current date/time.
47
49
  * `windows_mode_ftp` (boolean): Does this user want to use Windows line-ending emulation? (CR vs CRLF)
data/docs/site.md CHANGED
@@ -8,6 +8,7 @@
8
8
  "allowed_2fa_method_sms": true,
9
9
  "allowed_2fa_method_totp": true,
10
10
  "allowed_2fa_method_u2f": true,
11
+ "allowed_2fa_method_webauthn": true,
11
12
  "allowed_2fa_method_yubi": true,
12
13
  "admin_user_id": 1,
13
14
  "allow_bundle_names": true,
@@ -130,6 +131,7 @@
130
131
  "allowed_2fa_method_sms": true,
131
132
  "allowed_2fa_method_totp": true,
132
133
  "allowed_2fa_method_u2f": true,
134
+ "allowed_2fa_method_webauthn": true,
133
135
  "allowed_2fa_method_yubi": true,
134
136
  "use_provided_modified_at": true,
135
137
  "windows_mode_ftp": false
@@ -226,6 +228,7 @@
226
228
  * `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
227
229
  * `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
228
230
  * `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
231
+ * `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
229
232
  * `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
230
233
  * `admin_user_id` (int64): User ID for the main site administrator
231
234
  * `allow_bundle_names` (boolean): Are manual Bundle names allowed?
@@ -439,6 +442,7 @@ Files::Site.update(
439
442
  allowed_2fa_method_sms: true,
440
443
  allowed_2fa_method_u2f: true,
441
444
  allowed_2fa_method_totp: true,
445
+ allowed_2fa_method_webauthn: true,
442
446
  allowed_2fa_method_yubi: true,
443
447
  require_2fa: true,
444
448
  require_2fa_user_type: "`site_admins`",
@@ -545,6 +549,7 @@ Files::Site.update(
545
549
  * `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
546
550
  * `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
547
551
  * `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
552
+ * `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
548
553
  * `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
549
554
  * `require_2fa` (boolean): Require two-factor authentication for all users?
550
555
  * `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
@@ -157,6 +157,15 @@ module Files
157
157
  @attributes[:allowed_2fa_method_u2f] = value
158
158
  end
159
159
 
160
+ # boolean - Sent only if 2FA setup is needed. Is WebAuthn two factor authentication allowed?
161
+ def allowed_2fa_method_webauthn
162
+ @attributes[:allowed_2fa_method_webauthn]
163
+ end
164
+
165
+ def allowed_2fa_method_webauthn=(value)
166
+ @attributes[:allowed_2fa_method_webauthn] = value
167
+ end
168
+
160
169
  # boolean - Sent only if 2FA setup is needed. Is Yubikey two factor authentication allowed?
161
170
  def allowed_2fa_method_yubi
162
171
  @attributes[:allowed_2fa_method_yubi]
@@ -29,6 +29,11 @@ module Files
29
29
  @attributes[:allowed_2fa_method_u2f]
30
30
  end
31
31
 
32
+ # boolean - Is WebAuthn two factor authentication allowed?
33
+ def allowed_2fa_method_webauthn
34
+ @attributes[:allowed_2fa_method_webauthn]
35
+ end
36
+
32
37
  # boolean - Is yubikey two factor authentication allowed?
33
38
  def allowed_2fa_method_yubi
34
39
  @attributes[:allowed_2fa_method_yubi]
@@ -718,6 +723,7 @@ module Files
718
723
  # allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
719
724
  # allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
720
725
  # allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
726
+ # allowed_2fa_method_webauthn - boolean - Is WebAuthn two factor authentication allowed?
721
727
  # allowed_2fa_method_yubi - boolean - Is yubikey two factor authentication allowed?
722
728
  # require_2fa - boolean - Require two-factor authentication for all users?
723
729
  # require_2fa_user_type - string - What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
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.0.237
4
+ version: 1.0.238
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-31 00:00:00.000000000 Z
11
+ date: 2022-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable