files.com 1.1.404 → 1.1.405
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/bundle.md +1 -1
- data/docs/site.md +3 -7
- data/lib/files.com/models/bundle.rb +1 -1
- data/lib/files.com/models/site.rb +2 -9
- 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: 9d24b1c4f137ec1948cce3c4eef7476b88998af51ac06e6e9ec0cb73209da521
|
|
4
|
+
data.tar.gz: a1b76eaa6b830abddabc323f4792a43f38f9a55446f928cc286c1b9a64913787
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f88902954f9be448ce1c7245d3ddeab5923032fdc5b5bf71790c91e0db704bcee1101935f5fcb8ef9da3f8e5eb04541000c70a6cbab53f7cd5e14d763d43955
|
|
7
|
+
data.tar.gz: 93ca08524953f3fb73f24097d0221146cf6c334f8d7bb60921584d8a5c6825b0f2f3b111fac3dca6237b611059c083407a39c46b8ca3ebe70201a77ac3921cfd
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.405
|
data/docs/bundle.md
CHANGED
|
@@ -152,7 +152,7 @@ Files::Bundle.list(
|
|
|
152
152
|
* `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.
|
|
153
153
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
154
154
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
155
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
155
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
156
156
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
157
157
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
158
158
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
data/docs/site.md
CHANGED
|
@@ -207,7 +207,6 @@
|
|
|
207
207
|
"smtp_from": "me@my-mail-server.com",
|
|
208
208
|
"smtp_port": 25,
|
|
209
209
|
"smtp_username": "mail",
|
|
210
|
-
"session_expiry": 6.0,
|
|
211
210
|
"session_expiry_minutes": 360,
|
|
212
211
|
"snapshot_sharing_enabled": true,
|
|
213
212
|
"ssl_required": true,
|
|
@@ -460,7 +459,6 @@
|
|
|
460
459
|
* `smtp_from` (string): From address to use when mailing through custom SMTP
|
|
461
460
|
* `smtp_port` (int64): SMTP server port
|
|
462
461
|
* `smtp_username` (string): SMTP server username
|
|
463
|
-
* `session_expiry` (double): Session expiry in hours
|
|
464
462
|
* `session_expiry_minutes` (int64): Session expiry in minutes
|
|
465
463
|
* `snapshot_sharing_enabled` (boolean): Allow snapshot share links creation
|
|
466
464
|
* `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
|
|
@@ -556,7 +554,7 @@ Files::Site.update(
|
|
|
556
554
|
legacy_checksums_mode: false,
|
|
557
555
|
migrate_remote_server_sync_to_sync: false,
|
|
558
556
|
as2_message_retention_days: 1,
|
|
559
|
-
|
|
557
|
+
session_expiry_minutes: 1,
|
|
560
558
|
ssl_required: false,
|
|
561
559
|
sftp_insecure_ciphers: false,
|
|
562
560
|
sftp_insecure_diffie_hellman: false,
|
|
@@ -667,8 +665,7 @@ Files::Site.update(
|
|
|
667
665
|
logo_delete: false,
|
|
668
666
|
bundle_watermark_attachment_delete: false,
|
|
669
667
|
login_page_background_image_delete: false,
|
|
670
|
-
disable_2fa_with_delay: false
|
|
671
|
-
session_expiry_minutes: 1
|
|
668
|
+
disable_2fa_with_delay: false
|
|
672
669
|
)
|
|
673
670
|
```
|
|
674
671
|
|
|
@@ -718,7 +715,7 @@ Files::Site.update(
|
|
|
718
715
|
* `legacy_checksums_mode` (boolean): Use legacy checksums mode?
|
|
719
716
|
* `migrate_remote_server_sync_to_sync` (boolean): If true, we will migrate all remote server syncs to the new Sync model.
|
|
720
717
|
* `as2_message_retention_days` (int64): Number of days to retain AS2 messages (incoming and outgoing).
|
|
721
|
-
* `
|
|
718
|
+
* `session_expiry_minutes` (int64): Session expiry in minutes
|
|
722
719
|
* `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
|
|
723
720
|
* `sftp_insecure_ciphers` (boolean): If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
|
|
724
721
|
* `sftp_insecure_diffie_hellman` (boolean): If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
|
|
@@ -840,4 +837,3 @@ Files::Site.update(
|
|
|
840
837
|
* `ldap_password_change` (string): New LDAP password.
|
|
841
838
|
* `ldap_password_change_confirmation` (string): Confirm new LDAP password.
|
|
842
839
|
* `smtp_password` (string): Password for SMTP server.
|
|
843
|
-
* `session_expiry_minutes` (int64): Session expiry in minutes
|
|
@@ -519,7 +519,7 @@ module Files
|
|
|
519
519
|
# 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.
|
|
520
520
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
521
521
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
522
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
522
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
523
523
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
524
524
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
525
525
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -744,11 +744,6 @@ module Files
|
|
|
744
744
|
@attributes[:smtp_username]
|
|
745
745
|
end
|
|
746
746
|
|
|
747
|
-
# double - Session expiry in hours
|
|
748
|
-
def session_expiry
|
|
749
|
-
@attributes[:session_expiry]
|
|
750
|
-
end
|
|
751
|
-
|
|
752
747
|
# int64 - Session expiry in minutes
|
|
753
748
|
def session_expiry_minutes
|
|
754
749
|
@attributes[:session_expiry_minutes]
|
|
@@ -934,7 +929,7 @@ module Files
|
|
|
934
929
|
# legacy_checksums_mode - boolean - Use legacy checksums mode?
|
|
935
930
|
# migrate_remote_server_sync_to_sync - boolean - If true, we will migrate all remote server syncs to the new Sync model.
|
|
936
931
|
# as2_message_retention_days - int64 - Number of days to retain AS2 messages (incoming and outgoing).
|
|
937
|
-
#
|
|
932
|
+
# session_expiry_minutes - int64 - Session expiry in minutes
|
|
938
933
|
# ssl_required - boolean - Is SSL required? Disabling this is insecure.
|
|
939
934
|
# sftp_insecure_ciphers - boolean - If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
|
|
940
935
|
# sftp_insecure_diffie_hellman - boolean - If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
|
|
@@ -1056,7 +1051,6 @@ module Files
|
|
|
1056
1051
|
# ldap_password_change - string - New LDAP password.
|
|
1057
1052
|
# ldap_password_change_confirmation - string - Confirm new LDAP password.
|
|
1058
1053
|
# smtp_password - string - Password for SMTP server.
|
|
1059
|
-
# session_expiry_minutes - int64 - Session expiry in minutes
|
|
1060
1054
|
def self.update(params = {}, options = {})
|
|
1061
1055
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
1062
1056
|
raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
|
|
@@ -1078,7 +1072,7 @@ module Files
|
|
|
1078
1072
|
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)
|
|
1079
1073
|
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)
|
|
1080
1074
|
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)
|
|
1081
|
-
raise InvalidParameterError.new("Bad parameter:
|
|
1075
|
+
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)
|
|
1082
1076
|
raise InvalidParameterError.new("Bad parameter: user_lockout_tries must be an Integer") if params[:user_lockout_tries] and !params[:user_lockout_tries].is_a?(Integer)
|
|
1083
1077
|
raise InvalidParameterError.new("Bad parameter: user_lockout_within must be an Integer") if params[:user_lockout_within] and !params[:user_lockout_within].is_a?(Integer)
|
|
1084
1078
|
raise InvalidParameterError.new("Bad parameter: user_lockout_lock_period must be an Integer") if params[:user_lockout_lock_period] and !params[:user_lockout_lock_period].is_a?(Integer)
|
|
@@ -1131,7 +1125,6 @@ module Files
|
|
|
1131
1125
|
raise InvalidParameterError.new("Bad parameter: ldap_password_change must be an String") if params[:ldap_password_change] and !params[:ldap_password_change].is_a?(String)
|
|
1132
1126
|
raise InvalidParameterError.new("Bad parameter: ldap_password_change_confirmation must be an String") if params[:ldap_password_change_confirmation] and !params[:ldap_password_change_confirmation].is_a?(String)
|
|
1133
1127
|
raise InvalidParameterError.new("Bad parameter: smtp_password must be an String") if params[:smtp_password] and !params[:smtp_password].is_a?(String)
|
|
1134
|
-
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)
|
|
1135
1128
|
|
|
1136
1129
|
response, options = Api.send_request("/site", :patch, params, options)
|
|
1137
1130
|
Site.new(response.data, options)
|
data/lib/files.com/version.rb
CHANGED