files.com 1.1.7 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/_VERSION +1 -1
- package/docs/models/Site.md +4 -0
- package/lib/Files.js +1 -1
- package/lib/models/Site.js +5 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/Site.js +4 -0
package/README.md
CHANGED
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.9
|
package/docs/models/Site.md
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
"allowed_2fa_method_yubi": true,
|
13
13
|
"allowed_2fa_method_bypass_for_ftp_sftp_dav": true,
|
14
14
|
"admin_user_id": 1,
|
15
|
+
"admins_bypass_locked_subfolders": true,
|
15
16
|
"allow_bundle_names": true,
|
16
17
|
"allowed_countries": "US,DE",
|
17
18
|
"allowed_ips": "example",
|
@@ -236,6 +237,7 @@
|
|
236
237
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
237
238
|
* `allowed_2fa_method_bypass_for_ftp_sftp_dav` (boolean): Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
238
239
|
* `admin_user_id` (int64): User ID for the main site administrator
|
240
|
+
* `admins_bypass_locked_subfolders` (boolean): Allow admins to bypass the locked subfolders setting.
|
239
241
|
* `allow_bundle_names` (boolean): Are manual Bundle names allowed?
|
240
242
|
* `allowed_countries` (string): Comma seperated list of allowed Country codes
|
241
243
|
* `allowed_ips` (string): List of allowed IP addresses
|
@@ -487,6 +489,7 @@ await Site.update({
|
|
487
489
|
'group_admins_can_set_user_password': true,
|
488
490
|
'bundle_recipient_blacklist_free_email_domains': true,
|
489
491
|
'bundle_recipient_blacklist_domains': ["example"],
|
492
|
+
'admins_bypass_locked_subfolders': true,
|
490
493
|
'allowed_2fa_method_sms': true,
|
491
494
|
'allowed_2fa_method_u2f': true,
|
492
495
|
'allowed_2fa_method_totp': true,
|
@@ -625,6 +628,7 @@ await Site.update({
|
|
625
628
|
* `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
|
626
629
|
* `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
|
627
630
|
* `bundle_recipient_blacklist_domains` (array(string)): List of email domains to disallow when entering a Bundle/Inbox recipients
|
631
|
+
* `admins_bypass_locked_subfolders` (boolean): Allow admins to bypass the locked subfolders setting.
|
628
632
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
629
633
|
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
630
634
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
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.1.
|
14
|
+
var version = '1.1.9';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
package/lib/models/Site.js
CHANGED
@@ -65,6 +65,10 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
|
|
65
65
|
(0, _defineProperty2.default)(this, "getAdminUserId", function () {
|
66
66
|
return _this.attributes.admin_user_id;
|
67
67
|
});
|
68
|
+
// boolean # Allow admins to bypass the locked subfolders setting.
|
69
|
+
(0, _defineProperty2.default)(this, "getAdminsBypassLockedSubfolders", function () {
|
70
|
+
return _this.attributes.admins_bypass_locked_subfolders;
|
71
|
+
});
|
68
72
|
// boolean # Are manual Bundle names allowed?
|
69
73
|
(0, _defineProperty2.default)(this, "getAllowBundleNames", function () {
|
70
74
|
return _this.attributes.allow_bundle_names;
|
@@ -769,6 +773,7 @@ _class = Site;
|
|
769
773
|
// group_admins_can_set_user_password - boolean - Allow group admins set password authentication method
|
770
774
|
// bundle_recipient_blacklist_free_email_domains - boolean - Disallow free email domains for Bundle/Inbox recipients?
|
771
775
|
// bundle_recipient_blacklist_domains - array(string) - List of email domains to disallow when entering a Bundle/Inbox recipients
|
776
|
+
// admins_bypass_locked_subfolders - boolean - Allow admins to bypass the locked subfolders setting.
|
772
777
|
// allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
|
773
778
|
// allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
|
774
779
|
// allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
package/src/models/Site.js
CHANGED
@@ -48,6 +48,9 @@ class Site {
|
|
48
48
|
// int64 # User ID for the main site administrator
|
49
49
|
getAdminUserId = () => this.attributes.admin_user_id
|
50
50
|
|
51
|
+
// boolean # Allow admins to bypass the locked subfolders setting.
|
52
|
+
getAdminsBypassLockedSubfolders = () => this.attributes.admins_bypass_locked_subfolders
|
53
|
+
|
51
54
|
// boolean # Are manual Bundle names allowed?
|
52
55
|
getAllowBundleNames = () => this.attributes.allow_bundle_names
|
53
56
|
|
@@ -572,6 +575,7 @@ class Site {
|
|
572
575
|
// group_admins_can_set_user_password - boolean - Allow group admins set password authentication method
|
573
576
|
// bundle_recipient_blacklist_free_email_domains - boolean - Disallow free email domains for Bundle/Inbox recipients?
|
574
577
|
// bundle_recipient_blacklist_domains - array(string) - List of email domains to disallow when entering a Bundle/Inbox recipients
|
578
|
+
// admins_bypass_locked_subfolders - boolean - Allow admins to bypass the locked subfolders setting.
|
575
579
|
// allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
|
576
580
|
// allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
|
577
581
|
// allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|