files.com 1.0.480 → 1.0.482
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/share_group.md +2 -3
- data/docs/site.md +10 -0
- data/lib/files.com/models/share_group.rb +0 -9
- 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: 9a08490c2f45105230c911aa54c4c144313ef6067bf4faed90ec4bd481f7eb9b
|
4
|
+
data.tar.gz: 55abe94fc0cfa4486b53e3f543782c896e817ae6f20869064c0e1856e8c37b53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6027863ba2c590ab67dca691974f0a38a531c98244c13cff9d7fbd2593a9992b54a0a5d9c9a866eab329839fc9147da6c1bcbcaa3849cf1ca5ec67ea19c10bf6
|
7
|
+
data.tar.gz: eba006acf16ba7cfea175a1beb235acb9099aeade38d7f9054a0264a446f5d0333c7b81d17d02fded772d545ac7431b1c9ef34c67a2b1dfc20b6a1acf524b871
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.482
|
data/docs/share_group.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
"name": "Test group 1",
|
9
9
|
"notes": "This group is defined for testing purposes",
|
10
10
|
"user_id": 1,
|
11
|
-
"
|
11
|
+
"members": [
|
12
12
|
{
|
13
13
|
"name": "John Doe",
|
14
14
|
"company": "Acme Ltd",
|
@@ -22,8 +22,7 @@
|
|
22
22
|
* `name` (string): Name of the share group
|
23
23
|
* `notes` (string): Additional notes of the share group
|
24
24
|
* `user_id` (int64): Owner User ID
|
25
|
-
* `
|
26
|
-
* `members` (array(object)): A list of share group members.
|
25
|
+
* `members` (array): A list of share group members
|
27
26
|
|
28
27
|
|
29
28
|
---
|
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?
|
@@ -46,15 +46,6 @@ module Files
|
|
46
46
|
end
|
47
47
|
|
48
48
|
# array - A list of share group members
|
49
|
-
def share_group_members
|
50
|
-
@attributes[:share_group_members]
|
51
|
-
end
|
52
|
-
|
53
|
-
def share_group_members=(value)
|
54
|
-
@attributes[:share_group_members] = value
|
55
|
-
end
|
56
|
-
|
57
|
-
# array(object) - A list of share group members.
|
58
49
|
def members
|
59
50
|
@attributes[:members]
|
60
51
|
end
|
@@ -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.482
|
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-
|
11
|
+
date: 2023-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|