files.com 1.1.749 → 1.1.751

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: 926035ea8b562b59f8b50ca50e2a8c73583dc9a662903dd2757a797db1392c80
4
- data.tar.gz: f88f7ffa5d79f9a874906cb9c0694d9b253c431f2fac2f878c64c813349e5d9c
3
+ metadata.gz: 1b775d1040b04c5b4f1e0e505ab6566d01e846568f99bff1dc9e422b28dcb35f
4
+ data.tar.gz: ed051651f0bd313d9f7c8254e73a5c3c1f750129b7023065eb5a517d98a7b57b
5
5
  SHA512:
6
- metadata.gz: 15c55a2efa1f5a33d6b2356f52cd742736f5802b2fd8d3852fa927cc09b92cfc26291b16c3c066fca5903849a58937da351bfd83d69e3e5925b3b2537fc07186
7
- data.tar.gz: 93e6616d00656f28cceeb21151f550e970c3840b7d48af3390ca91bf02fcedc2f29d6a17edbb8d112eba1235a6204bcce955d6d437ffc5936026217196662493
6
+ metadata.gz: 4cad6489c8abe52c8cfe58d518e1e5969f853df516f8eefe0eee5fa91dbb3aeea74842859308751b377da47a20886addf17e91189d612a4d0324f48f80cb333e
7
+ data.tar.gz: 9cf7432a90cd2a24b733852759d5f1d56b062e7832ce987d882f41b9d72596c800f6418020a3406a344430e5f0390319557e20a98f42f82b8d451be67e758fb6
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.749
1
+ 1.1.751
data/docs/behavior.md CHANGED
@@ -33,7 +33,7 @@
33
33
  * `name` (string): Name for this behavior.
34
34
  * `description` (string): Description for this behavior.
35
35
  * `value` (object): Settings for this behavior. See the section above for an example value to provide here. Formatting is different for each Behavior type. May be sent as nested JSON or a single JSON-encoded string. If using XML encoding for the API call, this data must be sent as a JSON-encoded string.
36
- * `public_hosting_url` (string): Public URL for this publicly hosted folder when the `Serve Publicly` behavior has a key configured. Only returned to site admins or users with admin permission on this folder. When a Custom Domain with `public_hosting` destination is attached to this behavior, the URL uses that domain. Otherwise it uses the site's `subdomain.hosted-by-files.com` host, unless `custom_domain_only` is enabled, in which case no URL is returned.
36
+ * `public_hosting_url` (string): Public URL for this publicly hosted folder when the `Serve Publicly` behavior has a key configured. When a Custom Domain with `public_hosting` destination is attached to this behavior, the URL uses that domain. Otherwise it uses the site's `subdomain.hosted-by-files.com` host, unless `custom_domain_only` is enabled, in which case no URL is returned.
37
37
  * `disable_parent_folder_behavior` (boolean): If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
38
38
  * `recursive` (boolean): Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
39
39
  * `inherited` (boolean): If true, this behavior is inherited from a higher scope rather than owned by the requested workspace.
data/docs/site.md CHANGED
@@ -142,6 +142,7 @@
142
142
  "ldap_host_3": "ldap3.site.com",
143
143
  "ldap_port": 1,
144
144
  "ldap_secure": true,
145
+ "ldap_server_certificate": "require_match",
145
146
  "ldap_type": "open_ldap",
146
147
  "ldap_user_action": "disabled",
147
148
  "ldap_user_include_groups": "example",
@@ -476,6 +477,7 @@
476
477
  * `ldap_host_3` (string): LDAP backup host
477
478
  * `ldap_port` (int64): LDAP port
478
479
  * `ldap_secure` (boolean): Use secure LDAP?
480
+ * `ldap_server_certificate` (string): How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
479
481
  * `ldap_type` (string): LDAP type
480
482
  * `ldap_user_action` (string): Should we sync users from LDAP server?
481
483
  * `ldap_user_include_groups` (string): Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
@@ -747,6 +749,7 @@ Files::Site.update(
747
749
  ldap_host_3: "ldap3.site.com",
748
750
  ldap_port: 1,
749
751
  ldap_secure: false,
752
+ ldap_server_certificate: "require_match",
750
753
  ldap_username: "[ldap username]",
751
754
  ldap_username_field: "sAMAccountName",
752
755
  ldap_domain: "mysite.com",
@@ -931,6 +934,7 @@ Files::Site.update(
931
934
  * `ldap_host_3` (string): LDAP backup host
932
935
  * `ldap_port` (int64): LDAP port
933
936
  * `ldap_secure` (boolean): Use secure LDAP?
937
+ * `ldap_server_certificate` (string): How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
934
938
  * `ldap_username` (string): Username for signing in to LDAP server.
935
939
  * `ldap_username_field` (string): LDAP username field
936
940
  * `ldap_domain` (string): Domain name that will be appended to usernames
data/docs/sso_strategy.md CHANGED
@@ -53,6 +53,7 @@
53
53
  "ldap_port": 1,
54
54
  "ldap_provisioning_enabled": true,
55
55
  "ldap_secure": true,
56
+ "ldap_server_certificate": "require_match",
56
57
  "ldap_type": "active_directory",
57
58
  "ldap_username": "[ldap username]",
58
59
  "ldap_username_field": "sAMAccountName"
@@ -108,6 +109,7 @@
108
109
  * `ldap_port` (int64): LDAP port
109
110
  * `ldap_provisioning_enabled` (boolean): Use LDAP server settings for scheduled provisioning while using this SSO provider for authentication?
110
111
  * `ldap_secure` (boolean): Use secure LDAP?
112
+ * `ldap_server_certificate` (string): How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
111
113
  * `ldap_type` (string): LDAP server type
112
114
  * `ldap_username` (string): Username for signing in to LDAP server.
113
115
  * `ldap_username_field` (string): LDAP username field
@@ -72,7 +72,7 @@ module Files
72
72
  @attributes[:value] = value
73
73
  end
74
74
 
75
- # string - Public URL for this publicly hosted folder when the `Serve Publicly` behavior has a key configured. Only returned to site admins or users with admin permission on this folder. When a Custom Domain with `public_hosting` destination is attached to this behavior, the URL uses that domain. Otherwise it uses the site's `subdomain.hosted-by-files.com` host, unless `custom_domain_only` is enabled, in which case no URL is returned.
75
+ # string - Public URL for this publicly hosted folder when the `Serve Publicly` behavior has a key configured. When a Custom Domain with `public_hosting` destination is attached to this behavior, the URL uses that domain. Otherwise it uses the site's `subdomain.hosted-by-files.com` host, unless `custom_domain_only` is enabled, in which case no URL is returned.
76
76
  def public_hosting_url
77
77
  @attributes[:public_hosting_url]
78
78
  end
@@ -551,6 +551,11 @@ module Files
551
551
  @attributes[:ldap_secure]
552
552
  end
553
553
 
554
+ # string - How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
555
+ def ldap_server_certificate
556
+ @attributes[:ldap_server_certificate]
557
+ end
558
+
554
559
  # string - LDAP type
555
560
  def ldap_type
556
561
  @attributes[:ldap_type]
@@ -1159,6 +1164,7 @@ module Files
1159
1164
  # ldap_host_3 - string - LDAP backup host
1160
1165
  # ldap_port - int64 - LDAP port
1161
1166
  # ldap_secure - boolean - Use secure LDAP?
1167
+ # ldap_server_certificate - string - How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
1162
1168
  # ldap_username - string - Username for signing in to LDAP server.
1163
1169
  # ldap_username_field - string - LDAP username field
1164
1170
  # ldap_domain - string - Domain name that will be appended to usernames
@@ -1253,6 +1259,7 @@ module Files
1253
1259
  raise InvalidParameterError.new("Bad parameter: ldap_host_2 must be an String") if params[:ldap_host_2] and !params[:ldap_host_2].is_a?(String)
1254
1260
  raise InvalidParameterError.new("Bad parameter: ldap_host_3 must be an String") if params[:ldap_host_3] and !params[:ldap_host_3].is_a?(String)
1255
1261
  raise InvalidParameterError.new("Bad parameter: ldap_port must be an Integer") if params[:ldap_port] and !params[:ldap_port].is_a?(Integer)
1262
+ raise InvalidParameterError.new("Bad parameter: ldap_server_certificate must be an String") if params[:ldap_server_certificate] and !params[:ldap_server_certificate].is_a?(String)
1256
1263
  raise InvalidParameterError.new("Bad parameter: ldap_username must be an String") if params[:ldap_username] and !params[:ldap_username].is_a?(String)
1257
1264
  raise InvalidParameterError.new("Bad parameter: ldap_username_field must be an String") if params[:ldap_username_field] and !params[:ldap_username_field].is_a?(String)
1258
1265
  raise InvalidParameterError.new("Bad parameter: ldap_domain must be an String") if params[:ldap_domain] and !params[:ldap_domain].is_a?(String)
@@ -254,6 +254,11 @@ module Files
254
254
  @attributes[:ldap_secure]
255
255
  end
256
256
 
257
+ # string - How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
258
+ def ldap_server_certificate
259
+ @attributes[:ldap_server_certificate]
260
+ end
261
+
257
262
  # string - LDAP server type
258
263
  def ldap_type
259
264
  @attributes[:ldap_type]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.749"
4
+ VERSION = "1.1.751"
5
5
  end
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.749
4
+ version: 1.1.751
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-09-25 00:00:00.000000000 Z
11
+ date: 2026-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable