files.com 1.0.266 → 1.0.267
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
- 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: 8627bcbee349f32a87b922bd4f6336f9f7bc25ac06ba332831d169c67668d3ff
|
4
|
+
data.tar.gz: 89095e4907a6d32e627f8cee582c56fcb511d6e5c7a3018ac5675509965cac86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 330aedf8428d823a8ad5dce44fbd4c70065ea763128ec035a3c77348cabd1abad58d548b0b4671bd0956e4b2639d1487e65c58948ba5f571235bae982817c131
|
7
|
+
data.tar.gz: 315ea6fd8a726033472ff567881c019502d0fe623226c979ae7818eedbd8ba24b59a564ba27a432908e744cab2e14712e2d9de5ea9189c176c878f9ec181397c
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.267
|
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_bypass_for_ftp_sftp_dav": true,
|
13
14
|
"admin_user_id": 1,
|
14
15
|
"allow_bundle_names": true,
|
15
16
|
"allowed_countries": "US,DE",
|
@@ -231,6 +232,7 @@
|
|
231
232
|
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
232
233
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
233
234
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
235
|
+
* `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?
|
234
236
|
* `admin_user_id` (int64): User ID for the main site administrator
|
235
237
|
* `allow_bundle_names` (boolean): Are manual Bundle names allowed?
|
236
238
|
* `allowed_countries` (string): Comma seperated list of allowed Country codes
|
@@ -446,6 +448,7 @@ Files::Site.update(
|
|
446
448
|
allowed_2fa_method_totp: true,
|
447
449
|
allowed_2fa_method_webauthn: true,
|
448
450
|
allowed_2fa_method_yubi: true,
|
451
|
+
allowed_2fa_method_bypass_for_ftp_sftp_dav: true,
|
449
452
|
require_2fa: true,
|
450
453
|
require_2fa_user_type: "`site_admins`",
|
451
454
|
color2_top: "#000000",
|
@@ -554,6 +557,7 @@ Files::Site.update(
|
|
554
557
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
555
558
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
556
559
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
560
|
+
* `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?
|
557
561
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
558
562
|
* `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)?
|
559
563
|
* `color2_top` (string): Top bar background color
|
@@ -39,6 +39,11 @@ module Files
|
|
39
39
|
@attributes[:allowed_2fa_method_yubi]
|
40
40
|
end
|
41
41
|
|
42
|
+
# boolean - Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
43
|
+
def allowed_2fa_method_bypass_for_ftp_sftp_dav
|
44
|
+
@attributes[:allowed_2fa_method_bypass_for_ftp_sftp_dav]
|
45
|
+
end
|
46
|
+
|
42
47
|
# int64 - User ID for the main site administrator
|
43
48
|
def admin_user_id
|
44
49
|
@attributes[:admin_user_id]
|
@@ -731,6 +736,7 @@ module Files
|
|
731
736
|
# allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
732
737
|
# allowed_2fa_method_webauthn - boolean - Is WebAuthn two factor authentication allowed?
|
733
738
|
# allowed_2fa_method_yubi - boolean - Is yubikey two factor authentication allowed?
|
739
|
+
# 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?
|
734
740
|
# require_2fa - boolean - Require two-factor authentication for all users?
|
735
741
|
# 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)?
|
736
742
|
# color2_top - string - Top bar background color
|
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.
|
4
|
+
version: 1.0.267
|
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-05-
|
11
|
+
date: 2022-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|