Uh oh!
There was an error while loading. Please reload this page.
improve imagick, bcmath and gmp extension warnings - #31470
Conversation
d5010ae to
7aab8d8CompareNot a real solution, but most appliance and NC installer developers will like it, including myself, muting one of the warnings we do not want to address intentionally for our users. |
skjnldsv
commented
Mar 6, 2022
I'm really not ok with that. Yet again a random hidden config just to tell the admin everything is fine? |
MichaIng
commented
Mar 6, 2022
As much as I would like to mute this for our users, I have to agree with @skjnldsv, but the way the warning shows up currently does not serve the stated intention:
Then we should rephrase the text from a generic "highly recommended for performance and compatibility" to one that DOES explain what it is really used for. AFAIK it speeds up thumbnail, avatar and possibly other UI image resizing, compared to GD. As this is a one time step until new images are added, IMHO it is not worth it to bloat the PHP instance, considering the open security questions discussed in #13099. Similar with |
szaimen
commented
Mar 6, 2022
Sounds good to me. Any pointers how and where to implement this? |
MichaIng
commented
Mar 6, 2022
At best a dedicated function like There are a few tests which would need to be adjusted as well, see the changes for OPcache setup checks: https://github.com/nextcloud/server/pull/27403/files |
szaimen
commented
Mar 7, 2022
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MichaIng
commented
Mar 7, 2022
LGTM, aside of some comments I left for message consistency and to make clearer that the two WebAuthn modules are required only when WebAuthn is actually used. IMHO having dedicated messages or each of these optional modules is much better than the previous generic message 👍. That way admins have a better basis to decide whether to ignore the warning or install the modules. |
Signed-off-by: szaimen <szaimen@e.mail.de> Co-Authored-By: MichaIng <micha@dietpi.com>
d8fbd7c to
7dca146Compare
MichaIng
left a comment
There was a problem hiding this comment.
Approving, given the tests will be fixed 👍.
szaimen
commented
Mar 7, 2022
Tests are fixed :) |
MichaIng
commented
Mar 20, 2022
/backport to stable23 Probably? 🙂 |
Not sure. @skjnldsv? |
Fix part of #13099
Fix#22849
Signed-off-by: szaimen szaimen@e.mail.de