Commit Graph

48 Commits

Author SHA1 Message Date
rstaib
ed51405d84 Add validation method for BIC. Closes gh-743 2013-05-14 18:11:41 +02:00
Strand McCutchen
165005d4b5 Verify nine-digit zip codes. Closes gh-726 2013-05-12 15:17:16 +02: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 2013-03-22 15:17:51 +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
jzaefferer
4a51e71c6f Fix typos 2013-03-07 13:55:35 +01:00
Jörn Zaefferer
17b2795484 Fix lint error in new iban method 2013-02-27 17:35:35 +01:00
Robbert Wethmar
509e6e3619 Add additional, dutch-specific methods: phone, mobile, postal, bank and giro account
add dutch phone number validation
2013-02-27 15:43:06 +01:00
Robbert Wethmar
581ccd80ec Added iban validation. Closes gh-630 2013-02-27 14:27:22 +01:00
g1smd
45154af738 Updated and corrected GB RegEx pattern. Minor refactor of RegEx pattern. Minor RegEx refactor for efficiency. Fix holes in date validations. Closes gh-514 2013-02-27 13:55:20 +01:00
Jörn Zaefferer
ff26f320c6 Fix post-release version 2013-02-05 10:19:27 +01:00
Jörn Zaefferer
0996fc4cf2 Bump post-release version 2013-02-04 12:24:04 +01:00
Jörn Zaefferer
8caa0b7480 Release 1.11.0 2013-02-04 12:22:06 +01:00
juadielon
72345a461e Fix mimetype regex
Regex was only replacing the first * when having multiple mimetypes.
For example image/*,video/*
2013-01-24 11:43:48 +01:00
Jörn Zaefferer
315189301a Add plugin manifest and update headers to just MIT license, drop unnecessary dual-licensing (like jQuery). 2013-01-22 22:21:43 +01:00
Jörn Zaefferer
696452f636 Whitespace 2012-12-10 12:41:08 +01:00
Michael Phillips
2fbe406995 Removed spaces with multiple MIME types
If multiple MIME-types are specified, this will get rid of any extra spaces between them.

`audio/mp3, audio/m4v`

becomes

`audio/mp3,audio/m4v`

for parsing successfully.
2012-12-06 17:52:02 -05:00
Jörn Zaefferer
3d02806333 Whitespace/indent fixes 2012-11-26 13:50:28 +01:00
Synchro
acc96f9e17 Some minor cleanups of things flagged by static analyser in PHPStorm 2012-11-26 13:31:44 +01:00
Synchro
e4f3a87493 Fix some date validations, JS syntax errors. 2012-11-26 11:48:24 +01:00
Nick Schonning
f221f68a47 JSHint additional-methods.js and add to grunt 2012-11-04 18:06:38 +01:00
Jörn Zaefferer
64e806b462 Bump post release version 2012-09-07 13:15:08 +02:00
Jörn Zaefferer
ec9c676972 Release 1.10.0 2012-09-07 13:14:24 +02:00
g1smd
0b3e34cde9 Optimise RegEx patterns, especially for UK phone numbers. 2012-09-06 16:25:53 +02:00
Max Lynch
55920f0f75 Updated UK Mobile phone number regex for new numbers. Fixes #154 2012-05-07 15:14:00 +02:00
Max Lynch
851e941a60 Fixed regex for time additional method. Fixes #131 2012-05-05 14:19:47 -05:00
Max Lynch
c3ce5b4569 Added checkbox test to require_from_group and changed require_from_group to use elementValue. Fixes #359 2012-05-04 11:20:17 +02:00
Max Lynch
278d3f3b3e Added US zip code support and test. Fixes #90 2012-04-29 20:34:18 +02:00
Max Lynch
43d963b4ec Removed number stripping from stripHtml. Fixes #2 2012-04-28 16:48:05 +02:00
Max Lynch
b475b483f5 Moved old accept method to extension additional-method, added new accept method to handle standard browser mimetype filtering. Fixes #287 and supersedes #369 2012-04-22 23:37:01 -05:00
Max Lynch
5c2ecd1b76 Added test for rangeWords and fixed regex and bounds in method. Fixes #308 2012-04-20 15:04:57 +02:00
Synchro
be37b6aba8 Fix incorrect message for alphanumeric validator 2012-04-17 11:21:56 +02:00
Jörn Zaefferer
8f8792fd86 Fix whitespace and formatting in additional-methods and tests 2012-04-03 16:24:45 +02:00
Nathan Long
78a739f7c5 Added methods "require_from_group" and "skip_or_fill_minimum" 2012-04-03 16:15:04 +02:00
Max Lynch
85b719b8d3 Fix maxWords method to include the upper bound, not exclude it. Fixes #284 2012-03-29 21:40:19 +02:00
emirpprime
aca2e93e91 Methods for 'all' UK phone numbers + UK postcodes
Prevent phone invalidation for ' ' or '-' inclusion

Spaces are standard notation, hyphens US style, both likely to occur in
otherwise valid numbers.
2012-02-28 13:23:48 +01:00
gavacho
5dda6daa6c Pattern method: Convert string param to RegExp. Fixes issue #223 2012-02-23 19:24:54 +01:00
Jörn Zaefferer
3f187a5d01 Fixed #71 - improve existing time method and add time12h method for 12h am/pm time format 2011-09-13 15:45:56 +02:00
Jörn Zaefferer
b009f41fbf Cleanup whitespace 2011-07-28 20:14:56 +02:00
robertodecurnex
6b8f2c2b15 Adding the patter additional method 2011-07-28 20:13:54 +02:00
jzaefferer
125e124b69 Extract version into version.txt and add header two additional-methods.js 2011-03-20 12:18:51 +01:00
jzaefferer
592fe0707f Added ipv4 and ipv6 to additional methods, thanks Natal Ngetal (hobbestigrou) 2010-07-15 15:36:59 +02:00
jzaefferer
5bb2441f04 CRLF conversions 2010-05-05 15:52:04 +02:00
Jörn Zaeffferer
581dea46cc Added phoneUK and mobileUK methods to additional-methods.js (http://plugins.jquery.com/node/12359) 2010-02-10 10:12:51 +00:00
Jörn Zaeffferer
e062af27ea * Added an integer method to additional-methods.js (http://plugins.jquery.com/node/9612) 2009-11-30 19:43:30 +00:00
Jörn Zaeffferer
f394bbc85a * Fixed a missing semicolon in additional-methods.js (http://plugins.jquery.com/node/9233) 2009-11-30 18:10:16 +00:00
Jörn Zaeffferer
25bf058bfd validate: Enhanced min/max/rangeWords (in additional-methods.js) to strip html before counting; good when counting words in a richtext editor 2009-09-15 09:34:52 +00:00
Jörn Zaeffferer
ce7c5baa4e 2009-08-01 11:54:55 +00:00