From c06f1dce00a8ea4a8882e0f09a62d60d36172df1 Mon Sep 17 00:00:00 2001 From: Tim Jacomb Date: Wed, 8 Jan 2025 14:21:44 +0000 Subject: [PATCH 1/6] Remove YUI --- .prettierignore | 1 - core/src/main/java/hudson/Functions.java | 11 +- .../RemoveYuiUserExperimentalFlag.java | 57 - .../lib/form/repeatable/repeatable.js | 2 +- .../main/resources/lib/layout/layout.jelly | 30 +- .../resources/lib/layout/side-panel.jelly | 7 +- core/src/main/resources/lib/layout/yui.jelly | 13 +- eslint.config.cjs | 1 - src/main/scss/base/_index.scss | 1 - src/main/scss/base/_style.scss | 17 - src/main/scss/base/_yui-compatibility.scss | 247 - .../scss/components/_buttons-deprecated.scss | 206 - .../java/jenkins/bugs/Jenkins14749Test.java | 17 +- .../scripts/yui/animation/animation-debug.js | 1429 --- .../scripts/yui/animation/animation-min.js | 23 - .../yui/assets/skins/sam/ajax-loader.gif | Bin 3208 -> 0 bytes .../scripts/yui/assets/skins/sam/asc.gif | Bin 177 -> 0 bytes .../yui/assets/skins/sam/autocomplete.css | 7 - .../scripts/yui/assets/skins/sam/back-h.png | Bin 151 -> 0 bytes .../scripts/yui/assets/skins/sam/back-v.png | Bin 148 -> 0 bytes .../scripts/yui/assets/skins/sam/bar-h.png | Bin 167 -> 0 bytes .../scripts/yui/assets/skins/sam/bar-v.png | Bin 160 -> 0 bytes .../scripts/yui/assets/skins/sam/bg-h.gif | Bin 212 -> 0 bytes .../scripts/yui/assets/skins/sam/bg-v.gif | Bin 481 -> 0 bytes .../yui/assets/skins/sam/blankimage.png | Bin 2196 -> 0 bytes .../scripts/yui/assets/skins/sam/button.css | 7 - .../scripts/yui/assets/skins/sam/calendar.css | 8 - .../scripts/yui/assets/skins/sam/carousel.css | 7 - .../scripts/yui/assets/skins/sam/check0.gif | Bin 608 -> 0 bytes .../scripts/yui/assets/skins/sam/check1.gif | Bin 622 -> 0 bytes .../scripts/yui/assets/skins/sam/check2.gif | Bin 609 -> 0 bytes .../yui/assets/skins/sam/colorpicker.css | 7 - .../yui/assets/skins/sam/container.css | 7 - .../yui/assets/skins/sam/datatable.css | 8 - .../scripts/yui/assets/skins/sam/desc.gif | Bin 177 -> 0 bytes .../yui/assets/skins/sam/dt-arrow-dn.png | Bin 114 -> 0 bytes .../yui/assets/skins/sam/dt-arrow-up.png | Bin 112 -> 0 bytes .../yui/assets/skins/sam/editor-knob.gif | Bin 138 -> 0 bytes .../assets/skins/sam/editor-sprite-active.gif | Bin 5614 -> 0 bytes .../yui/assets/skins/sam/editor-sprite.gif | Bin 5690 -> 0 bytes .../scripts/yui/assets/skins/sam/editor.css | 10 - .../assets/skins/sam/header_background.png | Bin 96 -> 0 bytes .../scripts/yui/assets/skins/sam/hue_bg.png | Bin 407 -> 0 bytes .../yui/assets/skins/sam/imagecropper.css | 7 - .../scripts/yui/assets/skins/sam/layout.css | 7 - .../yui/assets/skins/sam/layout_sprite.png | Bin 792 -> 0 bytes .../scripts/yui/assets/skins/sam/loading.gif | Bin 2673 -> 0 bytes .../scripts/yui/assets/skins/sam/logger.css | 7 - .../skins/sam/menu-button-arrow-disabled.png | Bin 107 -> 0 bytes .../assets/skins/sam/menu-button-arrow.png | Bin 91 -> 0 bytes .../scripts/yui/assets/skins/sam/menu.css | 7 - .../sam/menubaritem_submenuindicator.png | Bin 2742 -> 0 bytes .../menubaritem_submenuindicator_disabled.png | Bin 2758 -> 0 bytes .../assets/skins/sam/menuitem_checkbox.png | Bin 2752 -> 0 bytes .../skins/sam/menuitem_checkbox_disabled.png | Bin 2768 -> 0 bytes .../skins/sam/menuitem_submenuindicator.png | Bin 2746 -> 0 bytes .../menuitem_submenuindicator_disabled.png | Bin 2759 -> 0 bytes .../yui/assets/skins/sam/paginator.css | 7 - .../yui/assets/skins/sam/picker_mask.png | Bin 9960 -> 0 bytes .../yui/assets/skins/sam/profilerviewer.css | 7 - .../yui/assets/skins/sam/progressbar.css | 7 - .../scripts/yui/assets/skins/sam/resize.css | 7 - .../yui/assets/skins/sam/simpleeditor.css | 10 - .../scripts/yui/assets/skins/sam/skin.css | 35 - .../scripts/yui/assets/skins/sam/slider.css | 7 - .../skins/sam/split-button-arrow-active.png | Bin 191 -> 0 bytes .../skins/sam/split-button-arrow-disabled.png | Bin 122 -> 0 bytes .../skins/sam/split-button-arrow-focus.png | Bin 122 -> 0 bytes .../skins/sam/split-button-arrow-hover.png | Bin 122 -> 0 bytes .../assets/skins/sam/split-button-arrow.png | Bin 122 -> 0 bytes .../scripts/yui/assets/skins/sam/sprite.png | Bin 3128 -> 0 bytes .../scripts/yui/assets/skins/sam/sprite.psd | Bin 118162 -> 0 bytes .../scripts/yui/assets/skins/sam/tabview.css | 8 - .../yui/assets/skins/sam/treeview-loading.gif | Bin 2673 -> 0 bytes .../yui/assets/skins/sam/treeview-sprite.gif | Bin 4326 -> 0 bytes .../scripts/yui/assets/skins/sam/treeview.css | 7 - .../scripts/yui/assets/skins/sam/wait.gif | Bin 1100 -> 0 bytes .../scripts/yui/assets/skins/sam/yuitest.css | 7 - .../autocomplete/assets/autocomplete-core.css | 7 - .../assets/skins/sam/autocomplete-skin.css | 57 - .../assets/skins/sam/autocomplete.css | 7 - .../yui/autocomplete/autocomplete-debug.js | 3067 ----- .../yui/autocomplete/autocomplete-min.js | 12 - .../main/webapp/scripts/yui/base/base-min.css | 7 - war/src/main/webapp/scripts/yui/base/base.css | 137 - .../scripts/yui/button/assets/button-core.css | 44 - .../button/assets/skins/sam/button-skin.css | 219 - .../yui/button/assets/skins/sam/button.css | 7 - .../skins/sam/menu-button-arrow-disabled.png | Bin 107 -> 0 bytes .../assets/skins/sam/menu-button-arrow.png | Bin 91 -> 0 bytes .../skins/sam/split-button-arrow-active.png | Bin 191 -> 0 bytes .../skins/sam/split-button-arrow-disabled.png | Bin 122 -> 0 bytes .../skins/sam/split-button-arrow-focus.png | Bin 122 -> 0 bytes .../skins/sam/split-button-arrow-hover.png | Bin 122 -> 0 bytes .../assets/skins/sam/split-button-arrow.png | Bin 122 -> 0 bytes .../webapp/scripts/yui/button/button-debug.js | 4775 -------- .../webapp/scripts/yui/button/button-min.js | 12 - .../yui/connection/connection-debug.js | 1597 --- .../scripts/yui/connection/connection-min.js | 9 - .../yui/connection/connection_core-debug.js | 994 -- .../yui/connection/connection_core-min.js | 8 - .../scripts/yui/container/assets/alrt16_1.gif | Bin 971 -> 0 bytes .../scripts/yui/container/assets/blck16_1.gif | Bin 591 -> 0 bytes .../yui/container/assets/close12_1.gif | Bin 85 -> 0 bytes .../yui/container/assets/container-core.css | 176 - .../yui/container/assets/container.css | 309 - .../scripts/yui/container/assets/hlp16_1.gif | Bin 928 -> 0 bytes .../scripts/yui/container/assets/info16_1.gif | Bin 601 -> 0 bytes .../assets/skins/sam/container-skin.css | 242 - .../container/assets/skins/sam/container.css | 7 - .../scripts/yui/container/assets/tip16_1.gif | Bin 552 -> 0 bytes .../scripts/yui/container/assets/warn16_1.gif | Bin 580 -> 0 bytes .../scripts/yui/container/container-debug.js | 9302 ---------------- .../scripts/yui/container/container-min.js | 19 - .../yui/container/container_core-debug.js | 5210 --------- .../yui/container/container_core-min.js | 14 - .../webapp/scripts/yui/cookie/cookie-debug.js | 482 - .../webapp/scripts/yui/cookie/cookie-min.js | 7 - war/src/main/webapp/scripts/yui/cutdown.sh | 25 - .../yui/datasource/datasource-debug.js | 3204 ------ .../scripts/yui/datasource/datasource-min.js | 12 - .../main/webapp/scripts/yui/dom/dom-debug.js | 1885 ---- .../main/webapp/scripts/yui/dom/dom-min.js | 9 - .../scripts/yui/dragdrop/dragdrop-debug.js | 3716 ------- .../scripts/yui/dragdrop/dragdrop-min.js | 10 - .../scripts/yui/editor/assets/editor-core.css | 602 - .../yui/editor/assets/simpleeditor-core.css | 602 - .../editor/assets/skins/sam/blankimage.png | Bin 2196 -> 0 bytes .../editor/assets/skins/sam/editor-knob.gif | Bin 138 -> 0 bytes .../editor/assets/skins/sam/editor-skin.css | 711 -- .../assets/skins/sam/editor-sprite-active.gif | Bin 5614 -> 0 bytes .../editor/assets/skins/sam/editor-sprite.gif | Bin 5690 -> 0 bytes .../yui/editor/assets/skins/sam/editor.css | 10 - .../assets/skins/sam/simpleeditor-skin.css | 711 -- .../editor/assets/skins/sam/simpleeditor.css | 10 - .../webapp/scripts/yui/editor/editor-debug.js | 9562 ---------------- .../webapp/scripts/yui/editor/editor-min.js | 30 - .../scripts/yui/editor/simpleeditor-debug.js | 7497 ------------- .../scripts/yui/editor/simpleeditor-min.js | 24 - .../scripts/yui/element/element-debug.js | 1115 -- .../webapp/scripts/yui/element/element-min.js | 8 - .../webapp/scripts/yui/event/event-debug.js | 2561 ----- .../webapp/scripts/yui/event/event-min.js | 11 - .../webapp/scripts/yui/fonts/fonts-min.css | 7 - .../main/webapp/scripts/yui/fonts/fonts.css | 55 - .../scripts/yui/logger/assets/logger-core.css | 7 - .../scripts/yui/logger/assets/logger.css | 57 - .../logger/assets/skins/sam/logger-skin.css | 55 - .../yui/logger/assets/skins/sam/logger.css | 7 - .../webapp/scripts/yui/logger/logger-debug.js | 2109 ---- .../webapp/scripts/yui/logger/logger-min.js | 9 - .../scripts/yui/menu/assets/menu-core.css | 242 - .../webapp/scripts/yui/menu/assets/menu.css | 503 - .../yui/menu/assets/menu_down_arrow.png | Bin 2755 -> 0 bytes .../menu/assets/menu_down_arrow_disabled.png | Bin 2753 -> 0 bytes .../scripts/yui/menu/assets/menu_up_arrow.png | Bin 102 -> 0 bytes .../menu/assets/menu_up_arrow_disabled.png | Bin 102 -> 0 bytes .../assets/menubaritem_submenuindicator.png | Bin 2757 -> 0 bytes .../menubaritem_submenuindicator_disabled.png | Bin 2755 -> 0 bytes .../menubaritem_submenuindicator_selected.png | Bin 2744 -> 0 bytes .../yui/menu/assets/menuitem_checkbox.png | Bin 129 -> 0 bytes .../assets/menuitem_checkbox_disabled.png | Bin 127 -> 0 bytes .../assets/menuitem_checkbox_selected.png | Bin 129 -> 0 bytes .../menu/assets/menuitem_submenuindicator.png | Bin 100 -> 0 bytes .../menuitem_submenuindicator_disabled.png | Bin 98 -> 0 bytes .../menuitem_submenuindicator_selected.png | Bin 96 -> 0 bytes .../yui/menu/assets/skins/sam/menu-skin.css | 339 - .../yui/menu/assets/skins/sam/menu.css | 7 - .../sam/menubaritem_submenuindicator.png | Bin 2742 -> 0 bytes .../menubaritem_submenuindicator_disabled.png | Bin 2758 -> 0 bytes .../assets/skins/sam/menuitem_checkbox.png | Bin 2752 -> 0 bytes .../skins/sam/menuitem_checkbox_disabled.png | Bin 2768 -> 0 bytes .../skins/sam/menuitem_submenuindicator.png | Bin 2746 -> 0 bytes .../menuitem_submenuindicator_disabled.png | Bin 2759 -> 0 bytes .../webapp/scripts/yui/menu/menu-debug.js | 9815 ----------------- .../main/webapp/scripts/yui/menu/menu-min.js | 16 - .../scripts/yui/resize/assets/resize-core.css | 173 - .../resize/assets/skins/sam/layout_sprite.png | Bin 792 -> 0 bytes .../resize/assets/skins/sam/resize-skin.css | 142 - .../yui/resize/assets/skins/sam/resize.css | 7 - .../webapp/scripts/yui/resize/resize-debug.js | 1755 --- .../webapp/scripts/yui/resize/resize-min.js | 10 - .../scripts/yui/storage/storage-debug.js | 1245 --- .../webapp/scripts/yui/storage/storage-min.js | 8 - .../yui/tabview/assets/border_tabs.css | 54 - .../scripts/yui/tabview/assets/loading.gif | Bin 729 -> 0 bytes .../scripts/yui/tabview/assets/skin-sam.css | 77 - .../tabview/assets/skins/sam/tabview-skin.css | 185 - .../yui/tabview/assets/skins/sam/tabview.css | 8 - .../yui/tabview/assets/tabview-core.css | 133 - .../scripts/yui/tabview/assets/tabview.css | 77 - .../scripts/yui/tabview/tabview-debug.js | 1012 -- .../webapp/scripts/yui/tabview/tabview-min.js | 8 - .../yui/treeview/assets/skins/sam/check0.gif | Bin 608 -> 0 bytes .../yui/treeview/assets/skins/sam/check1.gif | Bin 622 -> 0 bytes .../yui/treeview/assets/skins/sam/check2.gif | Bin 609 -> 0 bytes .../yui/treeview/assets/skins/sam/loading.gif | Bin 2673 -> 0 bytes .../assets/skins/sam/treeview-loading.gif | Bin 2673 -> 0 bytes .../assets/skins/sam/treeview-skin.css | 250 - .../assets/skins/sam/treeview-sprite.gif | Bin 4326 -> 0 bytes .../treeview/assets/skins/sam/treeview.css | 7 - .../yui/treeview/assets/treeview-core.css | 6 - .../scripts/yui/treeview/treeview-debug.js | 4112 ------- .../scripts/yui/treeview/treeview-min.js | 12 - .../webapp/scripts/yui/yahoo/yahoo-debug.js | 1229 --- .../webapp/scripts/yui/yahoo/yahoo-min.js | 8 - 206 files changed, 12 insertions(+), 85029 deletions(-) delete mode 100644 core/src/main/java/jenkins/model/experimentalflags/RemoveYuiUserExperimentalFlag.java delete mode 100644 src/main/scss/base/_yui-compatibility.scss delete mode 100644 war/src/main/webapp/scripts/yui/animation/animation-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/animation/animation-min.js delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/ajax-loader.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/asc.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/autocomplete.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/back-h.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/back-v.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/bar-h.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/bar-v.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/bg-h.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/bg-v.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/blankimage.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/button.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/calendar.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/carousel.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/check0.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/check1.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/check2.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/colorpicker.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/container.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/datatable.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/desc.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/dt-arrow-dn.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/dt-arrow-up.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/editor-knob.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/editor-sprite-active.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/editor-sprite.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/editor.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/header_background.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/hue_bg.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/imagecropper.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/layout.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/layout_sprite.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/loading.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/logger.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/menu-button-arrow-disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/menu-button-arrow.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/menu.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/menubaritem_submenuindicator.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/menubaritem_submenuindicator_disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/menuitem_checkbox.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/menuitem_checkbox_disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/menuitem_submenuindicator.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/menuitem_submenuindicator_disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/paginator.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/picker_mask.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/profilerviewer.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/progressbar.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/resize.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/simpleeditor.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/skin.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/slider.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/split-button-arrow-active.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/split-button-arrow-disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/split-button-arrow-focus.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/split-button-arrow-hover.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/split-button-arrow.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/sprite.png delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/sprite.psd delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/tabview.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/treeview-loading.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/treeview-sprite.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/treeview.css delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/wait.gif delete mode 100644 war/src/main/webapp/scripts/yui/assets/skins/sam/yuitest.css delete mode 100644 war/src/main/webapp/scripts/yui/autocomplete/assets/autocomplete-core.css delete mode 100644 war/src/main/webapp/scripts/yui/autocomplete/assets/skins/sam/autocomplete-skin.css delete mode 100644 war/src/main/webapp/scripts/yui/autocomplete/assets/skins/sam/autocomplete.css delete mode 100644 war/src/main/webapp/scripts/yui/autocomplete/autocomplete-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/autocomplete/autocomplete-min.js delete mode 100644 war/src/main/webapp/scripts/yui/base/base-min.css delete mode 100644 war/src/main/webapp/scripts/yui/base/base.css delete mode 100644 war/src/main/webapp/scripts/yui/button/assets/button-core.css delete mode 100644 war/src/main/webapp/scripts/yui/button/assets/skins/sam/button-skin.css delete mode 100644 war/src/main/webapp/scripts/yui/button/assets/skins/sam/button.css delete mode 100644 war/src/main/webapp/scripts/yui/button/assets/skins/sam/menu-button-arrow-disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/button/assets/skins/sam/menu-button-arrow.png delete mode 100644 war/src/main/webapp/scripts/yui/button/assets/skins/sam/split-button-arrow-active.png delete mode 100644 war/src/main/webapp/scripts/yui/button/assets/skins/sam/split-button-arrow-disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/button/assets/skins/sam/split-button-arrow-focus.png delete mode 100644 war/src/main/webapp/scripts/yui/button/assets/skins/sam/split-button-arrow-hover.png delete mode 100644 war/src/main/webapp/scripts/yui/button/assets/skins/sam/split-button-arrow.png delete mode 100755 war/src/main/webapp/scripts/yui/button/button-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/button/button-min.js delete mode 100644 war/src/main/webapp/scripts/yui/connection/connection-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/connection/connection-min.js delete mode 100644 war/src/main/webapp/scripts/yui/connection/connection_core-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/connection/connection_core-min.js delete mode 100644 war/src/main/webapp/scripts/yui/container/assets/alrt16_1.gif delete mode 100644 war/src/main/webapp/scripts/yui/container/assets/blck16_1.gif delete mode 100644 war/src/main/webapp/scripts/yui/container/assets/close12_1.gif delete mode 100644 war/src/main/webapp/scripts/yui/container/assets/container-core.css delete mode 100644 war/src/main/webapp/scripts/yui/container/assets/container.css delete mode 100644 war/src/main/webapp/scripts/yui/container/assets/hlp16_1.gif delete mode 100644 war/src/main/webapp/scripts/yui/container/assets/info16_1.gif delete mode 100644 war/src/main/webapp/scripts/yui/container/assets/skins/sam/container-skin.css delete mode 100644 war/src/main/webapp/scripts/yui/container/assets/skins/sam/container.css delete mode 100644 war/src/main/webapp/scripts/yui/container/assets/tip16_1.gif delete mode 100644 war/src/main/webapp/scripts/yui/container/assets/warn16_1.gif delete mode 100644 war/src/main/webapp/scripts/yui/container/container-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/container/container-min.js delete mode 100644 war/src/main/webapp/scripts/yui/container/container_core-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/container/container_core-min.js delete mode 100644 war/src/main/webapp/scripts/yui/cookie/cookie-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/cookie/cookie-min.js delete mode 100644 war/src/main/webapp/scripts/yui/cutdown.sh delete mode 100644 war/src/main/webapp/scripts/yui/datasource/datasource-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/datasource/datasource-min.js delete mode 100644 war/src/main/webapp/scripts/yui/dom/dom-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/dom/dom-min.js delete mode 100644 war/src/main/webapp/scripts/yui/dragdrop/dragdrop-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/dragdrop/dragdrop-min.js delete mode 100644 war/src/main/webapp/scripts/yui/editor/assets/editor-core.css delete mode 100644 war/src/main/webapp/scripts/yui/editor/assets/simpleeditor-core.css delete mode 100644 war/src/main/webapp/scripts/yui/editor/assets/skins/sam/blankimage.png delete mode 100644 war/src/main/webapp/scripts/yui/editor/assets/skins/sam/editor-knob.gif delete mode 100644 war/src/main/webapp/scripts/yui/editor/assets/skins/sam/editor-skin.css delete mode 100644 war/src/main/webapp/scripts/yui/editor/assets/skins/sam/editor-sprite-active.gif delete mode 100644 war/src/main/webapp/scripts/yui/editor/assets/skins/sam/editor-sprite.gif delete mode 100644 war/src/main/webapp/scripts/yui/editor/assets/skins/sam/editor.css delete mode 100644 war/src/main/webapp/scripts/yui/editor/assets/skins/sam/simpleeditor-skin.css delete mode 100644 war/src/main/webapp/scripts/yui/editor/assets/skins/sam/simpleeditor.css delete mode 100644 war/src/main/webapp/scripts/yui/editor/editor-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/editor/editor-min.js delete mode 100644 war/src/main/webapp/scripts/yui/editor/simpleeditor-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/editor/simpleeditor-min.js delete mode 100644 war/src/main/webapp/scripts/yui/element/element-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/element/element-min.js delete mode 100644 war/src/main/webapp/scripts/yui/event/event-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/event/event-min.js delete mode 100644 war/src/main/webapp/scripts/yui/fonts/fonts-min.css delete mode 100644 war/src/main/webapp/scripts/yui/fonts/fonts.css delete mode 100644 war/src/main/webapp/scripts/yui/logger/assets/logger-core.css delete mode 100644 war/src/main/webapp/scripts/yui/logger/assets/logger.css delete mode 100644 war/src/main/webapp/scripts/yui/logger/assets/skins/sam/logger-skin.css delete mode 100644 war/src/main/webapp/scripts/yui/logger/assets/skins/sam/logger.css delete mode 100644 war/src/main/webapp/scripts/yui/logger/logger-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/logger/logger-min.js delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menu-core.css delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menu.css delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menu_down_arrow.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menu_down_arrow_disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menu_up_arrow.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menu_up_arrow_disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menubaritem_submenuindicator.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menubaritem_submenuindicator_disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menubaritem_submenuindicator_selected.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menuitem_checkbox.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menuitem_checkbox_disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menuitem_checkbox_selected.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menuitem_submenuindicator.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menuitem_submenuindicator_disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/menuitem_submenuindicator_selected.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menu-skin.css delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menu.css delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menubaritem_submenuindicator.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menubaritem_submenuindicator_disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menuitem_checkbox.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menuitem_checkbox_disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menuitem_submenuindicator.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menuitem_submenuindicator_disabled.png delete mode 100644 war/src/main/webapp/scripts/yui/menu/menu-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/menu/menu-min.js delete mode 100644 war/src/main/webapp/scripts/yui/resize/assets/resize-core.css delete mode 100644 war/src/main/webapp/scripts/yui/resize/assets/skins/sam/layout_sprite.png delete mode 100644 war/src/main/webapp/scripts/yui/resize/assets/skins/sam/resize-skin.css delete mode 100644 war/src/main/webapp/scripts/yui/resize/assets/skins/sam/resize.css delete mode 100644 war/src/main/webapp/scripts/yui/resize/resize-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/resize/resize-min.js delete mode 100644 war/src/main/webapp/scripts/yui/storage/storage-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/storage/storage-min.js delete mode 100644 war/src/main/webapp/scripts/yui/tabview/assets/border_tabs.css delete mode 100644 war/src/main/webapp/scripts/yui/tabview/assets/loading.gif delete mode 100644 war/src/main/webapp/scripts/yui/tabview/assets/skin-sam.css delete mode 100644 war/src/main/webapp/scripts/yui/tabview/assets/skins/sam/tabview-skin.css delete mode 100644 war/src/main/webapp/scripts/yui/tabview/assets/skins/sam/tabview.css delete mode 100644 war/src/main/webapp/scripts/yui/tabview/assets/tabview-core.css delete mode 100644 war/src/main/webapp/scripts/yui/tabview/assets/tabview.css delete mode 100644 war/src/main/webapp/scripts/yui/tabview/tabview-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/tabview/tabview-min.js delete mode 100644 war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/check0.gif delete mode 100644 war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/check1.gif delete mode 100644 war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/check2.gif delete mode 100644 war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/loading.gif delete mode 100644 war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/treeview-loading.gif delete mode 100644 war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/treeview-skin.css delete mode 100644 war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/treeview-sprite.gif delete mode 100644 war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/treeview.css delete mode 100644 war/src/main/webapp/scripts/yui/treeview/assets/treeview-core.css delete mode 100644 war/src/main/webapp/scripts/yui/treeview/treeview-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/treeview/treeview-min.js delete mode 100644 war/src/main/webapp/scripts/yui/yahoo/yahoo-debug.js delete mode 100644 war/src/main/webapp/scripts/yui/yahoo/yahoo-min.js diff --git a/.prettierignore b/.prettierignore index 72610f04b419..7bdc346011d5 100644 --- a/.prettierignore +++ b/.prettierignore @@ -9,7 +9,6 @@ node/ # libraries / external deps / generated files src/main/js/plugin-setup-wizard/bootstrap-detached.js -war/src/main/webapp/scripts/yui war/src/main/webapp/jsbundles/ src/main/scss/_bootstrap.scss diff --git a/core/src/main/java/hudson/Functions.java b/core/src/main/java/hudson/Functions.java index 67801475233d..548f5902ca95 100644 --- a/core/src/main/java/hudson/Functions.java +++ b/core/src/main/java/hudson/Functions.java @@ -662,18 +662,13 @@ public static String validateIconSize(String iconSize) throws SecurityException } /** - * Gets the suffix to use for YUI JavaScript. + * @deprecated yui has been removed, do not call this */ + @Deprecated(forRemoval = true, since = "TODO") public static String getYuiSuffix() { - return DEBUG_YUI ? "debug" : "min"; + return "min"; } - /** - * Set to true if you need to use the debug version of YUI. - */ - @SuppressFBWarnings(value = "MS_SHOULD_BE_FINAL", justification = "for script console") - public static boolean DEBUG_YUI = SystemProperties.getBoolean("debug.YUI"); - /** * Creates a sub map by using the given range (both ends inclusive). */ diff --git a/core/src/main/java/jenkins/model/experimentalflags/RemoveYuiUserExperimentalFlag.java b/core/src/main/java/jenkins/model/experimentalflags/RemoveYuiUserExperimentalFlag.java deleted file mode 100644 index 418f9c4b5406..000000000000 --- a/core/src/main/java/jenkins/model/experimentalflags/RemoveYuiUserExperimentalFlag.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * The MIT License - * - * Copyright (c) 2024, Markus Winter - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -package jenkins.model.experimentalflags; - -import edu.umd.cs.findbugs.annotations.NonNull; -import edu.umd.cs.findbugs.annotations.Nullable; -import hudson.Extension; -import jenkins.util.SystemProperties; -import org.kohsuke.accmod.Restricted; -import org.kohsuke.accmod.restrictions.NoExternalUse; - -@Extension -@Restricted(NoExternalUse.class) -public class RemoveYuiUserExperimentalFlag extends BooleanUserExperimentalFlag { - public RemoveYuiUserExperimentalFlag() { - super("remove-yui.flag"); - } - - @Override - public String getDisplayName() { - return "Remove YUI"; - } - - @Nullable - @Override - public String getShortDescription() { - return "Remove YUI from all Jenkins UI pages. This will break anything that depends on YUI"; - } - - @NonNull - @Override - public Boolean getDefaultValue() { - return SystemProperties.getBoolean(RemoveYuiUserExperimentalFlag.class.getName() + ".defaultValue", true); - } -} diff --git a/core/src/main/resources/lib/form/repeatable/repeatable.js b/core/src/main/resources/lib/form/repeatable/repeatable.js index d985b92d0806..3f19dcfb7e7f 100644 --- a/core/src/main/resources/lib/form/repeatable/repeatable.js +++ b/core/src/main/resources/lib/form/repeatable/repeatable.js @@ -163,7 +163,7 @@ var repeatableSupport = { }; // do the ones that extract innerHTML so that they can get their original HTML before -// other behavior rules change them (like YUI buttons.) +// other behavior rules change them. Behaviour.specify("DIV.repeated-container", "repeatable", -100, function (e) { if (isInsideRemovable(e)) { return; diff --git a/core/src/main/resources/lib/layout/layout.jelly b/core/src/main/resources/lib/layout/layout.jelly index cbbfa6d9109e..d96e6ead76d2 100644 --- a/core/src/main/resources/lib/layout/layout.jelly +++ b/core/src/main/resources/lib/layout/layout.jelly @@ -128,37 +128,9 @@ THE SOFTWARE. - - - - - - - - - - - - - - - - - - - - - -