files.com 1.1.17 → 1.1.19
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/bundle_notification.md +5 -5
- data/docs/site.md +8 -0
- data/lib/files.com/models/bundle_notification.rb +2 -2
- data/lib/files.com/models/site.rb +12 -0
- data/lib/files.com/version.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: ffe913947c325f060f985efded7cd3a34e23bcf32587c8ce47bea195d85cbb45
|
4
|
+
data.tar.gz: 3fb29e6a788ded0069331a35b42b168d6a8958ce85c85ffd38a5ea2ec7a99577
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 922182716e85371f04a925e7debb6565331e5837401324a33dd5890f25a238c5722a2f8361b77d9f0c3ff8418bfa7fb15d73dd0c260da632f1283ea426e3c900
|
7
|
+
data.tar.gz: fec5ed8c27bc6f5589c5a5325d876bb2b4ec635536c8fa72afbec5812d0f468b060c28930ba7afedcf66b95bfa143022613aa545fc9ca05da35aab0a419fe8e0
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.19
|
data/docs/bundle_notification.md
CHANGED
@@ -56,19 +56,19 @@ Files::BundleNotification.find(id)
|
|
56
56
|
|
57
57
|
```
|
58
58
|
Files::BundleNotification.create(
|
59
|
-
notify_on_registration: true,
|
60
|
-
notify_on_upload: true,
|
61
59
|
bundle_id: 1,
|
62
|
-
user_id: 1
|
60
|
+
user_id: 1,
|
61
|
+
notify_on_registration: true,
|
62
|
+
notify_on_upload: true
|
63
63
|
)
|
64
64
|
```
|
65
65
|
|
66
66
|
### Parameters
|
67
67
|
|
68
|
-
* `notify_on_registration` (boolean): Triggers bundle notification when a registration action occurs for it.
|
69
|
-
* `notify_on_upload` (boolean): Triggers bundle notification when a upload action occurs for it.
|
70
68
|
* `bundle_id` (int64): Required - Bundle ID to notify on
|
71
69
|
* `user_id` (int64): The id of the user to notify.
|
70
|
+
* `notify_on_registration` (boolean): Triggers bundle notification when a registration action occurs for it.
|
71
|
+
* `notify_on_upload` (boolean): Triggers bundle notification when a upload action occurs for it.
|
72
72
|
|
73
73
|
|
74
74
|
---
|
data/docs/site.md
CHANGED
@@ -43,6 +43,8 @@
|
|
43
43
|
"created_at": "2000-01-01T01:00:00Z",
|
44
44
|
"currency": "USD",
|
45
45
|
"custom_namespace": true,
|
46
|
+
"dav_enabled": true,
|
47
|
+
"dav_user_root_enabled": true,
|
46
48
|
"days_to_retain_backups": 30,
|
47
49
|
"default_time_zone": "Pacific Time (US & Canada)",
|
48
50
|
"desktop_app": true,
|
@@ -264,6 +266,8 @@
|
|
264
266
|
* `created_at` (date-time): Time this site was created
|
265
267
|
* `currency` (string): Preferred currency
|
266
268
|
* `custom_namespace` (boolean): Is this site using a custom namespace for users?
|
269
|
+
* `dav_enabled` (boolean): Is WebDAV enabled?
|
270
|
+
* `dav_user_root_enabled` (boolean): Use user FTP roots also for WebDAV?
|
267
271
|
* `days_to_retain_backups` (int64): Number of days to keep deleted files
|
268
272
|
* `default_time_zone` (string): Site default time zone
|
269
273
|
* `desktop_app` (boolean): Is the desktop app enabled?
|
@@ -460,6 +464,7 @@ Files::Site.update(
|
|
460
464
|
password_require_number: true,
|
461
465
|
password_require_unbreached: true,
|
462
466
|
require_logout_from_bundles_and_inboxes: true,
|
467
|
+
dav_user_root_enabled: true,
|
463
468
|
sftp_user_root_enabled: true,
|
464
469
|
disable_password_reset: true,
|
465
470
|
immutable_files: true,
|
@@ -482,6 +487,7 @@ Files::Site.update(
|
|
482
487
|
sharing_enabled: true,
|
483
488
|
user_requests_enabled: true,
|
484
489
|
user_requests_notify_admins: true,
|
490
|
+
dav_enabled: true,
|
485
491
|
ftp_enabled: true,
|
486
492
|
sftp_enabled: true,
|
487
493
|
sftp_host_key_type: "default",
|
@@ -599,6 +605,7 @@ Files::Site.update(
|
|
599
605
|
* `password_require_number` (boolean): Require a number in passwords?
|
600
606
|
* `password_require_unbreached` (boolean): Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
|
601
607
|
* `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
608
|
+
* `dav_user_root_enabled` (boolean): Use user FTP roots also for WebDAV?
|
602
609
|
* `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
|
603
610
|
* `disable_password_reset` (boolean): Is password reset disabled?
|
604
611
|
* `immutable_files` (boolean): Are files protected from modification?
|
@@ -621,6 +628,7 @@ Files::Site.update(
|
|
621
628
|
* `sharing_enabled` (boolean): Allow bundle creation
|
622
629
|
* `user_requests_enabled` (boolean): Enable User Requests feature
|
623
630
|
* `user_requests_notify_admins` (boolean): Send email to site admins when a user request is received?
|
631
|
+
* `dav_enabled` (boolean): Is WebDAV enabled?
|
624
632
|
* `ftp_enabled` (boolean): Is FTP enabled?
|
625
633
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
626
634
|
* `sftp_host_key_type` (string): Sftp Host Key Type
|
@@ -130,10 +130,10 @@ module Files
|
|
130
130
|
end
|
131
131
|
|
132
132
|
# Parameters:
|
133
|
-
# notify_on_registration - boolean - Triggers bundle notification when a registration action occurs for it.
|
134
|
-
# notify_on_upload - boolean - Triggers bundle notification when a upload action occurs for it.
|
135
133
|
# bundle_id (required) - int64 - Bundle ID to notify on
|
136
134
|
# user_id - int64 - The id of the user to notify.
|
135
|
+
# notify_on_registration - boolean - Triggers bundle notification when a registration action occurs for it.
|
136
|
+
# notify_on_upload - boolean - Triggers bundle notification when a upload action occurs for it.
|
137
137
|
def self.create(params = {}, options = {})
|
138
138
|
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
|
139
139
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
@@ -184,6 +184,16 @@ module Files
|
|
184
184
|
@attributes[:custom_namespace]
|
185
185
|
end
|
186
186
|
|
187
|
+
# boolean - Is WebDAV enabled?
|
188
|
+
def dav_enabled
|
189
|
+
@attributes[:dav_enabled]
|
190
|
+
end
|
191
|
+
|
192
|
+
# boolean - Use user FTP roots also for WebDAV?
|
193
|
+
def dav_user_root_enabled
|
194
|
+
@attributes[:dav_user_root_enabled]
|
195
|
+
end
|
196
|
+
|
187
197
|
# int64 - Number of days to keep deleted files
|
188
198
|
def days_to_retain_backups
|
189
199
|
@attributes[:days_to_retain_backups]
|
@@ -825,6 +835,7 @@ module Files
|
|
825
835
|
# password_require_number - boolean - Require a number in passwords?
|
826
836
|
# password_require_unbreached - boolean - Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
|
827
837
|
# require_logout_from_bundles_and_inboxes - boolean - If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
838
|
+
# dav_user_root_enabled - boolean - Use user FTP roots also for WebDAV?
|
828
839
|
# sftp_user_root_enabled - boolean - Use user FTP roots also for SFTP?
|
829
840
|
# disable_password_reset - boolean - Is password reset disabled?
|
830
841
|
# immutable_files - boolean - Are files protected from modification?
|
@@ -847,6 +858,7 @@ module Files
|
|
847
858
|
# sharing_enabled - boolean - Allow bundle creation
|
848
859
|
# user_requests_enabled - boolean - Enable User Requests feature
|
849
860
|
# user_requests_notify_admins - boolean - Send email to site admins when a user request is received?
|
861
|
+
# dav_enabled - boolean - Is WebDAV enabled?
|
850
862
|
# ftp_enabled - boolean - Is FTP enabled?
|
851
863
|
# sftp_enabled - boolean - Is SFTP enabled?
|
852
864
|
# sftp_host_key_type - string - Sftp Host Key Type
|
data/lib/files.com/version.rb
CHANGED
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.
|
4
|
+
version: 1.1.19
|
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-01
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|