files.com 1.1.70 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57e368d88766eb036faa68c4b64ba5e83e80d820734d70e8944a1b617bb55dc5
4
- data.tar.gz: a4a70f2606513729e530a02d5c4363f3cbb404450f5cc210ca84636c7d5bf5ba
3
+ metadata.gz: 96350d60adbf48f03bef23f92f401b7379d941d0a84a096fb888f9f50ac5b14f
4
+ data.tar.gz: 6eb373ee703eb37af54a90c56d1659cd39a9a85c3ca4e71d3d6feed415671ab0
5
5
  SHA512:
6
- metadata.gz: 64c39d297d976046ee52a312e8d396992746c2b29faa2b8e6091bbc296479a554419e103ae549dc24cced101cf18df72f8fa379fab8ad541fb640fd52d9a33f7
7
- data.tar.gz: f45356628321914c0ae34ad42bfb9b58a05f8dd7959ff21f65061d9716cb2fe697c91bf7e32fd38bce9418143a85574e2ec7bb814f02a63bb22dde7d096e1d10
6
+ metadata.gz: 7adad898b0859968b76bd05468a3026d69927fff732407c0ffc520c38abe8d59bd52a0c455ca6b775a2782b024248d47fbe25edbabb582fbd6520110b42d993f
7
+ data.tar.gz: feb59df8af1b8e566321579e3e9807fb462d679edf45fb5d7ffdf80c9992f2361b70a0646675fc6ef7b92f4b51a9f0b7d0c572c15068dd7992044d6dd68c5b3b
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.70
1
+ 1.1.71
@@ -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
@@ -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.70"
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.70
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-09 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