Commit Graph

913 Commits

Author SHA1 Message Date
Brahim Arkni
b9a7a8d55c Core: Cast empty data attributes to 'true'
Fixes #1754
2018-06-19 14:07:11 +01:00
Brahim Arkni
bc5e651a36 Test: Cast empty data attributes to 'true' 2018-06-19 14:07:11 +01:00
Brahim Arkni
934822bb1e All: Use Stale bot to manage stale issues (#2176)
Ref #2127
2018-06-05 14:32:26 +02:00
Yuan Xulei
b108ed1fb5 localization: add step validation string to message_zh (#2177) 2018-06-05 12:20:03 +00:00
Brahim Arkni
a3925cd2c3 Build: Generate sub-resource integrity hashes of the distribution files (#2082)
Fixes #2059
2018-05-29 07:52:44 +02:00
Brahim Arkni
a355a0fe29 Core: Ignore elements that belong to other/nested forms
Ref #704
Ref #1970
Fixes #2035
2018-03-04 16:20:21 +00:00
Brahim Arkni
8769eab80e Test: Ignore elements that belong to other/nested forms 2018-03-04 16:20:21 +00:00
Brahim Arkni
c8f8f7bb9b Readme: Comment out irrelevant parts of issue and proposal templates 2018-03-04 16:19:55 +00:00
Brahim Arkni
cd206d3f2b Core: Add deprecation warning to 'date' method (#2138)
Ref #1787
2018-02-17 10:29:29 +01:00
Geraldo Ribeiro
a0bc9c45a9 Typo pt-BR (#2139) 2018-02-16 08:11:38 +01:00
Keith Morrison
fc25612ef0 Additional: allow N11 exchange for non-geo US phone. Fixes #1695 (#2098) 2018-02-14 09:04:06 +01:00
Lukasz
660a4777d4 Additional: Fix typo 2018-02-13 22:57:53 +00:00
Lukasz
de806ce0f0 Test: Add tests for phonePL method 2018-02-13 22:57:53 +00:00
Lukasz
cfbd480b4f Localization: Add message for phonePL method 2018-02-13 22:57:53 +00:00
Lukasz
5651c37f01 Additional: Add validation method for Polish telephone number 2018-02-13 22:57:53 +00:00
Brahim Arkni
4d9e485dc5 Build: test on node 6.x and drop node 0.12.x (#2133) 2018-01-29 22:20:52 +01:00
George Gooding
1f4d69f6dc Localization: Update messages_no.js (#2132)
Cleaning up and simplifying Norwegian translations, removing Swedish non-standard translations for validators not included in project source code.
2018-01-29 18:23:19 +01:00
Siamak Mokhtari
e35d5f6625 Localization: Update messages_fa.js (#2122) 2017-12-17 22:19:44 +01:00
William Desportes
d4541614ec Additional: Updated link to EAN docs (#2120) 2017-12-15 10:19:10 +01:00
Uwe
6ff4a02a13 Localization: Update German language file (#2115) 2017-12-04 16:46:25 +01:00
Caro Caserio
d66c318f2a README: Fixed wording 2017-12-02 15:46:23 +01:00
Vencislav Atanasov
ec32afa2bd Localization: fix meaning in Bulgarian sentence (#2112)
The "maxlength" message has wrong meaning in Bulgarian. The current meaning is:
Please enter more than {0} characters.
The correct meaning should be:
Please enter no more than {0} characters.
I could use "less" (по-малко) to mean the same thing, but it does not sound natural in this context.
2017-12-01 09:46:16 +01:00
Samuel Lie
1c3352e7a7 Localization: Add remote translation to no (#2097) 2017-11-04 12:38:50 +01:00
Lukas Drgon
f08c170bdf Readme: Add jsDelivr hits badge (#2090) 2017-10-09 19:07:27 +02:00
Rob Johnston
5ecd6c261f Additional: Add new BIN range for MasterCard. (#2088)
Fixes #1904
2017-10-09 13:46:58 +01:00
Rob Johnston
7e9e4788bf Additional: max size and number of files (#2087)
This commit contains:

* Validate max number and size of file(s).
* Add tests for max number and size of file(s).
2017-10-08 21:25:24 +01:00
Markus Staab
2c615e7b9b Localization: fixed wrong placeholder in vi translation
Closes #2085
2017-10-04 09:52:42 +02:00
Hawkon
b70fcc20f1 Shield.io release badget (#2076)
Added Shield.io release badget and a tab error in one of the code examples
2017-09-23 19:30:37 +02:00
Rob Johnston
38cb9b9c8c Additional: Add greaterThan and lessThan methods. (#2061)
* Tests: Add tests for integers.

* Core: Unbind the event and remove the class name.

* Test: Test binding of blur event.

* Test: Test binding of blur event.
2017-09-19 23:21:26 +02:00
Rob Johnston
3abd20f9fc Localization: Add missing format method (#2075)
Closes #2065
2017-09-19 09:52:47 +01:00
Kevin Mian Kraiker
c62e0d91bc Localization: Fix typos in messages_pt_BR.js (#2073) 2017-09-16 10:43:20 +02:00
Hawkon
a6725c3866 Localization: Add new danish translations (#2067)
This update the danish translate and include new translates too.

New translate:
 - pattern
 - nowhitespace
 - lettersonly
 - maxWords
 - minWords
 - notEqualTo
 - integer
 - extension
 - IPv4
 - IPv6
 - require_from_group
 - step
 - time
 - remote
2017-09-13 18:53:00 +01:00
Jonathan
fa73b79b1d Localization: Add Swedish validation message for remote (#2066)
Fixes #2064
2017-09-12 14:58:14 +01:00
Brahim Arkni
539fa4d142 Build: Include localization files in tagged releases 2017-09-04 15:01:33 +02:00
Brahim Arkni
33f896a5ab Build: Include minified version of additional methods in npm package
Fixes #2056
2017-09-04 15:01:33 +02:00
Brahim Arkni
5482dfd95f Test: Add missing description to a test (#2055) 2017-09-02 18:52:03 +01:00
Brahim Arkni
b7bb3c27b6 Core: guard against null & undefined values in required method
An input element will never have undefined or null as value
but the normalizer may return null or undefined for an element.

Also, jQuery (< 3.x) returns `null` for select element with the
multiple attribute set if no options are selected.

As a result, the required method should guard against that.
2017-09-02 18:27:51 +01:00
Brahim Arkni
18b8497db4 Test: required method should return false for null & undefined values 2017-09-02 18:27:51 +01:00
Brahim Arkni
cac8f05e6b Core: Allow the normalizer to return any value
Fixes #2049
2017-09-02 17:43:15 +02:00
Markus Staab
5a721e86b2 Build: updated release instructions 2017-07-29 09:29:58 +02:00
Markus Staab
365453a6c8 Build: Updating the master version to 1.17.1-pre. 2017-07-29 09:26:57 +02:00
Markus Staab
d3ac892ba0 Build: Update release instructions 2017-07-29 09:17:50 +02:00
Markus Staab
0e258e822b Build: Updated next version to be 1.17.0 2017-07-29 09:15:26 +02:00
Markus Staab
fda4f5c560 Build: Update release instructions 2017-07-29 09:02:38 +02:00
Rob Johnston
dff1ae7f82 Localization: Add French translation for notEqualTo method (#2033) 2017-07-15 14:51:15 +01:00
Brahim Arkni
2e9a33183d Readme: Add a newline before required method's note 2017-07-09 21:00:37 +01:00
Brahim Arkni
d1090351e5 Readme: Add note about trimming whitespaces inside required method 2017-07-09 21:42:00 +02:00
Brahim Arkni
16227e4087 Tests: Pass on the value of the used submit button for scripted submits
The only scripted submits in this plugin are triggered by `stopRequest()`
when the remote method finished validating an element and the form was
submitted
2017-06-26 15:54:52 +02:00
Brahim Arkni
e0876fbd16 Core: Move the logic of adding hidden input from stopeRequest to handle
The only scripted submits in this plugin are triggered by `stopRequest()`
when the remote method finished validating an element and the form was
submitted
2017-06-26 15:54:52 +02:00
Peter Philipp
4a9a927faf Core: Passe on the value of used submit button for scripted submits 2017-06-26 15:54:52 +02:00