diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-03-08 08:53:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 08:53:12 +0100 |
commit | 23e8ae15aaea30359a927492155de13c97b311ce (patch) | |
tree | c4ec96e1edf2e269d14e1152e695119d6f7d5e05 /core/js/setupchecks.js | |
parent | 697e1d602562fb8bad5598b18817e669f08f2b90 (diff) | |
parent | 3c8f8bc70aef23d04b1fc46a1a38ef696b32f736 (diff) | |
download | nextcloud-server-23e8ae15aaea30359a927492155de13c97b311ce.tar.gz nextcloud-server-23e8ae15aaea30359a927492155de13c97b311ce.zip |
Merge pull request #31470 from nextcloud/enh/13099/allow-disable-imagick-warning
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r-- | core/js/setupchecks.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 95d8c6cbdc2..3b6c2ef71c1 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -423,6 +423,24 @@ type: OC.SetupChecks.MESSAGE_TYPE_INFO }) } + if (!data.isImagickEnabled) { + messages.push({ + msg: t( + 'core', + 'The PHP module "imagick" is not enabled although the theming app is. For favicon generation to work correctly, you need to install and enable this module.' + ), + type: OC.SetupChecks.MESSAGE_TYPE_INFO + }) + } + if (!data.areWebauthnExtensionsEnabled) { + messages.push({ + msg: t( + 'core', + 'The PHP modules "gmp" and/or "bcmath" are not enabled. If you use WebAuthn passwordless authentication, these modules are required.' + ), + type: OC.SetupChecks.MESSAGE_TYPE_INFO + }) + } if (data.imageMagickLacksSVGSupport) { messages.push({ msg: t( |