files.com 1.1.65 → 1.1.66
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/site.md +4 -0
- data/lib/files.com/models/site.rb +6 -0
- 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: 72a7d4d9bd4394bf93df368d6fcd49f849ee50ba06bbf8912876d82b493b5407
|
4
|
+
data.tar.gz: 5df0955ad415720ff0e066e2b03b4c32e7abcb29477b4fbe0ee9e123435f7f03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f18fc882f517d3a1731a9358be7ced500fec1a82bb7118216f0da02f37335e105fa58eb3952c605ca340477711411580d6f53be54927d66c7c46e4f2a842e6d7
|
7
|
+
data.tar.gz: '09f7412e5169f7ab14192cc043b06e1a845fe386eae1c66c5b9cc12c6957f5c29ffccf3dad08a698d456b2b3b3ae6c3436ac23836ea800ccce566304c8de3dc7'
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.66
|
data/docs/site.md
CHANGED
@@ -14,6 +14,7 @@
|
|
14
14
|
"allowed_2fa_method_webauthn": true,
|
15
15
|
"allowed_2fa_method_yubi": true,
|
16
16
|
"allowed_2fa_method_email": true,
|
17
|
+
"allowed_2fa_method_static": true,
|
17
18
|
"allowed_2fa_method_bypass_for_ftp_sftp_dav": true,
|
18
19
|
"admin_user_id": 1,
|
19
20
|
"admins_bypass_locked_subfolders": true,
|
@@ -286,6 +287,7 @@
|
|
286
287
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
287
288
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
288
289
|
* `allowed_2fa_method_email` (boolean): Is OTP via email two factor authentication allowed?
|
290
|
+
* `allowed_2fa_method_static` (boolean): Is OTP via static codes for two factor authentication allowed?
|
289
291
|
* `allowed_2fa_method_bypass_for_ftp_sftp_dav` (boolean): Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
290
292
|
* `admin_user_id` (int64): User ID for the main site administrator
|
291
293
|
* `admins_bypass_locked_subfolders` (boolean): Allow admins to bypass the locked subfolders setting.
|
@@ -560,6 +562,7 @@ Files::Site.update(
|
|
560
562
|
allowed_2fa_method_webauthn: true,
|
561
563
|
allowed_2fa_method_yubi: true,
|
562
564
|
allowed_2fa_method_email: true,
|
565
|
+
allowed_2fa_method_static: true,
|
563
566
|
allowed_2fa_method_bypass_for_ftp_sftp_dav: true,
|
564
567
|
require_2fa: true,
|
565
568
|
require_2fa_user_type: "`site_admins`",
|
@@ -707,6 +710,7 @@ Files::Site.update(
|
|
707
710
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
708
711
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
709
712
|
* `allowed_2fa_method_email` (boolean): Is OTP via email two factor authentication allowed?
|
713
|
+
* `allowed_2fa_method_static` (boolean): Is OTP via static codes for two factor authentication allowed?
|
710
714
|
* `allowed_2fa_method_bypass_for_ftp_sftp_dav` (boolean): Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
711
715
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
712
716
|
* `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)?
|
@@ -49,6 +49,11 @@ module Files
|
|
49
49
|
@attributes[:allowed_2fa_method_email]
|
50
50
|
end
|
51
51
|
|
52
|
+
# boolean - Is OTP via static codes for two factor authentication allowed?
|
53
|
+
def allowed_2fa_method_static
|
54
|
+
@attributes[:allowed_2fa_method_static]
|
55
|
+
end
|
56
|
+
|
52
57
|
# boolean - Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
53
58
|
def allowed_2fa_method_bypass_for_ftp_sftp_dav
|
54
59
|
@attributes[:allowed_2fa_method_bypass_for_ftp_sftp_dav]
|
@@ -905,6 +910,7 @@ module Files
|
|
905
910
|
# allowed_2fa_method_webauthn - boolean - Is WebAuthn two factor authentication allowed?
|
906
911
|
# allowed_2fa_method_yubi - boolean - Is yubikey two factor authentication allowed?
|
907
912
|
# allowed_2fa_method_email - boolean - Is OTP via email two factor authentication allowed?
|
913
|
+
# allowed_2fa_method_static - boolean - Is OTP via static codes for two factor authentication allowed?
|
908
914
|
# allowed_2fa_method_bypass_for_ftp_sftp_dav - boolean - Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
909
915
|
# require_2fa - boolean - Require two-factor authentication for all users?
|
910
916
|
# 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)?
|
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.66
|
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-05-
|
11
|
+
date: 2024-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|