files.com 1.1.25 → 1.1.27
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/README.md +4 -2
- data/_VERSION +1 -1
- data/docs/site.md +3 -1
- data/lib/files.com/models/site.rb +6 -1
- 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: 37069210fdefe819008f4cf4d3d11cb2d0ed332bbcf75e4bc3244f0b415e0845
|
4
|
+
data.tar.gz: 001cfab1106773eb2d7219c96987e114697738d5640694e1edd4d62eb874b2a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5999e697e1a39e2591e328e6714b2a67f3ca0a27d69d76a525e16bad0894d64551f43d88d764c57a461011e27f24fa198a1a6cb5708f75edbd904cfad27d3bc8
|
7
|
+
data.tar.gz: eefb666877e7e18e186b4f630a25e8f9f3ea68563b6d643bdff23173aba922a418c885cefa4da6f34194d1c74265c58183cb73d3034b2e7419e0539b9a3a1811
|
data/README.md
CHANGED
@@ -16,7 +16,9 @@ Or add this to your app's Gemfile:
|
|
16
16
|
|
17
17
|
### Requirements
|
18
18
|
|
19
|
-
* Ruby
|
19
|
+
* Ruby 3+
|
20
|
+
|
21
|
+
Ruby 2.x is now considered end-of-life by the Ruby project. As a policy, Files.com does not support integrations which are considered end-of-life by their vendor.
|
20
22
|
|
21
23
|
|
22
24
|
## Usage
|
@@ -25,6 +27,7 @@ Or add this to your app's Gemfile:
|
|
25
27
|
|
26
28
|
There are multiple ways to authenticate to the API.
|
27
29
|
|
30
|
+
|
28
31
|
#### Global API Key
|
29
32
|
|
30
33
|
You can set an API key globally, like this:
|
@@ -121,4 +124,3 @@ The Files.com team is happy to help with any SDK Integration challenges you
|
|
121
124
|
may face.
|
122
125
|
|
123
126
|
Just email support@files.com and we'll get the process started.
|
124
|
-
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.27
|
data/docs/site.md
CHANGED
@@ -137,6 +137,7 @@
|
|
137
137
|
"phone": "555-555-5555",
|
138
138
|
"pin_all_remote_servers_to_site_region": true,
|
139
139
|
"prevent_root_permissions_for_non_site_admins": true,
|
140
|
+
"protocol_access_groups_only": true,
|
140
141
|
"require_2fa": true,
|
141
142
|
"require_2fa_stop_time": "2000-01-01T01:00:00Z",
|
142
143
|
"require_2fa_user_type": "`site_admins`",
|
@@ -377,6 +378,7 @@
|
|
377
378
|
* `phone` (string): Site phone number
|
378
379
|
* `pin_all_remote_servers_to_site_region` (boolean): If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
379
380
|
* `prevent_root_permissions_for_non_site_admins` (boolean): If true, we will prevent non-administrators from receiving any permissions directly on the root folder. This is commonly used to prevent the accidental application of permissions.
|
381
|
+
* `protocol_access_groups_only` (boolean): If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
380
382
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
381
383
|
* `require_2fa_stop_time` (date-time): If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
382
384
|
* `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)?
|
@@ -673,7 +675,7 @@ Files::Site.update(
|
|
673
675
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
674
676
|
* `sftp_host_key_type` (string): Sftp Host Key Type
|
675
677
|
* `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
|
676
|
-
* `protocol_access_groups_only` (boolean): If
|
678
|
+
* `protocol_access_groups_only` (boolean): If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
677
679
|
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
678
680
|
* `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
|
679
681
|
* `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
|
@@ -549,6 +549,11 @@ module Files
|
|
549
549
|
@attributes[:prevent_root_permissions_for_non_site_admins]
|
550
550
|
end
|
551
551
|
|
552
|
+
# boolean - If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
553
|
+
def protocol_access_groups_only
|
554
|
+
@attributes[:protocol_access_groups_only]
|
555
|
+
end
|
556
|
+
|
552
557
|
# boolean - Require two-factor authentication for all users?
|
553
558
|
def require_2fa
|
554
559
|
@attributes[:require_2fa]
|
@@ -864,7 +869,7 @@ module Files
|
|
864
869
|
# sftp_enabled - boolean - Is SFTP enabled?
|
865
870
|
# sftp_host_key_type - string - Sftp Host Key Type
|
866
871
|
# active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
|
867
|
-
# protocol_access_groups_only - boolean - If
|
872
|
+
# protocol_access_groups_only - boolean - If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
868
873
|
# bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
869
874
|
# group_admins_can_set_user_password - boolean - Allow group admins set password authentication method
|
870
875
|
# bundle_recipient_blacklist_free_email_domains - boolean - Disallow free email domains for Bundle/Inbox recipients?
|
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.27
|
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-
|
11
|
+
date: 2024-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|