files.com 1.0.480 → 1.0.481
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/site.md +10 -0
- data/lib/files.com/models/site.rb +13 -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: 4d6c919f94885f49426c6d0946c6cf9de5d500d90c1478171206490db5ef877f
|
4
|
+
data.tar.gz: 2386b97431e3ae55e46a72c6dbf3e80e30a2b94119cfe3447ac05d649e86692b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0048afd83169a2a164456ab18b40189a704c86e8c3d57f6e49fb1a79e6a85fac30f707f8f2e347cfbe7aab3ed7d69448135741beb2035bbe91dc5aa8ac9f2fb
|
7
|
+
data.tar.gz: 8d6b002ce3d625d8c47c91867ab914e16fb780306955514e94bdcfe8c4499ce5206ba32c434a885129e42b56738dea41c623362282fd8c47b246b39be82243f0
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.481
|
data/docs/site.md
CHANGED
@@ -20,6 +20,10 @@
|
|
20
20
|
"bundle_expiration": 1,
|
21
21
|
"bundle_not_found_message": "example",
|
22
22
|
"bundle_password_required": true,
|
23
|
+
"bundle_recipient_blacklist_domains": [
|
24
|
+
"example"
|
25
|
+
],
|
26
|
+
"bundle_recipient_blacklist_free_email_domains": true,
|
23
27
|
"bundle_registration_notifications": "never",
|
24
28
|
"bundle_require_registration": true,
|
25
29
|
"bundle_require_share_recipient": true,
|
@@ -240,6 +244,8 @@
|
|
240
244
|
* `bundle_expiration` (int64): Site-wide Bundle expiration in days
|
241
245
|
* `bundle_not_found_message` (string): Custom error message to show when bundle is not found.
|
242
246
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
247
|
+
* `bundle_recipient_blacklist_domains` (array): List of email domains to disallow when entering a Bundle/Inbox recipients
|
248
|
+
* `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
|
243
249
|
* `bundle_registration_notifications` (string): Do Bundle owners receive registration notification?
|
244
250
|
* `bundle_require_registration` (boolean): Do Bundles require registration?
|
245
251
|
* `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
|
@@ -480,6 +486,8 @@ Files::Site.update(
|
|
480
486
|
active_sftp_host_key_id: 1,
|
481
487
|
bundle_watermark_value: {"key":"example value"},
|
482
488
|
group_admins_can_set_user_password: true,
|
489
|
+
bundle_recipient_blacklist_free_email_domains: true,
|
490
|
+
bundle_recipient_blacklist_domains: ["example"],
|
483
491
|
allowed_2fa_method_sms: true,
|
484
492
|
allowed_2fa_method_u2f: true,
|
485
493
|
allowed_2fa_method_totp: true,
|
@@ -615,6 +623,8 @@ Files::Site.update(
|
|
615
623
|
* `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
|
616
624
|
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
617
625
|
* `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
|
626
|
+
* `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
|
627
|
+
* `bundle_recipient_blacklist_domains` (array(string)): List of email domains to disallow when entering a Bundle/Inbox recipients
|
618
628
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
619
629
|
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
620
630
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
@@ -89,6 +89,16 @@ module Files
|
|
89
89
|
@attributes[:bundle_password_required]
|
90
90
|
end
|
91
91
|
|
92
|
+
# array - List of email domains to disallow when entering a Bundle/Inbox recipients
|
93
|
+
def bundle_recipient_blacklist_domains
|
94
|
+
@attributes[:bundle_recipient_blacklist_domains]
|
95
|
+
end
|
96
|
+
|
97
|
+
# boolean - Disallow free email domains for Bundle/Inbox recipients?
|
98
|
+
def bundle_recipient_blacklist_free_email_domains
|
99
|
+
@attributes[:bundle_recipient_blacklist_free_email_domains]
|
100
|
+
end
|
101
|
+
|
92
102
|
# string - Do Bundle owners receive registration notification?
|
93
103
|
def bundle_registration_notifications
|
94
104
|
@attributes[:bundle_registration_notifications]
|
@@ -838,6 +848,8 @@ module Files
|
|
838
848
|
# active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
|
839
849
|
# bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
840
850
|
# group_admins_can_set_user_password - boolean - Allow group admins set password authentication method
|
851
|
+
# bundle_recipient_blacklist_free_email_domains - boolean - Disallow free email domains for Bundle/Inbox recipients?
|
852
|
+
# bundle_recipient_blacklist_domains - array(string) - List of email domains to disallow when entering a Bundle/Inbox recipients
|
841
853
|
# allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
|
842
854
|
# allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
|
843
855
|
# allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
@@ -932,6 +944,7 @@ module Files
|
|
932
944
|
raise InvalidParameterError.new("Bad parameter: sftp_host_key_type must be an String") if params[:sftp_host_key_type] and !params[:sftp_host_key_type].is_a?(String)
|
933
945
|
raise InvalidParameterError.new("Bad parameter: active_sftp_host_key_id must be an Integer") if params[:active_sftp_host_key_id] and !params[:active_sftp_host_key_id].is_a?(Integer)
|
934
946
|
raise InvalidParameterError.new("Bad parameter: bundle_watermark_value must be an Hash") if params[:bundle_watermark_value] and !params[:bundle_watermark_value].is_a?(Hash)
|
947
|
+
raise InvalidParameterError.new("Bad parameter: bundle_recipient_blacklist_domains must be an Array") if params[:bundle_recipient_blacklist_domains] and !params[:bundle_recipient_blacklist_domains].is_a?(Array)
|
935
948
|
raise InvalidParameterError.new("Bad parameter: require_2fa_user_type must be an String") if params[:require_2fa_user_type] and !params[:require_2fa_user_type].is_a?(String)
|
936
949
|
raise InvalidParameterError.new("Bad parameter: color2_top must be an String") if params[:color2_top] and !params[:color2_top].is_a?(String)
|
937
950
|
raise InvalidParameterError.new("Bad parameter: color2_left must be an String") if params[:color2_left] and !params[:color2_left].is_a?(String)
|
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.0.
|
4
|
+
version: 1.0.481
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|