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
adhayward
fbfccbad4f
Core: Update step validation to handle floating points correctly.
...
Closes #1809 , #1760 , #921 .
2016-07-15 16:08:36 +02:00
Jordan Clark
38310a142e
Core: Fix error when calling $.fn.rules() on a non-form element.
...
Closes #1771 . Fixes #1770 .
2016-06-14 17:39:40 +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
Brahim Arkni
b106d39c16
Core: Call errorPlacement in validator scope
...
Fixes #1542 . Closes #1780 .
2016-06-14 17:13:55 +02:00
Bill Sorensen
3c323005e1
Additional: Correct notEqualTo jQuery reference.
...
notEqualTo method was referencing the global jQuery object instead of the
injected $. Closes #1773 .
2016-06-14 17:11:20 +02:00
svrx
73c173198c
Core: Fixed issue with contenteditable elements in forms where events for single input validation would cause exceptions.
...
Fixes #1729 . Closes #1785 .
2016-05-28 12:41:33 +02:00
Huseyn
af382bf46d
Localization: Added Azeri language
...
Closes #1790 .
2016-05-28 12:38:24 +02:00
Markus Staab
d7c8f8f64c
Build: Cache npm modules on travis builds
2016-04-01 23:13:25 +02:00
Markus Staab
efa4d13e82
Build: Added contact information for MS CDN
2016-04-01 20:45:16 +02:00
Markus Staab
01357576ec
Build: declare support for jquery 2.x in package.json
2016-03-30 13:54:15 +02:00
Markus Staab
97830ca71e
Build: added jquery to the list of required dependencies.
...
Closes #1757 .
2016-03-30 13:51:45 +02:00
Markus Staab
8be4581b1f
Readme: removing note about our search for a maintainer.
2016-03-30 13:46:39 +02:00
Hugo
fceb93a682
Localization: No need for spaces inside brackets.
...
Closes #1755 .
2016-03-23 12:13:09 +01:00
Brahim Arkni
3de30ac8a1
Chore: add issue and pull request templates. Closes #1726 .
2016-03-17 10:37:53 +01:00
Markus Staab
7b0d035397
Build: added notes about cdnjs deployment process
2016-02-25 16:05:02 +01:00
Markus Staab
67550e519b
Build: added notes about jsdelivr deployment process
2016-02-25 15:39:37 +01:00
Markus Staab
6c275fa7a9
Build: added docs for upload to NPM
2016-02-25 10:04:27 +01:00
Markus Staab
cceefe8732
Build: removed node regarding patching of jquery-release
...
will be fixed by https://github.com/jquery/jquery-release/pull/90
2016-02-25 09:48:43 +01:00
Markus Staab
70d51dbea0
Build: Updating the master version to 1.15.1-pre.
2016-02-24 19:24:01 +01:00
Markus Staab
1ee2f8dee8
Build: Update release.js
2016-02-24 19:00:26 +01:00
Markus Staab
8e9459c1f5
Build: Prepare version 1.15.0
2016-02-24 18:08:23 +01:00
Brahim Arkni
f07a267d1e
Core: resetForm should also remove valid class from elements
...
Closes #1708
2016-02-24 17:42:40 +01: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
Markus Staab
5fc3585c2a
Merge branch 'pr/1709'
2016-02-13 10:47:13 +01:00
Brahim Arkni
ef223608a3
Core: Bind the blur event just once in equalTo rule
...
bind the event just once, avoiding the unbind-rebind overhead.
Also, unbind it when destroying the plugin.
Ref #1704
Ref #1707
2016-02-12 16:50:34 +00:00
Markus Staab
7c278e05cc
Core: Fixed error when calling .rules() on empty jquery set.
...
Closes #1706 .
2016-02-12 16:13:59 +01:00
Markus Staab
bb87ef02d5
Tests: Calling .rules() on an empty jQuery object results in an error.
...
Refs #1706
2016-02-12 16:13:55 +01:00
Markus Staab
5545dbc268
Core: Fix handling of error messages with input groups. Closes #1699 .
...
Patch by @Arkni.
2016-02-12 14:55:10 +01:00
silovski
155bdea586
Localization: added Macedonian localization.
...
Closes #1701 .
2016-02-05 16:55:14 +01:00
Brahim Arkni
add2489354
Core: Fix TypeError in showLabel when using groups settings
...
The `this` inside `$.each()` refers to the current value of the
`Objcet|Array` we iterate over, not the plugin instance.
Ref jzaefferer/jquery-validation/pull/1614#discussion_r51156526
Closes #1700 .
2016-02-02 09:59:24 +01:00
Wojciech Wałek
4101b898c0
Core: Adding a way to pass method name to remote
...
Closes #1657 .
This allows reusing remote as custom method via addMethod
2016-02-01 09:12:47 +01:00
Markus Staab
a648fb72eb
CS: fixed CS issue introduced in da8b6b0
2016-01-28 18:31:06 +01:00
Markus Staab
da8b6b020a
Localisation: Added missing pattern message in Polish (adamwojtkiewicz)
...
Closes #1642 .
2016-01-28 18:24:50 +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
Ehsan Abidi Ashtiani
e1e415bb14
Localisation: fixed Persian translation of min/max message.
...
Closes #1673 .
Hello, and thank you for this good plugin
I find a bug in Farsi (Persian) localization exist in messages_fa.js
The "min"&"max" methods messages in that file have bug. The Farsi "min"
`s message has this meaning: “please enter value greater that {0}
words.”
Phrase meaning "word" should be removed from Farsi message.
2016-01-28 18:11:08 +01:00
Brahim Arkni
7d74fc4157
Core: Validation fails to trigger when next field is already filled out
...
This change fix the bug when used with remote rule, it's already fixed
with other rules in commit 737630e788
Ref #1508
2016-01-18 15:25:23 +00:00
Brahim Arkni
40dae365ed
Core: Required rule take precedence over number & digits rules
...
Ref #1611
Ref #1663
Fixes #1514
2016-01-11 09:28:06 +01:00
Markus Staab
df0f27321f
Build: fixed bad version constraints
...
`^0.4.0` Is equivalent to `0.4.*` but actually for a sementic versioned lib what we want is `>=0.4` aka `^0.4`
2016-01-10 12:03:38 +01:00
Brahim Arkni
ef6821aba3
Core: Error hidden but input error class not removed
...
When a field has one rule with option `depends` specified and this
dependency mismatch, the plugin will remove it, so that field will not be
validated on submit by the the rule in question. So if that field is
already invalid, only the error message will be hidden and the error class
will remain.
This commit fixes this issue.
Fixes #1632
2016-01-07 18:12:51 +01:00
Markus Staab
9d00c2b9ff
Tests: added coverage for #697 (Arkni).
2016-01-07 17:41:53 +01:00
Denisson Padilha
908b3f30af
Core: Remote validation uses wrong error messages
...
Fixes #697 . Closes #1028 .
2016-01-07 17:40:08 +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
KJ
bd45147a0e
Core: Fixed :filled selector for multiple select elements. closes #1661 , #1662 .
2015-12-10 10:57:47 +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
Markus Staab
45f3ac25c5
Core: added doc reference to jQuery.validator.methods
...
Closes #1530 .
2015-11-24 09:22:03 +01:00
Brahim Arkni
a3cc0c0a70
Core: move message processing from formatAndAdd to defaultMessage
...
Fixes #741 . Closes #1644 .
2015-11-24 09:16:18 +01:00
Brahim Arkni
43ffa81180
Core: errorList should contain only the errors that it should
...
When using the `valid` method on a list of inputs and there is an ignored
input in that list, the errorList is not cleared causing it to slowly
growing larger and larger when calling `valid` several times.
Fixes #1618
2015-11-24 09:13:18 +01:00
rasstislav
e0250b4372
Localisation: Updated messages_sk.js
2015-11-24 09:11:15 +01:00