Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1400 commits
Select commit Hold shift + click to select a range
cf24e89
#871: Updated Czech language package, thanks to @cuchac
nghuuphuoc Sep 27, 2014
9355759
Merge pull request #872 from egig/master
nghuuphuoc Sep 27, 2014
c8f39d5
#872: Updated Indonesian language package, thanks to @egig
nghuuphuoc Sep 27, 2014
85e23fa
Merge pull request #879 from filipac/patch-1
nghuuphuoc Sep 27, 2014
8cf8dd3
#879: Updated Romanian language package, thanks to @filipac
nghuuphuoc Sep 27, 2014
ed0d68e
Merge pull request #880 from dokterpasta/patch-1
nghuuphuoc Sep 27, 2014
856d79a
#880: Updated Belgium (Dutch) language package, thanks to @dokterpasta
nghuuphuoc Sep 27, 2014
8adbf6d
Merge pull request #881 from maramazza/patch-2
nghuuphuoc Sep 27, 2014
b2adf2d
#881: Updated Italian language package, thanks to @maramazza
nghuuphuoc Sep 27, 2014
ad45e12
Merge pull request #882 from vadail/master
nghuuphuoc Sep 27, 2014
da068b5
#882: Updated Spanish language package, thanks to @vadail
nghuuphuoc Sep 27, 2014
428d728
Update fa_IR.js
i0 Sep 27, 2014
29182ac
Update fa_IR.js
i0 Sep 27, 2014
8849c58
Merge pull request #900 from i0/patch-1
nghuuphuoc Sep 27, 2014
5ef20fc
#900: Updated Persian (Farsi) language package, thanks to @i0
nghuuphuoc Sep 27, 2014
821dccd
Merge pull request #844 from thx2001r/patch-1
nghuuphuoc Sep 27, 2014
9f3f856
#844: Add option to evaluate length in UTF-8 bytes, thanks to @thx2001r
nghuuphuoc Sep 27, 2014
034ce02
Merge branch 'master' of https://github.com/thx2001r/bootstrapvalidat…
nghuuphuoc Sep 27, 2014
cfc7594
Merge branch 'thx2001r-master'
nghuuphuoc Sep 27, 2014
f62003e
#874: Add test suite for stringLength validator, thanks to @thx2001r
nghuuphuoc Sep 27, 2014
72813c8
#807, #821: Update Vietnamese language package
nghuuphuoc Sep 27, 2014
a006969
Update to the hungarian translation
blackfyre Sep 29, 2014
aa7f819
#848: Update the stringLength validator doc, thanks to @Relequestual
nghuuphuoc Sep 29, 2014
9b91fca
Update for 0.5.2
Sep 29, 2014
1ff36cc
Merge pull request #910 from pRieStaKos/master
nghuuphuoc Sep 30, 2014
65fa433
#910: Updated Greek language package, thanks to @pRieStaKos
nghuuphuoc Sep 30, 2014
35abe0c
Updating the translations min max date
yoteetoy Sep 30, 2014
2536a6b
Merge pull request #913 from figgaro/master
nghuuphuoc Sep 30, 2014
1a5044d
#913: Updated Thai language package, thanks to @figgaro
nghuuphuoc Sep 30, 2014
7250c17
Added turkish translate
CeRBeR666 Sep 30, 2014
6d1cf2b
Merge pull request #915 from CeRBeR666/master
nghuuphuoc Sep 30, 2014
8baf207
#915: Updated Turkish language package, thanks to @CeRBeR666
nghuuphuoc Sep 30, 2014
32c8acc
Date language update for pt_Br.js
dgmike Oct 1, 2014
054c901
Merge pull request #891 from dgmike/patch-1
nghuuphuoc Oct 2, 2014
1f32b74
#891: Updated Portuguese (Brazil) language package, thanks to @dgmike
nghuuphuoc Oct 2, 2014
a5b0835
#920, #929: Update the tooltip example, thanks to @Arkni
nghuuphuoc Oct 3, 2014
ad79af3
#936: Update the tooltip example, thanks to @Arkni
nghuuphuoc Oct 4, 2014
58ab1d4
Update hu_HU.js
blackfyre Oct 5, 2014
31cf213
Update hu_HU.js
blackfyre Oct 5, 2014
7ebe66d
Merge pull request #903 from blackfyre/master
nghuuphuoc Oct 6, 2014
ccff1a8
#903: Updated Hungarian language package, thanks to @blackfyre
nghuuphuoc Oct 6, 2014
78b35db
Add i18n for color types.
emilchristensen Oct 6, 2014
71a571b
Add support for CSS keyword color validation
emilchristensen Sep 10, 2014
fb87450
Update function comment for CSS keyword color validation
emilchristensen Sep 10, 2014
cadd79d
Add transparent to list of keyword colors
emilchristensen Sep 11, 2014
1fc8068
Add validator and test suite for rgb() color validation
emilchristensen Sep 11, 2014
450e142
Add built files for the rgbColor and keywordColor commits
emilchristensen Sep 11, 2014
ca995f6
Add validator and test suite for rgba() color validation
emilchristensen Sep 11, 2014
57abf03
Add validator and test suite for hsl() color validation
emilchristensen Sep 11, 2014
653f811
Add built files for the rgbColor and keywordColor commits
emilchristensen Sep 11, 2014
3eef3cb
Add validator and test suite for rgba() color validation
emilchristensen Sep 11, 2014
aba7318
Add validator and test suite for hsl() color validation
emilchristensen Sep 11, 2014
4d78da9
Fix bug in form names for test suites for rgb, rgba and hsl
emilchristensen Sep 11, 2014
9e2310a
Add validator and test suite for hsla() color validation
emilchristensen Sep 11, 2014
966ab44
Add test suite for keyword color validator
emilchristensen Sep 11, 2014
8aad8c9
Add validator and test suite for color validation
emilchristensen Sep 11, 2014
11bce2e
Add built files for the rgbColor and keywordColor commits
emilchristensen Sep 11, 2014
a6cf172
Add validator and test suite for rgba() color validation
emilchristensen Sep 11, 2014
4ee699c
Add validator and test suite for hsl() color validation
emilchristensen Sep 11, 2014
4869124
Add built files for the rgbColor and keywordColor commits
emilchristensen Sep 11, 2014
af1eb66
Add validator and test suite for rgba() color validation
emilchristensen Sep 11, 2014
2038201
Add validator and test suite for hsl() color validation
emilchristensen Sep 11, 2014
ed2be69
Fix bug in form names for test suites for rgb, rgba and hsl
emilchristensen Sep 11, 2014
52f1701
Add validator and test suite for hsla() color validation
emilchristensen Sep 11, 2014
73795cf
Add test suite for keyword color validator
emilchristensen Sep 11, 2014
90d66a6
Add validator and test suite for color validation
emilchristensen Sep 11, 2014
3b14523
Refactor color validators to one single entity
emilchristensen Sep 12, 2014
c184993
Readd hexColor validator as a stand-alone validator, to not break bac…
emilchristensen Sep 12, 2014
3345aab
Add dist files for Readd hexColor validator
emilchristensen Sep 12, 2014
8099393
Refactor to use dynamic method calling substantialy reducing code length
emilchristensen Sep 16, 2014
ed794f6
Refactor the way custom messages are handled
emilchristensen Sep 18, 2014
239a216
Add demo for both types of color usage
emilchristensen Sep 18, 2014
574038d
Color validator: Optimize return flow in for loop
emilchristensen Sep 18, 2014
e98ee9d
Refactor test suite for color validator.
emilchristensen Sep 18, 2014
3cec3a9
Add i18n for color types.
emilchristensen Oct 6, 2014
b2c53a3
Make sure dist files are up-to-date
emilchristensen Oct 6, 2014
8cba03f
Merge and make sure dist files are up-to-date
emilchristensen Oct 6, 2014
d05255d
Change variable name for readability
emilchristensen Oct 6, 2014
0067a32
Updated spanish language pack
marceloampuero Oct 10, 2014
7fa99b8
Create he_IL.js
yakidahan Oct 12, 2014
5867623
Merge pull request #961 from Perfect6/master
nghuuphuoc Oct 13, 2014
02d4fc1
#961: Update Chilean Spanish language package, thanks to @marceloampu…
nghuuphuoc Oct 13, 2014
fca741e
Merge pull request #967 from yakidahan/master
nghuuphuoc Oct 13, 2014
bd12c11
#967: Add Hebrew language package, thanks to @yakidahan
nghuuphuoc Oct 13, 2014
a40fd92
Create al_SQ
desaretiuss Oct 13, 2014
ddec9b3
Update al_SQ
desaretiuss Oct 13, 2014
ec720da
Update al_SQ
desaretiuss Oct 14, 2014
46bec71
Update al_SQ
desaretiuss Oct 14, 2014
2415da7
Merge pull request #974 from desaretiuss/patch-1
nghuuphuoc Oct 15, 2014
7ca547d
#974: Add Albanian language package, thanks to @desaretiuss
nghuuphuoc Oct 15, 2014
d5697b6
Merge branch 'feature_validator_colors' of https://github.com/emilchr…
nghuuphuoc Oct 17, 2014
6752180
Merge branch 'emilchristensen-feature_validator_colors'
nghuuphuoc Oct 17, 2014
d9ceb3f
#822: Add color validator, thanks to @emilchristensen
nghuuphuoc Oct 17, 2014
476127a
Cleanup color validator
nghuuphuoc Oct 17, 2014
8b327a1
#822: Update language packages for color validator
nghuuphuoc Oct 17, 2014
41f217d
#821: Update language packages for date validator
nghuuphuoc Oct 17, 2014
e0ca12b
Update CHANGELOG
nghuuphuoc Oct 17, 2014
0a47e8d
#933, #959: Tooltip/popover isn't destroyed when the field is valid
nghuuphuoc Oct 20, 2014
18b2c65
#991: The field is validated only one time when setting trigger: 'blu…
nghuuphuoc Oct 20, 2014
0b4c6c6
#991: The field is validated only one time when setting trigger: 'blu…
nghuuphuoc Oct 20, 2014
b14d035
#960: Add trim option for the stringLength validator
nghuuphuoc Oct 20, 2014
446d1ed
#823: The hexColor validator only accepts 6 hex character values when…
nghuuphuoc Oct 20, 2014
e05a96b
Replace ',' with '.' to validate decimal numbers correct.
Oct 20, 2014
f8aae6d
New validators for input type file. Useful when multiple attribute en…
morrizon Oct 20, 2014
339771c
Put tooltip/popover on bottom if there is not enough space on top
jazzzz Oct 20, 2014
c2d57df
Merge pull request #1002 from jazzzz/auto-tooltip-popover
nghuuphuoc Oct 21, 2014
1fe1bf5
#1002: Put tooltip/popover on bottom if there is not enough space on …
nghuuphuoc Oct 21, 2014
ed8af1d
Merge branch 'master' of https://github.com/mgibas/bootstrapvalidator…
nghuuphuoc Oct 21, 2014
ee51c38
Merge branch 'mgibas-master'
nghuuphuoc Oct 21, 2014
9502152
#864: Coma separator handling in greaterThan, lessThan validators, th…
nghuuphuoc Oct 21, 2014
a0014c4
Merge branch 'master' of https://github.com/johanronn77/bootstrapvali…
nghuuphuoc Oct 21, 2014
7756968
Merge branch 'johanronn77-master'
nghuuphuoc Oct 21, 2014
0afd5ef
#999: Replace ',' with '.' to validate decimal numbers correct, thank…
nghuuphuoc Oct 21, 2014
9444045
Merge branch 'master' of https://github.com/morrizon/bootstrapvalidat…
nghuuphuoc Oct 21, 2014
5e29fe8
Merge branch 'morrizon-master'
nghuuphuoc Oct 21, 2014
29aa866
#1001: Add minFiles, maxFiles, minTotalSize, maxTotalSize options for…
nghuuphuoc Oct 21, 2014
778cb37
#914: Improve behaviour of the identical validator
nghuuphuoc Oct 21, 2014
01d57a8
#938: Add time validator example
nghuuphuoc Oct 21, 2014
a177a58
#885: Add a notification about setting identical validator
nghuuphuoc Oct 21, 2014
5f5df24
Update the CHANGELOG
nghuuphuoc Oct 21, 2014
110da0a
Added FR zip code validation
jazzzz Oct 21, 2014
ad178b0
Added FR zip code validation test
jazzzz Oct 21, 2014
6e77bf9
Added Ireland postcode (Eircode) validation
zmira Oct 21, 2014
18f0cf5
Correction to Eircode validation
zmira Oct 21, 2014
2685ab4
Added Eircode validation test
zmira Oct 21, 2014
45cef89
Merge pull request #1008 from jazzzz/fr_zipcode
nghuuphuoc Oct 22, 2014
1fb3b36
#1008: Add France postal code validator, thanks to @jazzzz
nghuuphuoc Oct 22, 2014
a90d2bf
Merge branch 'master' of https://github.com/zmira/bootstrapvalidator …
nghuuphuoc Oct 22, 2014
2e4128e
Merge branch 'zmira-master'
nghuuphuoc Oct 22, 2014
1edc377
#1010: Add Ireland postal code validator, thanks to @zmira
nghuuphuoc Oct 22, 2014
5a22725
Fixed isValidField and validateField for fields without validators
jazzzz Oct 22, 2014
0ce4d32
Added isValidField and validateField tests
jazzzz Oct 22, 2014
88d931d
Allow data from data-bv-remote-data
jazzzz Oct 23, 2014
27b2757
Allow boolean attributes conforming to the HTML 5 spec (e.g. data-bv-…
jazzzz Oct 23, 2014
4c7640c
Update ar_MA.js
sventech Oct 23, 2014
095a6fe
Update be_FR.js
sventech Oct 23, 2014
f82e457
Update be_NL.js
sventech Oct 23, 2014
6d2c151
Update bg_BG.js
sventech Oct 23, 2014
d2a604f
Update da_DK.js
sventech Oct 23, 2014
3eaf564
Update cs_CZ.js
sventech Oct 23, 2014
2a3625d
Update de_DE.js
sventech Oct 23, 2014
3e2bf9c
Update en_US.js
sventech Oct 23, 2014
539714f
Update es_CL.js
sventech Oct 23, 2014
93d93f4
Update es_ES.js
sventech Oct 23, 2014
fe6abd3
Update fa_IR.js
sventech Oct 23, 2014
d329aa0
Update gr_EL.js
sventech Oct 23, 2014
8bcb098
Update hu_HU.js
sventech Oct 23, 2014
3e6e2eb
Update fr_FR.js
sventech Oct 23, 2014
6516adc
Update id_ID.js
sventech Oct 23, 2014
5fbabea
Update it_IT.js
sventech Oct 23, 2014
9550d11
Update ja_JP.js
sventech Oct 23, 2014
45b794e
Update zh_TW.js
sventech Oct 23, 2014
e68df0d
Update nl_NL.js
sventech Oct 23, 2014
265bd4a
Update no_NO.js
sventech Oct 23, 2014
47a2754
Update pl_PL.js
sventech Oct 23, 2014
81a60fa
Update pt_BR.js
sventech Oct 23, 2014
c074936
Update sr_RS.js
sventech Oct 23, 2014
f0f5dc5
Update ro_RO.js
sventech Oct 23, 2014
650dc09
Update ru_RU.js
sventech Oct 23, 2014
e797671
Update sv_SE.js
sventech Oct 23, 2014
9f6c8ab
Update th_TH.js
sventech Oct 23, 2014
30ece39
Update tr_TR.js
sventech Oct 23, 2014
1ed8104
Update ua_UA.js
sventech Oct 23, 2014
6e055cc
Update vi_VN.js
sventech Oct 23, 2014
0589f4b
Update zh_CN.js
sventech Oct 23, 2014
a26afc0
Update zh_TW.js
sventech Oct 23, 2014
86b79f5
Update ar_MA.js
sventech Oct 23, 2014
829c6c7
Update be_FR.js
sventech Oct 23, 2014
e346867
Update be_NL.js
sventech Oct 23, 2014
6f6f60f
Update bg_BG.js
sventech Oct 23, 2014
99c87f7
Update zh_CN.js
sventech Oct 23, 2014
19e3c72
Update vi_VN.js
sventech Oct 23, 2014
49c529b
Update ua_UA.js
sventech Oct 23, 2014
3884957
Update cs_CZ.js
sventech Oct 23, 2014
9d3f82a
Update da_DK.js
sventech Oct 23, 2014
8e6ec1a
Update de_DE.js
sventech Oct 23, 2014
405de26
Update en_US.js
sventech Oct 23, 2014
687b31d
Update es_CL.js
sventech Oct 23, 2014
b65584e
Update es_ES.js
sventech Oct 23, 2014
f01f3fd
Update fa_IR.js
sventech Oct 23, 2014
4847421
remove Dominica entry for IBAN
Oct 23, 2014
cf4be0e
Added German ZIP code and phone number validators
Oct 23, 2014
43e80f0
Added German ZIP code and phone number in build version
Oct 23, 2014
994d103
Merge pull request #1 from nghuuphuoc/master
zmira Oct 23, 2014
a6029e7
Added Portugal postcode validation
zmira Oct 23, 2014
4d4062d
Added Portugal postcode validation test
zmira Oct 23, 2014
aa0c889
Added Portugal postcode validation test
zmira Oct 23, 2014
f216e03
Merge pull request #1018 from jhadenfeldt/master
nghuuphuoc Oct 24, 2014
42dc197
#1018: Add German phone number and postal code validators, thanks to …
nghuuphuoc Oct 24, 2014
63e458e
Merge pull request #893 from sventech/master
nghuuphuoc Oct 24, 2014
ac8846e
#893: Fix country name of Dominican Republic, thanks to @sventech
nghuuphuoc Oct 24, 2014
c34853c
Merge branch 'master' of https://github.com/zmira/bootstrapvalidator …
nghuuphuoc Oct 24, 2014
3a2c926
Merge branch 'zmira-master'
nghuuphuoc Oct 24, 2014
ab46473
#1022: Add Portugal postal code validator, thanks to @zmira
nghuuphuoc Oct 24, 2014
d72bb64
Merge pull request #1015 from jazzzz/remote-data-from-attribute
nghuuphuoc Oct 24, 2014
62f92ea
#1015: remote validator allows to set data options via HTML attribute…
nghuuphuoc Oct 24, 2014
dc18290
Merge pull request #1017 from jazzzz/html5-boolean-attributes
nghuuphuoc Oct 24, 2014
c300934
#1017: Enable validator when setting data-bv-validatorname="data-bv-v…
nghuuphuoc Oct 24, 2014
bd15e5d
Fixed french emailAddress message
jazzzz Oct 24, 2014
2e12803
Merge pull request #1025 from jazzzz/fr-email
nghuuphuoc Oct 27, 2014
3a9d1a8
#1025: Fix French emailAddress message, thanks to @jazzzz
nghuuphuoc Oct 27, 2014
83f0b75
Update CHANGELOG
nghuuphuoc Oct 28, 2014
9a4f95b
Merge pull request #1014 from jazzzz/fix-field-validation
nghuuphuoc Oct 28, 2014
6f35254
#1025: Fix French emailAddress message, thanks to @jazzzz
nghuuphuoc Oct 28, 2014
65db8ad
#1014: Fix isValidField and validateField for fields without validato…
nghuuphuoc Oct 28, 2014
370299c
Ignore bogus events on IE (fixes #1040)
jazzzz Oct 28, 2014
c0b47f2
Added test for buggy input events on IE10/11 (#1040)
jazzzz Oct 29, 2014
5eab784
Merge pull request #1041 from jazzzz/ie-input-fix
nghuuphuoc Oct 30, 2014
84685dc
#1040, #1041: Input with placeholder shouldn't be validated on init (…
nghuuphuoc Oct 30, 2014
61c1036
Restore default options after event tests
jazzzz Oct 29, 2014
1cb5eba
Added double submit test (issue #481)
jazzzz Oct 29, 2014
08a95e8
Fixed double submit with defered validations (fixes #481)
jazzzz Oct 29, 2014
e69c370
Create pt_PT.js
ricardotbfreitas Oct 30, 2014
1881573
Merge pull request #1051 from rtbfreitas/master
nghuuphuoc Oct 31, 2014
4e39b71
#1051: Add Portuguese language package, thanks to @rtbfreitas
nghuuphuoc Oct 31, 2014
62fb9a3
#1050: When using multiple fields with same name, the tooltip of the …
nghuuphuoc Oct 31, 2014
4a538ad
Update CHANGELOG
nghuuphuoc Oct 31, 2014
ff698ae
#1048: Allow to use comma in dynamic option value
nghuuphuoc Nov 1, 2014
7c51423
#1019: Updated docs for added German postal code and phone number val…
nghuuphuoc Nov 1, 2014
57b800f
#914: Revert identical to previous version
nghuuphuoc Nov 2, 2014
ccc7a0a
#914: Revert identical to previous version
nghuuphuoc Nov 2, 2014
a2f1072
Fixes verbose false on field level (#1057)
Nov 2, 2014
a49e36a
Fixes #1055
Nov 2, 2014
f28d450
Merge pull request #1063 from shineability/master
nghuuphuoc Nov 2, 2014
bd15cae
#1055, #1057, #1063: Fix issues caused by set verbose to false, thank…
nghuuphuoc Nov 2, 2014
f240ea3
Merge pull request #1045 from jazzzz/double-submit
nghuuphuoc Nov 3, 2014
9dedfd1
#343, #481, #1045: Fix double submit with defered validators, thanks …
nghuuphuoc Nov 3, 2014
9458868
#1033, #1043: Add autoFocus option
nghuuphuoc Nov 3, 2014
1d2d435
#1043, #1068: Fix autoFocus test suite issue
nghuuphuoc Nov 3, 2014
713b5cf
Added zip code validators for Austria and Switzerland. Improved zip c…
thomaslhotta Nov 3, 2014
971da4e
Removed unneeded file change
thomaslhotta Nov 3, 2014
4d9959c
Removed more unneeded file changes from commit
thomaslhotta Nov 3, 2014
77af611
Removed changes to minified JS file
thomaslhotta Nov 3, 2014
cf6ef84
Merge pull request #1072 from thomaslhotta/master
nghuuphuoc Nov 4, 2014
7d72fa3
#1072: Add Austria and Switzerland postal code validators, thanks to …
nghuuphuoc Nov 4, 2014
253e501
#1082: Upgrade Bootstrap to 3.3.0
nghuuphuoc Nov 5, 2014
59e8c82
#1026: Requires jQuery 1.9.1 or higher
nghuuphuoc Nov 5, 2014
00328d4
Upgrade to jQuery 1.11.1 and Bootstrap 3.3.0
nghuuphuoc Nov 5, 2014
1cfb992
Upgrade to jQuery 1.11.1
nghuuphuoc Nov 5, 2014
5f39066
Replace window.jQuery with jQuery
nghuuphuoc Nov 5, 2014
da7b34e
#1043, #1068: Fix autoFocus test suite issue
nghuuphuoc Nov 5, 2014
2ce4330
Rebuild
nghuuphuoc Nov 5, 2014
05090c2
Rebuild
nghuuphuoc Nov 5, 2014
cc7b9d7
Update license URL in manifest files
nghuuphuoc Nov 5, 2014
c023475
Update license URL in manifest files
nghuuphuoc Nov 5, 2014
8d8eb4f
Release v0.5.3 :heart:
nghuuphuoc Nov 5, 2014
88e9570
Update README
nghuuphuoc Mar 5, 2015
322274b
Update README.md
nghuuphuoc Mar 19, 2015
0c96659
Update README.md
nghuuphuoc Mar 19, 2015
72dce79
Add armenian translation
tigranbalayan Dec 3, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.idea/*
node_modules/*
.idea
_gh_pages
node_modules
bower_components
617 changes: 598 additions & 19 deletions CHANGELOG.md

Large diffs are not rendered by default.

114 changes: 114 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# Contributors

Contributions are welcome!

Please notice that your code may be used as part of a commercial product if the pull request is merged.

I would like to give big thanks to the following contributors:

* [@abuzer](https://github.com/abuzer)
* [@aca02djr](https://github.com/aca02djr)
* [@adgrafik](https://github.com/adgrafik)
* [@adrian-dks](https://github.com/adrian-dks)
* [@AdwinTrave](https://github.com/AdwinTrave)
* [@AlaskanShade](https://github.com/AlaskanShade)
* [@alavers](https://github.com/alavers)
* [@Arkni](https://github.com/Arkni)
* [@Azuka](https://github.com/Azuka)
* [@bcamarneiro](https://github.com/bcamarneiro)
* [@beeglebug](https://github.com/beeglebug)
* [@bermo](https://github.com/bermo)
* [@blackfyre](https://github.com/blackfyre)
* [@caijh](https://github.com/caijh)
* [@CeRBeR666](https://github.com/CeRBeR666)
* [@cuchac](https://github.com/cuchac)
* [@cylon-v](https://github.com/cylon-v)
* [@desaretiuss](https://github.com/desaretiuss)
* [@dgmike](https://github.com/dgmike)
* [@Djarnis](https://github.com/Djarnis)
* [@dlcrush](https://github.com/dlcrush)
* [@dlucazeau](https://github.com/dlucazeau)
* [@dokterpasta](https://github.com/dokterpasta)
* [@easonhan007](https://github.com/easonhan007)
* [@egig](https://github.com/egig)
* [@emilchristensen](https://github.com/emilchristensen)
* [@ericnakagawa](https://github.com/ericnakagawa)
* [@etorres](https://github.com/etorres)
* [@evilchili](https://github.com/evilchili)
* [@fhferreira](https://github.com/fhferreira)
* [@figgaro](https://github.com/figgaro)
* [@filipac](https://github.com/filipac)
* [@Francismori7](https://github.com/Francismori7)
* [@gercheq](https://github.com/gercheq)
* [@grzesiek](https://github.com/grzesiek)
* [@henningda](https://github.com/henningda)
* [@i0](https://github.com/i0)
* [@ikanedo](https://github.com/ikanedo)
* [@iplus](https://github.com/iplus)
* [@jazzzz](https://github.com/jazzzz)
* [@jcnmulio](https://github.com/jcnmulio)
* [@jhadenfeldt](https://github.com/jhadenfeldt)
* [@jjshoe](https://github.com/jjshoe)
* [@johanronn77](https://github.com/johanronn77)
* [@jswale](https://github.com/jswale)
* [@Jvanderheide](https://github.com/Jvanderheide)
* [@jzhang6](https://github.com/jzhang6)
* [@kenny-evitt](https://github.com/kenny-evitt)
* [@khangvm53](https://github.com/khangvm53)
* [@kristian-puccio](https://github.com/kristian-puccio)
* [@kromit](https://github.com/kromit)
* [@leedorian](https://github.com/leedorian)
* [@leegtang](https://github.com/leegtang)
* [@lloydde](https://github.com/lloydde)
* [@logemann](https://github.com/logemann)
* [@lukaszbanasiak](https://github.com/lukaszbanasiak)
* [@manish-in-java](https://github.com/manish-in-java)
* [@maramazza](https://github.com/maramazza)
* [@marceloampuerop6](https://github.com/marceloampuerop6)
* [@marcuscarvalho6](https://github.com/marcuscarvalho6)
* [@markocrni](https://github.com/markocrni)
* [@MartinDevillers](https://github.com/MartinDevillers)
* [@mattrick](https://github.com/mattrick)
* [@mbezhanov](https://github.com/mbezhanov)
* [@mchrapka](https://github.com/mchrapka)
* [@mgibas](https://github.com/mgibas)
* [@mike1e](https://github.com/mike1e)
* [@morrizon](https://github.com/morrizon)
* [@mraiur](https://github.com/mraiur)
* [@MrC0mm0n](https://github.com/MrC0mm0n)
* [@mrpollo](https://github.com/mrpollo)
* [@narutosanjiv](https://github.com/narutosanjiv)
* [@nathanrosspowell](https://github.com/nathanrosspowell)
* [@neilime](https://github.com/neilime)
* [@oleg-voloshyn](https://github.com/oleg-voloshyn)
* [@paquitodev](https://github.com/paquitodev)
* [@patmoore](https://github.com/patmoore)
* [@phillprice](https://github.com/phillprice)
* [@pRieStaKos](https://github.com/pRieStaKos)
* [@q-state](https://github.com/q-state)
* [@Relequestual](https://github.com/Relequestual)
* [@roryprimrose](https://github.com/roryprimrose)
* [@rtbfreitas](https://github.com/rtbfreitas)
* [@ryan2049](https://github.com/ryan2049)
* [@shamiao](https://github.com/shamiao)
* [@shineability](https://github.com/shineability)
* [@smeagol74](https://github.com/smeagol74)
* [@stephengreentree](https://github.com/stephengreentree)
* [@stepin](https://github.com/stepin)
* [@sventech](https://github.com/sventech)
* [@talberti](https://github.com/talberti)
* [@thisisclement](https://github.com/thisisclement)
* [@thomaslhotta](https://github.com/thomaslhotta)
* [@thx2001r](https://github.com/thx2001r)
* [@tiagofontella](https://github.com/tiagofontella)
* [@tomByrer](https://github.com/tomByrer)
* [@trondulseth](https://github.com/trondulseth)
* [@troymccabe](https://github.com/troymccabe)
* [@tsuyoshifujii](https://github.com/tsuyoshifujii)
* [@tureki](https://github.com/tureki)
* [@ulsa](https://github.com/ulsa)
* [@vadail](https://github.com/vadail)
* [@vaz](https://github.com/vaz)
* [@yakidahan](https://github.com/yakidahan)
* [@zmira](https://github.com/zmira)
* ... might be you! Let's [fork](https://github.com/nghuuphuoc/bootstrapvalidator/fork) and make a pull request.
95 changes: 71 additions & 24 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,50 +1,69 @@
module.exports = function(grunt) {
grunt.initConfig({
// ---
// Variables
// ---

pkg: grunt.file.readJSON('package.json'),

buildDir: 'dist',
dirs: {
src: 'src',
dist: 'dist',
test: 'test'
},

banner: [
'/**',
' * BootstrapValidator v<%= pkg.version %> (<%= pkg.homepage %>)',
'/*!',
' * BootstrapValidator (<%= pkg.homepage %>)',
' * <%= pkg.description %>',
' *',
' * A jQuery plugin to validate form fields. Use with Bootstrap 3',
' *',
' * @author Nguyen Huu Phuoc <[email protected]>',
' * @copyright (c) 2013 Nguyen Huu Phuoc',
' * @license MIT',
' */\n\n'
' * @version v<%= pkg.version %>, built on <%= grunt.template.today("yyyy-mm-dd h:MM:ss TT") %>',
' * @author <%= pkg.author.url %>',
' * @copyright (c) 2013 - <%= grunt.template.today("yyyy") %> Nguyen Huu Phuoc',
' * @license Commercial: <%= pkg.homepage %>/license/',
' * Non-commercial: http://creativecommons.org/licenses/by-nc-nd/3.0/',
' */\n'
].join('\n'),

// ---
// Tasks
// ---

copy: {
main: {
files: [
{ cwd: 'src/css', src: '**', dest: '<%= buildDir %>/css', expand: true, flatten: true, filter: 'isFile' }
{ cwd: '<%= dirs.src %>/css', src: '**', dest: '<%= dirs.dist %>/css', expand: true, flatten: true, filter: 'isFile' },
{ cwd: '<%= dirs.src %>/js/language', src: '**', dest: '<%= dirs.dist %>/js/language', expand: true, flatten: true, filter: 'isFile' }
]
}
},

cssmin: {
minify: { expand: true, cwd: 'src/css/', src: ['*.css'], dest: '<%= buildDir %>/css/', ext: '.min.css' },
minify: { expand: true, cwd: '<%= dirs.src %>/css/', src: ['*.css'], dest: '<%= dirs.dist %>/css/', ext: '.min.css' },
add_banner: {
options: {
stripBanners: true,
banner: '<%= banner %>'
},
files: {
'<%= buildDir %>/css/bootstrapValidator.min.css': ['src/css/bootstrapValidator.css']
'<%= dirs.dist %>/css/bootstrapValidator.min.css': ['<%= dirs.src %>/css/bootstrapValidator.css']
}
}
},

concat: {
options: {
separator: ';',
stripBanners: true,
banner: '<%= banner %>'
source: {
options: {
separator: ';',
stripBanners: true,
banner: '<%= banner %>'
},
src: ['<%= dirs.src %>/js/bootstrapValidator.js', '<%= dirs.src %>/js/validator/*.js'],
dest: '<%= dirs.dist %>/js/bootstrapValidator.js'
},
dist: {
src: ['src/js/bootstrapValidator.js', 'src/js/validator/*.js'],
dest: '<%= buildDir %>/js/bootstrapValidator.js'
test: {
src: ['<%= dirs.test %>/spec/*.js', '<%= dirs.test %>/spec/validator/*.js'],
dest: '<%= dirs.test %>/spec.js'
}
},

Expand All @@ -53,28 +72,56 @@ module.exports = function(grunt) {
banner: '<%= banner %>'
},
build: {
src: ['<%= buildDir %>/js/bootstrapValidator.js'],
dest: '<%= buildDir %>/js/bootstrapValidator.min.js'
src: ['<%= dirs.dist %>/js/bootstrapValidator.js'],
dest: '<%= dirs.dist %>/js/bootstrapValidator.min.js'
}
},

jshint: {
all: [
'<%= dirs.src %>/js/**/*.js'
],
options: {
browser: true,
camelcase: true,
curly: true,
eqeqeq: true,
eqnull: true,
es3: true,
expr: true,
laxbreak: true, // Allow line breaking before && or ||
loopfunc: true,
newcap: true,
noarg: true,
onevar: true,
sub: true,
undef: true,
white: true
}
},

watch: {
scripts: {
files: ['src/css/**', 'src/js/**'],
source: {
files: ['<%= dirs.src %>/css/**', '<%= dirs.src %>/js/**'],
tasks: ['build'],
options: {
spawn: false
}
},
test: {
files: ['<%= dirs.test %>/spec/**'],
tasks: ['concat:test']
}
}
});

grunt.registerTask('default', 'build');
grunt.registerTask('build', ['copy', 'cssmin', 'concat', 'uglify']);
grunt.registerTask('build', ['copy', 'cssmin', 'concat', 'uglify']);

grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
};
58 changes: 58 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
BootstrapValidator Licenses
---

BootstrapValidator is free to use in non-commercial projects under the terms of the Creative
Commons BY-NC-ND 3.0 (http://creativecommons.org/licenses/by-nc-nd/3.0/) license.
If you use BootstrapValidator in commercial projects and products, you must purchase a commercial license.

For more information about the license, see http://bootstrapvalidator.com/license/

## BootstrapValidator commercial license agreement

This Commercial License Agreement is a binding legal agreement between you and Nguyen Huu Phuoc.
By installing, copying, or using BootstrapValidator (the Software), you agree to be bound
by these terms of this Agreement.

### Grant of license

Subject to the payment of the fee required and the conditions herein, you are hereby granted
a non-exclusive, non-transferable right to use BootstrapValidator (the Software) to design
and develop commercial applications (Applications).

### Developer grant

The BootstrapValidator Commercial Developer License grants one license for you as one designated
user (Developer) to use the Software for developing Applications. A Developer is an individual
who implements the Software into Applications, most often writing the necessary code to do so.
You must purchase another separate license to the Software for each and any additional Developer,
or purchase a BootstrapValidator Commercial Organization License to cover your entire organization.

### Organization grant

The BootstrapValidator Commercial Organization License grants one license for your Organization
as one designated, collective user (Organization) to use the Software for developing Applications.
There is no limit or restriction of the number of Developers within your Organization who
may develop Applications using the Software.

### Usage

You are granted the right to use and to modify the source code of the Software for use in
Applications. There is no limit or restriction of the number of Applications which use the
Software. You own any original work authored by you. Nguyen Huu Phuoc continues to retain
all copyright and other intellectual property rights in the Software. You are not permitted
to move, remove, edit, or obscure any copyright, trademark, attribution, warning or disclaimer
notices in the Software.

You may use the Software only to create Applications that are significantly different than
and do not compete with the Software. You are granted the license to distribute the Software
as part of your Applications on a royalty-free basis. Users of your Applications are permitted
to use the Software or your modifications of the Software as part of your Applications.
Users do not need to purchase their own commercial license for the Software, so long as they
are not acting as Developers, developing their own commercial Applications with the Software.

### Warranties and remedies

The Software is provided "as is", without warranty of any kind, express or implied, including
but not limited to the warranties of merchantability, fitness for a particular purpose and
non-infringement. Nguyen Huu Phuoc's entire liability and your exclusive remedy under this
agreement shall be return of the price paid for the Software.
Loading