Commit Graph

913 Commits

Author SHA1 Message Date
Nick Schonning
5e3a24d262 Migrate to Grunt v0.4.0
min to uglify
zip to grunt-zipstream
lint to jshint
Install grunt-cli for Travis-CI
Fix license header
2013-02-26 02:59:49 -05:00
Paul Cichonski
bcff73ad84 Bypass validation for buttons with 'formnovalidate' attribute (same as class="cancel"). Closes gh-623 2013-02-12 13:38:47 +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 1.11.0 2013-02-04 12:22:06 +01:00
Jörn Zaefferer
b84db8398e Readme update 2013-02-04 12:17:34 +01:00
Alexander I. Zaytsev
69831a08cf Remove clearing as numbers of min, max and range rules. Fixes #455. Closes gh-528.
These rules are fully suitable to check any comparable JavaScript objects such as strings or dates. Also clearing prevents HTML5 date input fields to work when these rules are coming from HTML.
2013-02-04 12:11:10 +01:00
Jörn Zaefferer
a047634196 Revert back to checking for name attribute only when debug flag is set. Never throw an exception here. Fixes #621
Revert "Improve error handling when no element is missing its name attribute. Still need to set debug flag to see exception."

This reverts commit 22edeaf28f.
2013-02-04 12:02:27 +01:00
Nick Williams
856cec06b8 Update pre-existing labels - fixes #430 closes gh-436
made assumption that any existing label which already has errorClass is
safe to update with a new message.
2013-01-31 12:55:17 +01:00
Jörn Zaefferer
07fdf0c95c Add a min-height to test container for jQuery-git compat 2013-01-31 01:14:20 +01:00
Jörn Zaefferer
70687768e2 Fix line endings. Very late follow-up to ab74256 2013-01-31 01:02:06 +01:00
Jörn Zaefferer
d974246d23 Testsuite now has 1.6.x as minimum jQuery version, so remove older versions 2013-01-31 00:57:24 +01:00
Jörn Zaefferer
22edeaf28f Improve error handling when no element is missing its name attribute. Still need to set debug flag to see exception. 2013-01-31 00:44:34 +01:00
Jörn Zaefferer
fddd3b70dc Remove old build cruft 2013-01-31 00:32:43 +01:00
Robert
0d394a7418 Updated coding style 2013-01-31 00:29:28 +01:00
Jörn Zaefferer
b5cd04e327 Lint test files 2013-01-31 00:28:13 +01:00
Jörn Zaefferer
2b1b2563c5 Fix $.validator.format to avoid group interpolation, where at least IE8/9 replaces -bash with the match. Fixes #614 2013-01-31 00:12:32 +01:00
Jörn Zaefferer
7763d4572d Include pledige counter in readme 2013-01-30 23:44:39 +01:00
Jörn Zaefferer
e3106d3892 Use 1.9.0 in demo/index, replace old jQuery version with 'version switcher' 2013-01-30 23:19:47 +01:00
John-Philip Johansson
0681cc06c5 Added jQuery 1.9 to the project. Closes gh-613 2013-01-30 23:14:20 +01:00
Nick Schonning
ab74256e54 Add basic gitattributes file. Closes gh-612 2013-01-30 22:54:34 +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
Yoav Ram
4fe282c4bd Hebrew messages: Removed dots at end of sentences - Fixes gh-568
The dots are not necessary and they sometimes display on the wrong side of the sentence
2013-01-09 17:07:10 +01:00
Pat Heard
65403a3269 French translation for require_from_group validation. Fixes gh-573. 2013-01-09 16:59:34 +01:00
IamDavidovich
b82d8cc1db Allow groups to be an array or a string - Fixes #479
Field names can contain spaces (as they are a CDATA type). This causes problems with groups, as the string listing the fields is split on spaces.

This commit allows the groups option to be either a space-separated string or an array of strings so that field names with spaces can be added. It also adds a unit test to ensure that both string and array based groups are processed into the same data structures.
2012-12-10 12:59:37 +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
Nick Schonning
238965c74f All tabs for localizations
Corrected double space
2012-11-26 13:43:07 +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
Max Lynch
6df33a8ccc Remove support for metadata plugin, replace with data-rule- and data-msg- (added in 907467e8) properties. 2012-11-23 14:39:37 +01:00
Jörn Zaefferer
5ec962ebb6 Update dependencies: Remove old jQuery versions, include new ones. Update QUnit and Form plugin. 2012-11-23 14:26:56 +01:00
Mischa Sameli
948c7cedcd Added sftp as a valid url-pattern 2012-11-23 13:42:09 +01:00
Jörn Zaefferer
58cff9d795 Add contributing.md, should help land PRs a little faster 2012-11-23 13:06:56 +01:00
Jörn Zaefferer
710b17ceb3 Add Malay (my) localization 2012-11-18 22:52:16 +01:00
mrextreme
4fe2bb7908 Update localization/messages_hu.js 2012-11-14 13:26:06 +00:00
mlwalt
78859d9e75 Remove focusin/focusout polyfill. Fixes #542 - Inclusion of jquery.validate interfers with focusin and focusout events in IE9
Removed polyfill for focusin and focusout events as this implementation is problematic in IE9, and jQuery core has handled them since 1.4 (1.8.2 is the latest at this point in time). Note that this raises the minimum compatibility of the validation plugin to jQuery 1.4.
2012-11-14 11:29:28 +01:00
Nick Schonning
f221f68a47 JSHint additional-methods.js and add to grunt 2012-11-04 18:06:38 +01:00
nschonni
5c7b4e9fc3 Adding config for Travis CI build 2012-10-29 17:02:19 +01:00
Nick Schonning
f8ea5d9e7b Add localizations to grunt lint, cleanup localization files. 2012-10-23 21:08:51 -04:00
Joakim Antman
b0b014d898 Localization: Fixed typo in finnish translation 2012-10-23 16:18:48 -04:00
Jörn Zaefferer
7061614b3c Fix RTM demo to show invalid icon when going from valid back to invalid 2012-10-14 09:32:58 -04:00
Pierre-Antoine Passet
61e7816a9c Fixed premature return in remote function which prevented ajax call from being made in case an input was entered too quickly. Ensures remote validation always validates the newest value. 2012-10-14 09:32:03 -04:00
Jörn Zaefferer
5934f4d450 Undo fix for #244. Fixes #521 - E-mail validation fires immediately when text is in the field. 2012-10-03 18:41:25 +02: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 1.10.0 2012-09-07 13:14:24 +02:00
Jörn Zaefferer
2be709e3de Temp: Add pledgie links 2012-09-06 20:41:09 +02:00
Paul Jackson
6cfaab08d9 Corrected French strings for nowhitespace, phoneUS, phoneUK and mobileUK based upon community feedback. 2012-09-06 16:44:37 +02:00