]> source.dussan.org Git - jquery-ui.git/log
jquery-ui.git
34 hours agoBuild: Bump express from 4.19.2 to 4.20.0 main
dependabot[bot] [Mon, 14 Oct 2024 22:11:21 +0000 (00:11 +0200)]
Build: Bump express from 4.19.2 to 4.20.0

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>
34 hours agoBuild: Bump body-parser from 1.20.2 to 1.20.3
dependabot[bot] [Mon, 14 Oct 2024 22:10:49 +0000 (00:10 +0200)]
Build: Bump body-parser from 1.20.2 to 1.20.3

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>
9 days agoBuild: Bump the github-actions group with 2 updates
dependabot[bot] [Sun, 6 Oct 2024 22:16:34 +0000 (00:16 +0200)]
Build: Bump the github-actions group with 2 updates

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>
12 days agoDemos: remove 404 scripts from removeClass demo
Timmy Willison [Thu, 3 Oct 2024 17:45:18 +0000 (13:45 -0400)]
Demos: remove 404 scripts from removeClass demo

Closes gh-2297

2 weeks agoDemos: Remove deprecated button APIs
Michał Gołębiowski-Owczarek [Mon, 30 Sep 2024 16:05:22 +0000 (18:05 +0200)]
Demos: Remove deprecated button APIs

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

4 weeks agoEffect: Remove demos & visual tests of the transfer effect
Michał Gołębiowski-Owczarek [Mon, 16 Sep 2024 15:16:40 +0000 (17:16 +0200)]
Effect: Remove demos & visual tests of the transfer effect

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

5 weeks agoResizable: Fix content shrink on resize
Daniel García [Mon, 9 Sep 2024 21:51:57 +0000 (23:51 +0200)]
Resizable: Fix content shrink on resize

Make resizable elements not shrink on resize when they have scrollbars
and "box-sizing: content-box".

Fixes: gh-2277
Closes gh-2281

5 weeks agoDialog: Add option to put the dialog title in a header element
Ralf Koller [Mon, 9 Sep 2024 15:55:58 +0000 (17:55 +0200)]
Dialog: Add option to put the dialog title in a header element

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

5 weeks agoTests: Properly check `$.uiBackCompat` in common widget tests
Michał Gołębiowski-Owczarek [Mon, 9 Sep 2024 15:52:53 +0000 (17:52 +0200)]
Tests: Properly check `$.uiBackCompat` in common widget tests

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

2 months agoRelease: Update download.jqueryui.com from 2.3.7 to 2.3.10
Michał Gołębiowski-Owczarek [Mon, 5 Aug 2024 20:52:56 +0000 (22:52 +0200)]
Release: Update download.jqueryui.com from 2.3.7 to 2.3.10

2 months agoBuild: Updating the main version to 1.14.1-pre.
Michał Gołębiowski-Owczarek [Mon, 5 Aug 2024 18:58:10 +0000 (20:58 +0200)]
Build: Updating the main version to 1.14.1-pre.

2 months agoDocs: Update AUTHORS.txt
Michał Gołębiowski-Owczarek [Mon, 5 Aug 2024 17:54:51 +0000 (19:54 +0200)]
Docs: Update AUTHORS.txt

2 months agoDatepicker: Hide the UI on destroy
Porter Clevidence [Mon, 5 Aug 2024 17:30:53 +0000 (10:30 -0700)]
Datepicker: Hide the UI on destroy

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

2 months agoBuild: Bump actions/setup-node from 4.0.2 to 4.0.3 in the github-actions group
dependabot[bot] [Mon, 5 Aug 2024 16:32:29 +0000 (18:32 +0200)]
Build: Bump actions/setup-node from 4.0.2 to 4.0.3 in the github-actions group

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>
2 months agoTests: Update jQuery Migrate from 3.4.1 to 3.5.2, simplify Migrate setup
Michał Gołębiowski-Owczarek [Tue, 30 Jul 2024 15:53:47 +0000 (17:53 +0200)]
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

2 months agoDemos: Make autocomplete demos work on jqueryui.com
Michał Gołębiowski-Owczarek [Tue, 30 Jul 2024 06:31:10 +0000 (08:31 +0200)]
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

3 months agoBuild: Group dependabot PRs updating GitHub Actions
Michał Gołębiowski-Owczarek [Mon, 8 Jul 2024 17:04:44 +0000 (19:04 +0200)]
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

3 months agoRelease: Update download.jqueryui.com from 2.3.6 to 2.3.7
Michał Gołębiowski-Owczarek [Fri, 5 Jul 2024 16:53:40 +0000 (18:53 +0200)]
Release: Update download.jqueryui.com from 2.3.6 to 2.3.7

3 months agoBuild: Bump actions/checkout from 4.1.6 to 4.1.7
dependabot[bot] [Fri, 5 Jul 2024 16:26:55 +0000 (18:26 +0200)]
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](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>
4 months agoRelease: Update download.jqueryui.com from 2.3.5 to 2.3.6
Michał Gołębiowski-Owczarek [Fri, 14 Jun 2024 22:31:33 +0000 (00:31 +0200)]
Release: Update download.jqueryui.com from 2.3.5 to 2.3.6

4 months agoRelease: Update download.jqueryui.com from 2.3.4 to 2.3.5
Michał Gołębiowski-Owczarek [Fri, 14 Jun 2024 22:16:36 +0000 (00:16 +0200)]
Release: Update download.jqueryui.com from 2.3.4 to 2.3.5

4 months agoRelease: Fix the release script
Michał Gołębiowski-Owczarek [Fri, 14 Jun 2024 17:05:41 +0000 (19:05 +0200)]
Release: Fix the release script

4 months agoRelease: Update download.jqueryui.com from 2.2.14 to 2.3.4
Michał Gołębiowski-Owczarek [Fri, 14 Jun 2024 16:56:20 +0000 (18:56 +0200)]
Release: Update download.jqueryui.com from 2.2.14 to 2.3.4

4 months agoBuild: Update AUTHORS.txt
Michał Gołębiowski-Owczarek [Fri, 14 Jun 2024 16:53:54 +0000 (18:53 +0200)]
Build: Update AUTHORS.txt

4 months agoDialog: Add aria-modal support
Ralf Koller [Fri, 14 Jun 2024 11:04:00 +0000 (13:04 +0200)]
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>
4 months agoTests: remove testswarm grunt task
Timmy Willison [Tue, 11 Jun 2024 16:05:06 +0000 (12:05 -0400)]
Tests: remove testswarm grunt task

Closes gh-2263

4 months agoTests: conslidate GH actions runs; separate git & stable jQuery versions
Timmy Willison [Wed, 5 Jun 2024 13:41:25 +0000 (09:41 -0400)]
Tests: conslidate GH actions runs; separate git & stable jQuery versions

- also add hard retries to runs

Closes gh-2260

4 months agoBuild: Bump actions/checkout from 4.1.4 to 4.1.6
dependabot[bot] [Mon, 3 Jun 2024 22:21:45 +0000 (00:21 +0200)]
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](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>
4 months agoBuild: Test on more jQuery Core versions
Michał Gołębiowski-Owczarek [Mon, 3 Jun 2024 16:32:13 +0000 (18:32 +0200)]
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

4 months agoBuild: Report compressed sizes in compare_size
Michał Gołębiowski-Owczarek [Mon, 20 May 2024 16:59:58 +0000 (18:59 +0200)]
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

5 months agoTests: remove code supporting jenkins and testswarm
Timmy Willison [Wed, 15 May 2024 19:19:23 +0000 (15:19 -0400)]
Tests: remove code supporting jenkins and testswarm

Close gh-2251

5 months agoCore: Update compatible jQuery versions
Michał Gołębiowski-Owczarek [Wed, 15 May 2024 16:11:33 +0000 (18:11 +0200)]
Core: Update compatible jQuery versions

Instead of `>=1.8.0 <4.0.0`, specify `>=1.12.0 <5.0.0`.

5 months agoEffect: Update jQuery Color from 2.2.0 to 3.0.0
Michał Gołębiowski-Owczarek [Wed, 15 May 2024 16:10:47 +0000 (18:10 +0200)]
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](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

5 months agoBuild: Add `/.github`, `/build` & `/external` to .gitignore
Michał Gołębiowski-Owczarek [Wed, 15 May 2024 12:18:07 +0000 (14:18 +0200)]
Build: Add `/.github`, `/build` & `/external` to .gitignore

Also, make some `.gitignore` paths absolute.

Fixes gh-2075

5 months agoTests: Fix form-reset-mixin test module name, add to the tests HTML 2249/head
Michał Gołębiowski-Owczarek [Mon, 13 May 2024 22:24:20 +0000 (00:24 +0200)]
Tests: Fix form-reset-mixin test module name, add to the tests HTML

Ref gh-2249

5 months agoBuild: Drop support for Node 10
Michał Gołębiowski-Owczarek [Sat, 11 May 2024 23:29:44 +0000 (01:29 +0200)]
Build: Drop support for Node 10

Ref gh-2249

5 months agoDocs: Fix the link to Mongoose
Michał Gołębiowski-Owczarek [Sat, 11 May 2024 23:22:46 +0000 (01:22 +0200)]
Docs: Fix the link to Mongoose

Ref gh-2249

5 months agoBuild: Remove unused build/themes
Michał Gołębiowski-Owczarek [Fri, 10 May 2024 13:48:18 +0000 (15:48 +0200)]
Build: Remove unused build/themes

Ref gh-2249

5 months agoAll: Remove the deprecated `ui/core.js` file
Michał Gołębiowski-Owczarek [Fri, 10 May 2024 13:48:09 +0000 (15:48 +0200)]
All: Remove the deprecated `ui/core.js` file

Also, fix checkboxradio visual tests.

Ref gh-2249

5 months agoAll: Stop relying on jquery-patch.js internally, add tests
Michał Gołębiowski-Owczarek [Fri, 10 May 2024 12:45:59 +0000 (14:45 +0200)]
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

5 months agoSortable: Rename `storedStylesheet` to `_storedStylesheet`
Michał Gołębiowski-Owczarek [Mon, 6 May 2024 22:03:19 +0000 (00:03 +0200)]
Sortable: Rename `storedStylesheet` to `_storedStylesheet`

This follows the naming strategy for other internal properties.

Ref gh-2249

5 months agoAll: Drop support for IE & some other browsers (but mostly IE)
Michał Gołębiowski-Owczarek [Tue, 30 Apr 2024 22:54:19 +0000 (00:54 +0200)]
All: Drop support for IE & some other browsers (but mostly IE)

Closes gh-2249

5 months agoAll: Drop support for jQueries different than the latest for each major
Michał Gołębiowski-Owczarek [Fri, 9 Apr 2021 21:36:00 +0000 (23:36 +0200)]
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

5 months agoCore: Make back compat disabled by default
Michał Gołębiowski-Owczarek [Mon, 13 May 2024 16:11:57 +0000 (18:11 +0200)]
Core: Make back compat disabled by default

Closes gh-2250

5 months agoBuild: Bump actions/checkout from 4.1.2 to 4.1.4
dependabot[bot] [Mon, 6 May 2024 20:48:53 +0000 (22:48 +0200)]
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](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>
5 months agoBuild: Updating the main version to 1.14.0-pre
Michał Gołębiowski-Owczarek [Fri, 26 Apr 2024 23:10:15 +0000 (01:10 +0200)]
Build: Updating the main version to 1.14.0-pre

5 months agoBuild: Updating the main version to 1.13.4-pre.
Michał Gołębiowski-Owczarek [Fri, 26 Apr 2024 15:48:43 +0000 (17:48 +0200)]
Build: Updating the main version to 1.13.4-pre.

5 months agoBuild: Update AUTHORS.txt
Michał Gołębiowski-Owczarek [Fri, 26 Apr 2024 15:36:36 +0000 (17:36 +0200)]
Build: Update AUTHORS.txt

5 months agoDocs: Update leftover HTTP Trac URLs to HTTPS
Michał Gołębiowski-Owczarek [Fri, 26 Apr 2024 15:28:11 +0000 (17:28 +0200)]
Docs: Update leftover HTTP Trac URLs to HTTPS

5 months agoBuild: Update download.jqueryui.com from 2.2.12 to 2.2.14
Michał Gołębiowski-Owczarek [Fri, 26 Apr 2024 15:22:46 +0000 (17:22 +0200)]
Build: Update download.jqueryui.com from 2.2.12 to 2.2.14

5 months agoDocs: Change a few most common domains from HTTP to HTTPS
Michał Gołębiowski-Owczarek [Fri, 26 Apr 2024 14:25:34 +0000 (16:25 +0200)]
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

5 months agoUpdate custom_render.html (#2242)
mark van tilburg [Thu, 25 Apr 2024 21:53:11 +0000 (23:53 +0200)]
Update custom_render.html (#2242)

This fixes mixed content errors on the selectmenu demo page at jqueryui.com.

Closes gh-2242

5 months agoBuild: Update release dependencies
Michał Gołębiowski-Owczarek [Mon, 22 Apr 2024 16:08:44 +0000 (18:08 +0200)]
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

6 months agoDocs: remove a duplicated "be" in an accordion demo
divdeploy [Fri, 12 Apr 2024 15:12:36 +0000 (23:12 +0800)]
Docs: remove a duplicated "be" in an accordion demo

Closes gh-2233

Signed-off-by: divdeploy <chenguangxue@outlook.com>
6 months agoTests: Skip a problematic keyboard test in IE with jQuery 3.6
Michał Gołębiowski-Owczarek [Fri, 12 Apr 2024 13:23:31 +0000 (15:23 +0200)]
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

6 months agoTests: Increase robustness of a draggable `revert` test
Michał Gołębiowski-Owczarek [Fri, 12 Apr 2024 13:23:05 +0000 (15:23 +0200)]
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

6 months agoTests: Workaround a jQuery 1.8 issue with one dialog test
Michał Gołębiowski-Owczarek [Fri, 12 Apr 2024 13:22:05 +0000 (15:22 +0200)]
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 7adb13ac7c30a7ba33f1db256952be77b9e7a310
broke those assumptions. Adjust the test so that it passes again.

Closes gh-2229

6 months agoBuild: Update jquery-3.x to point to 3.7.1 instead of 3.7.0
Michał Gołębiowski-Owczarek [Fri, 12 Apr 2024 13:21:39 +0000 (15:21 +0200)]
Build: Update jquery-3.x to point to 3.7.1 instead of 3.7.0

Closes gh-2228

6 months agoTests: align test runner with other repos
Timmy Willison [Tue, 9 Apr 2024 17:31:27 +0000 (13:31 -0400)]
Tests: align test runner with other repos

Close gh-2234

6 months agoBuild(deps): Bump actions/checkout from 4.1.1 to 4.1.2
dependabot[bot] [Tue, 2 Apr 2024 21:47:54 +0000 (23:47 +0200)]
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](https://github.com/actions/checkout/compare/b4ffde65f46336ab88eb53be808477a3936bae11...9bb56186c3b09b4f86b1c65136769dd318469633)

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>
6 months agoBuild(deps-dev): Bump express from 4.19.1 to 4.19.2
dependabot[bot] [Fri, 29 Mar 2024 16:22:11 +0000 (17:22 +0100)]
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>
6 months agoTests: replace grunt-contrib-qunit with jQuery test runner
Timmy Willison [Fri, 29 Mar 2024 13:13:46 +0000 (09:13 -0400)]
Tests: replace grunt-contrib-qunit with jQuery test runner

- add filestash workflow

Close gh-2221

6 months agoTests: Fix tests with the Git Core build
Michał Gołębiowski-Owczarek [Tue, 26 Mar 2024 15:17:00 +0000 (16:17 +0100)]
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

8 months agoBuild(deps): Bump actions/cache from 3 to 4
dependabot[bot] [Sat, 3 Feb 2024 00:47:27 +0000 (01:47 +0100)]
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>
9 months agodemos: Replace search.php with $.ajaxTransport() mock
Timo Tijhof [Wed, 3 Jan 2024 00:31:36 +0000 (00:31 +0000)]
demos: Replace search.php with $.ajaxTransport() mock

Fixes jquery/jqueryui.com#203
Closes gh-2187

11 months agoBuild: Change Node tested versions from 10/16/18 to 10/18/20
Michał Gołębiowski-Owczarek [Mon, 6 Nov 2023 13:03:51 +0000 (14:03 +0100)]
Build: Change Node tested versions from 10/16/18 to 10/18/20

Closes gh-2195

11 months agoBuild(deps): Bump actions/setup-node from 3 to 4
dependabot[bot] [Mon, 6 Nov 2023 12:39:19 +0000 (13:39 +0100)]
Build(deps): Bump actions/setup-node from 3 to 4

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

Closes gh-2193

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
12 months agoBuild(deps): Bump actions/checkout from 3 to 4
dependabot[bot] [Wed, 4 Oct 2023 15:09:56 +0000 (17:09 +0200)]
Build(deps): Bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 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/v3...v4)

Closes gh-2188

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
17 months agoBuild: Add jQuery 3.7.0
Michał Gołębiowski-Owczarek [Thu, 11 May 2023 22:48:38 +0000 (00:48 +0200)]
Build: Add jQuery 3.7.0

17 months agoTests: Workaround IE issues in qunit-assert-domequal
Michał Gołębiowski-Owczarek [Wed, 10 May 2023 12:46:30 +0000 (14:46 +0200)]
Tests: Workaround IE issues in qunit-assert-domequal

In IE, `option` elements may have different initial `option` colors.
They may initially all be transparent, but later the selected
option gets a blue background with white text; we now ignore it.

The logic of `qunit-assert-domequal` was also fixed to use the same
method of fetching styles in all browsers; IE used to get a legacy
one meant for IE <9 due to a mistake in the performed check.

17 months agoTests: Make resizable tests a bit more forgiving
Michał Gołębiowski-Owczarek [Wed, 10 May 2023 11:47:20 +0000 (13:47 +0200)]
Tests: Make resizable tests a bit more forgiving

17 months agoTests: Workaround a dialog test issue by a proper cleanup
Michał Gołębiowski-Owczarek [Wed, 10 May 2023 11:39:56 +0000 (13:39 +0200)]
Tests: Workaround a dialog test issue by a proper cleanup

The `#favorite-animal` focus & blur handlers used to not be cleaned up after
the test automatically, leading to issues with some jQuery versions.

17 months agoTests: Fix selectmenu width tests in Firefox with jQuery 3.0 & 3.1
Michał Gołębiowski-Owczarek [Wed, 10 May 2023 08:56:02 +0000 (10:56 +0200)]
Tests: Fix selectmenu width tests in Firefox with jQuery 3.0 & 3.1

jQuery 3.0 & 3.1 used `getBoundingClientRect()` in its `width`/`height`
calculations and that causes minor differences in fractional width computations.
Allow a tiny delta in tests to fix those tests breaking in Firefox.

Ref jquery/jquery#3561
Closes gh-2159

17 months agoDialog: Fix IE tests about interactions with other dialogs
Michał Gołębiowski-Owczarek [Wed, 10 May 2023 08:55:40 +0000 (10:55 +0200)]
Dialog: Fix IE tests about interactions with other dialogs

The workaround triggering a second delayed focus to a tabbable element was
applied in jQueries 3.4 & 3.5 to fix IE issues. It also needs to be applied
in jQuery 3.6 which this commit adds.

This will no longer be needed in jQuery 3.7 and jQuery 3.x-git tests are
already passing because of that.

Closes gh-2160

17 months agoSelectmenu: Fix selecting options following hidden ones
Michał Gołębiowski-Owczarek [Wed, 10 May 2023 08:55:01 +0000 (10:55 +0200)]
Selectmenu: Fix selecting options following hidden ones

Change a2b25ef6caae3e1a272214839b815a6387618124 made options with
the `hidden` attribute skipped when rendering. However, that makes
indexes misaligned with native options as hidden ones maintain their
index values. Instead, don't skip hidden options but add the `hidden`
attribute to the respective jQuery UI elements as well.

Fixes gh-2082
Closes gh-2144
Ref a2b25ef6caae3e1a272214839b815a6387618124

17 months agoBuild: Add jQuery 3.6.4, update Migrate to 3.4.1
Michał Gołębiowski-Owczarek [Wed, 10 May 2023 08:54:31 +0000 (10:54 +0200)]
Build: Add jQuery 3.6.4, update Migrate to 3.4.1

Closes gh-2161

17 months agoBuild: Fork vendors to remove QUnit deprecated API usage
Michał Gołębiowski-Owczarek [Thu, 30 Mar 2023 07:56:33 +0000 (09:56 +0200)]
Build: Fork vendors to remove QUnit deprecated API usage

Changes:
* add `tests/lib/vendor/**/*` to `.eslintignore`
* move `qunit-composite` to `tests/lib` so that we can modify it
* move `qunit-assert-classes` to `tests/lib` so that we can modify it
* move `qunit-assert-close` to `tests/lib` so that we can modify it
* replace `assert.push` with `assert.pushResult`
* remove usage of `QUnit.extend`

Closes gh-2157

17 months agoBuild: Update dependencies, including QUnit 1 -> 2
Michał Gołębiowski-Owczarek [Tue, 28 Mar 2023 22:29:28 +0000 (00:29 +0200)]
Build: Update dependencies, including QUnit 1 -> 2

Also, fix htmllint lang exclusion patterns.

Ref gh-2157

17 months agoBuild: Stop using ::set-output in GitHub Actions
Michał Gołębiowski-Owczarek [Thu, 30 Mar 2023 08:17:02 +0000 (10:17 +0200)]
Build: Stop using ::set-output in GitHub Actions

The `set-output` workflow is deprecated in favor of using environment
variables, see:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

17 months agoTests: Make Puppeter really fire Chrome on macOS
Michał Gołębiowski-Owczarek [Thu, 30 Mar 2023 07:59:42 +0000 (09:59 +0200)]
Tests: Make Puppeter really fire Chrome on macOS

Also, workaround issues with QUnit Chrome bridge: the Chrome bridge
from `grunt-contrib-qunit` is now getting injected into every single
iframe, including an empty one that has no intention of running QUnit
tests. Since that bridge requires QUnit, it fails with an error
in such cases. Workaround the issue by wrapping the bridge in
another function that bails early if QUnit is not defined.

Ref gh-2157

17 months agoBuild: Test on Node 10, 16 & 18; fix CI in Node <16
Michał Gołębiowski-Owczarek [Wed, 29 Mar 2023 22:21:25 +0000 (00:21 +0200)]
Build: Test on Node 10, 16 & 18; fix CI in Node <16

Ref gh-2157

17 months agoTests: Switch from QUnit.jsDump to QUnit.dump
Michał Gołębiowski-Owczarek [Tue, 28 Mar 2023 22:30:06 +0000 (00:30 +0200)]
Tests: Switch from QUnit.jsDump to QUnit.dump

`QUnit.jsDump` was renamed to `QUnit.dump` in QUnit 2.0.

Ref gh-2157

17 months agoTests: Fix tooltip tests by destroying tooltips
Michał Gołębiowski-Owczarek [Thu, 30 Mar 2023 08:09:12 +0000 (10:09 +0200)]
Tests: Fix tooltip tests by destroying tooltips

Some tests were not properly destroying tooltips which made tests
start to fail with the new QUnit.

Ref gh-2157

17 months agoDemos:Tests: Avoid self-closing HTML tags
Michał Gołębiowski-Owczarek [Tue, 28 Mar 2023 22:18:07 +0000 (00:18 +0200)]
Demos:Tests: Avoid self-closing HTML tags

Self-closing tags are reported by newer versions of the htmllint
Grunt plugin. They also don't make sense in our HTML files
since they are not XHTML-compliant and they run in HTML mode
anyway.

Ref gh-2157

18 months agoTests: Test only valid values for Datepicker defaultDate, min/maxDate
Kenneth DeBacker [Thu, 30 Mar 2023 11:05:41 +0000 (07:05 -0400)]
Tests: Test only valid values for Datepicker defaultDate, min/maxDate

The docs say that valid periods when using string value and
period pairs as relative dates are "y", "m", "w", and "d"
https://api.jqueryui.com/datepicker/

Closes gh-2143

21 months agoDocs: Add a maintenance mode info to README
Michał Gołębiowski-Owczarek [Sun, 15 Jan 2023 22:14:28 +0000 (23:14 +0100)]
Docs: Add a maintenance mode info to README

Closes gh-2150

21 months agoBuild: Add jQuery 3.6.1-3.6.3, update Migrate to 3.4.0
Michał Gołębiowski-Owczarek [Sun, 15 Jan 2023 20:41:18 +0000 (21:41 +0100)]
Build: Add jQuery 3.6.1-3.6.3, update Migrate to 3.4.0

21 months agoDemos: Optimize PNG files
Дилян Палаузов [Tue, 20 Dec 2022 20:50:16 +0000 (22:50 +0200)]
Demos: Optimize PNG files

Optimization done by calling:

    for i in `find -name '*.png'`; do optipng -o7 -zm9 $i; done

Closes gh-2132

22 months agoDemos: Better wording for the purposefully broken tab
DeerBear [Tue, 6 Dec 2022 22:27:33 +0000 (23:27 +0100)]
Demos: Better wording for the purposefully broken tab

Fix both grammar and punctuation in one tabs demo.

Closes gh-2139

22 months agoBuild: Set minimum permission for GitHub Actions Token
Ashish Kurmi [Thu, 1 Dec 2022 12:53:34 +0000 (04:53 -0800)]
Build: Set minimum permission for GitHub Actions Token

Closes gh-2129

Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>
2 years agoResizable: Fix resizing of elems with `box-sizing: border-box`
Matías Cánepa [Mon, 10 Oct 2022 09:00:50 +0000 (06:00 -0300)]
Resizable: Fix resizing of elems with `box-sizing: border-box`

Fixes gh-1979
Closes gh-2012

2 years agoCore: Fix dependencies in ui/core.js
Michał Gołębiowski-Owczarek [Thu, 18 Aug 2022 11:28:26 +0000 (13:28 +0200)]
Core: Fix dependencies in ui/core.js

The `jquery-patch` reference was included with the `.js` extension which is
not allowed in AMD.

Fixes gh-2107
Closes gh-2109

2 years agoDocs: Add a security policy in SECURITY.md
Michał Gołębiowski-Owczarek [Tue, 19 Jul 2022 18:59:15 +0000 (20:59 +0200)]
Docs: Add a security policy in SECURITY.md

This is needed so that people know how to report security issues.

Closes gh-2103

2 years agoAll: Update JS Foundation mentions to OpenJS Foundation
Michał Gołębiowski-Owczarek [Tue, 19 Jul 2022 07:36:55 +0000 (09:36 +0200)]
All: Update JS Foundation mentions to OpenJS Foundation

Closes gh-2104

2 years agoBuild: Updating the main version to 1.13.3-pre.
Michał Gołębiowski-Owczarek [Thu, 14 Jul 2022 19:13:21 +0000 (21:13 +0200)]
Build: Updating the main version to 1.13.3-pre.

2 years agoCheckboxradio: Don't re-evaluate text labels as HTML
Michał Gołębiowski-Owczarek [Thu, 14 Jul 2022 18:52:02 +0000 (20:52 +0200)]
Checkboxradio: Don't re-evaluate text labels as HTML

If you generate a Checkboxradio from a checkbox/radio with a label that
contains encoded HTML, e.g. `&lt;em&gt;test&lt;/em&gt;` this will work fine
at first. If, however a refresh is triggered on that instance (explicitly or
e.g. by turning it into a `Controlgroup`), the previously escaped HTML will
now be evaluated.

If the label was created based on some user input, this could lead to
unexpected code execution even though the initial output was escaped.

Fixes gh-2101
Closes gh-2102

2 years agoAll: Remove deprecated .click() usage in demos/tests
Michał Gołębiowski-Owczarek [Thu, 14 Jul 2022 18:34:29 +0000 (20:34 +0200)]
All: Remove deprecated .click() usage in demos/tests

2 years agoBuild: Update AUTHORS.txt
Michał Gołębiowski-Owczarek [Thu, 14 Jul 2022 17:54:38 +0000 (19:54 +0200)]
Build: Update AUTHORS.txt

2 years agoDatepicker: Capitalize some Indonesian words
Denny Septian Panggabean [Thu, 14 Jul 2022 17:53:59 +0000 (00:53 +0700)]
Datepicker: Capitalize some Indonesian words

Closes gh-2067

2 years agoSelectmenu: Remove a call to the deprecated .focus() method
James Hinderks [Thu, 14 Jul 2022 17:43:16 +0000 (13:43 -0400)]
Selectmenu: Remove a call to the deprecated .focus() method

Replaces a call to the deprecated jQuery `.focus()` method
with `.trigger("focus")`.

Closes gh-2053