[xwiki/xwiki-platform] d17097: XWIKI-25157: Limit Prototype.js usage
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: d1709713e53edc1ed9dde6058d00ccb3251cadb8 https://github.com/xwiki/xwiki-platform/commit/d1709713e53edc1ed9dde6058d00c... Author: Marius Dumitru Florea <[email protected]> Date: 2026-10-02 (Fri, 02 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/editors/simpletoolbar.js M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/widgets/modalPopup.js M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/link/link-protection.js M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/widgets/confirmationBox.js M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/widgets/locationPicker.js M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/widgets/notification.js Log Message: ----------- XWIKI-25157: Limit Prototype.js usage * Rewrite XWiki.widgets.Notification, ModalPopup and ConfirmationBox as plain ES classes, keeping their API. ModalPopup and ConfirmationBox can still be extended with Prototype.js' Class.create() * Use String#trim() instead of Prototype.js' String#strip() in the location picker * Initialize the simple toolbar and the link protection on jQuery's DOM ready instead of Prototype.js' xwiki:dom:loaded Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Commit: 7b67aafdf4153d238ca37d750ba44e21fbbce706 https://github.com/xwiki/xwiki-platform/commit/7b67aafdf4153d238ca37d750ba44... Author: Marius Dumitru Florea <[email protected]> Date: 2026-10-02 (Fri, 02 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/compatibility.js M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/editors/autosave.js M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/widgets/fullScreen.js M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/widgets/upload.js Log Message: ----------- XWIKI-25157: Limit Prototype.js usage * Rewrite XWiki.widgets.FullScreen as a plain ES class, defined in a RequireJS module, using jQuery only for the custom events * Stop using Prototype.js in the HTML5 file uploader (xwiki-upload); the custom events are triggered and handled with jQuery * Rewrite XWiki.editors.AutoSave as a plain ES class and initialize it on DOMContentLoaded * Remove the XWiki.editors.FullScreenEditing alias, deprecated since 2.6RC2 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Commit: 49abfb0b50248d6ba9cc4ff7b2d6d245244002f6 https://github.com/xwiki/xwiki-platform/commit/49abfb0b50248d6ba9cc4ff7b2d6d... Author: Marius Dumitru Florea <[email protected]> Date: 2026-10-02 (Fri, 02 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/xwiki.js Log Message: ----------- XWIKI-24732: The fact that the page titles can be changed in edit mode is not so visible anymore * Stop the shortcut listener when it is created while the focus is already in an editable element (e.g. the autofocused title field), since the focus event was missed and view-mode shortcuts fired while typing. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Compare: https://github.com/xwiki/xwiki-platform/compare/248f4500612c...49abfb0b5024 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications