files.com 1.1.654 → 1.1.656
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 +4 -0
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/site.rb +6 -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: ab9caae756791b0d09fb3abd9ee85944fca0eaae4140c6e5241724bdf0e9afca
|
|
4
|
+
data.tar.gz: d68feeda7246097efddb2533b563c6c68feaa6f6a7f47e098da2cfd2fa1e4d82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2b59e4e6919dd21cd298f93a6d437a1766a10affb37a587148f611dc7d8eed2c964964e46e65831b420299d366077a044066c5b8b9ee48607c7c9daf224b06a
|
|
7
|
+
data.tar.gz: 3eb2160db560b9997c49782643b632af8aa97d60bbde0f42b2aaeaea22053f1a06892b4eeb9ceb7ac0047ca13bd22ef3573e0c7f5d5da8e7b392354f94766b69
|
data/README.md
CHANGED
|
@@ -559,6 +559,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
|
|
|
559
559
|
|`ApiKeyOnlyForDesktopAppError`| `NotAuthorizedError` |
|
|
560
560
|
|`ApiKeyOnlyForMobileAppError`| `NotAuthorizedError` |
|
|
561
561
|
|`ApiKeyOnlyForOfficeIntegrationError`| `NotAuthorizedError` |
|
|
562
|
+
|`BillingInformationHiddenError`| `NotAuthorizedError` |
|
|
562
563
|
|`BillingPermissionRequiredError`| `NotAuthorizedError` |
|
|
563
564
|
|`BundleMaximumUsesReachedError`| `NotAuthorizedError` |
|
|
564
565
|
|`BundlePermissionRequiredError`| `NotAuthorizedError` |
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.656
|
data/docs/site.md
CHANGED
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"desktop_app_session_lifetime": 1,
|
|
82
82
|
"legacy_checksums_mode": true,
|
|
83
83
|
"migrate_remote_server_sync_to_sync": true,
|
|
84
|
+
"mcp_dcr_enabled": true,
|
|
84
85
|
"mobile_app": true,
|
|
85
86
|
"mobile_app_session_ip_pinning": true,
|
|
86
87
|
"mobile_app_session_lifetime": 1,
|
|
@@ -411,6 +412,7 @@
|
|
|
411
412
|
* `desktop_app_session_lifetime` (int64): Desktop app session lifetime (in hours)
|
|
412
413
|
* `legacy_checksums_mode` (boolean): Use legacy checksums mode?
|
|
413
414
|
* `migrate_remote_server_sync_to_sync` (boolean): If true, we will migrate all remote server syncs to the new Sync model.
|
|
415
|
+
* `mcp_dcr_enabled` (boolean): Is OAuth DCR (dynamic client registration) for MCP enabled?
|
|
414
416
|
* `mobile_app` (boolean): Is the mobile app enabled?
|
|
415
417
|
* `mobile_app_session_ip_pinning` (boolean): Is mobile app session IP pinning enabled?
|
|
416
418
|
* `mobile_app_session_lifetime` (int64): Mobile app session lifetime (in hours)
|
|
@@ -599,6 +601,7 @@ Files::Site.update(
|
|
|
599
601
|
motd_use_for_sftp: false,
|
|
600
602
|
disable_all_ai_features: false,
|
|
601
603
|
ai_feature_availability: {"in_app_ai_assistant":{"site_admins":true,"workspace_admins":true,"folder_admins":true,"all_users":true}},
|
|
604
|
+
mcp_dcr_enabled: false,
|
|
602
605
|
additional_text_file_types: ["example"],
|
|
603
606
|
bundle_require_note: false,
|
|
604
607
|
bundle_send_shared_receipts: false,
|
|
@@ -776,6 +779,7 @@ Files::Site.update(
|
|
|
776
779
|
* `left_navigation_visibility` (object): Visibility settings for account navigation
|
|
777
780
|
* `disable_all_ai_features` (boolean): If true, all AI features are disabled for this site.
|
|
778
781
|
* `ai_feature_availability` (object): Availability settings for AI features by user class
|
|
782
|
+
* `mcp_dcr_enabled` (boolean): Is OAuth DCR (dynamic client registration) for MCP enabled?
|
|
779
783
|
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
|
780
784
|
* `bundle_require_note` (boolean): Do Bundles require internal notes?
|
|
781
785
|
* `bundle_send_shared_receipts` (boolean): Do Bundle creators receive receipts of invitations?
|
data/lib/files.com/errors.rb
CHANGED
|
@@ -120,6 +120,7 @@ module Files
|
|
|
120
120
|
class ApiKeyOnlyForDesktopAppError < NotAuthorizedError; end
|
|
121
121
|
class ApiKeyOnlyForMobileAppError < NotAuthorizedError; end
|
|
122
122
|
class ApiKeyOnlyForOfficeIntegrationError < NotAuthorizedError; end
|
|
123
|
+
class BillingInformationHiddenError < NotAuthorizedError; end
|
|
123
124
|
class BillingPermissionRequiredError < NotAuthorizedError; end
|
|
124
125
|
class BundleMaximumUsesReachedError < NotAuthorizedError; end
|
|
125
126
|
class BundlePermissionRequiredError < NotAuthorizedError; end
|
|
@@ -316,6 +316,11 @@ module Files
|
|
|
316
316
|
@attributes[:migrate_remote_server_sync_to_sync]
|
|
317
317
|
end
|
|
318
318
|
|
|
319
|
+
# boolean - Is OAuth DCR (dynamic client registration) for MCP enabled?
|
|
320
|
+
def mcp_dcr_enabled
|
|
321
|
+
@attributes[:mcp_dcr_enabled]
|
|
322
|
+
end
|
|
323
|
+
|
|
319
324
|
# boolean - Is the mobile app enabled?
|
|
320
325
|
def mobile_app
|
|
321
326
|
@attributes[:mobile_app]
|
|
@@ -1001,6 +1006,7 @@ module Files
|
|
|
1001
1006
|
# left_navigation_visibility - object - Visibility settings for account navigation
|
|
1002
1007
|
# disable_all_ai_features - boolean - If true, all AI features are disabled for this site.
|
|
1003
1008
|
# ai_feature_availability - object - Availability settings for AI features by user class
|
|
1009
|
+
# mcp_dcr_enabled - boolean - Is OAuth DCR (dynamic client registration) for MCP enabled?
|
|
1004
1010
|
# additional_text_file_types - array(string) - Additional extensions that are considered text files
|
|
1005
1011
|
# bundle_require_note - boolean - Do Bundles require internal notes?
|
|
1006
1012
|
# bundle_send_shared_receipts - boolean - Do Bundle creators receive receipts of invitations?
|
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.656
|
|
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-06-
|
|
11
|
+
date: 2026-06-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|