Jörn Zaefferer
a8765ff614
Build: Only concat when running grunt-watch
2014-09-23 12:37:26 +02:00
Jörn Zaefferer
f1c611ed7a
Core: Apply ignore setting to all validationTargetFor elements
...
Previously the filter only applied to checkables. Adds a test and moves
an existing valid() test closer to the others.
Ref #156
Closes #468
2014-09-23 12:23:37 +02:00
Jörn Zaefferer
8b2f1e09b8
Core: Use return value of submitHandler to allow or prevent form submit
...
Gives more control to the user over allowing or preventing the native
submit event, instead of always preventing it.
Fixes #650
2014-09-23 11:59:05 +02:00
Jörn Zaefferer
0cb3c957c1
Core: Explicit default for focusCleanup option
...
Also removes unused blockFocusCleanup property check.
Fixes #676
2014-09-23 11:53:18 +02:00
Damian Mooyman
c054707d6f
Core: Fix incorrect regexp
...
Fixes #1200
Closes #1201
2014-08-11 17:08:41 +02:00
Jörn Zaefferer
4b33a75067
Build: Updating the master version to 1.13.1-pre.
2014-07-01 21:35:41 +02:00
Jörn Zaefferer
3112352497
Package: Use valid semver for the pre version
2014-07-01 21:15:51 +02:00
Jörn Zaefferer
e5f2d29f57
Build: Fix the jscs upgrade, disable some rules for now
2014-07-01 21:15:26 +02:00
Jörn Zaefferer
577fd07484
All: Prepare 1.13.0 release
2014-07-01 21:04:16 +02:00
ado130
1e3d6b6ed6
Localization: Fix sk translation of rangelength method
...
Closes #1001
2014-07-01 20:44:53 +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
lboullo0
a9ba16538c
Additionals: Fix dateITA method to deal with DST bug
...
Fixes #264
Closes #1144
Fix to Bug with dateITA and daylight saving time #264
2014-07-01 20:26:33 +02:00
Jörn Zaefferer
f85d4b7112
Build: Update jscs, remove rules now included in the jquery preset
2014-07-01 20:23:50 +02:00
Jörn Zaefferer
1436337fd6
Demos: Fix markup in captcha and marketo demo
...
Ref #1159
Ref #1185
2014-07-01 20:07:53 +02:00
Jörn Zaefferer
a513ca4074
Test: Removes stale and useless test files and firebug light
2014-07-01 19:58:56 +02:00
Lars Laade
4c8c397773
All: Remove closing slash on empty elements
2014-06-24 09:01:42 +02:00
Jörn Zaefferer
3527d089df
Additionals: Fix $/jQuery usage, only use $ reference
...
Fixes #1180
2014-06-23 12:54:40 +02:00
Damian Mooyman
ea22f54348
Core: Respect non-error aria-describedby and empty hidden errors
...
Ref #1083
Closes #1140
2014-06-23 11:17:35 +02:00
paladox2015
a8679848dc
All: Update copies of externals and versions of CDN references
...
Updates jQuery Mobile demo to use 1.4, updates Multipart demo to use
latest jQuery UI, updates requirejs demo to use latest requirejs and jQuery,
updates copy of QUnit to latest.
Closes #1164
Closes #1166
Closes #1168
Closes #1169
Closes #1170
2014-06-17 16:45:19 +02:00
Nick Schonning
764a72a1d1
Style: Add JSCS target for Gruntfile
...
Closes gh-1131
2014-06-17 16:19:50 +02:00
Lars Laade
32087b66e6
Test: added click on radio/checkbox test
2014-06-11 23:42:42 +02:00
Damian Mooyman
18eed400c8
Tests: Update error-placement test for jQuery 1.11 compatibility
...
Closes #1158
2014-06-10 10:51:56 +02:00
paladox2015
365cc87b7e
Lib: Add jQuery 1.11.1, remove the jquery.js loader in test/
2014-06-09 21:46:59 +02:00
paladox2015
a6a369abc6
Update jquery.mockjax.js
...
update mockjax
2014-06-07 12:13:18 +01:00
Jörn Zaefferer
bd438b3358
Build: Set atBegin option for watch task
2014-06-05 12:49:32 +02:00
Jyrki Lilja
e148be0674
Localization: Add Finnish methods
...
Closes #1114
2014-05-30 14:02:18 +02:00
Nick Schonning
bfc2f43703
All: Update URLs to jqueryvalidation.org
...
Fixes #1123
Closes #1134
2014-05-30 11:36:10 +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
Nick Schonning
56a2a18368
Build: Bump and merge JSHint/JSCS config
...
Moved options depreciated in the latest JSHint to the JSCS version.
2014-05-26 23:13:18 -04:00
Lars Laade
cda5efa487
Core: Added radio/checkbox to delegate click-event
...
Reverts the accidental change from d319a0da35 ,
where these event handlers were dropped.
Closes #1126
2014-05-23 14:17:35 +02:00
Lars Laade
db55d36de5
ALL: Add plugin UMD wrapper, Closes #977
2014-05-21 13:31:48 +02:00
Damian Mooyman
e5e70b1632
Core: Use aria-describedby for non-label elements
...
Fixes #900
Closes #1083
2014-05-21 11:39:51 +02:00
Nick Schonning
0db53a4ee2
Localization: Fixed GL number validation message
...
The validation message was targeted only to integers ("entero") while the
number method validates decimals http://jqueryvalidation.org/number-method/
Related to #1016
2014-05-20 12:27:07 -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
Nano Taboada
1c96273c7c
Localization: Fixed ES number method validation message
...
The validation message was targeted only to integers ("entero") while the
number method validates decimals http://jqueryvalidation.org/number-method/
Closes #1016
2014-05-20 16:07:15 +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
Diego
e147ece02d
Localization: Added galician (GL)
...
Closes #1119
2014-05-20 15:58:46 +02:00
Markus Staab
d319a0da35
Core: Register focusin, focusout and keyup also on radio/checkbox
...
Fixes #1062
Closes #1065
2014-05-20 15:54:26 +02:00
Nick Schonning
7d742eef65
Add note about email validation regex change
2014-05-10 16:03:24 -04:00
Damian Mooyman
8c6c9c1251
Demos: Fix captcha and marketo demo
...
Closes #1103
2014-05-06 10:51:58 +02:00
Manuel Dalla Lana
3c38ff50dc
Additionals: Add postalcodeIT method
...
Closes #1107
2014-05-06 10:41:32 +02:00
Jörn Zaefferer
33cdbe03f6
Demos: Fix includes in themerollered demo
2014-05-06 10:36:01 +02:00
Nick Schonning
f5a7ce5f98
All: Format HTML as per jQuery style guide
...
Fixes #1101
Closes #1104
2014-05-06 10:35:41 +02:00
Markus Staab
fdafdd7dfb
Core: prevent unnecessary $() rewrapping, re-use local var instead
2014-05-02 20:29:48 +02:00
Jörn Zaefferer
a0ed6f8111
Core: Fix normalization for rangelength attribute value
...
This regressed at some point, probably when rules-as-data-attributes where
introduced, since those are automatically parsed as JSON. For the unprocessed
attributes, the array brackets have to be removed.
Also fixes the milk demo, which specified rangelength as the message, instead of
minlength, which it actually uses.
Fixes #1087
2014-04-29 20:41:18 +02:00
Jamie R. Rytlewski
d09a5ee199
Core: Update elementValue method to deal with type="number" fields
...
The HTML5 draft defines, for type="number" inputs: "The value
sanitization algorithm is as follows: If the value of the element is not
a valid floating-point number, then set it to the empty string instead."
If the constraint validation considers the input invalid, return false
as the value, instead of the empty string, for the number and digit
methods to output their messages.
This would break in browsers that support type="number", but not the
constraint validation API. I don't know of any existing browser where
that applies.
Fixes #858
Fixes #922
Closes #1093
2014-04-29 20:23:43 +02:00
Markus Staab
104e8efceb
Tests: Use asyncTest() method, replacing test() and stop() calls
...
Closes #1097
2014-04-29 17:56:41 +02:00
Markus Staab
6eb3a576ed
Core: Use element.name and element.type consistently
...
Instead of using the jquery provided method, we use the native ones
instead. we already rely on them in other places, therefore we don't get
anything from using them here.
Closes #1096
2014-04-29 17:48:57 +02:00
jcare44
1e6184256d
Localization: Fixed French messages for min and max methods
...
Closes #1090
2014-04-29 17:21:16 +02:00