Commit Graph

332 Commits

Author SHA1 Message Date
Nick Schonning
eef45bcc72 Split out iban and bic 2013-06-24 14:23:12 +02:00
Nick Schonning
e1ba7f0b18 Split out dateITA 2013-06-24 14:23:12 +02:00
Nick Schonning
bc99fe1d61 Split out vinUS 2013-06-24 14:23:12 +02:00
Nick Schonning
03560023ff Split out integer 2013-06-24 14:23:12 +02:00
Nick Schonning
3153cfcd1a Split out zipcodeUS 2013-06-24 14:23:12 +02:00
Nick Schonning
f05f621156 Split out ziprange 2013-06-24 14:23:12 +02:00
Nick Schonning
be94cfeb41 Split out nowhitespace 2013-06-24 14:23:12 +02:00
Nick Schonning
8404ade32c Split out lettersonly 2013-06-24 14:23:11 +02:00
Nick Schonning
330b0eab0e Split out alphanumeric 2013-06-24 14:23:11 +02:00
Nick Schonning
a881706741 Split out letterswithbasicpunc 2013-06-24 14:23:11 +02:00
Nick Schonning
0bce286762 Split out ajax extension 2013-06-24 14:23:11 +02:00
Nick Schonning
2f4b5b99c2 Split out validateDelegate 2013-06-24 14:23:11 +02:00
Nick Schonning
492c40d978 Add watch task to aid testing while splitting 2013-06-24 14:23:11 +02:00
Nick Schonning
d33806b88c Fix demo paths to use dist files
The demo host will now need to include these files. If the gh-pages
branch is used, the a git add -f may be required
2013-06-24 14:23:11 +02:00
Nick Schonning
6480d26374 Fix paths in tests to use dist copy of files 2013-06-24 14:23:10 +02:00
Nick Schonning
479aca5c62 Update Grunt build paths
Add the concat path for the default task as the files will need to be rebuilt before they can be tested now
2013-06-24 14:23:10 +02:00
Nick Schonning
75b6b3621a Move localizations under src 2013-06-24 14:23:10 +02:00
Nick Schonning
b20949d819 Move additional methods under src/additional 2013-06-24 14:23:10 +02:00
Nick Schonning
18d6f2a728 Move and rename jquery validate core file 2013-06-24 14:23:10 +02:00
Nick Schonning
53a055c40d Fix Documentation link that is already forwarded 2013-06-20 16:35:56 -03:00
Andy Cohen
2049afe46c Changes references from '$' to 'jQuery', for compability with jQuery.noConflict. Closes gh-754
If you use jQuery.noConflict, this plugin fails to work when using those additional methods.
2013-05-24 18:42:25 +02:00
Jörn Zaefferer
01e62511e8 Update doc URLs 2013-05-24 18:40:05 +02:00
Jörn Zaefferer
80fd21edf6 Update site URL in readme 2013-05-24 18:14:35 +02:00
Jörn Zaefferer
00be77ff20 Demo CSS for new site 2013-05-23 16:41:16 +02:00
Jörn Zaefferer
31f509bdfe Demos: Cleanup markup 2013-05-23 16:41:07 +02:00
g1smd
d447b41b83 Update phonesUK and mobileUK to accept new prefixes. Closes gh-750 2013-05-22 12:53:42 +02:00
g1smd
5cad6b4935 BIC method: Improve RegEx, {1} is always redundant. Closes gh-744 2013-05-20 16:51:31 +02:00
Jörn Zaefferer
b51e86f558 Add extra unit test for zipcodeUS method, based on GH comment 2013-05-20 15:53:31 +02:00
rstaib
ed51405d84 Add validation method for BIC. Closes gh-743 2013-05-14 18:11:41 +02:00
Jörn Zaefferer
059dbd41b0 Update grunt dependencies 2013-05-12 17:00:00 +02:00
Jörn Zaefferer
c7c621790a Update demos: Basic cleanup, no more metadata. Fixes #708 2013-05-12 16:44:33 +02:00
TaeyoungYoon
5da3085ff0 Update messages_ko.js - closes gh-715
fixed a few misspelled words and refined unnatural places
2013-05-12 15:44:08 +02:00
Strand McCutchen
165005d4b5 Verify nine-digit zip codes. Closes gh-726 2013-05-12 15:17:16 +02:00
Jörn Zaefferer
72f179f1c9 Update demos and tests to jQuery 1.9.1 2013-05-12 15:03:43 +02:00
Veres Lajos
f79e647f9f typo fixes 2013-05-08 14:35:26 +01:00
Nick Schonning
6e354b5029 Add instructions for reporting an issue 2013-05-06 14:53:21 -03:00
Nick Schonning
2dd76f73b7 Add jQuery style guide link 2013-05-06 14:47:39 -03:00
Jörn Zaefferer
1122c04baf Fix multipart demo 2013-04-28 23:02:32 +02:00
Nick Schonning
69bb292fc4 Update Grunt install instructions
The grunt package is no longer installed globally. The global runner has moved to the CLI package with Grunt in the local node_modules folder.
2013-03-22 17:13:29 -03:00
Jörn Zaefferer
493c0c3772 Bump post-release version 2013-03-22 15:19:48 +01:00
Jörn Zaefferer
3b39aec630 Release 1.11.1 1.11.1 2013-03-22 15:17:51 +01:00
jcbowman
10d90529c9 Revert to also converting parameters of range method to numbers. Closes gh-702
Unlike min/max, there's no range attribute in html5. For dates, min/max can be used.
2013-03-22 14:58:17 +01:00
Jörn Zaefferer
8250adb140 Replace most usage of PHP with mockjax handlers. Do some demo cleanup as well, update to newer masked-input plugin. Keep captcha demo in PHP. Fixes #662 2013-03-20 15:40:10 +01:00
Jörn Zaefferer
ff5e4f626d Remove inline code highlighting from milk demo. View source works fine. 2013-03-20 15:09:29 +01:00
Jörn Zaefferer
c73d5d7342 Fix dynamic-totals demo by trimming whitespace from template content before passing to jQuery constructor 2013-03-20 13:28:09 +01:00
Erik van Konijnenburg
5b114e10db Fix min/max validation. Closes gh-666. Fixes #648
In 1.10.0, min/max validation was supported for input type="text",
where min/max were interpreted as numbers.  This means min/max
for date would not work: min="2012-02-13" was interpreted as min="Not a Number".

In 1.11.0, min/max were no longer converted to numbers.  This means
min/max for dates worked, but min/max for numbers failed:
"50" < "150" < "1000" does not hold.

For an example, see http://jsbin.com/awokex/3

This commit makes the behaviour of min/max dependent on input type:

 * input type=text (or not type attribute) has numeric min/max, as in 1.10.0
 * input type=date has working min/max for type date;
   on mobile browsers you also get a date picker,
   plus the browser may reject invalid dates before
   javascript gets a chance to complain.
 * input type=number or range get numeric min/max,
   plus numeric keypad or slider on mobile browsers,
   plus browser may reject invalid input before javascript
   gets a chance to complain

Allowing use of min/max with type=number/range/date is important
for mobile browsers, where the numeric keypad or date picker
make the input much easier to use than a generic text input field.
In this situation jquery-validate remains necessary to support
older browsers that do not do input validation based on type
and min/max.

For situations where numeric input should be validated by jquery
without giving the browser a chance to validate the input format,
input type=text in combination with min/max can be used, as in 1.10.0.
2013-03-20 13:17:58 +01:00
Bogdan Litescu
4a134b6db6 Fixed 'messages' coming up as a rule and causing an exception after being updated through rules("add"). Closes gh-670, fixes #624 2013-03-20 12:49:25 +01:00
DexterPark
51f9109958 Add Korean (ko) localization. Closes gh-671 2013-03-20 12:22:52 +01:00
James Thompson
bbbf87903d Improved the UK postcode method to filter out more invalid postcodes. Closes #682
Old one allows integers between 5-7 digits which is not valid.

New one is still case insensitive and allows spaces & fixes the above issue.
2013-03-20 12:19:20 +01:00
Niklas Nilsson
cc810a217d Update messages_sv.js. Closes #683
Fixed invalid HTML entities that made dateISO error look funny.
2013-03-20 12:13:09 +01:00