files.com 1.1.21 → 1.1.22
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: 8c8e386894290e7a277a40f2c836e82d9a00b5f0d5496631326d70003e980567
|
4
|
+
data.tar.gz: 5a04c639f0b6b163a71c50f2d546249b10b580e55b0bba20f18a4cf8b8bec318
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46eadaac221fafe81e8b4c02cec7892caba261b45589152908f39410451e1ea3c910d27275f6e11675490c55ffb02fb84ea83ccd90d27a0327022c75d06bc1f0
|
7
|
+
data.tar.gz: 3a0e9ac57fa16eee4b4259e541dc48fc0b603172966c9e2d3413ff6ce38eb6fa061cf5a9fbfc828c4d0455d1b6f44a7d26e315a0d2fff010f1b3e567629e69a4
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.22
|
data/docs/site.md
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
"allowed_2fa_method_u2f": true,
|
11
11
|
"allowed_2fa_method_webauthn": true,
|
12
12
|
"allowed_2fa_method_yubi": true,
|
13
|
+
"allowed_2fa_method_email": true,
|
13
14
|
"allowed_2fa_method_bypass_for_ftp_sftp_dav": true,
|
14
15
|
"admin_user_id": 1,
|
15
16
|
"admins_bypass_locked_subfolders": true,
|
@@ -237,6 +238,7 @@
|
|
237
238
|
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
238
239
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
239
240
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
241
|
+
* `allowed_2fa_method_email` (boolean): Is OTP via email two factor authentication allowed?
|
240
242
|
* `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?
|
241
243
|
* `admin_user_id` (int64): User ID for the main site administrator
|
242
244
|
* `admins_bypass_locked_subfolders` (boolean): Allow admins to bypass the locked subfolders setting.
|
@@ -503,6 +505,7 @@ Files::Site.update(
|
|
503
505
|
allowed_2fa_method_totp: true,
|
504
506
|
allowed_2fa_method_webauthn: true,
|
505
507
|
allowed_2fa_method_yubi: true,
|
508
|
+
allowed_2fa_method_email: true,
|
506
509
|
allowed_2fa_method_bypass_for_ftp_sftp_dav: true,
|
507
510
|
require_2fa: true,
|
508
511
|
require_2fa_user_type: "`site_admins`",
|
@@ -644,6 +647,7 @@ Files::Site.update(
|
|
644
647
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
645
648
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
646
649
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
650
|
+
* `allowed_2fa_method_email` (boolean): Is OTP via email two factor authentication allowed?
|
647
651
|
* `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?
|
648
652
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
649
653
|
* `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)?
|
@@ -39,6 +39,11 @@ module Files
|
|
39
39
|
@attributes[:allowed_2fa_method_yubi]
|
40
40
|
end
|
41
41
|
|
42
|
+
# boolean - Is OTP via email two factor authentication allowed?
|
43
|
+
def allowed_2fa_method_email
|
44
|
+
@attributes[:allowed_2fa_method_email]
|
45
|
+
end
|
46
|
+
|
42
47
|
# boolean - Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
43
48
|
def allowed_2fa_method_bypass_for_ftp_sftp_dav
|
44
49
|
@attributes[:allowed_2fa_method_bypass_for_ftp_sftp_dav]
|
@@ -874,6 +879,7 @@ module Files
|
|
874
879
|
# allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
875
880
|
# allowed_2fa_method_webauthn - boolean - Is WebAuthn two factor authentication allowed?
|
876
881
|
# allowed_2fa_method_yubi - boolean - Is yubikey two factor authentication allowed?
|
882
|
+
# allowed_2fa_method_email - boolean - Is OTP via email two factor authentication allowed?
|
877
883
|
# 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?
|
878
884
|
# require_2fa - boolean - Require two-factor authentication for all users?
|
879
885
|
# 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.22
|
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-02-
|
11
|
+
date: 2024-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|