diff options
author | Lukas Winkler <git@lw1.at> | 2021-03-22 01:23:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 01:23:52 +0300 |
commit | d17350975e0b9457ee0edec92c02852962ec8291 (patch) | |
tree | 0a66548ac20542feddb76aff27194b487fdcdfa0 | |
parent | f100736dde9b34d07436a606ac57de6ab7e9feb7 (diff) |
check for openssl extension (#17364)
* check for openssl extension
* update expected screenshots
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
4 files changed, 7 insertions, 4 deletions
diff --git a/plugins/Diagnostics/Diagnostic/RecommendedExtensionsCheck.php b/plugins/Diagnostics/Diagnostic/RecommendedExtensionsCheck.php index fdc559ca40..b863f2388f 100644 --- a/plugins/Diagnostics/Diagnostic/RecommendedExtensionsCheck.php +++ b/plugins/Diagnostics/Diagnostic/RecommendedExtensionsCheck.php @@ -60,6 +60,7 @@ class RecommendedExtensionsCheck implements Diagnostic 'libxml', 'dom', 'SimpleXML', + 'openssl' ); } @@ -70,6 +71,7 @@ class RecommendedExtensionsCheck implements Diagnostic 'libxml' => 'Installation_SystemCheckWarnLibXmlHelp', 'dom' => 'Installation_SystemCheckWarnDomHelp', 'SimpleXML' => 'Installation_SystemCheckWarnSimpleXMLHelp', + 'openssl' => 'Installation_SystemCheckWarnOpensslHelp' ); return $this->translator->translate($messages[$missingExtension]); diff --git a/plugins/Diagnostics/tests/UI/expected-screenshots/Diagnostics_page.png b/plugins/Diagnostics/tests/UI/expected-screenshots/Diagnostics_page.png index 04d4a6bf7a..ef70b617a8 100644 --- a/plugins/Diagnostics/tests/UI/expected-screenshots/Diagnostics_page.png +++ b/plugins/Diagnostics/tests/UI/expected-screenshots/Diagnostics_page.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:372272c077b0e12ee89e9a27f82cedb0a195e7dbb7254892f7a3bf909e64f92d -size 425284 +oid sha256:537abc41c9f56eb9bf976d5105834a4d4eaa6fc4b9718cdd3a8be71d50ab0c93 +size 426942 diff --git a/plugins/Installation/lang/en.json b/plugins/Installation/lang/en.json index f6facb0fbc..802e40dd28 100644 --- a/plugins/Installation/lang/en.json +++ b/plugins/Installation/lang/en.json @@ -129,6 +129,7 @@ "SystemCheckWarning": "Matomo will work normally but some features may be missing", "SystemCheckWarnJsonHelp": "You should enable \"json\" extension (e.g., install the \"php-json\" package).", "SystemCheckWarnLibXmlHelp": "You should enable the \"libxml\" extension (e.g., \"install the php-libxml\" package) as it is required by other core PHP extensions.", + "SystemCheckWarnOpensslHelp": "You should enable the \"openssl\" extension to allow secure updates.", "SystemCheckWarnSimpleXMLHelp": "You should enable the \"SimpleXML\" extension (e.g., install the \"php-simplexml\" and\/or \"php-xml\" package).", "SystemCheckWinPdoAndMysqliHelp": "On a Windows server you can add the following lines to your php.ini: %s", "SystemCheckWriteDirs": "Directories with write access", diff --git a/plugins/Installation/tests/UI/expected-screenshots/Installation_system_check.png b/plugins/Installation/tests/UI/expected-screenshots/Installation_system_check.png index 0d712d4396..6d81f1f34d 100644 --- a/plugins/Installation/tests/UI/expected-screenshots/Installation_system_check.png +++ b/plugins/Installation/tests/UI/expected-screenshots/Installation_system_check.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:03c616109093f509ac1d8cf835617126974debb1022342f3cecf0cccc95e9ac5 -size 268974 +oid sha256:212df273f5a832f6a7aa52b5ec9f544ef385f94492e3a1b224de947e8df93f1f +size 270335 |