Skip to content

Commit 122b153

Browse files
committed
5.2.0
1 parent 57eac53 commit 122b153

File tree

7 files changed

+9
-3
lines changed

7 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release Notes for Sherlock
22

3+
## 5.2.0 - 2025-07-21
4+
5+
- Added basic auth username and password settings ([#48](https://github.com/putyourlightson/craft-sherlock/issues/48)).
6+
- Added non-CSP, browser-supported directives ([#47](https://github.com/putyourlightson/craft-sherlock/issues/47)).
7+
38
## 5.1.2 - 2025-04-11
49

510
- Improved the processing of comma-separated notification email addresses ([#46](https://github.com/putyourlightson/craft-sherlock/issues/46)).

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "putyourlightson/craft-sherlock",
33
"description": "Security scanner and monitor to keep your site and CMS secure.",
4-
"version": "5.1.2",
4+
"version": "5.2.0",
55
"type": "craft-plugin",
66
"homepage": "https://putyourlightson.com/plugins/sherlock",
77
"license": "proprietary",

src/templates/_settings.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@
287287
{{ forms.lightswitchField({
288288
label: 'Basic Auth'|t('sherlock'),
289289
name: (isLite ? '' : 'basicAuthEnabled'),
290-
instructions: 'Whether to enable basic authentication when accessing the site.'|t('sherlock'),
290+
instructions: 'Whether to enable [basic HTTP authentication](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Authentication#basic_authentication_scheme) when accessing the site.'|t('sherlock'),
291+
on: (isLite ? false : settings.basicAuthEnabled),
291292
suggestEnvVars: true,
292293
suggestions: craft.cp.getEnvSuggestions(),
293294
warning: (config.basicAuthEnabled is defined ? configWarning('basicAuthEnabled')),
File renamed without changes.
File renamed without changes.

tests/TESTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This document outlines the test specification for the Sherlock plugin.
66

77
## Feature Tests
88

9-
### [s](pest/Feature/TestsTest.php)
9+
### [s](Feature/TestsTest.php)
1010

1111
![Pass](https://raw.githubusercontent.com/putyourlightson/craft-generate-test-spec/main/icons/pass.svg) Passes `https` control panel test.
1212
![Pass](https://raw.githubusercontent.com/putyourlightson/craft-generate-test-spec/main/icons/pass.svg) Passes `https` front-end test.

0 commit comments

Comments
 (0)