From 7dca146b5830b8232b1684c8bb59948898b9b618 Mon Sep 17 00:00:00 2001 From: szaimen Date: Sat, 5 Mar 2022 20:26:16 +0100 Subject: allow to disable the imagick warning Signed-off-by: szaimen Co-Authored-By: MichaIng --- core/js/setupchecks.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'core') 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( -- cgit v1.2.3