]>
source.dussan.org Git - jquery-ui.git/log
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
Michał Gołębiowski-Owczarek [Fri, 14 Jun 2024 17:05:41 +0000 (19:05 +0200)]
Release: Fix the release script
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
Michał Gołębiowski-Owczarek [Fri, 14 Jun 2024 16:53:54 +0000 (18:53 +0200)]
Build: Update AUTHORS.txt
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>
Timmy Willison [Tue, 11 Jun 2024 16:05:06 +0000 (12:05 -0400)]
Tests: remove testswarm grunt task
Closes gh-2263
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
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>
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
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
Timmy Willison [Wed, 15 May 2024 19:19:23 +0000 (15:19 -0400)]
Tests: remove code supporting jenkins and testswarm
Close gh-2251
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`.
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
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
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
Michał Gołębiowski-Owczarek [Sat, 11 May 2024 23:29:44 +0000 (01:29 +0200)]
Build: Drop support for Node 10
Ref gh-2249
Michał Gołębiowski-Owczarek [Sat, 11 May 2024 23:22:46 +0000 (01:22 +0200)]
Docs: Fix the link to Mongoose
Ref gh-2249
Michał Gołębiowski-Owczarek [Fri, 10 May 2024 13:48:18 +0000 (15:48 +0200)]
Build: Remove unused build/themes
Ref gh-2249
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
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
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
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
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
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
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>
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
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.
Michał Gołębiowski-Owczarek [Fri, 26 Apr 2024 15:36:36 +0000 (17:36 +0200)]
Build: Update AUTHORS.txt
Michał Gołębiowski-Owczarek [Fri, 26 Apr 2024 15:28:11 +0000 (17:28 +0200)]
Docs: Update leftover HTTP Trac URLs to HTTPS
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
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
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
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
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>
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
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
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
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
Timmy Willison [Tue, 9 Apr 2024 17:31:27 +0000 (13:31 -0400)]
Tests: align test runner with other repos
Close gh-2234
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>
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>
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
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
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>
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
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
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>
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>
Michał Gołębiowski-Owczarek [Thu, 11 May 2023 22:48:38 +0000 (00:48 +0200)]
Build: Add jQuery 3.7.0
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.
Michał Gołębiowski-Owczarek [Wed, 10 May 2023 11:47:20 +0000 (13:47 +0200)]
Tests: Make resizable tests a bit more forgiving
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.
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
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
Дилян Палаузов [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
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
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>
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
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
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
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
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.
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. `<em>test</em>` 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
Michał Gołębiowski-Owczarek [Thu, 14 Jul 2022 18:34:29 +0000 (20:34 +0200)]
All: Remove deprecated .click() usage in demos/tests
Michał Gołębiowski-Owczarek [Thu, 14 Jul 2022 17:54:38 +0000 (19:54 +0200)]
Build: Update AUTHORS.txt
Denny Septian Panggabean [Thu, 14 Jul 2022 17:53:59 +0000 (00:53 +0700)]
Datepicker: Capitalize some Indonesian words
Closes gh-2067
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
Michał Gołębiowski-Owczarek [Thu, 14 Jul 2022 17:07:27 +0000 (19:07 +0200)]
Build: Update AUTHORS.txt
Felix Nagel [Sat, 9 Jul 2022 00:03:20 +0000 (02:03 +0200)]
Datepicker: Add missing localization for prevText and nextText
Fixes gh-2048
Closes gh-2050
Closes gh-2100
Felix Nagel [Fri, 8 Jul 2022 00:51:48 +0000 (02:51 +0200)]
Datepicker: Remove symbols in localization
Follow-up to
dfff5e7e999453f5d080c184bd4e3fdbfc93b83e
Fixes gh-2048
Closes gh-2050
Adam Lidén Hällgren [Fri, 11 Feb 2022 15:33:27 +0000 (16:33 +0100)]
Datepicker: Remove symbols in localization
Fixes gh-2048
Closes gh-2050
Ref gh-2067
dependabot[bot] [Mon, 11 Jul 2022 10:22:26 +0000 (12:22 +0200)]
Build(deps): Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)
Closes gh-2098
---
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>
dependabot[bot] [Mon, 11 Jul 2022 10:17:24 +0000 (12:17 +0200)]
Build(deps): Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [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/v2...v3)
Closes gh-2097
---
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>
dependabot[bot] [Mon, 11 Jul 2022 10:17:01 +0000 (12:17 +0200)]
Build(deps): Bump actions/setup-node from 1 to 3
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...v3)
Closes gh-2096
---
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>
Christian Oliff [Wed, 29 Jun 2022 13:14:31 +0000 (22:14 +0900)]
Build: Add dependabot.yml config (GitHub Actions)
Closes gh-2093
Ref jquery/jquery#5057
Michał Gołębiowski-Owczarek [Wed, 22 Jun 2022 10:58:05 +0000 (12:58 +0200)]
Build: Update Grunt to resolve CVE-2022-1537
More details:
https://github.com/advisories/GHSA-rm36-94g8-835r
Fixes gh-2090
Closes gh-2091
Michał Gołębiowski-Owczarek [Wed, 23 Mar 2022 11:05:10 +0000 (12:05 +0100)]
Build: Include all the files published to the CDN in npm/Bower packages
Both unminified & minified versions of JS & CSS files are included, for all
themes, as well as images.
Fixes gh-2011
Closes gh-2059
Michał Gołębiowski-Owczarek [Thu, 20 Jan 2022 13:04:17 +0000 (14:04 +0100)]
Build: Updating the main version to 1.13.2-pre.
Michał Gołębiowski-Owczarek [Thu, 20 Jan 2022 12:29:50 +0000 (13:29 +0100)]
Build: Update some npm dependencies
Unfortunately, we cannot update all of them to their latest versions as some
of them now require Node.js 12 and we need to be able to build on Node 10 as
that's what our Jenkins runs.
Michał Gołębiowski-Owczarek [Sat, 15 Jan 2022 00:26:23 +0000 (01:26 +0100)]
Widget: Optimize attachment of the _untrackClassesElement listener
jQuery UI 1.13.0 changed the logic attaching the `_untrackClassesElement`
listener in the `_classes` widget method; one of the side effects was calling
`this._on` for each node that needed the listener. That caused a severe
performance degradation for large comboboxes as each `_on` jQuery UI call
causes a jQuery `add` call that calls Sizzle's `uniqueSort` underneath.
Instead, collect the nodes that need the listener and then, outside of the loop,
create a jQuery object out of them and attach the listener once. That's still
slower than the jQuery 1.12 version but only slightly: 936 ms to 1.03s on a very
large list on a recent MacBook Pro, compared to ~30 seconds before this patch.
Fixes gh-2014
Closes gh-2037
Michał Gołębiowski-Owczarek [Sat, 15 Jan 2022 00:26:00 +0000 (01:26 +0100)]
Build: Add Felix to .mailmap, update AUTHORS.txt
Beyond the `AUTHORS.txt` changes, this accounts for a recent email change in
one of the commits.
Closes gh-2039
Ben Mullins [Wed, 5 Jan 2022 10:35:34 +0000 (05:35 -0500)]
Autocomplete: Rewrite with a delay instead of appending the live region
This fixes the issue caused by https://bugs.jqueryui.com/ticket/9357.
We now empty the live region instead of appending to it, and we do so
after a brief timeout so the live region isn't updated on every mousemove
event or when quickly traversing through options.
Fixes gh-2002
Closes gh-2031
Felix Nagel [Fri, 3 Dec 2021 18:27:15 +0000 (19:27 +0100)]
Build: Add extra Github action job for PR required checks configuration
Felix Nagel [Tue, 30 Nov 2021 15:47:11 +0000 (16:47 +0100)]
Build: Switch from Travis to GitHub actions
Closes gh-2021
Michał Gołębiowski-Owczarek [Thu, 18 Nov 2021 23:47:56 +0000 (00:47 +0100)]
Widget: Make contextless widget construction work
Due to the fact the widget factory code is now in strict mode, the check for
being called without using the `new` keyword started breaking if you save the
widget constructor to a variable before calling it:
```js
var customWidget = $.custom.customWidget;
customWidget( {}, elem );
```
as then `this` is undefined and checking for `this._createWidget` crashes.
Account for that with an additional check.
Fixes gh-2015
Closes gh-2019
Michał Gołębiowski-Owczarek [Mon, 15 Nov 2021 17:39:25 +0000 (18:39 +0100)]
Sortable: Fix positioning when moving a Draggable item into a Sortable
PR gh-1793 removed setting `this.offset.parent` in the Draggable
`refreshPositions` method which broke position calculations when moving
a Draggable item into a connected Sortable. restore that assignment.
Ref gh-1793
Fixes gh-2001
Closes gh-2009
Michał Gołębiowski-Owczarek [Mon, 8 Nov 2021 17:21:03 +0000 (18:21 +0100)]
Sortable: Allow 0-height containers to be sortable as in 1.12.1
Note that container specific events will not fire when the dragged element
is interacting with zero height containers.
Fixes gh-1998
Closes gh-2008
Co-authored-by: A. Wells <borgboyone@users.noreply.github.com>