files.com 1.1.622 → 1.1.624
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 +1 -0
- data/_VERSION +1 -1
- data/docs/site.md +16 -0
- data/lib/files.com/errors.rb +1 -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: cfdc6cad88eaa7b8de4262bb9a4983a83db4b74cbc1a7d8c4554505d4474b44c
|
|
4
|
+
data.tar.gz: a37883a74c2f9e81494340b0481c2a4cedea6ace887452c4f39319896c5bef1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e84cf9973074bf0edae84df9c2d19e461a13f990c621f5a6a1a38c6dbd2b892150be252618100fa18d074ae7818ee09446cc8e090962745e0db4f0bf05f9f4a0
|
|
7
|
+
data.tar.gz: 9e9b4920f55334884384fd519b36e44da20e3b699aab1f4591b74af310b77f6d048653a4e20608380fa479ec141026abbc08be1460b0f9cf8db17d2eae8737bd
|
data/README.md
CHANGED
|
@@ -552,6 +552,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
|
|
|
552
552
|
|`FolderAdminPermissionRequiredError`| `NotAuthorizedError` |
|
|
553
553
|
|`FullPermissionRequiredError`| `NotAuthorizedError` |
|
|
554
554
|
|`HistoryPermissionRequiredError`| `NotAuthorizedError` |
|
|
555
|
+
|`InAppAiAssistantUnavailableError`| `NotAuthorizedError` |
|
|
555
556
|
|`InsufficientPermissionForParamsError`| `NotAuthorizedError` |
|
|
556
557
|
|`InsufficientPermissionForSiteError`| `NotAuthorizedError` |
|
|
557
558
|
|`MoverAccessDeniedError`| `NotAuthorizedError` |
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.624
|
data/docs/site.md
CHANGED
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
"additional_text_file_types": [
|
|
10
10
|
"example"
|
|
11
11
|
],
|
|
12
|
+
"ai_feature_availability": {
|
|
13
|
+
"in_app_ai_assistant": {
|
|
14
|
+
"site_admins": true,
|
|
15
|
+
"workspace_admins": true,
|
|
16
|
+
"folder_admins": true,
|
|
17
|
+
"all_users": true
|
|
18
|
+
}
|
|
19
|
+
},
|
|
12
20
|
"allowed_2fa_method_sms": true,
|
|
13
21
|
"allowed_2fa_method_totp": true,
|
|
14
22
|
"allowed_2fa_method_webauthn": true,
|
|
@@ -76,6 +84,7 @@
|
|
|
76
84
|
"mobile_app_session_ip_pinning": true,
|
|
77
85
|
"mobile_app_session_lifetime": 1,
|
|
78
86
|
"disallowed_countries": "US,DE",
|
|
87
|
+
"disable_all_ai_features": true,
|
|
79
88
|
"disable_files_certificate_generation": true,
|
|
80
89
|
"disable_notifications": true,
|
|
81
90
|
"disable_password_reset": true,
|
|
@@ -184,6 +193,7 @@
|
|
|
184
193
|
"site_id": 1,
|
|
185
194
|
"ssl_required": true,
|
|
186
195
|
"timeout_at": "2000-01-01T01:00:00Z",
|
|
196
|
+
"trusted": true,
|
|
187
197
|
"two_factor_setup_needed": false,
|
|
188
198
|
"allowed_2fa_method_sms": true,
|
|
189
199
|
"allowed_2fa_method_totp": true,
|
|
@@ -338,6 +348,7 @@
|
|
|
338
348
|
* `id` (int64): Site Id
|
|
339
349
|
* `name` (string): Site name
|
|
340
350
|
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
|
351
|
+
* `ai_feature_availability` (object): Availability settings for AI features by user class
|
|
341
352
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
|
342
353
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
|
343
354
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
|
@@ -398,6 +409,7 @@
|
|
|
398
409
|
* `mobile_app_session_ip_pinning` (boolean): Is mobile app session IP pinning enabled?
|
|
399
410
|
* `mobile_app_session_lifetime` (int64): Mobile app session lifetime (in hours)
|
|
400
411
|
* `disallowed_countries` (string): Comma separated list of disallowed Country codes
|
|
412
|
+
* `disable_all_ai_features` (boolean): If true, all AI features are disabled for this site.
|
|
401
413
|
* `disable_files_certificate_generation` (boolean): If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
|
|
402
414
|
* `disable_notifications` (boolean): Are notifications disabled?
|
|
403
415
|
* `disable_password_reset` (boolean): Is password reset disabled?
|
|
@@ -577,6 +589,8 @@ Files::Site.update(
|
|
|
577
589
|
motd_text: "example",
|
|
578
590
|
motd_use_for_ftp: false,
|
|
579
591
|
motd_use_for_sftp: false,
|
|
592
|
+
disable_all_ai_features: false,
|
|
593
|
+
ai_feature_availability: {"in_app_ai_assistant":{"site_admins":true,"workspace_admins":true,"folder_admins":true,"all_users":true}},
|
|
580
594
|
additional_text_file_types: ["example"],
|
|
581
595
|
bundle_require_note: false,
|
|
582
596
|
bundle_send_shared_receipts: false,
|
|
@@ -749,6 +763,8 @@ Files::Site.update(
|
|
|
749
763
|
* `motd_use_for_ftp` (boolean): Show message to users connecting via FTP
|
|
750
764
|
* `motd_use_for_sftp` (boolean): Show message to users connecting via SFTP
|
|
751
765
|
* `left_navigation_visibility` (object): Visibility settings for account navigation
|
|
766
|
+
* `disable_all_ai_features` (boolean): If true, all AI features are disabled for this site.
|
|
767
|
+
* `ai_feature_availability` (object): Availability settings for AI features by user class
|
|
752
768
|
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
|
753
769
|
* `bundle_require_note` (boolean): Do Bundles require internal notes?
|
|
754
770
|
* `bundle_send_shared_receipts` (boolean): Do Bundle creators receive receipts of invitations?
|
data/lib/files.com/errors.rb
CHANGED
|
@@ -130,6 +130,7 @@ module Files
|
|
|
130
130
|
class FolderAdminPermissionRequiredError < NotAuthorizedError; end
|
|
131
131
|
class FullPermissionRequiredError < NotAuthorizedError; end
|
|
132
132
|
class HistoryPermissionRequiredError < NotAuthorizedError; end
|
|
133
|
+
class InAppAiAssistantUnavailableError < NotAuthorizedError; end
|
|
133
134
|
class InsufficientPermissionForParamsError < NotAuthorizedError; end
|
|
134
135
|
class InsufficientPermissionForSiteError < NotAuthorizedError; end
|
|
135
136
|
class MoverAccessDeniedError < NotAuthorizedError; end
|
|
@@ -26,6 +26,11 @@ module Files
|
|
|
26
26
|
@attributes[:additional_text_file_types]
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
+
# object - Availability settings for AI features by user class
|
|
30
|
+
def ai_feature_availability
|
|
31
|
+
@attributes[:ai_feature_availability]
|
|
32
|
+
end
|
|
33
|
+
|
|
29
34
|
# boolean - Is SMS two factor authentication allowed?
|
|
30
35
|
def allowed_2fa_method_sms
|
|
31
36
|
@attributes[:allowed_2fa_method_sms]
|
|
@@ -326,6 +331,11 @@ module Files
|
|
|
326
331
|
@attributes[:disallowed_countries]
|
|
327
332
|
end
|
|
328
333
|
|
|
334
|
+
# boolean - If true, all AI features are disabled for this site.
|
|
335
|
+
def disable_all_ai_features
|
|
336
|
+
@attributes[:disable_all_ai_features]
|
|
337
|
+
end
|
|
338
|
+
|
|
329
339
|
# boolean - If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
|
|
330
340
|
def disable_files_certificate_generation
|
|
331
341
|
@attributes[:disable_files_certificate_generation]
|
|
@@ -974,6 +984,8 @@ module Files
|
|
|
974
984
|
# motd_use_for_ftp - boolean - Show message to users connecting via FTP
|
|
975
985
|
# motd_use_for_sftp - boolean - Show message to users connecting via SFTP
|
|
976
986
|
# left_navigation_visibility - object - Visibility settings for account navigation
|
|
987
|
+
# disable_all_ai_features - boolean - If true, all AI features are disabled for this site.
|
|
988
|
+
# ai_feature_availability - object - Availability settings for AI features by user class
|
|
977
989
|
# additional_text_file_types - array(string) - Additional extensions that are considered text files
|
|
978
990
|
# bundle_require_note - boolean - Do Bundles require internal notes?
|
|
979
991
|
# bundle_send_shared_receipts - boolean - Do Bundle creators receive receipts of invitations?
|
|
@@ -1136,6 +1148,7 @@ module Files
|
|
|
1136
1148
|
raise InvalidParameterError.new("Bad parameter: office_integration_type must be an String") if params[:office_integration_type] and !params[:office_integration_type].is_a?(String)
|
|
1137
1149
|
raise InvalidParameterError.new("Bad parameter: motd_text must be an String") if params[:motd_text] and !params[:motd_text].is_a?(String)
|
|
1138
1150
|
raise InvalidParameterError.new("Bad parameter: left_navigation_visibility must be an Hash") if params[:left_navigation_visibility] and !params[:left_navigation_visibility].is_a?(Hash)
|
|
1151
|
+
raise InvalidParameterError.new("Bad parameter: ai_feature_availability must be an Hash") if params[:ai_feature_availability] and !params[:ai_feature_availability].is_a?(Hash)
|
|
1139
1152
|
raise InvalidParameterError.new("Bad parameter: additional_text_file_types must be an Array") if params[:additional_text_file_types] and !params[:additional_text_file_types].is_a?(Array)
|
|
1140
1153
|
raise InvalidParameterError.new("Bad parameter: as2_message_retention_days must be an Integer") if params[:as2_message_retention_days] and !params[:as2_message_retention_days].is_a?(Integer)
|
|
1141
1154
|
raise InvalidParameterError.new("Bad parameter: session_expiry_minutes must be an Integer") if params[:session_expiry_minutes] and !params[:session_expiry_minutes].is_a?(Integer)
|
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.624
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|