251 Commits

Author SHA1 Message Date
Vance Lucas
d3dfa81996 Merge pull request #22 from neves/static-lang
add global static lang support and sample to README.md
2013-08-16 17:43:49 -07:00
Vance Lucas
d5759513aa Merge pull request #21 from neves/add_lang_pt_br
add lang pt-BR
2013-08-16 17:12:13 -07:00
Marcos Neves
2dd9fa79a3 add global static lang support and sample to README.md 2013-08-16 12:20:25 -03:00
Marcos Neves
d88dc56a69 add lang pt-BR 2013-08-16 11:21:21 -03:00
Vance Lucas
2fac74557b Version 1.1.2 Release v1.1.2 2013-08-09 11:44:14 -05:00
Vance Lucas
f0aa5011b6 Add tests for custom labels & fix #20
Ticket: https://github.com/vlucas/valitron/issues/20
2013-08-09 11:42:55 -05:00
Vance Lucas
2e6218414b Version 1.1.1 Release v1.1.1 2013-08-07 18:17:00 -05:00
Vance Lucas
0f96c883bc Add test coverage for 'addRule' method 2013-08-07 18:14:09 -05:00
Vance Lucas
4beb5f6075 Merge pull request #19 from diegosala/master
Fix for _validations not associative
2013-07-16 12:00:05 -07:00
Diego Sala
a31233f615 Merge branch 'master' of https://github.com/diegosala/valitron 2013-07-16 15:51:01 -03:00
Diego Sala
884076b6f7 Fix for issue #17 2013-07-16 15:49:34 -03:00
Diego Sala
b639814a7e Fix for issue #17 2013-07-16 15:18:10 -03:00
Vance Lucas
60ceeec2b0 Merge pull request #16 from pinoytech/master
Typo on Class description
2013-07-10 08:04:15 -07:00
Thorpe J.Y. Obazee
e0881bdb2a Just a typo 2013-07-10 04:21:33 +08:00
Vance Lucas
05c1b9ab15 Error messages now include field name by default
* Version 1.1.0 release
v1.1.0
2013-06-29 10:26:03 -05:00
Vance Lucas
13853d226c Merge pull request #14 from noginn/master
Added support for non-mandatory fields
2013-06-19 15:01:34 -07:00
Tom Graham
81978ef8c7 Added support for non-mandatory fields. Fixes issue #13. 2013-06-19 21:27:56 +01:00
Vance Lucas
7a0a4a3039 Version 1.0.4 release v1.0.4 2013-05-23 14:23:56 -05:00
Vance Lucas
07866b56cc Update README.md 2013-05-13 09:22:58 -05:00
Vance Lucas
c50b0186fc Merge pull request #12 from silentworks/message-labels
Message labels
2013-05-13 07:21:48 -07:00
Andrew Smith
366450a1e0 fixed typo on labels method 2013-05-13 13:18:16 +01:00
Andrew Smith
4a14b0e13e Added in field labels to allow user to label fields with a different name than the actual label defined in the html. 2013-05-13 13:16:22 +01:00
Vance Lucas
285c56ba74 Merge pull request #7 from panxianhai/Chinese_translation
add Chinese translation
2013-04-06 13:38:45 -07:00
panxianhai
e77af45613 add Chinese translation 2013-04-06 11:44:06 +08:00
Vance Lucas
9e13e8ef82 Merge pull request #6 from spekkionu/master
Fixed some typos in messages and documentation.
2013-03-20 07:09:16 -07:00
Jonathan Bernardi
922f3546bd Fix some typos. 2013-03-19 11:09:39 -08:00
Vance Lucas
ff277b512e Merge pull request #5 from ArabCoders/master
added Arabic translation
2013-03-16 12:58:22 -07:00
Abdul.Mohsen B. A. A.
9748d4d0e5 added Arabic translation 2013-03-16 15:58:41 +03:00
Vance Lucas
a2c165f650 Merge pull request #4 from pborreli/typos
Fixed typos
2013-03-05 18:31:12 -08:00
Pascal Borreli
0ada9f2ad6 Fixed typos 2013-03-06 01:54:59 +00:00
Vance Lucas
c049a8f380 Merge branch 'add-rules-in-bulk' v1.0.3 2013-03-05 18:01:35 -06:00
Joel Clermont
4ed332c66e update README for bulk rule method 2013-03-05 17:54:05 -06:00
Joel Clermont
173ad40b7d fix array structure to make it easier to parse. update tests 2013-03-05 17:12:42 -06:00
Vance Lucas
76105e277b Add php code highlighting to code blocks in README 2013-03-05 16:26:09 -06:00
Joel Clermont
035de87cf7 update rules method to be more consistent with rule method 2013-03-05 14:14:34 -06:00
Vance Lucas
eee2cc299e Merge branch 'validation-updates' (closes #3) v1.0.2 2013-03-05 14:13:03 -06:00
Vance Lucas
36f4e8d3b1 Ensuring array values are strings for sprintf 2013-03-05 14:00:13 -06:00
Joel Clermont
ca553cf658 remove debugging code 2013-03-05 11:27:01 -06:00
Chris Cornutt
6169b04cc5 adding default error message to EN language file for "contains" 2013-03-05 10:41:38 -06:00
Chris Cornutt
24f26b75e9 adding "contains" to the README 2013-03-05 09:45:58 -06:00
Chris Cornutt
cb880e73b2 fixing some logic on the URL checking and adding new "contains" validator 2013-03-05 09:40:28 -06:00
Vance Lucas
fdaa2d6502 README update to clarify testing requirements 2013-03-05 09:33:33 -06:00
Joel Clermont
1d68384f05 updated tests to more clearly isolate the issue 2013-03-05 06:48:47 -06:00
Joel Clermont
d41d115ab7 tests and code to support adding multiple rules via an array 2013-03-04 21:06:04 -06:00
Vance Lucas
650db517b4 Add example for adeding custom validation rules 2013-02-06 14:13:22 -06:00
Vance Lucas
85b359babe Removed missing method passthru for leaner API
* Remove __call in favor of more explicit `rule` method - smaller API
   to maintain without magic method use
 * Updated README with current supported rules
2013-02-04 18:07:18 -06:00
Vance Lucas
4123e185f4 Add error messages with basic translation support
* Initial English error messages file and directory
 * Setup methods to specify language and directory to find lang files in
 * Change 'alphaDash' validation name to 'slug' for URL slugs
 * Now passing all parameters to error message via `vsprintf`
 * Add `message` convenience method to easily specify custom message on
   last validation rule
 * Add tests for error messages
v1.0.0
2013-02-02 20:10:02 -06:00
Vance Lucas
33c92a3f24 Add tests for array of field names in rule 2013-01-31 17:36:40 -06:00
Vance Lucas
1c387a67c0 README update 2013-01-31 17:20:27 -06:00
Vance Lucas
9a69eb6198 All initial validators added and tested 2013-01-28 13:10:50 -06:00