files.com 1.0.474 → 1.0.476

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: 370ff07ee9b9252570725531731411b9e7ee889fdff12ef1a8302873aebbfb5b
4
- data.tar.gz: f0f6213023d8448ab54b5192e61b91f85002e8735e4f50e45f2e66c7374d7d4d
3
+ metadata.gz: 787022170080b0a9a690dbff16c29220764fa4be39869ecf254bd2f043c2e4b5
4
+ data.tar.gz: 24a402bfcd3090e2e38f17b960082505cb45f224dce857a4596f36ff96745dba
5
5
  SHA512:
6
- metadata.gz: fe53207653ae0a14aac694fe0d51151798a8af6da7d3bb7068cbc39e6268a31867cff54baccfcef76acbc33720f5dc1f8751b2ddd9217c7e62705a676104f4a3
7
- data.tar.gz: c537fcb5dbe8e5b7b49bf7adf7df8699574794a695cc08d898ae76f89843a1f6ef88db9cb10fd97552fc05422a62797c50de0a111440c8d253e8967212dbe852
6
+ metadata.gz: 94177dc66e91a7c396cc2dbd3f0c060fdd3dd154a72577e3c03bbe45490d8bcb9cbb39b82fb628153649031d2879c6ebe2ddc7c86b4fdbde12c78c0221689a34
7
+ data.tar.gz: ecf2b36c3119f8068093e6057326c5d873b91c0e02957ea458d74a0bde9b11e9474453a447ba50e0f03e7f4140c341bcd4252e6f3574e14d3db6598a22af8735
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.474
1
+ 1.0.476
@@ -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?
@@ -29,6 +29,11 @@ module Files
29
29
  @attributes[:email]
30
30
  end
31
31
 
32
+ # string - Registrant IP Address
33
+ def ip
34
+ @attributes[:ip]
35
+ end
36
+
32
37
  # string - Clickwrap text that was shown to the registrant
33
38
  def clickwrap_body
34
39
  @attributes[:clickwrap_body]
@@ -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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.0.474"
4
+ VERSION = "1.0.476"
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.0.474
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-15 00:00:00.000000000 Z
11
+ date: 2023-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable