files.com 1.1.69 → 1.1.71

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: 9e258145ec94fae9a99f20b7e095335c046030ce03ec514ccca1837ac5e4edf0
4
- data.tar.gz: fd32e8e9aafa0123daee4e225139a75056beae0ca7a6b1174abb84b8dfff48ed
3
+ metadata.gz: 96350d60adbf48f03bef23f92f401b7379d941d0a84a096fb888f9f50ac5b14f
4
+ data.tar.gz: 6eb373ee703eb37af54a90c56d1659cd39a9a85c3ca4e71d3d6feed415671ab0
5
5
  SHA512:
6
- metadata.gz: 7fe5885a342ae4b3621fb43d19bad61137aca4a75fe26d70c00caa1763fbcbf81647ac65ab2247ad6aac0c95441229ddbb458ba9b30d192630fa23a3717f729a
7
- data.tar.gz: 5bf0f15e4c2e538bf5be6d43277cb2353e1e7dedefc1c38948937abc3999a83f41cd2890d3c440da2db93071245c6109353e27eddbe704c72d124aa45a25a54f
6
+ metadata.gz: 7adad898b0859968b76bd05468a3026d69927fff732407c0ffc520c38abe8d59bd52a0c455ca6b775a2782b024248d47fbe25edbabb582fbd6520110b42d993f
7
+ data.tar.gz: feb59df8af1b8e566321579e3e9807fb462d679edf45fb5d7ffdf80c9992f2361b70a0646675fc6ef7b92f4b51a9f0b7d0c572c15068dd7992044d6dd68c5b3b
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.69
1
+ 1.1.71
@@ -54,5 +54,10 @@ Files::BundleAction.list(
54
54
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
55
55
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
56
56
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[bundle_registration_id]=desc`). Valid fields are `bundle_registration_id` and `created_at`.
57
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
58
+ * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
59
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
60
+ * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
61
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
57
62
  * `bundle_id` (int64): Bundle ID
58
63
  * `bundle_registration_id` (int64): BundleRegistration ID
@@ -26,7 +26,7 @@
26
26
 
27
27
  * `timestamp` (date-time): Start Time of Action
28
28
  * `remote_ip` (string): IP Address of FTP Client
29
- * `server_ip` (string): IP Address of SFTP Server
29
+ * `server_ip` (string): IP Address of FTP Server
30
30
  * `username` (string): Username
31
31
  * `session_uuid` (string): Unique ID of the Session
32
32
  * `seq_id` (int64): FTP Sequence ID
data/docs/site.md CHANGED
@@ -21,6 +21,7 @@
21
21
  "allow_bundle_names": true,
22
22
  "allowed_countries": "US,DE",
23
23
  "allowed_ips": "example",
24
+ "always_mkdir_parents": true,
24
25
  "ask_about_overwrites": true,
25
26
  "bundle_activity_notifications": "never",
26
27
  "bundle_expiration": 1,
@@ -294,6 +295,7 @@
294
295
  * `allow_bundle_names` (boolean): Are manual Bundle names allowed?
295
296
  * `allowed_countries` (string): Comma seperated list of allowed Country codes
296
297
  * `allowed_ips` (string): List of allowed IP addresses
298
+ * `always_mkdir_parents` (boolean): Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
297
299
  * `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
298
300
  * `bundle_activity_notifications` (string): Do Bundle owners receive activity notifications?
299
301
  * `bundle_expiration` (int64): Site-wide Bundle expiration in days
@@ -475,6 +477,7 @@ Files::Site.update(
475
477
  welcome_email_enabled: true,
476
478
  ask_about_overwrites: true,
477
479
  show_request_access_link: true,
480
+ always_mkdir_parents: true,
478
481
  welcome_email_cc: "example",
479
482
  welcome_email_subject: "example",
480
483
  welcome_custom_text: "Welcome to my site!",
@@ -622,6 +625,7 @@ Files::Site.update(
622
625
  * `welcome_email_enabled` (boolean): Will the welcome email be sent to new users?
623
626
  * `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
624
627
  * `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
628
+ * `always_mkdir_parents` (boolean): Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
625
629
  * `welcome_email_cc` (string): Include this email in welcome emails if enabled
626
630
  * `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
627
631
  * `welcome_custom_text` (string): Custom text send in user welcome email
@@ -43,12 +43,22 @@ module Files
43
43
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
44
44
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
45
45
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[bundle_registration_id]=desc`). Valid fields are `bundle_registration_id` and `created_at`.
46
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
47
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
48
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
49
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
50
+ # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
46
51
  # bundle_id - int64 - Bundle ID
47
52
  # bundle_registration_id - int64 - BundleRegistration ID
48
53
  def self.list(params = {}, options = {})
49
54
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
50
55
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
51
56
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
57
+ raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
58
+ raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
59
+ raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
60
+ raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
61
+ raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
52
62
  raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
53
63
  raise InvalidParameterError.new("Bad parameter: bundle_registration_id must be an Integer") if params[:bundle_registration_id] and !params[:bundle_registration_id].is_a?(Integer)
54
64
 
@@ -19,7 +19,7 @@ module Files
19
19
  @attributes[:remote_ip]
20
20
  end
21
21
 
22
- # string - IP Address of SFTP Server
22
+ # string - IP Address of FTP Server
23
23
  def server_ip
24
24
  @attributes[:server_ip]
25
25
  end
@@ -84,6 +84,11 @@ module Files
84
84
  @attributes[:allowed_ips]
85
85
  end
86
86
 
87
+ # boolean - Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
88
+ def always_mkdir_parents
89
+ @attributes[:always_mkdir_parents]
90
+ end
91
+
87
92
  # boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
88
93
  def ask_about_overwrites
89
94
  @attributes[:ask_about_overwrites]
@@ -822,6 +827,7 @@ module Files
822
827
  # welcome_email_enabled - boolean - Will the welcome email be sent to new users?
823
828
  # ask_about_overwrites - boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
824
829
  # show_request_access_link - boolean - Show request access link for users without access? Currently unused.
830
+ # always_mkdir_parents - boolean - Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
825
831
  # welcome_email_cc - string - Include this email in welcome emails if enabled
826
832
  # welcome_email_subject - string - Include this email subject in welcome emails if enabled
827
833
  # welcome_custom_text - string - Custom text send in user welcome email
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.69"
4
+ VERSION = "1.1.71"
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.1.69
4
+ version: 1.1.71
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-05-08 00:00:00.000000000 Z
11
+ date: 2024-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable