From 1c496a5a356249dc5bd7c1bbb64ae262b2f8fdab Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 3 Nov 2020 00:00:05 +0100 Subject: Add a background job that checks for potential user imported SSL certificates and shows a warning in the admin settings Signed-off-by: Morris Jobke --- core/js/setupchecks.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'core/js') diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index cd933d5f603..204401064f9 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -488,6 +488,7 @@ OC.SetupChecks.addGenericSetupCheck(data, 'OCA\\Settings\\SetupChecks\\PhpDefaultCharset', messages) OC.SetupChecks.addGenericSetupCheck(data, 'OCA\\Settings\\SetupChecks\\PhpOutputBuffering', messages) OC.SetupChecks.addGenericSetupCheck(data, 'OCA\\Settings\\SetupChecks\\LegacySSEKeyFormat', messages) + OC.SetupChecks.addGenericSetupCheck(data, 'OCA\\Settings\\SetupChecks\\CheckUserCertificates', messages) } else { messages.push({ @@ -520,6 +521,15 @@ if (setupCheck.linkToDocumentation) { message += ' ' + t('core', 'For more details see the documentation.', {docLink: setupCheck.linkToDocumentation}); } + if (setupCheck.elements) { + message += '
' + } if (!setupCheck.pass) { messages.push({ -- cgit v1.2.3