diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-11-06 17:48:42 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-11-07 12:25:04 +0100 |
commit | 00d3856b92aa533777907b990d76e98bb4d3c9dc (patch) | |
tree | c68aece9ead8ea62a205317c3d32454f4d5dc795 /core/js/setupchecks.js | |
parent | 0fd5ed98540860acf87ff709765f28619ed8d3b9 (diff) | |
download | nextcloud-server-00d3856b92aa533777907b990d76e98bb4d3c9dc.tar.gz nextcloud-server-00d3856b92aa533777907b990d76e98bb4d3c9dc.zip |
Revert "Migrate code integrity to SetupCheck API"
This reverts commit aa2d315d95d37b48752d0e92d0ce79913be1d4f1.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r-- | core/js/setupchecks.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 0f95eb8c4a5..f5ac8575365 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -246,6 +246,16 @@ type: OC.SetupChecks.MESSAGE_TYPE_WARNING }); } + if(!data.hasPassedCodeIntegrityCheck) { + messages.push({ + msg: t('core', 'Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the {linkstart1}documentation ↗{linkend}. ({linkstart2}List of invalid files…{linkend} / {linkstart3}Rescan…{linkend})') + .replace('{linkstart1}', '<a target="_blank" rel="noreferrer noopener" class="external" href="' + data.codeIntegrityCheckerDocumentation + '">') + .replace('{linkstart2}', '<a href="' + OC.generateUrl('/settings/integrity/failed') + '">') + .replace('{linkstart3}', '<a href="' + OC.generateUrl('/settings/integrity/rescan?requesttoken={requesttoken}', {'requesttoken': OC.requestToken}) + '">') + .replace(/{linkend}/g, '</a>'), + type: OC.SetupChecks.MESSAGE_TYPE_ERROR + }); + } if(data.OpcacheSetupRecommendations.length > 0) { var listOfOPcacheRecommendations = ""; data.OpcacheSetupRecommendations.forEach(function(element){ |