905 Commits

Author SHA1 Message Date
Brahim Arkni
5218696316 All: Fix links after move to organization 2017-04-08 00:42:48 +01:00
Jonathan
3c03198b7e All: Use https
* Update core.js
 * Update accept.js
 * Update creditcard.js
 * Update package.json
 * Update bower.json
 * Update CONTRIBUTING.md

Closes #1889
2017-04-08 00:35:14 +01:00
Brahim Arkni
ddaed1ccb5 Core: assign rules to contenteditable via .validate() and .rules() (#1947)
Fixes #1946
2017-02-14 21:36:31 +01:00
Worthy7
cf925cf21b Localization: Added Step Range Validation to messages_ja (#1936) 2017-02-11 21:10:59 +01:00
Dominik Krzywiecki
31176a239a Additional: Polish tax id validation method (#1850) 2017-02-11 20:58:56 +01:00
Brahim Arkni
6781d94ed2 Core: count invalid fields with empty message in numberOfInvalids() (#1942)
Fixes #1922
2017-02-11 18:02:00 +01:00
Markus Staab
1c3ac419ad README: removed gitter badge (#1932) 2017-01-30 22:42:04 +01:00
Markus Staab
c50a180a34 README: fixed links after move to organization 2017-01-30 21:13:44 +01:00
Markus Staab
bb0c335c7a Tests: removed duplicated test (#1931) 2017-01-30 21:10:39 +01:00
Rácz Tibor Zoltán
a85eaf22ad Localization: add hungarian step message (#1888) 2017-01-28 13:00:48 +01:00
Huzoor Bux
1ffd9813dd Localization: add Sindhi locale (#1900) 2017-01-28 12:57:53 +01:00
PhistucK
cce5ac8268 Core: Added support for button elements with descendants (#1901)
Non-Firefox browsers dispatch "click" on descendants of <button>, which breaks
the submitHandler logic that adds a hidden field with the name and value of the
submit button (since it is not included in the submission if it did not
initiate the submission, which might be the case when using form.submit in
submitHandler and returning false). submitButton is instead a descendant of
<button> and the hidden field does not compensate for the lack of an actual
submit button.

This would fix crbug.com/668524 and make submitButton an actual button.

* Added HTML for button with descendants test

For testing that clicking on descendants of a button element still keeps the button element as the submit button.

* Added a test for button with descendants support

For testing that clicking on descendants of a button element still
keeps the button element as the submit button.

* Removed an extraneous submission from the test

Accidental copy-paste.

* Fixed some style warning

Forgot to wrap the parenthesized value with spaces.

* Fixed a style warning

Forgot to wrap a parenthesized value with spaces.

* Fixed a style warning

Forgot to add a blank line above a comment.

* Fixed the button with descendants test

Replaced a complex event initiation with a basic click().

* Fixed a style warning

Removed extraneous trailing spaces.

* Fixed some style warnings

Removed two unused variables.

* Fixed a submitButton regression

Instead of returning a DOM element, a jQuery element was returned.
Changed to return the original element in the target is already a button case.

* Simplified the button with descendants support

Instead of looking for the parent or ancestor of the target,
just used the currentTarget property.

* Added another test

Devised by @Arkni.
2017-01-28 12:55:17 +01:00
jarey
7457cc6401 Additional: Fixed validation for specific case for Spanish NIFs. (#1914) 2017-01-28 12:48:57 +01:00
Armindo Maurits
662c8899e8 Localization: Added norsk step translation (#1918) 2017-01-28 12:41:26 +01:00
tchiotludo
2ee66e218d Localization: Missing french step translation (#1928) 2017-01-28 12:40:27 +01:00
Markus Staab
37f2f3f20a fixed cs 2017-01-11 14:13:13 +01:00
Markus Staab
3f4942546d Fixed cs 2016-12-25 17:15:12 +01:00
Markus Staab
4df7ebb38b Fix build/cs 2016-12-25 17:05:08 +01:00
Armindo Maurits
102d84e852 Localization: Added nl- translation for "step" property.
Closes #1902
2016-12-25 16:20:02 +01:00
Brahim Arkni
a88ae88c6e Core: Add support for defining a global normalizer 2016-12-25 16:12:45 +01:00
Markus Staab
c1db10a34c Build: some notes 2016-12-06 21:36:43 +01:00
Markus Staab
c80cb03054 Build: Updating the master version to 1.16.1-pre. 2016-12-02 12:55:30 +01:00
Markus Staab
0bfb34dc0b Build: Fixed "grunt uglify" error. Kudos to Arkni!
"Warning: An error occurred while processing a template (undefined is not a function)."
2016-12-02 11:45:22 +01:00
Markus Staab
36983af056 Build: Updating the master version to 1.16.0-pre. 2016-12-01 16:40:33 +01:00
Markus Staab
1112d324c0 Localization: Fixed wrong file-extension for az translation. Closes #1890. 2016-12-01 16:17:58 +01:00
Alfonso Martin
e7422d6d1e Additional: Refine cifES and nieES algorithms (#1826) 2016-12-01 16:15:22 +01:00
Jabran Rafique
5c0c8ffb94 Localisation: add Urdu translation. Closes #1873. 2016-12-01 16:09:01 +01:00
Artem Denysov
5dee52b932 Core: add binding for input with button type. Closes #1891 2016-12-01 16:04:47 +01:00
Stéphane S
a464d86b94 Core: Support jquery3. Closes #1866 2016-12-01 15:58:52 +01:00
pethersonmoreno
67e9a80d37 Localization: Added missing translation in pt-BR (Closes #1897) 2016-12-01 15:57:07 +01:00
Muhammad Rehan Saeed
2aa8915955 Build: Include Minified Version in NPM Package
Closes #1772.
2016-11-03 10:42:33 +01:00
Abdullah Ibeid
3861ce2bdc Localization: fixed typo in arabien language file.
the message is not appearing because {0} is written (0}.
Closes #1868.
2016-09-26 16:28:30 +02:00
Ryan Brandenburg
ecf54e0499 UMD: Better support for CommonJS.
Closes #1838. Fixes #1829, #1834.
2016-09-01 09:54:27 +02:00
Kevin Morris
8cb072c9b7 Core: Change jQuery alias 'expr[":"]' to 'expr.pseudos'
https://github.com/jquery/jquery-migrate/blob/master/warnings.md#jqmigra
te-jqueryexpr-is-jqueryexprpseudos

Closes #1814. Fixes #1813.
2016-07-28 17:18:16 +02:00
Brahim Arkni
8fe4a90185 Tests: Upgrade QUnit to 2.0.
Closes #1777. #1681.
2016-07-22 17:56:18 +02:00
Brahim Arkni
0d3ede1398 Build: bump dev-dependencies to latest versions 2016-07-22 17:55:43 +02:00
Markus Staab
e5fa46756d Build: Updating the master version to 1.15.2-pre. 2016-07-22 17:44:23 +02:00
Brahim Arkni
b8c9735114 Demo: add links to Bootstrap and Semantic-UI demos to index.html
Closes #1820.
2016-07-22 16:21:14 +02:00
Brahim Arkni
daf21a11e0 Demo: use .on() instead of .validateDelegate()
`validateDelegate()` has been removed in `v1.14.0` and replaced with
`.on(...)` which is only available in `jQuery 1.7+`
2016-07-22 16:20:45 +02:00
Markus Staab
45c4b17f45 Core: Added failing test for #1805. Patch by @Arkni. 2016-07-22 16:16:56 +02:00
TLib
623baabd3e Core: Fix group validation with 3 and more fields
If a previous element is already invalid, the the check of the current element
is never done and the current element becomes always valid.

Closes #1816, #1805.
2016-07-22 16:15:34 +02:00
Brahim Arkni
74b38e9db5 Core: Fix regressions introduced in #1644 and #1657. Closes #1800.
As of now the signature of `validator.defaultMessage( element, string )`
is deprecated. Use `validator.defaultMessage( element, object )` instead
where objet is defined as
```
object = {
   method: "method name",
   parameters: "the given method parameters"
}
```
2016-07-15 16:22:17 +02:00
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