files.com 1.1.69 → 1.1.71
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/bundle_action.md +5 -0
- data/docs/ftp_action_log.md +1 -1
- data/docs/site.md +4 -0
- data/lib/files.com/models/bundle_action.rb +10 -0
- data/lib/files.com/models/ftp_action_log.rb +1 -1
- data/lib/files.com/models/site.rb +6 -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: 96350d60adbf48f03bef23f92f401b7379d941d0a84a096fb888f9f50ac5b14f
|
|
4
|
+
data.tar.gz: 6eb373ee703eb37af54a90c56d1659cd39a9a85c3ca4e71d3d6feed415671ab0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7adad898b0859968b76bd05468a3026d69927fff732407c0ffc520c38abe8d59bd52a0c455ca6b775a2782b024248d47fbe25edbabb582fbd6520110b42d993f
|
|
7
|
+
data.tar.gz: feb59df8af1b8e566321579e3e9807fb462d679edf45fb5d7ffdf80c9992f2361b70a0646675fc6ef7b92f4b51a9f0b7d0c572c15068dd7992044d6dd68c5b3b
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.71
|
data/docs/bundle_action.md
CHANGED
|
@@ -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
|
data/docs/ftp_action_log.md
CHANGED
|
@@ -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
|
|
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
|
|
|
@@ -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
|
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.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-
|
|
11
|
+
date: 2024-05-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|