files.com 1.1.755 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c38e1b80bb3ca6cc68890468ddc3825ea371c9cef66eab7723139cded8a24476
4
- data.tar.gz: 9a619e69a0d14981c5aea32983c785fedf71d6e39c94db5ab4e068370a77628d
3
+ metadata.gz: ebfcb0a65a636d80b045dec828bd4febd6691b14f5b6499b2429093b577ce61a
4
+ data.tar.gz: 8741f0fe95e2590c5c817dbcd1f4b5f2218608d5caa09e95c61a36b9489ec6c4
5
5
  SHA512:
6
- metadata.gz: 5cafa2058da9cfaf06f0f060db191533c3052fc1994760f5fc9c6097524144df432374ba6a91c3ed1c85535c5e6d16969ed2e179a9cea7f605d5d65ec0f17b13
7
- data.tar.gz: 3c84e0b5b096b36ef608b571d7a764272a5625a1415c825fa21fa3f39db3c60977a2d5657a7d7445a1e285ed57a790d56d0914662e85034521015b0b4da892f0
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.755
1
+ 1.1.757
@@ -111,7 +111,7 @@
111
111
  * `s3_assume_role_duration_seconds` (int64): Session duration in seconds for AssumeRole authentication (900-43200).
112
112
  * `s3_assume_role_external_id` (string): External ID for AssumeRole authentication.
113
113
  * `server_certificate` (string): Remote server certificate
114
- * `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
114
+ * `server_host_key` (string): Pinned plain SSH host key for SFTP, in OpenSSH public key format. If omitted, Files.com detects and stores the server's plain host key, including when the server offers an OpenSSH host certificate. With `server_certificate=require_match` (the default), the server must present the pinned key and prove it holds the matching private key. The pin remains in force until an administrator updates `server_host_key`. Files.com does not authenticate remote hosts through SSH certificates and does not check their CA signatures, principals, or validity periods. Certificate expiration does not end the pin; update `server_host_key` to retire a host key.
115
115
  * `server_type` (string): Remote server type.
116
116
  * `workspace_id` (int64): Workspace ID (0 for default workspace)
117
117
  * `ssl` (string): Should we require SSL?
@@ -401,7 +401,7 @@ Files::RemoteServer.create(
401
401
  * `s3_compatible_virtual_hosted_style` (boolean): S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
402
402
  * `s3_region` (string): S3 region
403
403
  * `server_certificate` (string): Remote server certificate
404
- * `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
404
+ * `server_host_key` (string): Pinned plain SSH host key for SFTP, in OpenSSH public key format. If omitted, Files.com detects and stores the server's plain host key, including when the server offers an OpenSSH host certificate. With `server_certificate=require_match` (the default), the server must present the pinned key and prove it holds the matching private key. The pin remains in force until an administrator updates `server_host_key`. Files.com does not authenticate remote hosts through SSH certificates and does not check their CA signatures, principals, or validity periods. Certificate expiration does not end the pin; update `server_host_key` to retire a host key.
405
405
  * `server_type` (string): Remote server type.
406
406
  * `sharepoint_client_id` (string): SharePoint: Microsoft Entra application client ID for app-only authentication.
407
407
  * `sharepoint_site_url` (string): SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
@@ -574,7 +574,7 @@ Files::RemoteServer.update(id,
574
574
  * `s3_compatible_virtual_hosted_style` (boolean): S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
575
575
  * `s3_region` (string): S3 region
576
576
  * `server_certificate` (string): Remote server certificate
577
- * `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
577
+ * `server_host_key` (string): Pinned plain SSH host key for SFTP, in OpenSSH public key format. If omitted, Files.com detects and stores the server's plain host key, including when the server offers an OpenSSH host certificate. With `server_certificate=require_match` (the default), the server must present the pinned key and prove it holds the matching private key. The pin remains in force until an administrator updates `server_host_key`. Files.com does not authenticate remote hosts through SSH certificates and does not check their CA signatures, principals, or validity periods. Certificate expiration does not end the pin; update `server_host_key` to retire a host key.
578
578
  * `server_type` (string): Remote server type.
579
579
  * `sharepoint_client_id` (string): SharePoint: Microsoft Entra application client ID for app-only authentication.
580
580
  * `sharepoint_site_url` (string): SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
@@ -778,7 +778,7 @@ remote_server.update(
778
778
  * `s3_compatible_virtual_hosted_style` (boolean): S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
779
779
  * `s3_region` (string): S3 region
780
780
  * `server_certificate` (string): Remote server certificate
781
- * `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
781
+ * `server_host_key` (string): Pinned plain SSH host key for SFTP, in OpenSSH public key format. If omitted, Files.com detects and stores the server's plain host key, including when the server offers an OpenSSH host certificate. With `server_certificate=require_match` (the default), the server must present the pinned key and prove it holds the matching private key. The pin remains in force until an administrator updates `server_host_key`. Files.com does not authenticate remote hosts through SSH certificates and does not check their CA signatures, principals, or validity periods. Certificate expiration does not end the pin; update `server_host_key` to retire a host key.
782
782
  * `server_type` (string): Remote server type.
783
783
  * `sharepoint_client_id` (string): SharePoint: Microsoft Entra application client ID for app-only authentication.
784
784
  * `sharepoint_site_url` (string): SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
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": true
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 by user class
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 by user class
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?
@@ -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
@@ -207,7 +207,7 @@ module Files
207
207
  @attributes[:server_certificate] = value
208
208
  end
209
209
 
210
- # string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
210
+ # string - Pinned plain SSH host key for SFTP, in OpenSSH public key format. If omitted, Files.com detects and stores the server's plain host key, including when the server offers an OpenSSH host certificate. With `server_certificate=require_match` (the default), the server must present the pinned key and prove it holds the matching private key. The pin remains in force until an administrator updates `server_host_key`. Files.com does not authenticate remote hosts through SSH certificates and does not check their CA signatures, principals, or validity periods. Certificate expiration does not end the pin; update `server_host_key` to retire a host key.
211
211
  def server_host_key
212
212
  @attributes[:server_host_key]
213
213
  end
@@ -1023,7 +1023,7 @@ module Files
1023
1023
  # s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
1024
1024
  # s3_region - string - S3 region
1025
1025
  # server_certificate - string - Remote server certificate
1026
- # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
1026
+ # server_host_key - string - Pinned plain SSH host key for SFTP, in OpenSSH public key format. If omitted, Files.com detects and stores the server's plain host key, including when the server offers an OpenSSH host certificate. With `server_certificate=require_match` (the default), the server must present the pinned key and prove it holds the matching private key. The pin remains in force until an administrator updates `server_host_key`. Files.com does not authenticate remote hosts through SSH certificates and does not check their CA signatures, principals, or validity periods. Certificate expiration does not end the pin; update `server_host_key` to retire a host key.
1027
1027
  # server_type - string - Remote server type.
1028
1028
  # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
1029
1029
  # sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
@@ -1283,7 +1283,7 @@ module Files
1283
1283
  # s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
1284
1284
  # s3_region - string - S3 region
1285
1285
  # server_certificate - string - Remote server certificate
1286
- # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
1286
+ # server_host_key - string - Pinned plain SSH host key for SFTP, in OpenSSH public key format. If omitted, Files.com detects and stores the server's plain host key, including when the server offers an OpenSSH host certificate. With `server_certificate=require_match` (the default), the server must present the pinned key and prove it holds the matching private key. The pin remains in force until an administrator updates `server_host_key`. Files.com does not authenticate remote hosts through SSH certificates and does not check their CA signatures, principals, or validity periods. Certificate expiration does not end the pin; update `server_host_key` to retire a host key.
1287
1287
  # server_type - string - Remote server type.
1288
1288
  # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
1289
1289
  # sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
@@ -1463,7 +1463,7 @@ module Files
1463
1463
  # s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
1464
1464
  # s3_region - string - S3 region
1465
1465
  # server_certificate - string - Remote server certificate
1466
- # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
1466
+ # server_host_key - string - Pinned plain SSH host key for SFTP, in OpenSSH public key format. If omitted, Files.com detects and stores the server's plain host key, including when the server offers an OpenSSH host certificate. With `server_certificate=require_match` (the default), the server must present the pinned key and prove it holds the matching private key. The pin remains in force until an administrator updates `server_host_key`. Files.com does not authenticate remote hosts through SSH certificates and does not check their CA signatures, principals, or validity periods. Certificate expiration does not end the pin; update `server_host_key` to retire a host key.
1467
1467
  # server_type - string - Remote server type.
1468
1468
  # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
1469
1469
  # sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
@@ -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 by user class
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 by user class
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?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.755"
4
+ VERSION = "1.1.757"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.755
4
+ version: 1.1.757
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com