files.com 1.2.141 → 1.2.142

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.141
1
+ 1.2.142
@@ -181,6 +181,7 @@
181
181
  "sftp_insecure_diffie_hellman": true,
182
182
  "sftp_user_root_enabled": true,
183
183
  "sharing_enabled": true,
184
+ "show_user_notifications_log_in_link": true,
184
185
  "show_request_access_link": true,
185
186
  "site_footer": "example",
186
187
  "site_header": "example",
@@ -414,6 +415,7 @@
414
415
  * `sftp_insecure_diffie_hellman` (boolean): If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
415
416
  * `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
416
417
  * `sharing_enabled` (boolean): Allow bundle creation
418
+ * `show_user_notifications_log_in_link` (boolean): Show log in link in user notifications?
417
419
  * `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
418
420
  * `site_footer` (string): Custom site footer text
419
421
  * `site_header` (string): Custom site header text
@@ -562,6 +564,7 @@ await Site.update({
562
564
  'sftp_enabled': true,
563
565
  'users_can_create_api_keys': true,
564
566
  'users_can_create_ssh_keys': true,
567
+ 'show_user_notifications_log_in_link': true,
565
568
  'sftp_host_key_type': "default",
566
569
  'active_sftp_host_key_id': 1,
567
570
  'protocol_access_groups_only': true,
@@ -714,6 +717,7 @@ await Site.update({
714
717
  * `sftp_enabled` (boolean): Is SFTP enabled?
715
718
  * `users_can_create_api_keys` (boolean): Allow users to create their own API keys?
716
719
  * `users_can_create_ssh_keys` (boolean): Allow users to create their own SSH keys?
720
+ * `show_user_notifications_log_in_link` (boolean): Show log in link in user notifications?
717
721
  * `sftp_host_key_type` (string): Sftp Host Key Type
718
722
  * `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
719
723
  * `protocol_access_groups_only` (boolean): If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
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.141';
14
+ var version = '1.2.142';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -541,6 +541,10 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
541
541
  (0, _defineProperty2.default)(this, "getSharingEnabled", function () {
542
542
  return _this.attributes.sharing_enabled;
543
543
  });
544
+ // boolean # Show log in link in user notifications?
545
+ (0, _defineProperty2.default)(this, "getShowUserNotificationsLogInLink", function () {
546
+ return _this.attributes.show_user_notifications_log_in_link;
547
+ });
544
548
  // boolean # Show request access link for users without access? Currently unused.
545
549
  (0, _defineProperty2.default)(this, "getShowRequestAccessLink", function () {
546
550
  return _this.attributes.show_request_access_link;
@@ -825,6 +829,7 @@ _Site = Site;
825
829
  // sftp_enabled - boolean - Is SFTP enabled?
826
830
  // users_can_create_api_keys - boolean - Allow users to create their own API keys?
827
831
  // users_can_create_ssh_keys - boolean - Allow users to create their own SSH keys?
832
+ // show_user_notifications_log_in_link - boolean - Show log in link in user notifications?
828
833
  // sftp_host_key_type - string - Sftp Host Key Type
829
834
  // active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
830
835
  // protocol_access_groups_only - boolean - If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.141",
3
+ "version": "1.2.142",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- const version = '1.2.141'
8
+ const version = '1.2.142'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -409,6 +409,9 @@ class Site {
409
409
  // boolean # Allow bundle creation
410
410
  getSharingEnabled = () => this.attributes.sharing_enabled
411
411
 
412
+ // boolean # Show log in link in user notifications?
413
+ getShowUserNotificationsLogInLink = () => this.attributes.show_user_notifications_log_in_link
414
+
412
415
  // boolean # Show request access link for users without access? Currently unused.
413
416
  getShowRequestAccessLink = () => this.attributes.show_request_access_link
414
417
 
@@ -617,6 +620,7 @@ class Site {
617
620
  // sftp_enabled - boolean - Is SFTP enabled?
618
621
  // users_can_create_api_keys - boolean - Allow users to create their own API keys?
619
622
  // users_can_create_ssh_keys - boolean - Allow users to create their own SSH keys?
623
+ // show_user_notifications_log_in_link - boolean - Show log in link in user notifications?
620
624
  // sftp_host_key_type - string - Sftp Host Key Type
621
625
  // active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
622
626
  // protocol_access_groups_only - boolean - If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.