files.com 1.0.350 → 1.0.351

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0949c7e3012cad3d4d149b9fd9dcf0c8fc858a68cd9b93ea37f56e82ab8da137'
4
- data.tar.gz: 4e488ea540349d07f6d399f36b0f332218c6476a3d735e46cb477a7b72ba5be9
3
+ metadata.gz: d113b270a9915852eaef441b1e5b23877e38646093a991df4f6b79509c03ce6e
4
+ data.tar.gz: 3aada33beed62b371ff925fbc548f905c94bc38f1340fbab7311b8b770a41ced
5
5
  SHA512:
6
- metadata.gz: c4dc5fbfbfc3afd273670e0b06792e25ab9649db7ccd2b09451ef38be69c8742ede89ed06139a52aa40435ba097efa749b42c82f58b6b4ba3b0725025c558b28
7
- data.tar.gz: 733383d7dac4258da405a3648f161605234769835978cd8aed190c4d55935a7be02ed67f5999a708a95bc91ade1c51ce8b1f1b09d0c4c5cf9221a9488f6174ac
6
+ metadata.gz: 11e555a77799cefe22b22627870f394e8b97318ebb40bbacef840a721333a1d29b4e4ac5d6d43eb3a9b7149bf2428ba57553b7649a99d9a0e838d6530ae28505
7
+ data.tar.gz: 1d80c27ca0e79b961b57ae12ba9926688c782286fca65e80a8a1f20596df58d73ad1f073ba8f3ecb73340d954e8bdce6eeb8595b8a2f7c1d1d4ecb8743fd0900
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.350
1
+ 1.0.351
data/docs/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?
@@ -442,6 +444,7 @@ Files::Site.update(
442
444
  password_require_special: true,
443
445
  password_require_number: true,
444
446
  password_require_unbreached: true,
447
+ require_logout_from_bundles_and_inboxes: true,
445
448
  sftp_user_root_enabled: true,
446
449
  disable_password_reset: true,
447
450
  immutable_files: true,
@@ -573,6 +576,7 @@ Files::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?
@@ -519,6 +519,11 @@ module Files
519
519
  @attributes[:require_2fa_user_type]
520
520
  end
521
521
 
522
+ # 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.
523
+ def require_logout_from_bundles_and_inboxes
524
+ @attributes[:require_logout_from_bundles_and_inboxes]
525
+ end
526
+
522
527
  # Session - Current session
523
528
  def session
524
529
  @attributes[:session]
@@ -789,6 +794,7 @@ module Files
789
794
  # password_require_special - boolean - Require special characters in password?
790
795
  # password_require_number - boolean - Require a number in passwords?
791
796
  # password_require_unbreached - boolean - Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
797
+ # 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.
792
798
  # sftp_user_root_enabled - boolean - Use user FTP roots also for SFTP?
793
799
  # disable_password_reset - boolean - Is password reset disabled?
794
800
  # immutable_files - boolean - Are files protected from modification?
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.0.350
4
+ version: 1.0.351
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-23 00:00:00.000000000 Z
11
+ date: 2023-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable