-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Bump jquery-ui from 1.10 to 1.12.1 #11718
Conversation
Wasn't the main idea to drop jquery-ui? Wasn't it only the LDAP wizard that used it? |
Aren't modals (file picker for example) also jq-ui? If it really is just the LDAP app then we could move the dependency out of server. |
🙈 |
Problem with this is, that we highly tweaked the file :/ |
Is this in any way reproducible? Do we have patches? I just don't want to ditch the idea of keeping these libraries up to date again. |
Not that I'm aware of. I could also be wrong here :/ Browsing the history of that folder it looks like I did an extraction of the changes back in 2014 🙈 |
Are you talking about https://github.com/nextcloud/server/blob/master/core/js/jquery-ui-fixes.js? Anyway, I quickly tested the server UI with this branch and I couldn't spot any obvious regressions. |
@ChristophWurst could you creata an issue with the places we still us jquery-ui? Then maybe we can work towards dropping it case by case? |
Easier said than done, but I'll try my best to build such a list 👍 |
Gave this a quick go and ran some These are jus the very obvious usages, but it gives an idea of how much jquery UI we still use: $.widget./core/js/jquery.ocdialog.js ./apps/files/js/jquery.fileupload.js ./core/vendor/core.js ./apps/user_ldap/vendor/ui-multiselect/src/jquery.multiselect.js $.datepicker./core/js/sharedialoglinkshareview.js ./core/js/sharedialogshareelistview.js $.ui../apps/files/js/jquery.fileupload.js ./core/js/jquery-ui-fixes.js ./apps/user_ldap/vendor/ui-multiselect/src/jquery.multiselect.js $.autocomplete./core/js/sharedialogview.js $.progressbar./apps/files/js/file-upload.js $.datepicker./core/js/sharedialoglinkshareview.js ./core/js/sharedialogshareelistview.js $.tooltip./apps/updatenotification/js/updatenotification.js ./apps/files_sharing/js/files_drop.js ./apps/files_sharing/js/sharedfilelist.js ./apps/files/js/file-upload.js ./apps/files/js/app.js ./apps/files/js/mainfileinfodetailview.js ./apps/workflowengine/js/requesttimeplugin.js ./apps/files/js/newfilemenu.js ./apps/files/js/files.js ./apps/workflowengine/js/requesturlplugin.js ./apps/workflowengine/js/filenameplugin.js ./apps/files/js/fileactions.js ./apps/comments/js/commentstabview.js ./apps/files/js/filelist.js ./apps/workflowengine/js/requestuseragentplugin.js ./apps/workflowengine/js/filemimetypeplugin.js ./apps/workflowengine/js/filesizeplugin.js ./apps/workflowengine/js/requestremoteaddressplugin.js ./apps/comments/js/filesplugin.js ./apps/updatenotification/js/updatenotification.js.map ./core/js/contactsmenu.js ./core/js/sharedialoglinkshareview.js ./core/js/sharedialogview.js ./core/js/share.js ./core/js/backgroundjobs.js ./core/js/sharedialogshareelistview.js ./core/js/js.js ./apps/files_versions/js/versionstabview.js ./apps/files_external/js/settings.js ./apps/federatedfilesharing/js/settings-personal.js ./apps/theming/js/settings-admin.js ./apps/user_ldap/js/wizard/view.js ./settings/js/certificates.js ./apps/updatenotification/src/components/root.vue ./settings/js/authtoken_view.js ./settings/js/admin.js ./core/js/systemtags/systemtagsinputfield.js ./core/vendor/strengthify/jquery.strengthify.js $.position./core/js/jquery.ocdialog.js ./apps/files/js/jquery.fileupload.js ./core/vendor/core.js ./apps/user_ldap/vendor/ui-multiselect/src/jquery.multiselect.js ./core/search/js/searchprovider.js ./core/vendor/core.js ./apps/user_ldap/vendor/ui-multiselect/src/jquery.multiselect.js ./apps/comments/js/vendor/Caret.js/dist/jquery.caret.min.js ./core/vendor/jquery/dist/jquery.min.js ./core/vendor/jquery/dist/jquery.js |
Okay ... didn't expected that. But also testing this will be very interesting :/ |
If you look at the jquery UI changelogs, there is very little that was removed. I think the APIs haven't changed much, so almost everything should just work 🤞 |
Rebase time |
Because I jinxed it? :D |
a808a79
to
159e5c4
Compare
CI failed because https://drone.nextcloud.com/nextcloud/server/11355/251 timed out |
Let's do this in 16. |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
159e5c4
to
ec93cf7
Compare
Wanna do this now? Better have this earlier than later, then we will notice any breakage more likely. |
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.
Fine with me 👍
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.
Let's do this. 👍
Thank you 🎆 |
Full jquery-ui 0.12 changelog: https://jqueryui.com/changelog/1.12.0/
Motivation for updating this: our ancient jQuery version and the numerous warnings from jquery-migrate which many originate from jquery-ui 0.10.