files.com 1.0.285 → 1.0.288
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/site.md +1 -0
- data/docs/usage_daily_snapshot.md +2 -4
- data/lib/files.com/errors.rb +2 -0
- data/lib/files.com/models/site.rb +2 -0
- data/lib/files.com/models/usage_daily_snapshot.rb +1 -1
- 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: 58866ec2b5f9506d6b6ae2b2ce2ba3aa5939777b5cf463501b18588f6d8ad0ac
|
4
|
+
data.tar.gz: 9a290f4b1aaf7aa3f54117666c671ecdd33f506b750662eaab1354245172e6e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28e9e19b3c7f835152e172ede524137bc253c562b2e40eb9398d35a3b209cf3c46e6f6ca2063e022c8118426d155ec7ee4249dbbf38326d804cb90c3eb9d46b5
|
7
|
+
data.tar.gz: d1d1889dadbab8349a3cecf476656d92ae745337ba1538f2fa346905e86e801724e7a2dc14c6176fdb164f17c4b7f87c55f06f6afa3138dbf405b7b22499f372
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.288
|
data/docs/site.md
CHANGED
@@ -562,6 +562,7 @@ Files::Site.update(
|
|
562
562
|
* `user_requests_notify_admins` (boolean): Send email to site admins when a user request is received?
|
563
563
|
* `ftp_enabled` (boolean): Is FTP enabled?
|
564
564
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
565
|
+
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
565
566
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
566
567
|
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
567
568
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
@@ -14,9 +14,7 @@
|
|
14
14
|
"deleted_files_storage": "65536",
|
15
15
|
"deleted_files_counted_in_minimum": "65536",
|
16
16
|
"root_storage": "65536",
|
17
|
-
"usage_by_top_level_dir":
|
18
|
-
""
|
19
|
-
]
|
17
|
+
"usage_by_top_level_dir": ""
|
20
18
|
}
|
21
19
|
```
|
22
20
|
|
@@ -30,7 +28,7 @@
|
|
30
28
|
* `deleted_files_storage` (int64): GB of Files Native Storage used on this day for files that have been deleted and are stored as backups.
|
31
29
|
* `deleted_files_counted_in_minimum` (int64): GB of Files Native Storage used on this day for files that have been permanently deleted but were uploaded less than 30 days ago, and are still billable.
|
32
30
|
* `root_storage` (int64): GB of Files Native Storage used for the root folder. Included here because this value will not be part of `usage_by_top_level_dir`
|
33
|
-
* `usage_by_top_level_dir` (
|
31
|
+
* `usage_by_top_level_dir` (object): Usage broken down by each top-level folder
|
34
32
|
|
35
33
|
|
36
34
|
---
|
data/lib/files.com/errors.rb
CHANGED
@@ -145,6 +145,7 @@ module Files
|
|
145
145
|
class NotFoundError < APIError; end
|
146
146
|
class ApiKeyNotFoundError < NotFoundError; end
|
147
147
|
class BundlePathNotFoundError < NotFoundError; end
|
148
|
+
class BundleRegistrationNotFoundError < NotFoundError; end
|
148
149
|
class CodeNotFoundError < NotFoundError; end
|
149
150
|
class FileNotFoundError < NotFoundError; end
|
150
151
|
class FileUploadNotFoundError < NotFoundError; end
|
@@ -197,6 +198,7 @@ module Files
|
|
197
198
|
class TooManyConcurrentRequestsError < RateLimitedError; end
|
198
199
|
class TooManyLoginAttemptsError < RateLimitedError; end
|
199
200
|
class TooManyRequestsError < RateLimitedError; end
|
201
|
+
class TooManySharesError < RateLimitedError; end
|
200
202
|
|
201
203
|
class ServiceUnavailableError < APIError; end
|
202
204
|
class UploadsUnavailableError < ServiceUnavailableError; end
|
@@ -743,6 +743,7 @@ module Files
|
|
743
743
|
# user_requests_notify_admins - boolean - Send email to site admins when a user request is received?
|
744
744
|
# ftp_enabled - boolean - Is FTP enabled?
|
745
745
|
# sftp_enabled - boolean - Is SFTP enabled?
|
746
|
+
# bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
746
747
|
# allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
|
747
748
|
# allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
|
748
749
|
# allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
@@ -824,6 +825,7 @@ module Files
|
|
824
825
|
raise InvalidParameterError.new("Bad parameter: password_validity_days must be an Integer") if params.dig(:password_validity_days) and !params.dig(:password_validity_days).is_a?(Integer)
|
825
826
|
raise InvalidParameterError.new("Bad parameter: password_min_length must be an Integer") if params.dig(:password_min_length) and !params.dig(:password_min_length).is_a?(Integer)
|
826
827
|
raise InvalidParameterError.new("Bad parameter: disable_users_from_inactivity_period_days must be an Integer") if params.dig(:disable_users_from_inactivity_period_days) and !params.dig(:disable_users_from_inactivity_period_days).is_a?(Integer)
|
828
|
+
raise InvalidParameterError.new("Bad parameter: bundle_watermark_value must be an Hash") if params.dig(:bundle_watermark_value) and !params.dig(:bundle_watermark_value).is_a?(Hash)
|
827
829
|
raise InvalidParameterError.new("Bad parameter: require_2fa_user_type must be an String") if params.dig(:require_2fa_user_type) and !params.dig(:require_2fa_user_type).is_a?(String)
|
828
830
|
raise InvalidParameterError.new("Bad parameter: color2_top must be an String") if params.dig(:color2_top) and !params.dig(:color2_top).is_a?(String)
|
829
831
|
raise InvalidParameterError.new("Bad parameter: color2_left must be an String") if params.dig(:color2_left) and !params.dig(:color2_left).is_a?(String)
|
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.288
|
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-08-
|
11
|
+
date: 2022-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|