files.com 1.0.474 → 1.0.476
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/inbox_registration.md +2 -0
- data/docs/site.md +4 -0
- data/lib/files.com/models/inbox_registration.rb +5 -0
- data/lib/files.com/models/site.rb +7 -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: 787022170080b0a9a690dbff16c29220764fa4be39869ecf254bd2f043c2e4b5
|
4
|
+
data.tar.gz: 24a402bfcd3090e2e38f17b960082505cb45f224dce857a4596f36ff96745dba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94177dc66e91a7c396cc2dbd3f0c060fdd3dd154a72577e3c03bbe45490d8bcb9cbb39b82fb628153649031d2879c6ebe2ddc7c86b4fdbde12c78c0221689a34
|
7
|
+
data.tar.gz: ecf2b36c3119f8068093e6057326c5d873b91c0e02957ea458d74a0bde9b11e9474453a447ba50e0f03e7f4140c341bcd4252e6f3574e14d3db6598a22af8735
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.476
|
data/docs/inbox_registration.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
"name": "account",
|
9
9
|
"company": "Action Verb",
|
10
10
|
"email": "john.doe@files.com",
|
11
|
+
"ip": "10.1.1.1",
|
11
12
|
"clickwrap_body": "example",
|
12
13
|
"form_field_set_id": 1,
|
13
14
|
"form_field_data": {
|
@@ -24,6 +25,7 @@
|
|
24
25
|
* `name` (string): Registrant name
|
25
26
|
* `company` (string): Registrant company name
|
26
27
|
* `email` (string): Registrant email address
|
28
|
+
* `ip` (string): Registrant IP Address
|
27
29
|
* `clickwrap_body` (string): Clickwrap text that was shown to the registrant
|
28
30
|
* `form_field_set_id` (int64): Id of associated form field set
|
29
31
|
* `form_field_data` (object): Data for form field set with form field ids as keys and user data as values
|
data/docs/site.md
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
"ask_about_overwrites": true,
|
19
19
|
"bundle_activity_notifications": "never",
|
20
20
|
"bundle_expiration": 1,
|
21
|
+
"bundle_not_found_message": "example",
|
21
22
|
"bundle_password_required": true,
|
22
23
|
"bundle_registration_notifications": "never",
|
23
24
|
"bundle_require_registration": true,
|
@@ -237,6 +238,7 @@
|
|
237
238
|
* `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
238
239
|
* `bundle_activity_notifications` (string): Do Bundle owners receive activity notifications?
|
239
240
|
* `bundle_expiration` (int64): Site-wide Bundle expiration in days
|
241
|
+
* `bundle_not_found_message` (string): Custom error message to show when bundle is not found.
|
240
242
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
241
243
|
* `bundle_registration_notifications` (string): Do Bundle owners receive registration notification?
|
242
244
|
* `bundle_require_registration` (boolean): Do Bundles require registration?
|
@@ -454,6 +456,7 @@ Files::Site.update(
|
|
454
456
|
disable_password_reset: true,
|
455
457
|
immutable_files: true,
|
456
458
|
session_pinned_by_ip: true,
|
459
|
+
bundle_not_found_message: "example",
|
457
460
|
bundle_password_required: true,
|
458
461
|
bundle_require_registration: true,
|
459
462
|
bundle_require_share_recipient: true,
|
@@ -588,6 +591,7 @@ Files::Site.update(
|
|
588
591
|
* `disable_password_reset` (boolean): Is password reset disabled?
|
589
592
|
* `immutable_files` (boolean): Are files protected from modification?
|
590
593
|
* `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
594
|
+
* `bundle_not_found_message` (string): Custom error message to show when bundle is not found.
|
591
595
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
592
596
|
* `bundle_require_registration` (boolean): Do Bundles require registration?
|
593
597
|
* `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
|
@@ -79,6 +79,11 @@ module Files
|
|
79
79
|
@attributes[:bundle_expiration]
|
80
80
|
end
|
81
81
|
|
82
|
+
# string - Custom error message to show when bundle is not found.
|
83
|
+
def bundle_not_found_message
|
84
|
+
@attributes[:bundle_not_found_message]
|
85
|
+
end
|
86
|
+
|
82
87
|
# boolean - Do Bundles require password protection?
|
83
88
|
def bundle_password_required
|
84
89
|
@attributes[:bundle_password_required]
|
@@ -809,6 +814,7 @@ module Files
|
|
809
814
|
# disable_password_reset - boolean - Is password reset disabled?
|
810
815
|
# immutable_files - boolean - Are files protected from modification?
|
811
816
|
# session_pinned_by_ip - boolean - Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
817
|
+
# bundle_not_found_message - string - Custom error message to show when bundle is not found.
|
812
818
|
# bundle_password_required - boolean - Do Bundles require password protection?
|
813
819
|
# bundle_require_registration - boolean - Do Bundles require registration?
|
814
820
|
# bundle_require_share_recipient - boolean - Do Bundles require recipients for sharing?
|
@@ -918,6 +924,7 @@ module Files
|
|
918
924
|
raise InvalidParameterError.new("Bad parameter: max_prior_passwords must be an Integer") if params[:max_prior_passwords] and !params[:max_prior_passwords].is_a?(Integer)
|
919
925
|
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)
|
920
926
|
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)
|
927
|
+
raise InvalidParameterError.new("Bad parameter: bundle_not_found_message must be an String") if params[:bundle_not_found_message] and !params[:bundle_not_found_message].is_a?(String)
|
921
928
|
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)
|
922
929
|
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)
|
923
930
|
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)
|
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.0.
|
4
|
+
version: 1.0.476
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|