files.com 1.1.756 → 1.1.757
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 +2 -0
- data/_VERSION +1 -1
- data/docs/site.md +13 -4
- data/lib/files.com/errors.rb +2 -0
- data/lib/files.com/models/site.rb +8 -2
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ebfcb0a65a636d80b045dec828bd4febd6691b14f5b6499b2429093b577ce61a
|
|
4
|
+
data.tar.gz: 8741f0fe95e2590c5c817dbcd1f4b5f2218608d5caa09e95c61a36b9489ec6c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ee616f53de17251896dd450716b6fbdc000e70cb29e7f66be2b68ea48239cb14f2a81e5e300cba022f632eafe23e99bbec9931fe1b47a8e0dce55da77f9f807e
|
|
7
|
+
data.tar.gz: 31bb8f5f62b4db746062ab14b9f867d66a2b63ed272f73411c4461669bccca8b26c5f48bb990d047d3cf05c1e6f041f99129f5503bcedc3059094a41785748a2
|
data/README.md
CHANGED
|
@@ -561,6 +561,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
|
|
|
561
561
|
|`BillingPermissionRequiredError`| `NotAuthorizedError` |
|
|
562
562
|
|`BundleMaximumUsesReachedError`| `NotAuthorizedError` |
|
|
563
563
|
|`BundlePermissionRequiredError`| `NotAuthorizedError` |
|
|
564
|
+
|`CannotAdministerHigherLevelUserError`| `NotAuthorizedError` |
|
|
564
565
|
|`CannotLoginWhileUsingKeyError`| `NotAuthorizedError` |
|
|
565
566
|
|`CantActForOtherUserError`| `NotAuthorizedError` |
|
|
566
567
|
|`ContactAdminForPasswordChangeHelpError`| `NotAuthorizedError` |
|
|
@@ -662,6 +663,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
|
|
|
662
663
|
|`MultipleProcessingErrorsError`| `ProcessingFailureError` |
|
|
663
664
|
|`PathTooLongError`| `ProcessingFailureError` |
|
|
664
665
|
|`RecipientAlreadySharedError`| `ProcessingFailureError` |
|
|
666
|
+
|`RemoteEntryReadOnlyError`| `ProcessingFailureError` |
|
|
665
667
|
|`RemoteServerErrorError`| `ProcessingFailureError` |
|
|
666
668
|
|`ResourceBelongsToParentSiteError`| `ProcessingFailureError` |
|
|
667
669
|
|`ResourceLockedError`| `ProcessingFailureError` |
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.757
|
data/docs/site.md
CHANGED
|
@@ -14,7 +14,12 @@
|
|
|
14
14
|
"site_admins": true,
|
|
15
15
|
"workspace_admins": true,
|
|
16
16
|
"folder_admins": true,
|
|
17
|
-
"all_users":
|
|
17
|
+
"all_users": false,
|
|
18
|
+
"selected_group_members": true,
|
|
19
|
+
"group_ids": [
|
|
20
|
+
1,
|
|
21
|
+
2
|
|
22
|
+
]
|
|
18
23
|
}
|
|
19
24
|
},
|
|
20
25
|
"allowed_2fa_method_sms": true,
|
|
@@ -224,6 +229,7 @@
|
|
|
224
229
|
"user_belongs_to_parent_site": false,
|
|
225
230
|
"impersonator_user_id": 1
|
|
226
231
|
},
|
|
232
|
+
"s3_compatible_endpoint_enabled": true,
|
|
227
233
|
"sftp_enabled": true,
|
|
228
234
|
"sftp_finalize_partial_uploads": true,
|
|
229
235
|
"sftp_host_key_type": "default",
|
|
@@ -372,7 +378,7 @@
|
|
|
372
378
|
* `id` (int64): Site Id
|
|
373
379
|
* `name` (string): Site name
|
|
374
380
|
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
|
375
|
-
* `ai_feature_availability` (object): Availability settings for AI features
|
|
381
|
+
* `ai_feature_availability` (object): Availability settings for AI features. Each feature requires the site_admins, workspace_admins, folder_admins, and all_users keys. Optional selected_group_members defaults to false; when true, members of at least one group in group_ids get access regardless of the other options. All availability options are additive: any enabled option matching the user grants access. Optional group_ids is an array of integer IDs of active groups on this site, from any workspace. Omitted or empty group_ids grants no access through selected_group_members and does not affect other options. Disabling all AI features overrides these settings.
|
|
376
382
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
|
377
383
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
|
378
384
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
|
@@ -519,6 +525,7 @@
|
|
|
519
525
|
* `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)?
|
|
520
526
|
* `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
|
521
527
|
* `session` (Session): Current session
|
|
528
|
+
* `s3_compatible_endpoint_enabled` (boolean): Is the S3-compatible endpoint enabled for all users and workspaces on this site? Defaults to true. When false, user and group S3 permissions do not allow access.
|
|
522
529
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
|
523
530
|
* `sftp_finalize_partial_uploads` (boolean): Finalize partial SFTP uploads from interrupted connections? Default: true.
|
|
524
531
|
* `sftp_host_key_type` (string): Sftp Host Key Type
|
|
@@ -625,7 +632,7 @@ Files::Site.update(
|
|
|
625
632
|
motd_use_for_ftp: false,
|
|
626
633
|
motd_use_for_sftp: false,
|
|
627
634
|
disable_all_ai_features: false,
|
|
628
|
-
ai_feature_availability: {"in_app_ai_assistant":{"site_admins":true,"workspace_admins":true,"folder_admins":true,"all_users":true}},
|
|
635
|
+
ai_feature_availability: {"in_app_ai_assistant":{"site_admins":true,"workspace_admins":true,"folder_admins":true,"all_users":false,"selected_group_members":true,"group_ids":[1,2]}},
|
|
629
636
|
mcp_dcr_enabled: false,
|
|
630
637
|
additional_text_file_types: ["example"],
|
|
631
638
|
bundle_require_note: false,
|
|
@@ -694,6 +701,7 @@ Files::Site.update(
|
|
|
694
701
|
user_requests_notify_admins: false,
|
|
695
702
|
dav_enabled: false,
|
|
696
703
|
ftp_enabled: false,
|
|
704
|
+
s3_compatible_endpoint_enabled: false,
|
|
697
705
|
sftp_enabled: false,
|
|
698
706
|
sftp_finalize_partial_uploads: false,
|
|
699
707
|
users_can_create_api_keys: false,
|
|
@@ -810,7 +818,7 @@ Files::Site.update(
|
|
|
810
818
|
* `motd_use_for_sftp` (boolean): Show message to users connecting via SFTP
|
|
811
819
|
* `left_navigation_visibility` (object): Visibility settings for account navigation
|
|
812
820
|
* `disable_all_ai_features` (boolean): If true, all AI features are disabled for this site.
|
|
813
|
-
* `ai_feature_availability` (object): Availability settings for AI features
|
|
821
|
+
* `ai_feature_availability` (object): Availability settings for AI features. Each feature requires the site_admins, workspace_admins, folder_admins, and all_users keys. Optional selected_group_members defaults to false; when true, members of at least one group in group_ids get access regardless of the other options. All availability options are additive: any enabled option matching the user grants access. Optional group_ids is an array of integer IDs of active groups on this site, from any workspace. Omitted or empty group_ids grants no access through selected_group_members and does not affect other options. Disabling all AI features overrides these settings.
|
|
814
822
|
* `mcp_dcr_enabled` (boolean): Is OAuth DCR (dynamic client registration) for MCP enabled?
|
|
815
823
|
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
|
816
824
|
* `bundle_require_note` (boolean): Do Bundles require internal notes?
|
|
@@ -879,6 +887,7 @@ Files::Site.update(
|
|
|
879
887
|
* `user_requests_notify_admins` (boolean): Send email to site admins when a user request is received?
|
|
880
888
|
* `dav_enabled` (boolean): Is WebDAV enabled?
|
|
881
889
|
* `ftp_enabled` (boolean): Is FTP enabled?
|
|
890
|
+
* `s3_compatible_endpoint_enabled` (boolean): Is the S3-compatible endpoint enabled for all users and workspaces on this site? Defaults to true. When false, user and group S3 permissions do not allow access.
|
|
882
891
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
|
883
892
|
* `sftp_finalize_partial_uploads` (boolean): Finalize partial SFTP uploads from interrupted connections? Default: true.
|
|
884
893
|
* `users_can_create_api_keys` (boolean): Allow users to create their own API keys?
|
data/lib/files.com/errors.rb
CHANGED
|
@@ -126,6 +126,7 @@ module Files
|
|
|
126
126
|
class BillingPermissionRequiredError < NotAuthorizedError; end
|
|
127
127
|
class BundleMaximumUsesReachedError < NotAuthorizedError; end
|
|
128
128
|
class BundlePermissionRequiredError < NotAuthorizedError; end
|
|
129
|
+
class CannotAdministerHigherLevelUserError < NotAuthorizedError; end
|
|
129
130
|
class CannotLoginWhileUsingKeyError < NotAuthorizedError; end
|
|
130
131
|
class CantActForOtherUserError < NotAuthorizedError; end
|
|
131
132
|
class ContactAdminForPasswordChangeHelpError < NotAuthorizedError; end
|
|
@@ -231,6 +232,7 @@ module Files
|
|
|
231
232
|
class MultipleProcessingErrorsError < ProcessingFailureError; end
|
|
232
233
|
class PathTooLongError < ProcessingFailureError; end
|
|
233
234
|
class RecipientAlreadySharedError < ProcessingFailureError; end
|
|
235
|
+
class RemoteEntryReadOnlyError < ProcessingFailureError; end
|
|
234
236
|
class RemoteServerErrorError < ProcessingFailureError; end
|
|
235
237
|
class ResourceBelongsToParentSiteError < ProcessingFailureError; end
|
|
236
238
|
class ResourceLockedError < ProcessingFailureError; end
|
|
@@ -26,7 +26,7 @@ module Files
|
|
|
26
26
|
@attributes[:additional_text_file_types]
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
# object - Availability settings for AI features
|
|
29
|
+
# object - Availability settings for AI features. Each feature requires the site_admins, workspace_admins, folder_admins, and all_users keys. Optional selected_group_members defaults to false; when true, members of at least one group in group_ids get access regardless of the other options. All availability options are additive: any enabled option matching the user grants access. Optional group_ids is an array of integer IDs of active groups on this site, from any workspace. Omitted or empty group_ids grants no access through selected_group_members and does not affect other options. Disabling all AI features overrides these settings.
|
|
30
30
|
def ai_feature_availability
|
|
31
31
|
@attributes[:ai_feature_availability]
|
|
32
32
|
end
|
|
@@ -764,6 +764,11 @@ module Files
|
|
|
764
764
|
@attributes[:session]
|
|
765
765
|
end
|
|
766
766
|
|
|
767
|
+
# boolean - Is the S3-compatible endpoint enabled for all users and workspaces on this site? Defaults to true. When false, user and group S3 permissions do not allow access.
|
|
768
|
+
def s3_compatible_endpoint_enabled
|
|
769
|
+
@attributes[:s3_compatible_endpoint_enabled]
|
|
770
|
+
end
|
|
771
|
+
|
|
767
772
|
# boolean - Is SFTP enabled?
|
|
768
773
|
def sftp_enabled
|
|
769
774
|
@attributes[:sftp_enabled]
|
|
@@ -1040,7 +1045,7 @@ module Files
|
|
|
1040
1045
|
# motd_use_for_sftp - boolean - Show message to users connecting via SFTP
|
|
1041
1046
|
# left_navigation_visibility - object - Visibility settings for account navigation
|
|
1042
1047
|
# disable_all_ai_features - boolean - If true, all AI features are disabled for this site.
|
|
1043
|
-
# ai_feature_availability - object - Availability settings for AI features
|
|
1048
|
+
# ai_feature_availability - object - Availability settings for AI features. Each feature requires the site_admins, workspace_admins, folder_admins, and all_users keys. Optional selected_group_members defaults to false; when true, members of at least one group in group_ids get access regardless of the other options. All availability options are additive: any enabled option matching the user grants access. Optional group_ids is an array of integer IDs of active groups on this site, from any workspace. Omitted or empty group_ids grants no access through selected_group_members and does not affect other options. Disabling all AI features overrides these settings.
|
|
1044
1049
|
# mcp_dcr_enabled - boolean - Is OAuth DCR (dynamic client registration) for MCP enabled?
|
|
1045
1050
|
# additional_text_file_types - array(string) - Additional extensions that are considered text files
|
|
1046
1051
|
# bundle_require_note - boolean - Do Bundles require internal notes?
|
|
@@ -1109,6 +1114,7 @@ module Files
|
|
|
1109
1114
|
# user_requests_notify_admins - boolean - Send email to site admins when a user request is received?
|
|
1110
1115
|
# dav_enabled - boolean - Is WebDAV enabled?
|
|
1111
1116
|
# ftp_enabled - boolean - Is FTP enabled?
|
|
1117
|
+
# s3_compatible_endpoint_enabled - boolean - Is the S3-compatible endpoint enabled for all users and workspaces on this site? Defaults to true. When false, user and group S3 permissions do not allow access.
|
|
1112
1118
|
# sftp_enabled - boolean - Is SFTP enabled?
|
|
1113
1119
|
# sftp_finalize_partial_uploads - boolean - Finalize partial SFTP uploads from interrupted connections? Default: true.
|
|
1114
1120
|
# users_can_create_api_keys - boolean - Allow users to create their own API keys?
|
data/lib/files.com/version.rb
CHANGED