files.com 1.2.65 → 1.2.66
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.
- package/_VERSION +1 -1
- package/docs/models/FtpActionLog.md +1 -1
- package/docs/models/Site.md +4 -0
- package/lib/Files.js +1 -1
- package/lib/models/FtpActionLog.js +1 -1
- package/lib/models/Site.js +5 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/FtpActionLog.js +1 -1
- package/src/models/Site.js +4 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.66
|
@@ -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
|
package/docs/models/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
|
@@ -474,6 +476,7 @@ await Site.update({
|
|
474
476
|
'welcome_email_enabled': true,
|
475
477
|
'ask_about_overwrites': true,
|
476
478
|
'show_request_access_link': true,
|
479
|
+
'always_mkdir_parents': true,
|
477
480
|
'welcome_email_cc': "example",
|
478
481
|
'welcome_email_subject': "example",
|
479
482
|
'welcome_custom_text': "Welcome to my site!",
|
@@ -622,6 +625,7 @@ await 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
|
package/lib/Files.js
CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
|
|
11
11
|
var apiKey;
|
12
12
|
var baseUrl = 'https://app.files.com';
|
13
13
|
var sessionId = null;
|
14
|
-
var version = '1.2.
|
14
|
+
var version = '1.2.66';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
@@ -41,7 +41,7 @@ var FtpActionLog = /*#__PURE__*/(0, _createClass2.default)(function FtpActionLog
|
|
41
41
|
(0, _defineProperty2.default)(this, "getRemoteIp", function () {
|
42
42
|
return _this.attributes.remote_ip;
|
43
43
|
});
|
44
|
-
// string # IP Address of
|
44
|
+
// string # IP Address of FTP Server
|
45
45
|
(0, _defineProperty2.default)(this, "getServerIp", function () {
|
46
46
|
return _this.attributes.server_ip;
|
47
47
|
});
|
package/lib/models/Site.js
CHANGED
@@ -93,6 +93,10 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
|
|
93
93
|
(0, _defineProperty2.default)(this, "getAllowedIps", function () {
|
94
94
|
return _this.attributes.allowed_ips;
|
95
95
|
});
|
96
|
+
// 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.
|
97
|
+
(0, _defineProperty2.default)(this, "getAlwaysMkdirParents", function () {
|
98
|
+
return _this.attributes.always_mkdir_parents;
|
99
|
+
});
|
96
100
|
// boolean # If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
97
101
|
(0, _defineProperty2.default)(this, "getAskAboutOverwrites", function () {
|
98
102
|
return _this.attributes.ask_about_overwrites;
|
@@ -732,6 +736,7 @@ _Site = Site;
|
|
732
736
|
// welcome_email_enabled - boolean - Will the welcome email be sent to new users?
|
733
737
|
// ask_about_overwrites - boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
734
738
|
// show_request_access_link - boolean - Show request access link for users without access? Currently unused.
|
739
|
+
// 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.
|
735
740
|
// welcome_email_cc - string - Include this email in welcome emails if enabled
|
736
741
|
// welcome_email_subject - string - Include this email subject in welcome emails if enabled
|
737
742
|
// welcome_custom_text - string - Custom text send in user welcome email
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
@@ -34,7 +34,7 @@ class FtpActionLog {
|
|
34
34
|
// string # IP Address of FTP Client
|
35
35
|
getRemoteIp = () => this.attributes.remote_ip
|
36
36
|
|
37
|
-
// string # IP Address of
|
37
|
+
// string # IP Address of FTP Server
|
38
38
|
getServerIp = () => this.attributes.server_ip
|
39
39
|
|
40
40
|
// string # Username
|
package/src/models/Site.js
CHANGED
@@ -73,6 +73,9 @@ class Site {
|
|
73
73
|
// string # List of allowed IP addresses
|
74
74
|
getAllowedIps = () => this.attributes.allowed_ips
|
75
75
|
|
76
|
+
// 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.
|
77
|
+
getAlwaysMkdirParents = () => this.attributes.always_mkdir_parents
|
78
|
+
|
76
79
|
// boolean # If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
77
80
|
getAskAboutOverwrites = () => this.attributes.ask_about_overwrites
|
78
81
|
|
@@ -528,6 +531,7 @@ class Site {
|
|
528
531
|
// welcome_email_enabled - boolean - Will the welcome email be sent to new users?
|
529
532
|
// ask_about_overwrites - boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
530
533
|
// show_request_access_link - boolean - Show request access link for users without access? Currently unused.
|
534
|
+
// 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.
|
531
535
|
// welcome_email_cc - string - Include this email in welcome emails if enabled
|
532
536
|
// welcome_email_subject - string - Include this email subject in welcome emails if enabled
|
533
537
|
// welcome_custom_text - string - Custom text send in user welcome email
|