Commit Graph

913 Commits

Author SHA1 Message Date
Brahim Arkni
a336e14755 Core: Extract the file name without including "C:\fakepath\"
For historical reasons, the value IDL attribute prefixes the file name
with the string "C:\fakepath\". As a result of this,
this fix will extract the file name from the value IDL attribute in a
backwards-compatible way.

For more details, see:
 - http://www.w3.org/TR/html5/forms.html#dom-input-value-filename
 - http://www.w3.org/TR/html5/forms.html#fakepath-srsly

Fixes #1615
2015-11-19 21:45:42 +00:00
Markus Staab
1289397f94 Test: fixed HTML5 step attribute tests for firefox44
firefox provides element.type==text,
since it does not support the date input type right now.
2015-11-12 10:38:42 +01:00
unknown
792dad3539 Tests: new test for Step exception logic added 2015-11-12 10:15:20 +01:00
Filip Mares
b3c07e3957 Core: HTML5 step attribute support. Fixes #1295 2015-11-12 10:14:36 +01:00
Brahim Arkni
3f3fb8c2ed Test: extend BIC unit test to support lowercased BIC values 2015-11-09 09:24:31 +01:00
netzkind
c5ccf06dd7 Aditional: case-insensitive check for BIC
I found no appearant reason why a BIC has to be all-upper,
so allowing customers to enter it lowercase or mixed should be ok.
Furthermore, the IBAN-validation also is case-insensitive.

Closes #1547
2015-11-09 09:24:31 +01:00
Markus Staab
b48078fa4a Merge remote-tracking branch 'refs/remotes/jzaefferer/master' 2015-11-09 09:11:59 +01:00
Markus Staab
8a2cc601fd Merge pull request #1630 from od3n/master
Localisation: Update Malay translation
2015-11-02 08:17:52 +01:00
Salahuddin Hairai
76586ce416 Localisation: Update Malay translation 2015-11-02 09:29:55 +08:00
Markus Staab
a88fa680e8 Merge pull request #1626 from Arkni/dev-dependency
Package.json: Upgrade dev-dependencies to latest versions
2015-11-01 12:50:21 +01:00
Brahim Arkni
729823a807 All: Fixed code style issues 2015-10-30 23:55:26 +00:00
Brahim Arkni
16741d47ce Package: Upgrade dev-dependencies to latest versions 2015-10-30 23:55:17 +00:00
Markus Staab
4377411219 Merge pull request #1629 from Arkni/uncomment_test
Tests: uncomment `require_from_group` & `skip_or_fill_minimum` tests
2015-10-30 16:11:35 +01:00
Brahim Arkni
7143d5197e Tests: uncomment require_from_group & skip_or_fill_minimum tests 2015-10-30 15:07:38 +00:00
Markus Staab
5d778ee443 Merge pull request #1418 from dorner/content-editable
Add support for contentEditable tags
2015-10-30 00:05:10 +01:00
Markus Staab
4afc3171c6 Merge pull request #1628 from alokito/pendingClass2
Adds pending class to elements while remote operations
2015-10-30 00:01:15 +01:00
Saldanha
c52da5ba98 Test: Added test for "pending" remote status 2015-10-29 17:20:53 -04:00
Saldanha
6f651b2212 Core: Added support for "pending" class on outstanding requests 2015-10-29 17:20:53 -04:00
Daniel Orner
9f5b654cb3 Core: Another whitespace fix 2015-10-28 16:57:48 -04:00
Daniel Orner
b0ac381564 Core: Fix more whitespace 2015-10-28 13:40:50 -04:00
Daniel Orner
4c2f5fdf49 Core: Fix whitespace 2015-10-28 13:40:50 -04:00
Daniel Orner
32dea705b3 Core: Fix grunt errors 2015-10-28 13:40:49 -04:00
Daniel Orner
b76c83e742 Core: Fix lint errors, add test 2015-10-28 13:40:49 -04:00
dorner
3d0cd6f2a5 Add support for contentEditable tags
Currently the validation library only works on classic form elements. However, there is no reason it can't work on rich text elements that have names and use contentEditable. This change adds support for these tags.
2015-10-28 13:40:36 -04:00
Markus Staab
c35eff481b Merge pull request #1619 from jcspader/master
Localisation: Included messages from additional methods (pt_BR)
2015-10-26 14:44:42 +01:00
Julio Spader
3168e6453c Localisation: Included messages from additional methods 2015-10-26 11:10:06 -02:00
Markus Staab
a6151f9064 Merge pull request #1609 from Arkni/transformation-layer
Core: Added transformation/normalization layer
2015-10-25 20:49:35 +01:00
Brahim Arkni
abe6810444 Core: Added normalizer
The user can change the value of an element before validating
the element in question. The new value will be then used by
the associated methods instead of the `real one`.

Closes #1602
2015-10-23 20:58:36 +01:00
Markus Staab
6cd30b67b3 Merge pull request #1621 from codeclown/commonjs-support
Build: Adds CommonJS-support in build process. Enhances PR #1597
2015-10-23 14:04:51 +02:00
Martti Laine
6ed99a2ab4 Build: Adds CommonJS-support in build process. Enhances PR #1597 2015-10-23 12:35:22 +03:00
Markus Staab
9153d43219 Merge pull request #1612 from Arkni/move-to-additional
Core: Split out `creditcard` method
2015-10-21 23:57:24 +02:00
Brahim Arkni
f0144b56b9 Core: Split out creditcard method
As mentioned by Jörn in #1506
2015-10-21 22:48:06 +01:00
Markus Staab
e5e346e599 Merge pull request #1614 from Arkni/fixed-1523
Fixed #1523
2015-10-19 19:32:31 +02:00
Brahim Arkni
8327818438 Core: Escape errorID for use in the regex, not to build aria-describedby
The error ID was being escaped for use in a regex, but these escaped
characters were also being passed on to the aria-describedby value
set in the HTML, which means the ID doesn't match up with the ID of
the element it's referring to.

Fixes #1523
Closes #1587
2015-10-19 16:52:16 +01:00
Brahim Arkni
9b498e0113 Test: Added unit test that runs into the issue reported in #1523 2015-10-17 14:28:29 +01:00
Markus Staab
c604e510b7 Merge pull request #1608 from Arkni/fixed-1603
Fixed #1603
2015-10-09 19:56:18 +02:00
Brahim Arkni
10f4357f5e Core: Escape single quotes in names avoiding a Sizzle Error being thrown
When a name or ID contains single quotes, a Sizzle error will be thrown,
so to avoid that, we have to escape all single quotes in that name or ID
before using it.
2015-10-09 17:20:28 +01:00
Markus Staab
26951909a3 Merge pull request #1593 from Arkni/semanticui-demo
Demos: Added a new demo using Semantic UI
2015-10-09 16:56:51 +02:00
Markus Staab
66d3ba44b7 Merge pull request #1594 from Arkni/bootstrap-demo
Demos: Added a new demo using Bootstrap
2015-10-09 16:56:41 +02:00
Markus Staab
657547061a Merge pull request #1605 from drovetto/master
Localization: Improving pt_BR translation and fixing a typo on the 'cifES' key.
2015-10-09 16:54:52 +02:00
Brahim Arkni
d845a33c6e Test: Added unit test runs into the error reported in #1603 2015-10-09 15:46:05 +01:00
sadj
e8078f9e3f Improving pt_BR translation and fixing a typo on the 'cifES' key. 2015-10-08 17:33:59 -03:00
Brahim Arkni
2e52ea45d1 Demos: Added a new demo using Semantic UI 2015-09-27 14:34:32 +01:00
Brahim Arkni
38eed4832f Demos: Added a new demo using Bootstrap 2015-09-27 14:29:44 +01:00
Markus Staab
6936d3c833 Merge pull request #1589 from Arkni/spacing-style-issues
[WIP] Spacing style issues
2015-09-26 12:08:01 +02:00
Brahim Arkni
f3547be165 Core: Added precondition to call isValidElement method 2015-09-25 17:28:23 +01:00
Brahim Arkni
d8c92a168d Core, Ajax: Fixed spacing issues. 2015-09-25 16:54:38 +01:00
Brahim Arkni
4c9788357f Localization: Fixed spacing issues. 2015-09-25 16:54:38 +01:00
Brahim Arkni
bf5dc6fee4 Additional: Fixed spacing issues. 2015-09-25 16:54:38 +01:00
Brahim Arkni
842e7ff5dd Test: Fix misuse of equal method & some spacing issues. 2015-09-25 16:54:38 +01:00