files.com 1.1.761 → 1.1.762
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/_VERSION +1 -1
- data/docs/remote_server_credential.md +1 -1
- data/docs/site.md +4 -0
- data/lib/files.com/models/remote_server_credential.rb +1 -1
- data/lib/files.com/models/site.rb +7 -0
- 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: cf73e3d192ff3f0f0c3080260cf28b789d40b244874762d11c567d7503134a50
|
|
4
|
+
data.tar.gz: e190c5b8448ee93c21c4dbe305fe4cacc40acf3fd177e85108e41b6b49ef2072
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 329c7e14bceb7ad4d0543fe5ef2965b239347f5372fbdff69e0fba921bbfdcd6e6c64b61d349e2d0a9942b06adf9ad6911669a2fc3de9eb240e795f8e9f66c8c
|
|
7
|
+
data.tar.gz: 838cae9505b9f6e9e54e90d01dd1729a369b4d8317a9659adeb9e87000b785e898202395f403c2868f33c9c1b6f2c7cc9713bedf7922f4f35ec12c423a939390
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.762
|
|
@@ -79,7 +79,7 @@ Files::RemoteServerCredential.list
|
|
|
79
79
|
|
|
80
80
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
81
81
|
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
82
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `
|
|
82
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
|
|
83
83
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id` and `name`. Valid field combinations are `[ workspace_id, name ]`.
|
|
84
84
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
|
|
85
85
|
|
data/docs/site.md
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"smtp_authentication": "plain",
|
|
252
252
|
"smtp_from": "me@my-mail-server.com",
|
|
253
253
|
"smtp_port": 25,
|
|
254
|
+
"smtp_ssl": "require",
|
|
254
255
|
"smtp_username": "mail",
|
|
255
256
|
"session_expiry_minutes": 360,
|
|
256
257
|
"snapshot_sharing_enabled": true,
|
|
@@ -545,6 +546,7 @@
|
|
|
545
546
|
* `smtp_authentication` (string): SMTP server authentication type
|
|
546
547
|
* `smtp_from` (string): From address to use when mailing through custom SMTP
|
|
547
548
|
* `smtp_port` (int64): SMTP server port
|
|
549
|
+
* `smtp_ssl` (string): Custom SMTP encryption mode: if_available (default) uses STARTTLS when offered and otherwise sends credentials and messages unencrypted; require requires STARTTLS before authentication; require_implicit uses TLS from connection start; never disables TLS. TLS verifies the server certificate against smtp_address.
|
|
548
550
|
* `smtp_username` (string): SMTP server username
|
|
549
551
|
* `session_expiry_minutes` (int64): Session expiry in minutes
|
|
550
552
|
* `snapshot_sharing_enabled` (boolean): Allow snapshot share links creation
|
|
@@ -750,6 +752,7 @@ Files::Site.update(
|
|
|
750
752
|
smtp_from: "me@my-mail-server.com",
|
|
751
753
|
smtp_username: "mail",
|
|
752
754
|
smtp_port: 1,
|
|
755
|
+
smtp_ssl: "require",
|
|
753
756
|
ldap_enabled: false,
|
|
754
757
|
ldap_type: "open_ldap",
|
|
755
758
|
ldap_host: "ldap.site.com",
|
|
@@ -936,6 +939,7 @@ Files::Site.update(
|
|
|
936
939
|
* `smtp_from` (string): From address to use when mailing through custom SMTP
|
|
937
940
|
* `smtp_username` (string): SMTP server username
|
|
938
941
|
* `smtp_port` (int64): SMTP server port
|
|
942
|
+
* `smtp_ssl` (string): Custom SMTP encryption mode: if_available (default) uses STARTTLS when offered and otherwise sends credentials and messages unencrypted; require requires STARTTLS before authentication; require_implicit uses TLS from connection start; never disables TLS. TLS verifies the server certificate against smtp_address.
|
|
939
943
|
* `ldap_enabled` (boolean): Main LDAP setting: is LDAP enabled?
|
|
940
944
|
* `ldap_type` (string): LDAP type
|
|
941
945
|
* `ldap_host` (string): LDAP host
|
|
@@ -468,7 +468,7 @@ module Files
|
|
|
468
468
|
# Parameters:
|
|
469
469
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
470
470
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
471
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `
|
|
471
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
|
|
472
472
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id` and `name`. Valid field combinations are `[ workspace_id, name ]`.
|
|
473
473
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
|
|
474
474
|
def self.list(params = {}, options = {})
|
|
@@ -864,6 +864,11 @@ module Files
|
|
|
864
864
|
@attributes[:smtp_port]
|
|
865
865
|
end
|
|
866
866
|
|
|
867
|
+
# string - Custom SMTP encryption mode: if_available (default) uses STARTTLS when offered and otherwise sends credentials and messages unencrypted; require requires STARTTLS before authentication; require_implicit uses TLS from connection start; never disables TLS. TLS verifies the server certificate against smtp_address.
|
|
868
|
+
def smtp_ssl
|
|
869
|
+
@attributes[:smtp_ssl]
|
|
870
|
+
end
|
|
871
|
+
|
|
867
872
|
# string - SMTP server username
|
|
868
873
|
def smtp_username
|
|
869
874
|
@attributes[:smtp_username]
|
|
@@ -1163,6 +1168,7 @@ module Files
|
|
|
1163
1168
|
# smtp_from - string - From address to use when mailing through custom SMTP
|
|
1164
1169
|
# smtp_username - string - SMTP server username
|
|
1165
1170
|
# smtp_port - int64 - SMTP server port
|
|
1171
|
+
# smtp_ssl - string - Custom SMTP encryption mode: if_available (default) uses STARTTLS when offered and otherwise sends credentials and messages unencrypted; require requires STARTTLS before authentication; require_implicit uses TLS from connection start; never disables TLS. TLS verifies the server certificate against smtp_address.
|
|
1166
1172
|
# ldap_enabled - boolean - Main LDAP setting: is LDAP enabled?
|
|
1167
1173
|
# ldap_type - string - LDAP type
|
|
1168
1174
|
# ldap_host - string - LDAP host
|
|
@@ -1260,6 +1266,7 @@ module Files
|
|
|
1260
1266
|
raise InvalidParameterError.new("Bad parameter: smtp_from must be an String") if params[:smtp_from] and !params[:smtp_from].is_a?(String)
|
|
1261
1267
|
raise InvalidParameterError.new("Bad parameter: smtp_username must be an String") if params[:smtp_username] and !params[:smtp_username].is_a?(String)
|
|
1262
1268
|
raise InvalidParameterError.new("Bad parameter: smtp_port must be an Integer") if params[:smtp_port] and !params[:smtp_port].is_a?(Integer)
|
|
1269
|
+
raise InvalidParameterError.new("Bad parameter: smtp_ssl must be an String") if params[:smtp_ssl] and !params[:smtp_ssl].is_a?(String)
|
|
1263
1270
|
raise InvalidParameterError.new("Bad parameter: ldap_type must be an String") if params[:ldap_type] and !params[:ldap_type].is_a?(String)
|
|
1264
1271
|
raise InvalidParameterError.new("Bad parameter: ldap_host must be an String") if params[:ldap_host] and !params[:ldap_host].is_a?(String)
|
|
1265
1272
|
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)
|
data/lib/files.com/version.rb
CHANGED