aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tabs: Use `CSS.escape` for sanitizing selectorsMichał Gołębiowski-Owczarek2024-10-273-12/+38
| | | | | | The previous private `_sanitizeSelector` API was not correctly escaping backslashes and is now removed. The native API should always be correct. Closes gh-2307
* Tests: Fix titles of `jquery-patch.js` testsMichał Gołębiowski-Owczarek2024-10-252-2/+2
| | | | | The pages were erroneously titled after "Form Reset Mixin". Closes gh-2308
* Build: Add a CodeQL non-mandatory checkMichał Gołębiowski-Owczarek2024-10-251-0/+58
| | | | | | This is backported from Core at: https://github.com/jquery/jquery/blob/19716254877870ecd649272cadd00a0d0ff8be01/.github/workflows/codeql-analysis.yml Closes gh-2306
* Build: Fix the ESLint config for demosMichał Gołębiowski-Owczarek2024-10-173-578/+586
| | | | | | | | The ESLint config for `demos` extends the one for the `ui` directory. However, the `ui` one used to not be a root one, making the `demos` one effectively not depend on the `jquery` preset. Fix that and fix lots of lint violations in `demos/search.js`. Closes gh-2303
* Build: Bump express from 4.19.2 to 4.20.0dependabot[bot]2024-10-151-1/+1
| | | | | | | | | | | | | | | | | Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.20.0. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0) Closes gh-2293 --- updated-dependencies: - dependency-name: express dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build: Bump body-parser from 1.20.2 to 1.20.3dependabot[bot]2024-10-151-1/+1
| | | | | | | | | | | | | | | | | Bumps [body-parser](https://github.com/expressjs/body-parser) from 1.20.2 to 1.20.3. - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3) Closes gh-2294 --- updated-dependencies: - dependency-name: body-parser dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build: Bump the github-actions group with 2 updatesdependabot[bot]2024-10-072-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-node](https://github.com/actions/setup-node). Updates `actions/checkout` from 4.1.7 to 4.2.0 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/692973e3d937129bcbf40652eb9f2f61becf3332...d632683dd7b4114ad314bca15554477dd762a938) Updates `actions/setup-node` from 4.0.3 to 4.0.4 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/1e60f620b9541d16bece96c5465dc8ee9832be0b...0a44ba7841725637a19e28fa30b79a866c81b0a6) Closes gh-2299 --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Demos: remove 404 scripts from removeClass demoTimmy Willison2024-10-031-2/+0
| | | Closes gh-2297
* Demos: Remove deprecated button APIsMichał Gołębiowski-Owczarek2024-09-303-15/+7
| | | | | | | | Remove usage of deprecated button options: * `icons`: https://jqueryui.com/upgrade-guide/1.12/#deprecated-icons-options-in-favor-of-icon-and-iconposition * `text`: https://jqueryui.com/upgrade-guide/1.12/#deprecated-text-option-in-favor-of-showlabel Fixes gh-2295 Closes gh-2296
* Effect: Remove demos & visual tests of the transfer effectMichał Gołębiowski-Owczarek2024-09-163-18/+0
| | | | | | | | | The transfer effect is deprecated and not present unless `$.uiBackCompat` is set to `true`. In previous UI versions, the default was including the backwards compat layer so these demos & tests worked; now they do not by default. Just remove them. Fixes gh-2278 Closes gh-2291
* Resizable: Fix content shrink on resizeDaniel García2024-09-093-17/+191
| | | | | | | Make resizable elements not shrink on resize when they have scrollbars and "box-sizing: content-box". Fixes: gh-2277 Closes gh-2281
* Dialog: Add option to put the dialog title in a header elementRalf Koller2024-09-094-1/+48
| | | | | | | | | Implement a new option: `uiDialogTitleHeadingLevel`, allowing to change the `span` wrapping the dialog title into a heading element (`h1`-`h6`). Value `0` represents the `span`, values 1-6 - a heading at the specified level. Fixes gh-2271 Closes gh-2275
* Tests: Properly check `$.uiBackCompat` in common widget testsMichał Gołębiowski-Owczarek2024-09-091-3/+14
| | | | | | | | | | | | | The "common widget" tests, checking if a widget doesn't overwrite some core widget APIs wasn't running as it was incorrectly checking for `$.uiBackCompat === false` instead of `$.uiBackCompat !== true` after the default changed in gh-2250. Fixing the check uncovered that the draggable & sortable modules do overwrite the `_trigger` method. Add an exception in the test for that; at this stage of the project we don't plan to change the implementation. Closes gh-2286 Ref gh-2250
* Release: Update download.jqueryui.com from 2.3.7 to 2.3.10Michał Gołębiowski-Owczarek2024-08-051-1/+1
|
* Build: Updating the main version to 1.14.1-pre.Michał Gołębiowski-Owczarek2024-08-051-1/+1
|
* Docs: Update AUTHORS.txtMichał Gołębiowski-Owczarek2024-08-051-0/+1
|
* Datepicker: Hide the UI on destroyPorter Clevidence2024-08-052-1/+11
| | | | | | | | | | | | When the datepicker UI is shown and then destroyed programmatically: ```js $( "#datepicker" ).datepicker( "destroy" ); ``` hide the datepicker UI without the need for an explicit user action. Previously, in 1.12 the UI would not disappear immediately but only after the first `mousedown`. In later 1.13 versions, the UI would not disappear at all. Fixes gh-2178 Closes gh-2268
* Build: Bump actions/setup-node from 4.0.2 to 4.0.3 in the github-actions groupdependabot[bot]2024-08-052-4/+4
| | | | | | | | | | | | | | | | | | | | Bumps the github-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node). Updates `actions/setup-node` from 4.0.2 to 4.0.3 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/60edb5dd545a775178f52524783378180af0d1f8...1e60f620b9541d16bece96c5465dc8ee9832be0b) Closes gh-2276 --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Tests: Update jQuery Migrate from 3.4.1 to 3.5.2, simplify Migrate setupMichał Gołębiowski-Owczarek2024-07-307-43/+56
| | | | | | | | Apart from updating jQuery Migrate, the setup is now changed so that exact Migrate versions are only references when fetching npm packages; other than that, they're represented as `jquery-migrate-1.x` & `jquery-migrate-3.x`. This will allow smaller changes when updating jQuery Migrate in the future. Closes gh-2273
* Demos: Make autocomplete demos work on jqueryui.comMichał Gołębiowski-Owczarek2024-07-301-1/+14
| | | | | | | | | | | | | | | | | The `jqueryui.com` demos build process deAMDifies HTML files, replacing required JS files with direct script tags. On the other hand, when running demos locally from the jQuery UI repository, RequireJS is used. This used to work fine until we got a new `search.js` file introduced in gh-2187. The deAMDifying process doesn't touch non-HTML files which made loading autocomplete demos crash on "require is not a function" To resolve the issues without a major rearchitecture of the build process, the `search.js` file now detects AMD and uses `require`, falling back to relying on the `jQuery` global in the other case. Closes gh-2274 Ref gh-2187 Ref jquery/jqueryui.com#216
* Build: Group dependabot PRs updating GitHub ActionsMichał Gołębiowski-Owczarek2024-07-081-0/+7
| | | | | | | | | | | | We have monthly automatic dependabot PRs for GitHub Actions. Unfortunately, as of now we get a separate PR for every dependency which is a bit spammy compared to regular commits updating source. Thankfully, there's now a way to tell dependabot to submit a single PR per a defined group. This change defines a single group to have a single dependabot PR for all action updates. Closes gh-2267 Ref jquery/jquery#5503
* Release: Update download.jqueryui.com from 2.3.6 to 2.3.7Michał Gołębiowski-Owczarek2024-07-051-1/+1
|
* Build: Bump actions/checkout from 4.1.6 to 4.1.7dependabot[bot]2024-07-052-4/+4
| | | | | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/a5ac7e51b41094c92402da3b24376905380afc29...692973e3d937129bcbf40652eb9f2f61becf3332) Closes gh-2266 --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Release: Update download.jqueryui.com from 2.3.5 to 2.3.6Michał Gołębiowski-Owczarek2024-06-151-1/+1
|
* Release: Update download.jqueryui.com from 2.3.4 to 2.3.5Michał Gołębiowski-Owczarek2024-06-151-1/+1
|
* Release: Fix the release scriptMichał Gołębiowski-Owczarek2024-06-141-2/+2
|
* Release: Update download.jqueryui.com from 2.2.14 to 2.3.4Michał Gołębiowski-Owczarek2024-06-141-1/+1
|
* Build: Update AUTHORS.txtMichał Gołębiowski-Owczarek2024-06-141-0/+1
|
* Dialog: Add aria-modal supportRalf Koller2024-06-142-1/+39
| | | | | | | | | | | | Reflect the `modal` dialog option into the `aria-modal` attribute - when `modal` is `true`, set `aria-modal` to `"true"`. This helps some accessibility tools like VoiceOver with their rotor functionality as it reduces the number of elements presented. Fixes gh-2246 Closes gh-2257 Co-authored-by: Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
* Tests: remove testswarm grunt taskTimmy Willison2024-06-112-118/+0
| | | Closes gh-2263
* Tests: conslidate GH actions runs; separate git & stable jQuery versionsTimmy Willison2024-06-051-27/+33
| | | | | - also add hard retries to runs Closes gh-2260
* Build: Bump actions/checkout from 4.1.4 to 4.1.6dependabot[bot]2024-06-042-4/+4
| | | | | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/0ad4b8fadaa221de15dcec353f45205ec38ea70b...a5ac7e51b41094c92402da3b24376905380afc29) Closes gh-2259 --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build: Test on more jQuery Core versionsMichał Gołębiowski-Owczarek2024-06-031-0/+3
| | | | | | | | The initial 1.14.0 announcement only promised support for the latest version of jQuery Core within each major. The main goal was to avoid testing on too many old versions. However, just testing on the latest one seems too drastic. For now, add `3.6.4` to the mix; we'll work on a more detailed policy soon. Closes gh-2258
* Build: Report compressed sizes in compare_sizeMichał Gołębiowski-Owczarek2024-05-201-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Just like it has always worked in Core. This will help with size comparisons between 1.13 & 1.14. After this PR: ``` $ grunt sizer Running "requirejs:js" (requirejs) task Running "uglify:main" (uglify) task >> 1 file created 549 kB → 267 kB Running "compare_size:all" (compare_size) task raw gz Sizes 549319 128757 dist/jquery-ui.js 266710 69612 dist/jquery-ui.min.js Done. ``` Before, only the less interesting `raw` sizes were reported. Closes gh-2254 Ref gh-2248
* Tests: remove code supporting jenkins and testswarmTimmy Willison2024-05-154-16/+4
| | | Close gh-2251
* Core: Update compatible jQuery versionsMichał Gołębiowski-Owczarek2024-05-152-2/+2
| | | | Instead of `>=1.8.0 <4.0.0`, specify `>=1.12.0 <5.0.0`.
* Effect: Update jQuery Color from 2.2.0 to 3.0.0Michał Gołębiowski-Owczarek2024-05-152-50/+19
| | | | | | | | | | Breaking changes applicable to jQuery UI: * Use a space when serializing, remove the transparent case ([#88](https://github.com/jquery/jquery-color/issues/88), [aaf03cc](https://github.com/jquery/jquery-color/commit/aaf03ccec3bd8c15733d8e72e214cf63150a2569)) See https://github.com/jquery/jquery-color/releases/tag/3.0.0 for more information. Fixes gh-2240
* Build: Add `/.github`, `/build` & `/external` to .gitignoreMichał Gołębiowski-Owczarek2024-05-151-5/+9
| | | | | | Also, make some `.gitignore` paths absolute. Fixes gh-2075
* Tests: Fix form-reset-mixin test module name, add to the tests HTMLMichał Gołębiowski-Owczarek2024-05-152-1/+2
| | | | Ref gh-2249
* Build: Drop support for Node 10Michał Gołębiowski-Owczarek2024-05-152-46/+3
| | | | Ref gh-2249
* Docs: Fix the link to MongooseMichał Gołębiowski-Owczarek2024-05-151-1/+1
| | | | Ref gh-2249
* Build: Remove unused build/themesMichał Gołębiowski-Owczarek2024-05-151-1/+0
| | | | Ref gh-2249
* All: Remove the deprecated `ui/core.js` fileMichał Gołębiowski-Owczarek2024-05-154-35/+5
| | | | | | Also, fix checkboxradio visual tests. Ref gh-2249
* All: Stop relying on jquery-patch.js internally, add testsMichał Gołębiowski-Owczarek2024-05-1516-41/+228
| | | | | | | | | | | | Avoid relying on jQuery patches. Instead: * use `CSS.escape` instead of `jQuery.escapeSelector` * use `.filter()` with a proper handler instead of `.even()` Keep `jquery-patch.js` for backwards compatibility, though. Also, add tests for jquery-patch. Ref gh-2249
* Sortable: Rename `storedStylesheet` to `_storedStylesheet`Michał Gołębiowski-Owczarek2024-05-151-3/+4
| | | | | | This follows the naming strategy for other internal properties. Ref gh-2249
* All: Drop support for IE & some other browsers (but mostly IE)Michał Gołębiowski-Owczarek2024-05-1553-716/+243
| | | | Closes gh-2249
* All: Drop support for jQueries different than the latest for each majorMichał Gołębiowski-Owczarek2024-05-1580-293046/+44
| | | | | | Also, remove the ability to run the test suite in jQuery <1.12.4 & <2.2.4. Closes gh-2249
* Core: Make back compat disabled by defaultMichał Gołębiowski-Owczarek2024-05-1315-27/+28
| | | Closes gh-2250
* Build: Bump actions/checkout from 4.1.2 to 4.1.4dependabot[bot]2024-05-062-5/+5
| | | | | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...0ad4b8fadaa221de15dcec353f45205ec38ea70b) Closes gh-2247 --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build: Updating the main version to 1.14.0-preMichał Gołębiowski-Owczarek2024-04-271-1/+1
|