files.com 1.1.109 → 1.1.110

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c487e5af7ce46e2d07b33a741dcf15dcb810ed5d19e8cd8815725946289e917
4
- data.tar.gz: 0d1a6addea11c6acf0dcf210bb5bed51ab8c8d4199a7cb7110a203566e0c687f
3
+ metadata.gz: 460bbb463343e276419e6f3a1a0bddd0da4d5240b58f26c5d4167e3b64262887
4
+ data.tar.gz: 553c512aef880d75051cced1369a83155ddad966d1db5c44dec9641cf4092b3b
5
5
  SHA512:
6
- metadata.gz: 404e76776b05b54a81eb471bb4153717cf26a97445e78a3c3c3c21b6f370a05f3f6b5a7c247f62e4702c69d6c1568f04068d57da021343ece256cccd57b50510
7
- data.tar.gz: d9e23a50452de40ddc1e5fb2ba4fe696443e6e34077059fc7fe57e62f2159147791bf20aee3f4acc4df491b1cf5d3a6c9a248b9f9ec313f7244283ddfd476255
6
+ metadata.gz: 168a0449e8be2316b658af409b1f239cbca82da88f61ca794385a220d6dafe2319a8c0e304cb6ea183a4abe585372c996d078a1e81b5cd312250f1a163b2cf8f
7
+ data.tar.gz: 99d2289a607d60698571f219940313aa715b1ee4422d5c40773808d7115990f405ad0983a999a92be18b377240396acfa6a8c98668124c6a31ca32530c12b08d
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.109
1
+ 1.1.110
data/docs/action.md CHANGED
@@ -16,6 +16,7 @@
16
16
  ],
17
17
  "user_id": 1,
18
18
  "username": "user",
19
+ "user_is_from_parent_site": true,
19
20
  "action": "create",
20
21
  "failure_type": "none",
21
22
  "interface": "web"
@@ -32,6 +33,7 @@
32
33
  * `targets` (array(object)): Targets
33
34
  * `user_id` (int64): User ID
34
35
  * `username` (string): Username
36
+ * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
35
37
  * `action` (string): Type of action
36
38
  * `failure_type` (string): Failure type. If action was a user login or session failure, why did it fail?
37
39
  * `interface` (string): Interface on which this action occurred.
@@ -9,6 +9,7 @@
9
9
  "api_key_prefix": "example",
10
10
  "user_id": 1,
11
11
  "username": "example",
12
+ "user_is_from_parent_site": true,
12
13
  "interface": "example",
13
14
  "request_method": "example",
14
15
  "request_path": "example",
@@ -30,6 +31,7 @@
30
31
  * `api_key_prefix` (string): API Key Prefix, if applicable
31
32
  * `user_id` (int64): User ID
32
33
  * `username` (string): Username
34
+ * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
33
35
  * `interface` (string): API Interface
34
36
  * `request_method` (string): HTTP Method
35
37
  * `request_path` (string): Request path
data/docs/history.md CHANGED
@@ -16,6 +16,7 @@
16
16
  ],
17
17
  "user_id": 1,
18
18
  "username": "user",
19
+ "user_is_from_parent_site": true,
19
20
  "action": "create",
20
21
  "failure_type": "none",
21
22
  "interface": "web"
@@ -32,6 +33,7 @@
32
33
  * `targets` (array(object)): Targets
33
34
  * `user_id` (int64): User ID
34
35
  * `username` (string): Username
36
+ * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
35
37
  * `action` (string): Type of action
36
38
  * `failure_type` (string): Failure type. If action was a user login or session failure, why did it fail?
37
39
  * `interface` (string): Interface on which this action occurred.
@@ -16,6 +16,7 @@
16
16
  "destination": "DestFolder",
17
17
  "ip": "127.0.0.1",
18
18
  "username": "jerry",
19
+ "user_is_from_parent_site": true,
19
20
  "action": "read",
20
21
  "failure_type": "bad_password",
21
22
  "interface": "ftp",
@@ -44,6 +45,7 @@
44
45
  * `destination` (string): File moved to this destination folder
45
46
  * `ip` (string): Client IP that performed the action
46
47
  * `username` (string): Username of the user that performed the action
48
+ * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
47
49
  * `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`
48
50
  * `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`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
49
51
  * `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`, `remote`
@@ -11,6 +11,7 @@
11
11
  "user_id": 1,
12
12
  "api_key_id": 1,
13
13
  "user_is_files_support": true,
14
+ "user_is_from_parent_site": true,
14
15
  "username": "some_user"
15
16
  }
16
17
  ```
@@ -20,6 +21,7 @@
20
21
  * `user_id` (int64): The user id responsible for this change
21
22
  * `api_key_id` (int64): The API key id responsible for this change
22
23
  * `user_is_files_support` (boolean): true if this change was performed by Files.com support.
24
+ * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
23
25
  * `username` (string): The username of the user responsible for this change
24
26
 
25
27
 
data/docs/site.md CHANGED
@@ -169,7 +169,8 @@
169
169
  "allowed_2fa_method_webauthn": true,
170
170
  "allowed_2fa_method_yubi": true,
171
171
  "use_provided_modified_at": true,
172
- "windows_mode_ftp": false
172
+ "windows_mode_ftp": false,
173
+ "user_belongs_to_parent_site": false
173
174
  },
174
175
  "session_pinned_by_ip": true,
175
176
  "sftp_enabled": true,
@@ -95,6 +95,7 @@ module Files
95
95
  class InvalidCredentialsError < NotAuthenticatedError; end
96
96
  class InvalidOauthError < NotAuthenticatedError; end
97
97
  class InvalidOrExpiredCodeError < NotAuthenticatedError; end
98
+ class InvalidSessionError < NotAuthenticatedError; end
98
99
  class InvalidUsernameOrPasswordError < NotAuthenticatedError; end
99
100
  class LockedOutError < NotAuthenticatedError; end
100
101
  class LockoutRegionMismatchError < NotAuthenticatedError; end
@@ -119,6 +120,7 @@ module Files
119
120
  class FullPermissionRequiredError < NotAuthorizedError; end
120
121
  class HistoryPermissionRequiredError < NotAuthorizedError; end
121
122
  class InsufficientPermissionForParamsError < NotAuthorizedError; end
123
+ class InsufficientPermissionForSiteError < NotAuthorizedError; end
122
124
  class MustAuthenticateWithApiKeyError < NotAuthorizedError; end
123
125
  class NeedAdminPermissionForInboxError < NotAuthorizedError; end
124
126
  class NonAdminsMustQueryByFolderOrPathError < NotAuthorizedError; end
@@ -59,6 +59,11 @@ module Files
59
59
  @attributes[:username]
60
60
  end
61
61
 
62
+ # boolean - true if this change was performed by a user on a parent site.
63
+ def user_is_from_parent_site
64
+ @attributes[:user_is_from_parent_site]
65
+ end
66
+
62
67
  # string - Type of action
63
68
  def action
64
69
  @attributes[:action]
@@ -34,6 +34,11 @@ module Files
34
34
  @attributes[:username]
35
35
  end
36
36
 
37
+ # boolean - true if this change was performed by a user on a parent site.
38
+ def user_is_from_parent_site
39
+ @attributes[:user_is_from_parent_site]
40
+ end
41
+
37
42
  # string - API Interface
38
43
  def interface
39
44
  @attributes[:interface]
@@ -59,6 +59,11 @@ module Files
59
59
  @attributes[:username]
60
60
  end
61
61
 
62
+ # boolean - true if this change was performed by a user on a parent site.
63
+ def user_is_from_parent_site
64
+ @attributes[:user_is_from_parent_site]
65
+ end
66
+
62
67
  # string - Type of action
63
68
  def action
64
69
  @attributes[:action]
@@ -69,6 +69,11 @@ module Files
69
69
  @attributes[:username]
70
70
  end
71
71
 
72
+ # boolean - true if this change was performed by a user on a parent site.
73
+ def user_is_from_parent_site
74
+ @attributes[:user_is_from_parent_site]
75
+ end
76
+
72
77
  # 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`
73
78
  def action
74
79
  @attributes[:action]
@@ -34,6 +34,11 @@ module Files
34
34
  @attributes[:user_is_files_support]
35
35
  end
36
36
 
37
+ # boolean - true if this change was performed by a user on a parent site.
38
+ def user_is_from_parent_site
39
+ @attributes[:user_is_from_parent_site]
40
+ end
41
+
37
42
  # string - The username of the user responsible for this change
38
43
  def username
39
44
  @attributes[:username]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.109"
4
+ VERSION = "1.1.110"
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.109
4
+ version: 1.1.110
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-05 00:00:00.000000000 Z
11
+ date: 2024-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable