files.com 1.0.318 → 1.0.320
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/history_export_result.md +2 -0
- data/docs/site.md +3 -1
- data/lib/files.com/models/history_export_result.rb +5 -0
- data/lib/files.com/models/site.rb +2 -0
- 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: 838645d8ae2133a64f6236b3f41e5bd31e60745fa2fac8c8d89763f74410959b
|
4
|
+
data.tar.gz: 41b4c99699a4e57a0060bcefcd50f20e4ddf977270029d06ace53f41c8b74b91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61764026c8ca7d5c29018ea55ecdc8faf180fe82d86a41ed74b461bfdc5dec20e33791bbdcbae55a13ef9034c98e1eedb3f52107bec16cd2c2a9790ee0d702a8
|
7
|
+
data.tar.gz: 0a918e1e0276c6ffc26624b760547b980e31bf7d1afd6c442db1e848db947c45e5edf7b825ec4bf933702d8c31a66e4183262dd199b744f962af600ae49efa90
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.320
|
@@ -6,6 +6,7 @@
|
|
6
6
|
{
|
7
7
|
"id": 1,
|
8
8
|
"created_at": 1,
|
9
|
+
"created_at_iso8601": 1,
|
9
10
|
"user_id": 1,
|
10
11
|
"file_id": 1,
|
11
12
|
"parent_id": 1,
|
@@ -32,6 +33,7 @@
|
|
32
33
|
|
33
34
|
* `id` (int64): Action ID
|
34
35
|
* `created_at` (int64): When the action happened
|
36
|
+
* `created_at_iso8601` (int64): When the action happened, in ISO8601 format.
|
35
37
|
* `user_id` (int64): User ID
|
36
38
|
* `file_id` (int64): File ID related to the action
|
37
39
|
* `parent_id` (int64): ID of the parent folder
|
data/docs/site.md
CHANGED
@@ -438,7 +438,8 @@ Files::Site.update(
|
|
438
438
|
icon128_delete: true,
|
439
439
|
logo_delete: true,
|
440
440
|
bundle_watermark_attachment_delete: true,
|
441
|
-
disable_2fa_with_delay: true
|
441
|
+
disable_2fa_with_delay: true,
|
442
|
+
session_expiry_minutes: 1
|
442
443
|
)
|
443
444
|
```
|
444
445
|
|
@@ -575,3 +576,4 @@ Files::Site.update(
|
|
575
576
|
* `ldap_password_change` (string): New LDAP password.
|
576
577
|
* `ldap_password_change_confirmation` (string): Confirm new LDAP password.
|
577
578
|
* `smtp_password` (string): Password for SMTP server.
|
579
|
+
* `session_expiry_minutes` (int64): Session expiry in minutes
|
@@ -856,6 +856,7 @@ module Files
|
|
856
856
|
# ldap_password_change - string - New LDAP password.
|
857
857
|
# ldap_password_change_confirmation - string - Confirm new LDAP password.
|
858
858
|
# smtp_password - string - Password for SMTP server.
|
859
|
+
# session_expiry_minutes - int64 - Session expiry in minutes
|
859
860
|
def self.update(params = {}, options = {})
|
860
861
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
861
862
|
raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
|
@@ -922,6 +923,7 @@ module Files
|
|
922
923
|
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)
|
923
924
|
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)
|
924
925
|
raise InvalidParameterError.new("Bad parameter: smtp_password must be an String") if params[:smtp_password] and !params[:smtp_password].is_a?(String)
|
926
|
+
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)
|
925
927
|
|
926
928
|
response, options = Api.send_request("/site", :patch, params, options)
|
927
929
|
Site.new(response.data, options)
|
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.0.
|
4
|
+
version: 1.0.320
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|