files.com 1.0.291 → 1.0.293
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/history_export.md +2 -2
- data/docs/history_export_result.md +1 -1
- data/docs/site.md +4 -0
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/history_export.rb +2 -2
- data/lib/files.com/models/history_export_result.rb +1 -1
- data/lib/files.com/models/site.rb +6 -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: 3a7c1894e3c11ea836975ed21710a96b519e20d8ea2b3436afe55a86d66282dd
|
|
4
|
+
data.tar.gz: e05de7df9599f5d25e8a840a334ca3b1e85ab6099087432eceeb8b5e542d2eb5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c110a200edd32818fff150b93c38ef909cedd46425ec60130e4a8051457cbfe47d4306e87830f255274920bf7a85f498099f7dfcdf7a1e92ddd5c8f8ed77fbc6
|
|
7
|
+
data.tar.gz: b944c8e5639997f124b64e043eb79ba0d4e0d3369465e3eff44f19b4b9ada244b1d1f776efe01afbb735b15f5b4109ff555f4272779bb9773b11dc197f4d468b
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.293
|
data/docs/history_export.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
* `end_at` (date-time): End date/time of export range.
|
|
39
39
|
* `status` (string): Status of export. Will be: `building`, `ready`, or `failed`
|
|
40
40
|
* `query_action` (string): Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
|
41
|
-
* `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
|
|
41
|
+
* `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
|
|
42
42
|
* `query_user_id` (string): Return results that are actions performed by the user indiciated by this User ID
|
|
43
43
|
* `query_file_id` (string): Return results that are file actions related to the file indicated by this File ID
|
|
44
44
|
* `query_parent_id` (string): Return results that are file actions inside the parent folder specified by this folder ID
|
|
@@ -110,7 +110,7 @@ Files::HistoryExport.create(
|
|
|
110
110
|
* `start_at` (string): Start date/time of export range.
|
|
111
111
|
* `end_at` (string): End date/time of export range.
|
|
112
112
|
* `query_action` (string): Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
|
113
|
-
* `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
|
|
113
|
+
* `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
|
|
114
114
|
* `query_user_id` (string): Return results that are actions performed by the user indiciated by this User ID
|
|
115
115
|
* `query_file_id` (string): Return results that are file actions related to the file indicated by this File ID
|
|
116
116
|
* `query_parent_id` (string): Return results that are file actions inside the parent folder specified by this folder ID
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
* `username` (string): Username of the user that performed the action
|
|
44
44
|
* `action` (string): What action was taken. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
|
45
45
|
* `failure_type` (string): The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`
|
|
46
|
-
* `interface` (string): Inteface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
|
|
46
|
+
* `interface` (string): Inteface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
|
|
47
47
|
* `target_id` (int64): ID of the object (such as Users, or API Keys) on which the action was taken
|
|
48
48
|
* `target_name` (string): Name of the User, Group or other object with a name related to this action
|
|
49
49
|
* `target_permission` (string): Permission level of the action
|
data/docs/site.md
CHANGED
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"mobile_app_session_ip_pinning": true,
|
|
43
43
|
"mobile_app_session_lifetime": 1,
|
|
44
44
|
"disallowed_countries": "US,DE",
|
|
45
|
+
"disable_files_certificate_generation": true,
|
|
45
46
|
"disable_notifications": true,
|
|
46
47
|
"disable_password_reset": true,
|
|
47
48
|
"domain": "my-custom-domain.com",
|
|
@@ -265,6 +266,7 @@
|
|
|
265
266
|
* `mobile_app_session_ip_pinning` (boolean): Is mobile app session IP pinning enabled?
|
|
266
267
|
* `mobile_app_session_lifetime` (int64): Mobile app session lifetime (in hours)
|
|
267
268
|
* `disallowed_countries` (string): Comma seperated list of disallowed Country codes
|
|
269
|
+
* `disable_files_certificate_generation` (boolean): If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
|
|
268
270
|
* `disable_notifications` (boolean): Are notifications disabled?
|
|
269
271
|
* `disable_password_reset` (boolean): Is password reset disabled?
|
|
270
272
|
* `domain` (string): Custom domain
|
|
@@ -417,6 +419,7 @@ Files::Site.update(
|
|
|
417
419
|
ssl_required: true,
|
|
418
420
|
tls_disabled: true,
|
|
419
421
|
sftp_insecure_ciphers: true,
|
|
422
|
+
disable_files_certificate_generation: true,
|
|
420
423
|
user_lockout: true,
|
|
421
424
|
user_lockout_tries: 1,
|
|
422
425
|
user_lockout_within: 1,
|
|
@@ -527,6 +530,7 @@ Files::Site.update(
|
|
|
527
530
|
* `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
|
|
528
531
|
* `tls_disabled` (boolean): Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
|
|
529
532
|
* `sftp_insecure_ciphers` (boolean): Are Insecure Ciphers allowed for SFTP? Note: Settting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
|
|
533
|
+
* `disable_files_certificate_generation` (boolean): If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
|
|
530
534
|
* `user_lockout` (boolean): Will users be locked out after incorrect login attempts?
|
|
531
535
|
* `user_lockout_tries` (int64): Number of login tries within `user_lockout_within` hours before users are locked out
|
|
532
536
|
* `user_lockout_within` (int64): Number of hours for user lockout window
|
data/lib/files.com/errors.rb
CHANGED
|
@@ -53,6 +53,7 @@ module Files
|
|
|
53
53
|
class FolderMustNotBeAFileError < BadRequestError; end
|
|
54
54
|
class InvalidBodyError < BadRequestError; end
|
|
55
55
|
class InvalidCursorError < BadRequestError; end
|
|
56
|
+
class InvalidCursorTypeForSortError < BadRequestError; end
|
|
56
57
|
class InvalidEtagsError < BadRequestError; end
|
|
57
58
|
class InvalidFilterCombinationError < BadRequestError; end
|
|
58
59
|
class InvalidFilterFieldError < BadRequestError; end
|
|
@@ -63,7 +63,7 @@ module Files
|
|
|
63
63
|
@attributes[:query_action] = value
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
# string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
|
|
66
|
+
# string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
|
|
67
67
|
def query_interface
|
|
68
68
|
@attributes[:query_interface]
|
|
69
69
|
end
|
|
@@ -273,7 +273,7 @@ module Files
|
|
|
273
273
|
# start_at - string - Start date/time of export range.
|
|
274
274
|
# end_at - string - End date/time of export range.
|
|
275
275
|
# query_action - string - Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
|
276
|
-
# query_interface - string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
|
|
276
|
+
# query_interface - string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
|
|
277
277
|
# query_user_id - string - Return results that are actions performed by the user indiciated by this User ID
|
|
278
278
|
# query_file_id - string - Return results that are file actions related to the file indicated by this File ID
|
|
279
279
|
# query_parent_id - string - Return results that are file actions inside the parent folder specified by this folder ID
|
|
@@ -74,7 +74,7 @@ module Files
|
|
|
74
74
|
@attributes[:failure_type]
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
# string - Inteface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`
|
|
77
|
+
# string - Inteface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`
|
|
78
78
|
def interface
|
|
79
79
|
@attributes[:interface]
|
|
80
80
|
end
|
|
@@ -184,6 +184,11 @@ module Files
|
|
|
184
184
|
@attributes[:disallowed_countries]
|
|
185
185
|
end
|
|
186
186
|
|
|
187
|
+
# boolean - If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
|
|
188
|
+
def disable_files_certificate_generation
|
|
189
|
+
@attributes[:disable_files_certificate_generation]
|
|
190
|
+
end
|
|
191
|
+
|
|
187
192
|
# boolean - Are notifications disabled?
|
|
188
193
|
def disable_notifications
|
|
189
194
|
@attributes[:disable_notifications]
|
|
@@ -708,6 +713,7 @@ module Files
|
|
|
708
713
|
# ssl_required - boolean - Is SSL required? Disabling this is insecure.
|
|
709
714
|
# tls_disabled - boolean - Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
|
|
710
715
|
# sftp_insecure_ciphers - boolean - Are Insecure Ciphers allowed for SFTP? Note: Settting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
|
|
716
|
+
# disable_files_certificate_generation - boolean - If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
|
|
711
717
|
# user_lockout - boolean - Will users be locked out after incorrect login attempts?
|
|
712
718
|
# user_lockout_tries - int64 - Number of login tries within `user_lockout_within` hours before users are locked out
|
|
713
719
|
# user_lockout_within - int64 - Number of hours for user lockout window
|
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.293
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-09-
|
|
11
|
+
date: 2022-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|