files.com 1.0.30 → 1.0.31
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.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/site.md +4 -0
- data/lib/files.com/models/site.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb6e4c36ecc5aefcaa5c23d1b4752038f2af4c088358f9e6069ec8b8c1f6d391
|
|
4
|
+
data.tar.gz: cd77d7fd82cbab015941000f081a2d4e7f7862eb5c95d93b8f5d5ab4a659820b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d774b160b4cf1f990cc9dbaf65091be30901f6b9920b37527d30cd959d9c4a1d733bc6efd20fee1ef1d586f884dd76b2a0af3ae2c1a628c39cbb1c22944ab055
|
|
7
|
+
data.tar.gz: 59a98eebe1be495001e9c6c2fba215a2da2db601ab93facbbbbad9104c8ed835cf6b49998e2ba83f7bec6d8ca17fb9386f077fcee232ab5dddcab007d450c502
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.31
|
data/docs/site.md
CHANGED
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
"password_require_mixed": true,
|
|
72
72
|
"password_require_number": true,
|
|
73
73
|
"password_require_special": true,
|
|
74
|
+
"password_require_unbreached": true,
|
|
74
75
|
"password_requirements_apply_to_bundles": true,
|
|
75
76
|
"password_validity_days": 1,
|
|
76
77
|
"phone": "555-555-5555",
|
|
@@ -178,6 +179,7 @@
|
|
|
178
179
|
* `password_require_mixed` (boolean): Require lower and upper case letters in passwords?
|
|
179
180
|
* `password_require_number` (boolean): Require a number in passwords?
|
|
180
181
|
* `password_require_special` (boolean): Require special characters in password?
|
|
182
|
+
* `password_require_unbreached` (boolean): Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
|
|
181
183
|
* `password_requirements_apply_to_bundles` (boolean): Require bundles' passwords to conform to the same requirements as users' passwords?
|
|
182
184
|
* `password_validity_days` (int64): Number of days password is valid
|
|
183
185
|
* `phone` (string): Site phone number
|
|
@@ -275,6 +277,7 @@ Files::Site.update(
|
|
|
275
277
|
password_require_mixed: true,
|
|
276
278
|
password_require_special: true,
|
|
277
279
|
password_require_number: true,
|
|
280
|
+
password_require_unbreached: true,
|
|
278
281
|
sftp_user_root_enabled: true,
|
|
279
282
|
disable_password_reset: true,
|
|
280
283
|
immutable_files: true,
|
|
@@ -362,6 +365,7 @@ Files::Site.update(
|
|
|
362
365
|
* `password_require_mixed` (boolean): Require lower and upper case letters in passwords?
|
|
363
366
|
* `password_require_special` (boolean): Require special characters in password?
|
|
364
367
|
* `password_require_number` (boolean): Require a number in passwords?
|
|
368
|
+
* `password_require_unbreached` (boolean): Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
|
|
365
369
|
* `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
|
|
366
370
|
* `disable_password_reset` (boolean): Is password reset disabled?
|
|
367
371
|
* `immutable_files` (boolean): Are files protected from modification?
|
|
@@ -344,6 +344,11 @@ module Files
|
|
|
344
344
|
@attributes[:password_require_special]
|
|
345
345
|
end
|
|
346
346
|
|
|
347
|
+
# boolean - Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
|
|
348
|
+
def password_require_unbreached
|
|
349
|
+
@attributes[:password_require_unbreached]
|
|
350
|
+
end
|
|
351
|
+
|
|
347
352
|
# boolean - Require bundles' passwords to conform to the same requirements as users' passwords?
|
|
348
353
|
def password_requirements_apply_to_bundles
|
|
349
354
|
@attributes[:password_requirements_apply_to_bundles]
|
|
@@ -577,6 +582,7 @@ module Files
|
|
|
577
582
|
# password_require_mixed - boolean - Require lower and upper case letters in passwords?
|
|
578
583
|
# password_require_special - boolean - Require special characters in password?
|
|
579
584
|
# password_require_number - boolean - Require a number in passwords?
|
|
585
|
+
# password_require_unbreached - boolean - Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
|
|
580
586
|
# sftp_user_root_enabled - boolean - Use user FTP roots also for SFTP?
|
|
581
587
|
# disable_password_reset - boolean - Is password reset disabled?
|
|
582
588
|
# 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.
|
|
4
|
+
version: 1.0.31
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-05-
|
|
11
|
+
date: 2020-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|