files.com 1.0.274 → 1.0.276
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/Errors.md +1 -0
- package/docs/models/Site.md +4 -0
- package/lib/Errors.js +329 -315
- package/lib/models/Site.js +5 -0
- package/package.json +1 -1
- package/src/Errors.js +1 -0
- package/src/models/Site.js +4 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.276
|
package/docs/Errors.md
CHANGED
@@ -130,6 +130,7 @@ These errors are derived from the error groups listed above.
|
|
130
130
|
### NotAuthorized_SiteFilesAreImmutableError
|
131
131
|
### NotAuthorized_TwoFactorAuthenticationRequiredError
|
132
132
|
### NotAuthorized_UserIdWithoutSiteAdminError
|
133
|
+
### NotAuthorized_WriteAndBundlePermissionRequiredError
|
133
134
|
### NotAuthorized_WritePermissionRequiredError
|
134
135
|
### NotAuthorized_ZipDownloadIpMismatchError
|
135
136
|
### NotFound_ApiKeyNotFoundError
|
package/docs/models/Site.md
CHANGED
@@ -108,6 +108,7 @@
|
|
108
108
|
"require_2fa": true,
|
109
109
|
"require_2fa_stop_time": "2000-01-01T01:00:00Z",
|
110
110
|
"require_2fa_user_type": "`site_admins`",
|
111
|
+
"require_logout_from_bundles_and_inboxes": true,
|
111
112
|
"session": {
|
112
113
|
"id": "60525f92e859c4c3d74cb02fd176b1525901b525",
|
113
114
|
"language": "en",
|
@@ -321,6 +322,7 @@
|
|
321
322
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
322
323
|
* `require_2fa_stop_time` (date-time): If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
323
324
|
* `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
325
|
+
* `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
324
326
|
* `session` (Session): Current session
|
325
327
|
* `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
326
328
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
@@ -441,6 +443,7 @@ await Site.update({
|
|
441
443
|
'password_require_special': true,
|
442
444
|
'password_require_number': true,
|
443
445
|
'password_require_unbreached': true,
|
446
|
+
'require_logout_from_bundles_and_inboxes': true,
|
444
447
|
'sftp_user_root_enabled': true,
|
445
448
|
'disable_password_reset': true,
|
446
449
|
'immutable_files': true,
|
@@ -573,6 +576,7 @@ await Site.update({
|
|
573
576
|
* `password_require_special` (boolean): Require special characters in password?
|
574
577
|
* `password_require_number` (boolean): Require a number in passwords?
|
575
578
|
* `password_require_unbreached` (boolean): Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
|
579
|
+
* `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
576
580
|
* `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
|
577
581
|
* `disable_password_reset` (boolean): Is password reset disabled?
|
578
582
|
* `immutable_files` (boolean): Are files protected from modification?
|