Commit Graph

7348 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
cd41c45d91
Tests: Update jQuery Migrate from 3.4.1 to 3.5.2, simplify Migrate setup
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
2024-07-30 17:53:47 +02:00
Michał Gołębiowski-Owczarek
600057f59c
Demos: Make autocomplete demos work on jqueryui.com
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
2024-07-30 08:31:10 +02:00
Michał Gołębiowski-Owczarek
5665215a85
Build: Group dependabot PRs updating GitHub Actions
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
2024-07-08 19:04:44 +02:00
Michał Gołębiowski-Owczarek
7f0e920a97
Release: Update download.jqueryui.com from 2.3.6 to 2.3.7 2024-07-05 18:53:40 +02:00
dependabot[bot]
872c28a94e
Build: Bump actions/checkout from 4.1.6 to 4.1.7
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](a5ac7e51b4...692973e3d9)

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>
2024-07-05 18:26:55 +02:00
Michał Gołębiowski-Owczarek
2735f7d939
Release: Update download.jqueryui.com from 2.3.5 to 2.3.6 2024-06-15 00:31:33 +02:00
Michał Gołębiowski-Owczarek
fdb5ee3a0f
Release: Update download.jqueryui.com from 2.3.4 to 2.3.5 2024-06-15 00:16:36 +02:00
Michał Gołębiowski-Owczarek
b76883ad3f
Release: Fix the release script 2024-06-14 19:05:41 +02:00
Michał Gołębiowski-Owczarek
2f1f1eadf3
Release: Update download.jqueryui.com from 2.2.14 to 2.3.4 2024-06-14 18:56:20 +02:00
Michał Gołębiowski-Owczarek
04b0fd5cee
Build: Update AUTHORS.txt 2024-06-14 18:53:54 +02:00
Ralf Koller
376f142b9d
Dialog: Add aria-modal support
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>
2024-06-14 13:04:00 +02:00
Timmy Willison
1f251ca399
Tests: remove testswarm grunt task
Closes gh-2263
2024-06-11 18:05:06 +02:00
Timmy Willison
d45638abfa
Tests: conslidate GH actions runs; separate git & stable jQuery versions
- also add hard retries to runs

Closes gh-2260
2024-06-05 09:41:25 -04:00
dependabot[bot]
0326f1ee86
Build: Bump actions/checkout from 4.1.4 to 4.1.6
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](0ad4b8fada...a5ac7e51b4)

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>
2024-06-04 00:21:45 +02:00
Michał Gołębiowski-Owczarek
aa06be9813
Build: Test on more jQuery Core versions
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
2024-06-03 18:32:13 +02:00
Michał Gołębiowski-Owczarek
9180a8180b
Build: Report compressed sizes in compare_size
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
2024-05-20 18:59:58 +02:00
Timmy Willison
f47c7fe44d
Tests: remove code supporting jenkins and testswarm
Close gh-2251
2024-05-15 15:19:23 -04:00
Michał Gołębiowski-Owczarek
ec3edb6876
Core: Update compatible jQuery versions
Instead of `>=1.8.0 <4.0.0`, specify `>=1.12.0 <5.0.0`.
2024-05-15 18:13:35 +02:00
Michał Gołębiowski-Owczarek
68fda5beb2
Effect: Update jQuery Color from 2.2.0 to 3.0.0
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](aaf03ccec3))

See https://github.com/jquery/jquery-color/releases/tag/3.0.0 for more
information.

Fixes gh-2240
2024-05-15 18:13:35 +02:00
Michał Gołębiowski-Owczarek
f849c50db1
Build: Add /.github, /build & /external to .gitignore
Also, make some `.gitignore` paths absolute.

Fixes gh-2075
2024-05-15 14:18:07 +02:00
Michał Gołębiowski-Owczarek
5f615c275d
Tests: Fix form-reset-mixin test module name, add to the tests HTML
Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
99250fe517
Build: Drop support for Node 10
Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
fb19b03dc6
Docs: Fix the link to Mongoose
Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
448df32bb1
Build: Remove unused build/themes
Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
03cde342cd
All: Remove the deprecated ui/core.js file
Also, fix checkboxradio visual tests.

Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
9887579b61
All: Stop relying on jquery-patch.js internally, add tests
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
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
f90eab84b5
Sortable: Rename storedStylesheet to _storedStylesheet
This follows the naming strategy for other internal properties.

Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
bb49bd794b
All: Drop support for IE & some other browsers (but mostly IE)
Closes gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
daa6fb55b3
All: Drop support for jQueries different than the latest for each major
Also, remove the ability to run the test suite in jQuery <1.12.4 & <2.2.4.

Closes gh-2249
2024-05-15 00:38:30 +02:00
Michał Gołębiowski-Owczarek
ac8b1e4eee
Core: Make back compat disabled by default
Closes gh-2250
2024-05-13 18:11:57 +02:00
dependabot[bot]
969d182963
Build: Bump actions/checkout from 4.1.2 to 4.1.4
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](9bb56186c3...0ad4b8fada)

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>
2024-05-06 22:48:53 +02:00
Michał Gołębiowski-Owczarek
a3d44f2860
Build: Updating the main version to 1.14.0-pre 2024-04-27 01:10:15 +02:00
Michał Gołębiowski-Owczarek
798a82dfc3
Build: Updating the main version to 1.13.4-pre. 2024-04-26 17:48:43 +02:00
Michał Gołębiowski-Owczarek
8622684eed
Build: Update AUTHORS.txt 2024-04-26 17:36:36 +02:00
Michał Gołębiowski-Owczarek
8e34aa6155
Docs: Update leftover HTTP Trac URLs to HTTPS 2024-04-26 17:28:11 +02:00
Michał Gołębiowski-Owczarek
f4a97881ef
Build: Update download.jqueryui.com from 2.2.12 to 2.2.14 2024-04-26 17:22:46 +02:00
Michał Gołębiowski-Owczarek
4966aea381
Docs: Change a few most common domains from HTTP to HTTPS
Also, update a few stale URLs to what they redirect now to.

Closes gh-2244
2024-04-26 16:25:34 +02:00
mark van tilburg
28895912d7
Update custom_render.html (#2242)
This fixes mixed content errors on the selectmenu demo page at jqueryui.com.

Closes gh-2242
2024-04-25 23:53:11 +02:00
Michał Gołębiowski-Owczarek
9fcae942a6
Build: Update release dependencies
In particular, the `node-packager` update is required for the release process
to work on newer Node.js versions.

Closes gh-2239
2024-04-22 18:08:44 +02:00
divdeploy
4da7a30ff4
Docs: remove a duplicated "be" in an accordion demo
Closes gh-2233

Signed-off-by: divdeploy <chenguangxue@outlook.com>
2024-04-12 17:12:36 +02:00
Michał Gołębiowski-Owczarek
1374020009
Tests: Skip a problematic keyboard test in IE with jQuery 3.6
jQuery 3.6 has issues with focus handling in IE which breaks this test.
The issues were fixed in jQuery 3.7, so we just accept them here.

Closes gh-2231
2024-04-12 15:23:31 +02:00
Michał Gołębiowski-Owczarek
e7a0da63ea
Tests: Increase robustness of a draggable revert test
One of the changes is increasing `revertDuration` from 200 to 300. For some
reason, when jQuery 3.1 is used in an iframe (which TestSwarm uses) the timings
are lower than expected and `setTimeout` too slow and the check for animation
happens too late.

Closes gh-2230
2024-04-12 15:23:05 +02:00
Michał Gołębiowski-Owczarek
ab2a2a973e
Tests: Workaround a jQuery 1.8 issue with one dialog test
The test "#8958: dialog can be opened while opening" had special behavior in
jQuery 1.8 and the patch from commit 7adb13ac7c
broke those assumptions. Adjust the test so that it passes again.

Closes gh-2229
2024-04-12 15:22:05 +02:00
Michał Gołębiowski-Owczarek
b4df487608
Build: Update jquery-3.x to point to 3.7.1 instead of 3.7.0
Closes gh-2228
2024-04-12 15:21:39 +02:00
Timmy Willison
4af5caed7a
Tests: align test runner with other repos
Close gh-2234
2024-04-09 13:31:27 -04:00
dependabot[bot]
213fdbaa28
Build(deps): Bump actions/checkout from 4.1.1 to 4.1.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](b4ffde65f4...9bb56186c3)

Closes gh-2224

---
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>
2024-04-02 23:47:54 +02:00
dependabot[bot]
acb83e4c92
Build(deps-dev): Bump express from 4.19.1 to 4.19.2
Bumps [express](https://github.com/expressjs/express) from 4.19.1 to 4.19.2.
- [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.1...4.19.2)

Closes gh-2223

---
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>
2024-03-29 17:22:11 +01:00
Timmy Willison
91df20be6b
Tests: replace grunt-contrib-qunit with jQuery test runner
- add filestash workflow

Close gh-2221
2024-03-29 09:13:46 -04:00
Michał Gołębiowski-Owczarek
802642c373
Tests: Fix tests with the Git Core build
jQuery PR jquery/jquery#5452 removed special handling of boolean attributes.
Thankfully, this only broke a single jQuery UI test.

Closes gh-2220
2024-03-26 16:17:00 +01:00
dependabot[bot]
0318a27e19
Build(deps): Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

Closes gh-2210

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-03 01:47:27 +01:00