Commit graph

1234 commits

Author SHA1 Message Date
Alexandre Gomes Gaigalas 1d7a721298 Faster validation for compositing rules, new check() method for validators 2010-10-18 07:15:44 -02:00
Alexandre Gomes Gaigalas 1d1c5d4b4c Removed nasty eval'd code from tests 2010-10-18 06:40:44 -02:00
Alexandre Gomes Gaigalas bc63da4e0e Major refactoring on the validation exceptions and messages. 2010-10-18 06:18:46 -02:00
Alexandre Gomes Gaigalas 87f88ae641 HasKey validator for arrays, tests improved on HasAttribute validator 2010-10-18 03:41:22 -02:00
Alexandre Gomes Gaigalas 605b6b00fa Changed some methods to protected 2010-10-18 03:24:19 -02:00
Alexandre Gomes Gaigalas f8639f488a Improvements on date validation and tests 2010-10-18 03:05:37 -02:00
Alexandre Gomes Gaigalas 611dbc1cd6 Parameter validation for Callback validator 2010-10-18 02:53:20 -02:00
Alexandre Gomes Gaigalas c29295a4d0 Better tests, parameter validation for Alnum and Alpha 2010-10-18 02:48:13 -02:00
Alexandre Gomes Gaigalas f18d700b9f New validators for numbers (digits, float, hexa, etc), alpha, regex, generic between, ip addresses. Improvements on several existent validators. 2010-10-18 02:26:02 -02:00
Alexandre Gomes Gaigalas 91d10f6ba1 Removed the ghost explain() method 2010-10-16 20:44:21 -03:00
Alexandre Gomes Gaigalas 0d3487679b Fixed a nasty bug on StringLength validator identified by Augusto.
Merged the NumericBetween validator also created by Augusto.
Fixed a bug on the Zend and Sf tests that skipped tests inapropriately.
2010-10-16 20:40:04 -03:00
Augusto Pascutti b9a7e1efe1 Added NumericBetween and its tests. Made some more dataProviders for some tests. 2010-10-17 07:02:22 +08:00
Augusto Pascutti a34946a7e3 Changed SplClassLoader to work better with class_exists() and changed external lib tests to check for vendor classes first. 2010-10-17 07:02:28 +08:00
Alexandre Gomes Gaigalas cb8edeccf6 Refactored interface declarations 2010-10-06 19:21:01 -03:00
Alexandre Gomes Gaigalas df3533c9c8 Refactored all mentions of "message" to "message template" for further refactorings 2010-10-06 18:27:14 -03:00
Alexandre Gomes Gaigalas 7012d62e0e PEAR package including Zend 2.0 and Symfony 2.0 validator bindings. 2010-10-06 18:09:56 -03:00
Alexandre Gomes Gaigalas a2fbdc340f New Sf valitador that uses Symfony 2.0 Validators and Constraints. Moved Zend validator to support only the 2.x ZF. 2010-10-06 18:06:55 -03:00
Alexandre Gomes Gaigalas fc661bcfec Added Zend Validation support 2010-10-06 15:52:06 -03:00
Alexandre Gomes Gaigalas 27c7739abd Callback validation, fixed bootstrap 2010-10-05 12:55:12 -03:00
Alexandre Gomes Gaigalas ef0257dadd PEAR package 2010-10-05 11:09:41 -03:00
Alexandre Gomes Gaigalas ffb2e3cdb5 Readme 2010-09-27 18:44:56 -03:00
Alexandre Gomes Gaigalas 82e26fa159 New Validators 2010-09-27 18:02:30 -03:00
Alexandre Gomes Gaigalas 8651990e17 Nothing really 2010-09-26 03:18:40 -03:00
Alexandre Gomes Gaigalas b43371315a Major refactoring. Removed a layer from the validator rules, now all of them have a single level. Simplified fluent interface (chains and static validators), improved folder organization. 2010-09-26 02:16:02 -03:00
Alexandre Gomes Gaigalas 85f4843df7 Better exceptions 2010-09-25 02:54:10 -03:00
Alexandre Gomes Gaigalas 0491cd885f Turned Fluent Interface into a composite validator by nature, added support for chained composite validations, small fix on String\NotEmpty validator 2010-09-25 01:48:49 -03:00
Alexandre Gomes Gaigalas 9bcdb56189 Refactored "validator" name to "rule" in many places, fluent interface improvements, validatior chaining for fluent interfaces and small fixes 2010-09-25 01:13:26 -03:00
Alexandre Gomes Gaigalas d25f7220dc Fluent interface for Valitation\Validator, draft string validator, better tests, composite validation improvements 2010-09-24 21:28:03 -03:00
Alexandre Gomes Gaigalas 5850afdad5 CompositeValidator split in two (All and One), removed Chain for further rewrite 2010-09-24 15:46:59 -03:00
Alexandre Gomes Gaigalas 9aee2ea16d Name refactorings, interface for simple validator calls, date improvements 2010-09-24 00:32:00 -03:00
Alexandre Gomes Gaigalas 348cb019fe Optional Abstract Validator which implements messages methods, better message handling 2010-09-23 23:30:16 -03:00
Alexandre Gomes Gaigalas 666c0d5330 Better exceptions (component exceptions separate from validation exceptions), date default timezone on bootstrap, Date\Between validator 2010-09-23 22:56:17 -03:00
Alexandre Gomes Gaigalas f6871cbc7d Chain validators, better tests 2010-09-23 20:24:22 -03:00
Alexandre Gomes Gaigalas 2043c1129c Validator composite structure and tests, base for new Validators 2010-09-23 16:46:46 -03:00