aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Build: Add jQuery 3.6.4, update Migrate to 3.4.1Michał Gołębiowski-Owczarek2023-05-1011-93/+11090
| | | Closes gh-2161
* Build: Fork vendors to remove QUnit deprecated API usageMichał Gołębiowski-Owczarek2023-05-1039-109/+241
| | | | | | | | | | | | 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
* Build: Update dependencies, including QUnit 1 -> 2Michał Gołębiowski-Owczarek2023-05-109-3814/+7363
| | | | | | Also, fix htmllint lang exclusion patterns. Ref gh-2157
* Build: Stop using ::set-output in GitHub ActionsMichał Gołębiowski-Owczarek2023-05-101-1/+1
| | | | | | 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/
* Tests: Make Puppeter really fire Chrome on macOSMichał Gołębiowski-Owczarek2023-05-103-4/+29
| | | | | | | | | | | 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
* Build: Test on Node 10, 16 & 18; fix CI in Node <16Michał Gołębiowski-Owczarek2023-05-103-97/+121
| | | | Ref gh-2157
* Tests: Switch from QUnit.jsDump to QUnit.dumpMichał Gołębiowski-Owczarek2023-05-101-1/+1
| | | | | | `QUnit.jsDump` was renamed to `QUnit.dump` in QUnit 2.0. Ref gh-2157
* Tests: Fix tooltip tests by destroying tooltipsMichał Gołębiowski-Owczarek2023-05-105-5/+34
| | | | | | | Some tests were not properly destroying tooltips which made tests start to fail with the new QUnit. Ref gh-2157
* Demos:Tests: Avoid self-closing HTML tagsMichał Gołębiowski-Owczarek2023-05-1020-39/+39
| | | | | | | | | 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
* Tests: Test only valid values for Datepicker defaultDate, min/maxDateKenneth DeBacker2023-03-301-14/+14
| | | | | | | 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
* Docs: Add a maintenance mode info to READMEMichał Gołębiowski-Owczarek2023-01-151-0/+2
| | | Closes gh-2150
* Build: Add jQuery 3.6.1-3.6.3, update Migrate to 3.4.0Michał Gołębiowski-Owczarek2023-01-1515-265/+33468
|
* Demos: Optimize PNG filesДилян Палаузов2022-12-202-0/+0
| | | | | | | Optimization done by calling: for i in `find -name '*.png'`; do optipng -o7 -zm9 $i; done Closes gh-2132
* Demos: Better wording for the purposefully broken tabDeerBear2022-12-061-2/+2
| | | | | Fix both grammar and punctuation in one tabs demo. Closes gh-2139
* Build: Set minimum permission for GitHub Actions TokenAshish Kurmi2022-12-011-0/+3
| | | | | Closes gh-2129 Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>
* Resizable: Fix resizing of elems with `box-sizing: border-box`Matías Cánepa2022-10-102-3/+32
| | | | Fixes gh-1979 Closes gh-2012
* Core: Fix dependencies in ui/core.jsMichał Gołębiowski-Owczarek2022-08-181-1/+1
| | | | | | | The `jquery-patch` reference was included with the `.js` extension which is not allowed in AMD. Fixes gh-2107 Closes gh-2109
* Docs: Add a security policy in SECURITY.mdMichał Gołębiowski-Owczarek2022-07-191-0/+11
| | | | | This is needed so that people know how to report security issues. Closes gh-2103
* All: Update JS Foundation mentions to OpenJS FoundationMichał Gołębiowski-Owczarek2022-07-1973-73/+73
| | | Closes gh-2104
* Build: Updating the main version to 1.13.3-pre.Michał Gołębiowski-Owczarek2022-07-141-1/+1
|
* Checkboxradio: Don't re-evaluate text labels as HTMLMichał Gołębiowski-Owczarek2022-07-144-8/+100
| | | | | | | | | | | | | 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
* All: Remove deprecated .click() usage in demos/testsMichał Gołębiowski-Owczarek2022-07-143-3/+3
|
* Build: Update AUTHORS.txtMichał Gołębiowski-Owczarek2022-07-141-0/+2
|
* Datepicker: Capitalize some Indonesian wordsDenny Septian Panggabean2022-07-141-5/+6
| | | Closes gh-2067
* Selectmenu: Remove a call to the deprecated .focus() methodJames Hinderks2022-07-141-1/+1
| | | | | | Replaces a call to the deprecated jQuery `.focus()` method with `.trigger("focus")`. Closes gh-2053
* Build: Update AUTHORS.txtMichał Gołębiowski-Owczarek2022-07-141-0/+3
|
* Datepicker: Add missing localization for prevText and nextTextFelix Nagel2022-07-148-16/+16
| | | | | | Fixes gh-2048 Closes gh-2050 Closes gh-2100
* Datepicker: Remove symbols in localizationFelix Nagel2022-07-147-11/+11
| | | | | | | Follow-up to dfff5e7e999453f5d080c184bd4e3fdbfc93b83e Fixes gh-2048 Closes gh-2050
* Datepicker: Remove symbols in localizationAdam Lidén Hällgren2022-07-1453-106/+106
| | | | | | Fixes gh-2048 Closes gh-2050 Ref gh-2067
* Build(deps): Bump actions/checkout from 2 to 3dependabot[bot]2022-07-111-1/+1
| | | | | | | | | | | | | | | | | | | 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>
* Build(deps): Bump actions/cache from 2 to 3dependabot[bot]2022-07-111-1/+1
| | | | | | | | | | | | | | | | | | | 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>
* Build(deps): Bump actions/setup-node from 1 to 3dependabot[bot]2022-07-111-1/+1
| | | | | | | | | | | | | | | | | | 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>
* Build: Add dependabot.yml config (GitHub Actions)Christian Oliff2022-06-291-0/+6
| | | | Closes gh-2093 Ref jquery/jquery#5057
* Build: Update Grunt to resolve CVE-2022-1537Michał Gołębiowski-Owczarek2022-06-221-1/+1
| | | | | | | More details: https://github.com/advisories/GHSA-rm36-94g8-835r Fixes gh-2090 Closes gh-2091
* Build: Include all the files published to the CDN in npm/Bower packagesMichał Gołębiowski-Owczarek2022-03-231-0/+14
| | | | | | | Both unminified & minified versions of JS & CSS files are included, for all themes, as well as images. Fixes gh-2011 Closes gh-2059
* Build: Updating the main version to 1.13.2-pre.Michał Gołębiowski-Owczarek2022-01-201-1/+1
|
* Build: Update some npm dependenciesMichał Gołębiowski-Owczarek2022-01-201-2/+2
| | | | | | 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.
* Widget: Optimize attachment of the _untrackClassesElement listenerMichał Gołębiowski-Owczarek2022-01-154-3/+112
| | | | | | | | | | | | | | | 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
* Build: Add Felix to .mailmap, update AUTHORS.txtMichał Gołębiowski-Owczarek2022-01-152-0/+3
| | | | | | Beyond the `AUTHORS.txt` changes, this accounts for a recent email change in one of the commits. Closes gh-2039
* Autocomplete: Rewrite with a delay instead of appending the live regionBen Mullins2022-01-052-38/+55
| | | | | | | | | 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
* Build: Add extra Github action job for PR required checks configurationFelix Nagel2021-12-061-0/+9
|
* Build: Switch from Travis to GitHub actionsFelix Nagel2021-11-304-14/+51
| | | Closes gh-2021
* Widget: Make contextless widget construction workMichał Gołębiowski-Owczarek2021-11-192-1/+13
| | | | | | | | | | | | | | 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
* Sortable: Fix positioning when moving a Draggable item into a SortableMichał Gołębiowski-Owczarek2021-11-152-0/+63
| | | | | | | | | 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
* Sortable: Allow 0-height containers to be sortable as in 1.12.1Michał Gołębiowski-Owczarek2021-11-082-64/+110
| | | | | | | | | 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>
* Tooltip: Don't crash on empty contentJosep Sanz2021-11-082-1/+74
| | | | | | | | | | | | | | | Commit 1f2011ece removed a `try-catch` around triggering the `remove` handlers in the `jQuery.cleanData` override. The `try-catch` was meant for old IE but it was also catching an error coming from the tooltip `remove` handler depending on being able to find a relevant tooltip. The `_find` method returns `null`, though, when the tooltip cotent is empty. Instead of restoring the `try-catch`, handle the `null` case in the `remove` handler. Fixes gh-1990 Closes gh-1994 Co-authored-by: Claas Augner <github@caugner.de> Co-authored-by: Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
* Docs: Update the bug tracker from bugs.jqueryui.com to GitHubMichał Gołębiowski-Owczarek2021-10-074-8/+5
| | | | | | Also, remove the Weekly Meetings section from README as the meetings are no longer happening. Closes gh-1972
* Build: Updating the main version to 1.13.1-pre.Michał Gołębiowski-Owczarek2021-10-071-1/+1
|
* Tests: Take development jQuery versions from releases.jquery.comMichał Gołębiowski-Owczarek2021-09-291-2/+2
| | | | code.jquery.com is now used just for the specific versions.
* Tests: Load the TestSwarm listener via HTTPSMichał Gołębiowski-Owczarek2021-09-292-2/+2
|