files.com 1.0.310 → 1.0.312
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 +8 -0
- data/docs/user.md +5 -1
- data/lib/files.com/models/site.rb +14 -0
- data/lib/files.com/models/user.rb +18 -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: 762bc842f1125c3865dafd75deba86d5487496fd3454b5008688666da2d783eb
|
4
|
+
data.tar.gz: bc48d33cb47532fcc6965dafe049820d9df1f4ca2a9dc77fe80e196765a38ec9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdaa91d9dd9f783c9fa465f3a64681f47e3b4439465563fa4e5e79080f51bab045e444c975f9c6a4d5ede1b1cdbf2f748e56de0f432d52a4323ea98812548931
|
7
|
+
data.tar.gz: b5b81eca4e13a6e461c29d8c86106c2e4aa68cc06a274a3a5df6180a17d29edb809b44c8f4ce18e7e12faed340ada59dbd257f50df0e35ff68c1151ef3497732
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.312
|
data/docs/site.md
CHANGED
@@ -16,10 +16,12 @@
|
|
16
16
|
"allowed_countries": "US,DE",
|
17
17
|
"allowed_ips": "example",
|
18
18
|
"ask_about_overwrites": true,
|
19
|
+
"bundle_activity_notifications": "never",
|
19
20
|
"bundle_expiration": 1,
|
20
21
|
"bundle_password_required": true,
|
21
22
|
"bundle_registration_notifications": "never",
|
22
23
|
"bundle_require_share_recipient": true,
|
24
|
+
"bundle_upload_receipt_notifications": "never",
|
23
25
|
"bundle_watermark_attachment": "",
|
24
26
|
"bundle_watermark_value": {
|
25
27
|
"key": "example value"
|
@@ -159,10 +161,12 @@
|
|
159
161
|
* `allowed_countries` (string): Comma seperated list of allowed Country codes
|
160
162
|
* `allowed_ips` (string): List of allowed IP addresses
|
161
163
|
* `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
164
|
+
* `bundle_activity_notifications` (string): Do Bundle owners receive activity notifications?
|
162
165
|
* `bundle_expiration` (int64): Site-wide Bundle expiration in days
|
163
166
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
164
167
|
* `bundle_registration_notifications` (string): Do Bundle owners receive registration notification?
|
165
168
|
* `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
|
169
|
+
* `bundle_upload_receipt_notifications` (string): Do Bundle uploaders receive upload confirmation notifications?
|
166
170
|
* `bundle_watermark_attachment` (Image): Preview watermark image applied to all bundle items.
|
167
171
|
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
168
172
|
* `color2_left` (string): Page link and button color
|
@@ -372,6 +376,8 @@ Files::Site.update(
|
|
372
376
|
bundle_password_required: true,
|
373
377
|
bundle_require_share_recipient: true,
|
374
378
|
bundle_registration_notifications: "never",
|
379
|
+
bundle_activity_notifications: "never",
|
380
|
+
bundle_upload_receipt_notifications: "never",
|
375
381
|
password_requirements_apply_to_bundles: true,
|
376
382
|
opt_out_global: true,
|
377
383
|
use_provided_modified_at: true,
|
@@ -497,6 +503,8 @@ Files::Site.update(
|
|
497
503
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
498
504
|
* `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
|
499
505
|
* `bundle_registration_notifications` (string): Do Bundle owners receive registration notification?
|
506
|
+
* `bundle_activity_notifications` (string): Do Bundle owners receive activity notifications?
|
507
|
+
* `bundle_upload_receipt_notifications` (string): Do Bundle uploaders receive upload confirmation notifications?
|
500
508
|
* `password_requirements_apply_to_bundles` (boolean): Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
|
501
509
|
* `opt_out_global` (boolean): Use servers in the USA only?
|
502
510
|
* `use_provided_modified_at` (boolean): Allow uploaders to set `provided_modified_at` for uploaded files?
|
data/docs/user.md
CHANGED
@@ -63,7 +63,9 @@
|
|
63
63
|
"time_zone": "Pacific Time (US & Canada)",
|
64
64
|
"type_of_2fa": "yubi",
|
65
65
|
"updated_at": "2000-01-01T01:00:00Z",
|
66
|
-
"user_root": "example"
|
66
|
+
"user_root": "example",
|
67
|
+
"days_remaining_until_password_expire": 1,
|
68
|
+
"password_expire_at": "2000-01-01T01:00:00Z"
|
67
69
|
}
|
68
70
|
```
|
69
71
|
|
@@ -125,6 +127,8 @@
|
|
125
127
|
* `type_of_2fa` (string): Type(s) of 2FA methods in use. Will be either `sms`, `totp`, `u2f`, `yubi`, or multiple values sorted alphabetically and joined by an underscore.
|
126
128
|
* `updated_at` (date-time): User record most recently updated at. Note this may be incremented because of internal or external updates.
|
127
129
|
* `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
|
130
|
+
* `days_remaining_until_password_expire` (int64): Number of days remaining until password expires
|
131
|
+
* `password_expire_at` (date-time): Password expiration datetime
|
128
132
|
* `avatar_file` (file): An image file for your user avatar.
|
129
133
|
* `avatar_delete` (boolean): If true, the avatar will be deleted.
|
130
134
|
* `change_password` (string): Used for changing a password on an existing user.
|
@@ -69,6 +69,11 @@ module Files
|
|
69
69
|
@attributes[:ask_about_overwrites]
|
70
70
|
end
|
71
71
|
|
72
|
+
# string - Do Bundle owners receive activity notifications?
|
73
|
+
def bundle_activity_notifications
|
74
|
+
@attributes[:bundle_activity_notifications]
|
75
|
+
end
|
76
|
+
|
72
77
|
# int64 - Site-wide Bundle expiration in days
|
73
78
|
def bundle_expiration
|
74
79
|
@attributes[:bundle_expiration]
|
@@ -89,6 +94,11 @@ module Files
|
|
89
94
|
@attributes[:bundle_require_share_recipient]
|
90
95
|
end
|
91
96
|
|
97
|
+
# string - Do Bundle uploaders receive upload confirmation notifications?
|
98
|
+
def bundle_upload_receipt_notifications
|
99
|
+
@attributes[:bundle_upload_receipt_notifications]
|
100
|
+
end
|
101
|
+
|
92
102
|
# Image - Preview watermark image applied to all bundle items.
|
93
103
|
def bundle_watermark_attachment
|
94
104
|
@attributes[:bundle_watermark_attachment]
|
@@ -771,6 +781,8 @@ module Files
|
|
771
781
|
# bundle_password_required - boolean - Do Bundles require password protection?
|
772
782
|
# bundle_require_share_recipient - boolean - Do Bundles require recipients for sharing?
|
773
783
|
# bundle_registration_notifications - string - Do Bundle owners receive registration notification?
|
784
|
+
# bundle_activity_notifications - string - Do Bundle owners receive activity notifications?
|
785
|
+
# bundle_upload_receipt_notifications - string - Do Bundle uploaders receive upload confirmation notifications?
|
774
786
|
# password_requirements_apply_to_bundles - boolean - Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
|
775
787
|
# opt_out_global - boolean - Use servers in the USA only?
|
776
788
|
# use_provided_modified_at - boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
|
@@ -868,6 +880,8 @@ module Files
|
|
868
880
|
raise InvalidParameterError.new("Bad parameter: password_validity_days must be an Integer") if params[:password_validity_days] and !params[:password_validity_days].is_a?(Integer)
|
869
881
|
raise InvalidParameterError.new("Bad parameter: password_min_length must be an Integer") if params[:password_min_length] and !params[:password_min_length].is_a?(Integer)
|
870
882
|
raise InvalidParameterError.new("Bad parameter: bundle_registration_notifications must be an String") if params[:bundle_registration_notifications] and !params[:bundle_registration_notifications].is_a?(String)
|
883
|
+
raise InvalidParameterError.new("Bad parameter: bundle_activity_notifications must be an String") if params[:bundle_activity_notifications] and !params[:bundle_activity_notifications].is_a?(String)
|
884
|
+
raise InvalidParameterError.new("Bad parameter: bundle_upload_receipt_notifications must be an String") if params[:bundle_upload_receipt_notifications] and !params[:bundle_upload_receipt_notifications].is_a?(String)
|
871
885
|
raise InvalidParameterError.new("Bad parameter: disable_users_from_inactivity_period_days must be an Integer") if params[:disable_users_from_inactivity_period_days] and !params[:disable_users_from_inactivity_period_days].is_a?(Integer)
|
872
886
|
raise InvalidParameterError.new("Bad parameter: sftp_host_key_type must be an String") if params[:sftp_host_key_type] and !params[:sftp_host_key_type].is_a?(String)
|
873
887
|
raise InvalidParameterError.new("Bad parameter: active_sftp_host_key_id must be an Integer") if params[:active_sftp_host_key_id] and !params[:active_sftp_host_key_id].is_a?(Integer)
|
@@ -523,6 +523,24 @@ module Files
|
|
523
523
|
@attributes[:user_root] = value
|
524
524
|
end
|
525
525
|
|
526
|
+
# int64 - Number of days remaining until password expires
|
527
|
+
def days_remaining_until_password_expire
|
528
|
+
@attributes[:days_remaining_until_password_expire]
|
529
|
+
end
|
530
|
+
|
531
|
+
def days_remaining_until_password_expire=(value)
|
532
|
+
@attributes[:days_remaining_until_password_expire] = value
|
533
|
+
end
|
534
|
+
|
535
|
+
# date-time - Password expiration datetime
|
536
|
+
def password_expire_at
|
537
|
+
@attributes[:password_expire_at]
|
538
|
+
end
|
539
|
+
|
540
|
+
def password_expire_at=(value)
|
541
|
+
@attributes[:password_expire_at] = value
|
542
|
+
end
|
543
|
+
|
526
544
|
# file - An image file for your user avatar.
|
527
545
|
def avatar_file
|
528
546
|
@attributes[:avatar_file]
|
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.312
|
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-12-
|
11
|
+
date: 2022-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|