-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve imagick, bcmath and gmp extension warnings #31470
Conversation
d5010ae
to
7aab8d8
Compare
Not 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. |
I'm really not ok with that. Yet again a random hidden config just to tell the admin everything is fine? |
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 |
Sounds good to me. Any pointers how and where to implement this? |
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 |
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
7dca146
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, given the tests will be fixed 👍.
Tests are fixed :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
/backport to stable23 Probably? 🙂 |
Not sure. @skjnldsv? |
Fix part of #13099
Fix #22849
Signed-off-by: szaimen szaimen@e.mail.de