Dominik Krzywiecki
31176a239a
Additional: Polish tax id validation method ( #1850 )
2017-02-11 20:58:56 +01:00
jarey
7457cc6401
Additional: Fixed validation for specific case for Spanish NIFs. ( #1914 )
2017-01-28 12:48:57 +01:00
Alfonso Martin
e7422d6d1e
Additional: Refine cifES and nieES algorithms ( #1826 )
2016-12-01 16:15:22 +01:00
Brahim Arkni
8fe4a90185
Tests: Upgrade QUnit to 2.0.
...
Closes #1777 . #1681 .
2016-07-22 17:56:18 +02:00
Torgny Bjers
cb6068110c
Tests: Added regression unit tests for PR #1760
...
Testing small fraction steps to ensure correct modulo operation.
Cleaned up @adhayward's formatting, was using spaces instead of tabs.
2016-07-15 16:10:00 +02:00
Brahim Arkni
b9d5d80f3f
Additional: Fix multiple mime-type validation
...
Fixes #1775 . Closes #1779 .
2016-06-14 17:32:26 +02:00
Michael Hohlovich
7b8a0face3
Additional: IBAN require at least 5 chars. Closes #1797 . Fixes #1674 .
2016-06-14 17:29:09 +02:00
Lars Skjelbek
e9fd71d89b
Core: Unhighlighting field if already highlighted when using remote rule.
...
Closes #1712 . Refs #1669 , #1375 , #12 .
2016-02-19 15:52:34 +01:00
Štefan Baebler
9ab4b8c32f
Additional: BIC: allow digits 1-9 in second place of location
...
It seems that the BIC specification https://en.wikipedia.org/wiki/ISO_9362
was interpreted too strictly, only allowing digits 1 and 2 while those 2 just
have a special meaning, but all 1-9 are allowed.
Example: SSKNDE77XXX Sparkasse Nuernberg. Closes #1658 .
2016-01-28 18:20:01 +01:00
Markus Staab
9d00c2b9ff
Tests: added coverage for #697 (Arkni).
2016-01-07 17:41:53 +01:00
Lukasz Wozniak
4ebe40d1b2
Core: Fixed field highlighting with remote validation.
...
Prevent remote validation from removing highlight from other invalid fields.
Closes #1584 .
2016-01-07 17:29:42 +01:00
Michal Moravec
9962f627c0
Additionals: Accept method regex should be escaped properly.
...
This adds support for types like "application/epub+zip"
which contain regex meta characters.
Fixes #1243 , #1258 . Closes #1531 , #1373 . Refs #1512 .
2015-11-26 08:58:12 +01:00
Filip Mares
b3c07e3957
Core: HTML5 step attribute support. Fixes #1295
2015-11-12 10:14:36 +01:00
Brahim Arkni
3f3fb8c2ed
Test: extend BIC unit test to support lowercased BIC values
2015-11-09 09:24:31 +01:00
Brahim Arkni
729823a807
All: Fixed code style issues
2015-10-30 23:55:26 +00:00
Brahim Arkni
7143d5197e
Tests: uncomment require_from_group & skip_or_fill_minimum tests
2015-10-30 15:07:38 +00:00
Saldanha
c52da5ba98
Test: Added test for "pending" remote status
2015-10-29 17:20:53 -04:00
Brahim Arkni
f0144b56b9
Core: Split out creditcard method
...
As mentioned by Jörn in #1506
2015-10-21 22:48:06 +01:00
Brahim Arkni
842e7ff5dd
Test: Fix misuse of equal method & some spacing issues.
2015-09-25 16:54:38 +01:00
Christopher Bauer
5679ad7bba
Core: method.js fix tests for #1567
...
Incorrect tests were rebased.
2015-09-11 11:53:18 -04: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
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
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
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
Florent
c5ac242eef
Additionals: Update time method to allow single digit hour
...
Closes #1461
2015-06-16 20:16:10 +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
Jörn Zaefferer
2ad0ca82da
Core: Stop trimming value inside required method
...
There was never much of a point anyway, and it causes problems.
Fixes #1498
2015-06-16 19:50:11 +02:00
Jörn Zaefferer
60dd41053d
Additionals: Drop bad test for notEqualTo method
2015-02-17 12:12:30 +01:00
Daniel DeGroff
c4b891e837
Additionals: Add notEqualTo method
...
New method ‘notEqualTo’ that delegates to the equalTo method and
returns the inverted value.
Closes #1020
2015-02-17 12:04:24 +01:00
wozzo
02b800d9af
Core: Fixed number validation error
...
A single minus sign is invalid.
Fixes #1359
Closes #1361
2015-01-20 16:46:57 +01:00
Nadi
89034eb4d4
Additionals: Brazilian CPF number
...
Closes #1310
2014-11-11 22:33:42 +01:00
fernandopasse
cc6c4a4fd6
Additionals: Add postalcodeBR method
...
Validates brazialian postal codes
Closes #1291
2014-10-14 16:28:31 +02:00
Barry vd. Heuvel
4cecd73649
Additionals: Fix pattern method when parameter is a string
...
Reverts 37992c1c9e
The pattern should match the entire value of the input, not just a subset.
Closes #1204
2014-10-02 18:10:14 +02:00
Jörn Zaefferer
452b823c86
Core: Don't trim value in min/max/rangelength methods
...
Fixes #1274
2014-09-23 13:33:14 +02:00
Jörn Zaefferer
e5f2d29f57
Build: Fix the jscs upgrade, disable some rules for now
2014-07-01 21:15:26 +02:00
Jeremy Forsythe
a128e26f04
Additionals: Add statesUS method
...
Validates two-letter US state abbreviations (including DC)
Closes #1005
2014-07-01 20:42:19 +02:00
Wing
a096aa2b76
Core: Improve dateISO RegExp
...
Closes #1136
2014-05-30 11:18:14 +02:00
Nick Schonning
d0c56e005e
Build: Run JSCS against tests
2014-05-27 00:08:54 -04:00
pylover
b258647540
Additionals: Add persian date method
...
Also add localization for minWords and maxWords in persian.
Closes #1038
2014-05-20 16:13:41 +02:00
Nick Schonning
07779ae502
Additionals: Add postalCodeCA method
...
Checks for Canadian postal codes using the base regex from
http://geekswithblogs.net/MainaD/archive/2007/12/03/117321.aspx with
additional constraints from
http://www.canadapost.ca/tools/pg/manual/PGaddress-e.asp .
- First character must be a valid forward station character
- Must be all caps
- Must use space for forth character
Closes #1118
2014-05-20 16:05:32 +02:00
Markus Staab
104e8efceb
Tests: Use asyncTest() method, replacing test() and stop() calls
...
Closes #1097
2014-04-29 17:56:41 +02:00
Jörn Zaefferer
e72a9b62df
Test: Cleanup indent
2014-04-01 11:07:09 +02:00
Nick Schonning
3e09fcb719
JSHint: Apply onevar to tests
2014-01-23 18:14:23 -05:00
Nick Schonning
313fd1dd3f
JSHint: Remove unused parameters
...
- Fix double quoting in mockjax response to use doublequotes again
2014-01-23 17:45:37 -05:00
Nick Schonning
3d6f596485
JSHint: Replace braces with dot notation
2014-01-23 16:23:10 -05:00
Nick Schonning
91fa266cfe
JSHint: Replace single for double quotes in tests
2014-01-23 16:16:53 -05:00