Commit Graph

913 Commits

Author SHA1 Message Date
Markus Staab
4df6cb8b56 Merge pull request #1579 from Arkni/fix-1508
Fixes #1508: Validation fails to trigger when next field is already filled out
2015-09-25 15:06:07 +02:00
Markus Staab
7503699f63 Merge pull request #1588 from staabm/rev
Revert "Core: escape errorID only for use in the regex"
2015-09-25 10:56:38 +02:00
Markus Staab
60387834b8 Revert "Core: escape errorID only for use in the regex"
This reverts commit b2df81ccb6.
2015-09-25 10:55:12 +02:00
Markus Staab
b2df81ccb6 Core: escape errorID only for use in the regex
.. not for building `aria-describedby`
2015-09-25 10:15:12 +02:00
Brahim Arkni
cd4385572b Test: Fixed wrong order of parameters of the equal method 2015-09-23 22:49:00 +01:00
Brahim Arkni
737630e788 Core: Validation fails to trigger when next field is already filled out
Closes #494
Fixes #1508
2015-09-16 15:48:42 +01:00
Markus Staab
043fb91da7 Merge pull request #1578 from christopherbauer/remotetests
Core: method.js fix tests for #1567
2015-09-12 00:30:02 +02:00
Christopher Bauer
5679ad7bba Core: method.js fix tests for #1567
Incorrect tests were rebased.
2015-09-11 11:53:18 -04:00
Markus Staab
669f95e9a0 Merge pull request #1570 from christopherbauer/remotecheckpreviousdata
#1567 Instead of using validating field's value to skip api call, use the serialized data object of the request
2015-09-11 15:45:15 +02:00
Christopher Bauer
17a56baa6f Core: core.js, methods.js, Fix for #1567 - jquery-validation ignores data obj when validating, incorrectly returning previous status
This change determines if either the validated element's value OR one of the data properties has changed before aborting the remote request. If your remote validation is skipped due to being dependent on the value of another field, this fixes that issue.
2015-09-11 09:07:43 -04:00
Jörn Zaefferer
6129ab613e README: Replace pledgie link with 'Looking for maintainers' 2015-09-03 14:20:46 +02:00
The Gitter Badger
3d05ca7443 README: Added Gitter badge
Fixes #1563
Closes #1562
2015-08-31 15:54:16 +02:00
Markus Staab
f8e4be5979 Merge pull request #1536 from thomasgohard/ca-postal-code-update
Additionals: Updates to postalCodeCA method

Allow both upper case and lower case characters and zero or more spaces between the Forward Sorting Area and Local Delivery Unit portions as users do not always use all upper case or include a space (see wet-boew/wet-boew#6760).

Correct the regular expression to fail entries that include invalid characters D, F, I, O, Q, and U which are not used in Canadian postal codes.
2015-08-21 22:20:07 +02:00
Thomas Gohard
361d6e8f56 Additionals: Correct postalCodeCA to exclude invalid combinations 2015-07-23 15:43:51 -04:00
Thomas Gohard
705e98116c Additionals: Make postalCodeCA method more lenient 2015-07-23 14:11:11 -04:00
Markus Staab
b4d8887ab3 README: use svg badges, for retina friendlyness 2015-07-10 10:10:20 +02:00
Jörn Zaefferer
ef52a44a0d Demos: Add new demo, contributed by Marcus Kästner
Combines a custom method, jQuery UI UI theme and custom error
positioning in one demo for booking retro cinema tickets.

Also cleans up the demo index a bit.
2015-07-09 23:34:10 +02:00
Markus Staab
56cdbc2a1a Build: Speedup travis builds
Closes #1515
2015-07-09 21:28:28 +02:00
Jörn Zaefferer
bb1b5d3301 Build: Extend release checklist; fix publishing to npm 2015-06-30 18:29:07 +02:00
Jörn Zaefferer
bc535e8394 Build: Updating the master version to 1.14.1-pre. 2015-06-30 18:11:56 +02:00
Jörn Zaefferer
451683b8f8 Build: Nope nope nope 2015-06-30 17:57:22 +02:00
Jörn Zaefferer
2aab80497e Build: Can't override top-level methods 2015-06-30 17:48:40 +02:00
Jörn Zaefferer
697249002c Build: Update release script to skip changelog generator 2015-06-30 17:38:26 +02:00
Jörn Zaefferer
edbcf2c4fa Build: Prepare 1.14.0 release 2015-06-30 17:32:00 +02:00
Jörn Zaefferer
bc4223806a Core: Remove unused removeAttrs method
jQuery Core supports removing space-separated attributes since 1.7,
and its not used in the plugin anyway.

Fixes #1124
2015-06-30 17:01:29 +02:00
Jörn Zaefferer
f33690b8a5 Core: Replace regex for url method
Making private IPs invalid is fine, and I've modified it to keep
allowing protocol-relative urls.

Fixes #1426
2015-06-30 16:38:27 +02:00
Jörn Zaefferer
72217266b6 Tests: Fix lint issues 2015-06-30 16:20:04 +02:00
Jörn Zaefferer
6b0572551d Core: Remove bad url param in $.ajax, overwritten by $.extend 2015-06-30 15:18:14 +02:00
Jörn Zaefferer
328efc91a9 Core: Properly handle nested cancel submit button
Fixes #1370
Closes #1423
Closes #1490
2015-06-30 15:07:48 +02:00
Jörn Zaefferer
db877ebd27 Core: Fix indent 2015-06-30 14:58:55 +02:00
Jörn Zaefferer
515202d6cc Core: Refactor attributeRules and dataRules to share noramlizer
Closes #1391
2015-06-30 14:56:53 +02:00
Zen Chua
fa5f69c529 Core: dataRules method to convert value to number for number inputs
Updated dataRules method to convert value to number for number inputs.
Proposed fix for #1378
2015-06-30 14:42:56 +02:00
Jörn Zaefferer
64cb211178 Tests: Disable very slow additional methods tests
The methods themselves are mostly broken anyway, should extract into a
separate project.
2015-06-30 14:32:46 +02:00
Jörn Zaefferer
b7f3642e8a Tests: Remove slow and useless remote method tests 2015-06-30 14:29:49 +02:00
Yair Sladowsky
3c759331f5 Core: Update url method to allow for protocol-relative URLs
Closes #1510
2015-06-30 14:20:14 +02:00
Jörn Zaefferer
7e7f766c39 Core: Remove deprecated $.format placeholder
Fixes #756
2015-06-26 18:39:27 +02:00
Markus Staab
e397eac6ba CONTRIBUTING: Added a hint on how to run testsuite using a browser.
Closes #1497
2015-06-17 15:28:26 +02:00
Markus Staab
e84e6f5db0 Build: Added license info to package.json
This fixes a warning while `npm install` that the package does not
provide license information.

Closes #1501
2015-06-17 15:27:14 +02:00
David Weston
747890974c Core: Use jQuery 1.7+ on/off, add destroy method
Replaces validateDelegate method with jQuery's on() method. This raises
the minimum supported jQuery version to 1.7.0, dropping support for 1.6.

Closes #1392
2015-06-17 13:21:11 +02:00
jered
b733a25974 Additionasl: Update dateITA to address timezone issue
Timezone issue affected new zealand (GMT+13)

Closes #1416
Fixes #1414
2015-06-16 20:35:29 +02:00
rskm1
4ef86362c9 Additionals: Fix extension method to only method period
Fix regex in extension function to match PERIOD, rather than "any single
character".

Closes #1439
2015-06-16 20:24:59 +02:00
rskm1
0bf916d7c3 Additionals: Fix accept method to match period only
Fix regex in accept function to match (optional) PERIOD, rather than
(optional) "any single character".

Closes #1440
2015-06-16 20:24:02 +02:00
dnomak
3a75cb9fb9 Localization: Update messages_tr.js
Closes #1448
2015-06-16 20:20:29 +02:00
Shonetow
c96262d974 Localization: Update messages_sr_lat.js
Closes #1449
2015-06-16 20:19:18 +02:00
Brahim Arkni
e371d3f72e Core: IE8 compatibility changed .indexOf to $.inArray
Closes #1451
2015-06-16 20:18:02 +02:00
Florent
c5ac242eef Additionals: Update time method to allow single digit hour
Closes #1461
2015-06-16 20:16:10 +02:00
Marek ‘saji’ Augustynowicz
c3e8f4d09e Core: Cast NaN value attributes to undefined for Opera Mini
Closes #1470
2015-06-16 20:08:28 +02:00
Calinou
96b7036eb4 Build: Add a copy of the MIT license
Closes #1484
2015-06-16 20:01:41 +02:00
Markus Staab
d937c3198c Tests: Dropped obsolete timeouts, speeding up test runtime.
Fixes #1343
Closes #1496
2015-06-16 19:57:15 +02:00
Jörn Zaefferer
bb85279297 Tests: Make sure long TLDs work fine for email and url methods 2015-06-16 19:56:42 +02:00