Commit Graph

61 Commits

Author SHA1 Message Date
Taylor Otwell 28a880b5b5 Use array_key_exists in validator. 2013-01-05 16:24:51 -06:00
Taylor Otwell 22107fe944 Merge pull request #1461 from AustinW/master
Minor corrections to the documentation and using Input::json() with Validator
2013-01-05 12:06:53 -08:00
Taylor Otwell 423be0495b Merge branch 'master' into develop 2013-01-05 14:05:21 -06:00
Taylor Otwell 731cec2475 Merge pull request #1465 from ethaizone/patch-1
Update laravel/validator.php
2013-01-05 12:04:59 -08:00
Taylor Otwell 19b01b1d27 Add on to accepted. 2013-01-05 13:48:39 -06:00
Jason Walton 19cd539586 added validation message to language file for required_with
Signed-off-by: Jason Walton <jwalton512@gmail.com>
2012-12-19 12:05:51 -07:00
James Spibey dcc5649318 validate_required_with fix 2012-12-17 11:33:38 +00:00
Nimit Suwannagate 6a8a3bca2b Update laravel/validator.php
Fix: Replace :other with Validation Attributes (from validation.php in language folder)
2012-11-23 00:42:55 +07:00
Austin White aa37c82650 fixed issue #1206 2012-10-31 15:00:41 -07:00
Dayle Rees a7c2c2544e Merge pull request #1053 from tobsn/patch-12
added array and array count validation for multi-select input
2012-08-12 12:50:10 -07:00
Tobsn 43c3c2de68 fixes from testing
- all tested now - ready for merge into staging :P
2012-08-06 03:10:39 +02:00
Tobsn bf07de7d5e added array and array count validation
added validate_array/count/countmin/countmax/countbetween -
corresponding replace_count/countmin/countmax/countbetween message
functions - corresponding validator error messages into all language
files (please have maintainers update their language files) - also
converted spaces to tabs in the polish language file to fit all the
others.
2012-08-03 17:27:29 +02:00
Sergii Grebeniuk 690e8572aa phpdoc fixes 2012-08-03 18:17:48 +03:00
Dayle Rees 2c6ed23b45 fixing merge issues 2012-07-27 13:52:15 +01:00
Dayle Rees 3b09f99f9e Merge pull request #989 from dprvig/develop
Fixed various typos throughout laravel folder.
2012-07-27 03:54:40 -07:00
Josh Miller 0ea30993d4 Fixed various typos throughout laravel folder.
Signed-off-by: Josh Miller <josh@joshmmiller.com>
2012-07-21 20:18:55 -04:00
Taylor Otwell 19c64f1ea7 return false on empty string for active url. 2012-07-19 15:39:18 -05:00
Chris Berthe b325e954e3 Merge remote-tracking branch 'upstream/develop' into develop 2012-07-12 11:15:43 -04:00
Chris Berthe fafaf724b0 Grammar/Vocabulary fixes
Signed-off-by: Chris Berthe <chrisberthe@gmail.com>
2012-06-13 11:19:20 -04:00
Jason Walton 6881bdaf02 Added required_with validation rule to conditionally require an attribute based on the presence of another attribute
Signed-off-by: Jason Walton <jwalton512@gmail.com>
2012-06-11 09:18:42 -07:00
kapv89 86a5fd0739 Changed a line which causes "illegal string offset" error to be thrown in php5.4 on trying to access $value['tmp_name'] 2012-05-29 14:04:06 +05:30
crynobone 57f94a7829 Validator: During replace :attribute, need to verify Lang::has('key') instead of checking is_null()
Signed-off-by: crynobone <crynobone@gmail.com>
2012-05-06 00:53:33 +08:00
Keith Loy 53e8f9b774 Fixing bug where custom validation messages in bundle language files were not getting picked up. 2012-04-09 21:11:54 -05:00
Dayle Rees 533112e2f5 added before and after date filters
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-03-21 21:07:10 +00:00
Taylor Otwell 52091bda5f Added "match" validation rule for regular expression checks. 2012-03-21 13:40:52 -05:00
Taylor Otwell 5c8527f579 Use str_getcsv instead of explode in validator to allow commas in in and not_in rules.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-12 10:50:04 -05:00
Taylor Otwell c4594afce1 cleaning up the validator.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-03 15:12:30 -06:00
Taylor Otwell 909413916c cleaning up code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-25 22:32:12 -06:00
Taylor Otwell bf6313e50b cleaning up code. 2012-02-17 14:02:53 -06:00
Taylor Otwell 75280a9fea cleaning up validator method. 2012-02-14 16:53:08 -06:00
Taylor Otwell e1c8928550 added passes and fails method to validtor. 2012-02-14 15:19:01 -06:00
Taylor Otwell 3a92facc76 updated routing to fix several issues. 2012-02-12 14:48:36 -06:00
Phill Sparks 62072e5281 PHPDoc fixes 2012-02-04 21:30:52 +00:00
Taylor Otwell 46bf67aeed remove unused property from validator. 2012-02-03 13:37:28 -06:00
Taylor Otwell ee2d38f260 added replace_mimes method. 2012-02-03 11:15:54 -06:00
Taylor Otwell ad24b08b29 refactor the validation replacement code. 2012-02-03 11:13:44 -06:00
Taylor Otwell 554d390f1e added same and different validation rules. 2012-02-03 11:02:54 -06:00
Taylor Otwell eaa2cf593c added support for custom validation lines. 2012-02-01 10:11:27 -06:00
Taylor Otwell 5a6f2f888d unfix bug in validator, heh. 2012-01-31 14:21:59 -06:00
Taylor Otwell fd446aec62 fix bug in validation unique method. 2012-01-31 10:22:26 -06:00
Taylor Otwell 72d181b330 added exists method and language lines for ip and exists rules. 2012-01-30 09:54:19 -06:00
Taylor Otwell 008819cd1e added db method to validator. 2012-01-29 13:59:50 -06:00
Taylor Otwell 3488a5449e adjust comment. 2012-01-29 13:55:33 -06:00
Taylor Otwell af5e4c6be6 Merge pull request #278 from codler/patch-8
Validate IP
2012-01-29 11:54:48 -08:00
Taylor Otwell 1fc861026a added back support for specifying column in validator unique rule. id is now a third parameter option. 2012-01-29 13:19:47 -06:00
Han Lin Yap 5974a58b3f validate ip 2012-01-26 18:26:54 +01:00
Taylor Otwell b5442c67fc merged skunkworks into develop. 2012-01-16 13:59:24 -06:00
Taylor Otwell 9e46cadab3 Minor refactoring of the Validator. Mainly code formatting and naming changes. 2011-11-29 13:40:33 -06:00
Taylor Otwell 09b4471a5d fix file validation check in validator. 2011-11-27 19:05:54 -06:00
Taylor Otwell 472e377b02 fix the validation of required file uploads. 2011-11-27 15:38:59 -06:00