Commit Graph

101 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
beeb410ccb
Build: Add jQuery 3.6.4, update Migrate to 3.4.1
Closes gh-2161
2023-05-10 10:54:31 +02:00
Michał Gołębiowski-Owczarek
546214e869 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
2023-05-10 10:53:57 +02:00
Michał Gołębiowski-Owczarek
f68d655aff Build: Update dependencies, including QUnit 1 -> 2
Also, fix htmllint lang exclusion patterns.

Ref gh-2157
2023-05-10 10:53:57 +02:00
Michał Gołębiowski-Owczarek
360259e2b2 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
2023-05-10 10:53:57 +02:00
Michał Gołębiowski-Owczarek
afb83c315d Build: Test on Node 10, 16 & 18; fix CI in Node <16
Ref gh-2157
2023-05-10 10:53:57 +02:00
Michał Gołębiowski-Owczarek
3286792ec5
Build: Add jQuery 3.6.1-3.6.3, update Migrate to 3.4.0 2023-01-15 21:41:18 +01:00
Felix Nagel
e0a78d4400
Build: Switch from Travis to GitHub actions
Closes gh-2021
2021-11-30 16:47:11 +01:00
Michał Gołębiowski-Owczarek
f381ec0513 Docs: Update jQuery used for demos to 3.6.0
jQuery 1.12.4 misses some Core APIs that jQuery UI depends on and that are not
polyfilled in demos.
2021-09-25 12:24:55 +02:00
Michał Gołębiowski-Owczarek
70dae67b73
Build: Migrate from JSHint & JSCS to ESLint
Fixes #15393
Closes gh-1958
2021-06-07 00:58:12 +02:00
Michał Gołębiowski-Owczarek
e31cf579a0
Build: Fix the new htmllint error regex
Some bad pages are being detected as Catalan randomly which makes the build
fail. This is reproducible both locally & on Travis. PR gh-1949 added a new
regex to account for this error but it didn't escape parens properly so it's
not matching the problematic error message.

Ref gh-1949
Closes gh-1950
2021-03-10 11:50:52 +01:00
Michał Gołębiowski-Owczarek
1029849a53
Build: Add a new htmllint error regex
Some bad pages are being detected as Catalan randomly which makes the build
fail. This is reproducible both locally & on Travis. This commit adds a new
regex to account for this error.

Closes gh-1949
2021-03-09 00:10:38 +01:00
Michał Gołębiowski-Owczarek
e6592a8aff
Build: Add jQuery 3.6.0, update Migrate from 3.3.1 to 3.3.2
Closes gh-1948
2021-03-09 00:09:51 +01:00
sakshi87
91b6fc3f08
Build: Update grunt-contrib-qunit version from 1.0.1 to 4.0.0
Closes gh-1894
2020-10-21 23:43:26 +02:00
Micah Miller
a22361dbe4 Build: Update to the latest version of Grunt & many other packages
JSHint, JSCS & QUnit-related packages are not updated as they need more code
adjustments.

Fixes #15112
Closes gh-1882
2020-10-14 23:55:35 +02:00
Michał Gołębiowski-Owczarek
d2f577f13b
Tests: Update jQuery Migrate from 3.3.0 to 3.3.1
That upgrade makes UI pass the whole test suite without a single jQuery Migrate
warning. 🎉

Closes gh-1932
2020-07-27 21:03:48 +02:00
Michał Gołębiowski-Owczarek
b61b16b5a8
All: Drop support for jQuery 1.7
Closes gh-1923
2020-07-22 16:04:47 +02:00
Michał Gołębiowski-Owczarek
d37ebc624d
Build: Add jQuery 3.5.0 & 3.5.1
Closes gh-1915
2020-05-16 08:27:27 +02:00
Michał Gołębiowski-Owczarek
512cbbf4d9
Build: Update jQuery Simulate, jQuery Migrate & jQuery Color
The jQuery Simulate & jQuery Color updates are needed for compatibility
with jQuery master, a future jQuery 4.

Closes gh-1914
2020-05-16 08:26:48 +02:00
Michał Gołębiowski-Owczarek
98b539171b All: Migrate away from deprecated/removed Core APIs
Summary of the changes:

* Build: Add jQuery 3.2.0-3.4.1 to versions UI can be tested against
* Build: Load jQuery & Migrate via HTTPS
* Build: Add package-lock.json to .gitignore
* Build: Update jQuery Migrate from 3.0.0 to 3.1.0
* Build: Allow to run tests against jQuery 3.x-git
* Build: Fix formatting according to JSCS rules
* Build: Disable JSCS for the inlined jQuery Color
* All: Switch from $.isArray to Array.isArray (jQuery.isArray will be
  removed in jQuery 4.0)
* All: Switch from `$.isFunction( x )` to `typeof x === "function"`
  (jQuery.isFunction will be removed in jQuery 4.0)
* All: Inline jQuery.isWindow as it'll be removed in jQuery 4.0
* Effects: Fix a timing issue in a variable declaration. Previously,
  a jQuery object was created, chained & assigned to a variable that
  was then accessed in a callback used inside of this chained
  definition. Due to a timing difference in when the callback fired for
  the first time in latest jQuery master, it was being called before
  the variable was defined.
* Tests: Make dialog & draggable unit tests less strict (newest jQuery
  returns fractional results in some cases, making comparisons fail when
  there's a tiny difference)
* All: Migrate from $.trim to bare String.prototype.trim (jQuery.trim
  will be deprecated in jQuery 3.5)

Closes gh-1901
2019-12-08 22:23:08 +01:00
Eirik Sletteberg
4fa0267edc Qunit: Add bootstrap config for running tests with jQuery Migrate
Closes gh-1774
2017-02-06 08:23:18 -05:00
Michał Gołębiowski
4673c8808b Build: Add jQuery 3.1.1
Closes gh-1766
2016-11-02 12:52:22 -04:00
Scott González
c218bee80d Build: Fix list of source files
Fixes #15052
Closes gh-1751
2016-09-27 08:41:33 -04:00
Scott González
ea44d84975 Build: Add jQuery 3.1.0 2016-07-08 13:02:10 -04:00
Alexander Schmitz
71b93ed247 Build: Add jQuery 3.0 for testing 2016-07-06 09:45:29 -04:00
Scott González
23d1db5845 Build: Adjust author info for Dan Strohl 2016-06-30 11:07:44 -04:00
Michał Gołębiowski
468f1e3abe Build: Add jQuery 1.12/2.2 to the test configuration
Ref gh-1706
2016-05-25 16:42:06 -04:00
Alexander Schmitz
63448148a2 Build: Remove maxLineLength execption in .jscsrc
Also seperates tests into a seperate task because they still have many errors

Closes gh-1690
2016-04-13 11:32:22 -04:00
Scott González
48257cd9ca Build: Adjust author info for Dan Strohl 2016-04-06 13:06:40 -04:00
Scott González
6c6ec87516 Build: Upgrade grunt-git-authors to 3.1.0
Ref gh-1670
2016-02-09 14:18:37 -05:00
Scott González
e20cec37cf Build: Remove grunt-esformatter
Ref gh-1670
2016-02-09 14:18:34 -05:00
Scott González
0046553065 Build: Add grunt jenkins task 2015-10-17 21:14:39 -04:00
Scott González
e6b9b7cc02 Build: Fix requirejs task and add CSS concat task back in 2015-10-17 16:28:14 -04:00
Jörn Zaefferer
b698f809de Tests: Use demo bootstrap for visual tests
Adds a data-composite option and fixes paths for effects. Otherwise
just applies the same conversion as already applied to demos, sometimes
moving a <style> element to the right place.
2015-09-30 17:55:20 +02:00
Alexander Schmitz
ffcb27c0c7 Build: update grunt file for .jscsrc
Closes gh-1589
2015-09-11 09:32:27 -04:00
Alexander Schmitz
3cf1df12c6 Build: Remove requireCamelCaseOrUpperCaseIdentifiers: null from jscs 2015-09-11 08:36:41 -04:00
Alexander Schmitz
3d43f0d7a4 Build: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
8d4157f4e3 Build: Style updates
Fixes #14246
Closes gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
7cb0a2ba89 Build: Remove grunt concat task its no longer used
This task was only used to create the combined js file for sizer
and for creating the combined files for the NPM package. The
npm package is no longer maintained so there is no need for this any more.
2015-08-08 00:29:39 -04:00
Alexander Schmitz
a4869031e0 Build: Add requirejs build task
This more closely emulates what you get from the builder in terms of file order
it also will error on any dependency issues.
2015-08-08 00:29:39 -04:00
Alexander Schmitz
919828dfbe Build: Add demos to jscs and jshint 2015-07-21 11:00:40 -04:00
Alexander Schmitz
7336a5869c Demos: Add new infrastructure using a require.js bootstrap
Fixes #10119
Closes gh-1557
2015-07-21 11:00:40 -04:00
Scott González
ae25cdb688 Build: Upgrade to jQuery 1.11.3 2015-05-14 08:25:16 -04:00
Scott González
6231b161b9 Tests: Fix AMD loading in IE8
It appears that we must load require.js via a standard script tag in order
for it to work properly in IE8.
2015-04-17 12:13:38 -04:00
Scott González
4bf80d209a Tests: Use the qunit-assert-close module
Moved QUnit assertion dependencies from `lib/bootstrap` to `lib/qunit`.

Corrected bad draggable assertions.

Ref gh-1528
2015-04-09 09:28:25 -04:00
Scott González
7c896ddb85 Tests: Change test infrastructure to use AMD and reduce boilerplate
Ref #10119
Ref gh-1528

* Adds RequireJS and relies on AMD for loading dependencies.
* Updates to grunt-contrib-qunit 0.6.0.
* Convert `domEqual()` to a proper QUnit assertion.
* Introduces two bootstrap files (JS and CSS) which use `data-` attributes to
reduce the amount of boilerplate needed in each test
2015-04-09 09:21:06 -04:00
Scott González
500f6b4992 Tests: Switch to the new qunit-composite module
This module was created from our existing implementation.

Closes gh-1532
2015-04-07 09:03:36 -04:00
Jörn Zaefferer
868e8c70e3 Effects: Fix style issues in individual effects
Skipping ui/effect.js since embedded jquery-color has many issues.

Closes gh-1510
2015-03-18 15:42:55 +01:00
Jörn Zaefferer
8bcd363ae6 Build: Menu and Tabs now pass all jscs rules 2015-03-18 15:00:20 +01:00
Jörn Zaefferer
4e6e27d073 Build: Increase htmllint coverage by testing all files, ignoring errors
Also formats jscsBad array and sorts it alphabetically.

Closes gh-1507
2015-03-18 14:18:34 +01:00
Jörn Zaefferer
62620a3fdb Build: Update grunt-jscs to latest, use exceptions to improve coverage
Closes gh-1506
2015-03-18 13:50:56 +01:00