Commit Graph

27 Commits

Author SHA1 Message Date
Anatoliy Chakkaev 4eda7df7bc Described custom validations 2013-02-12 17:05:04 +08:00
Anatoliy Chakkaev cdd328c902 Revert validatable fix 2013-01-30 23:08:52 +07:00
Anatoliy Chakkaev 9f0dfeb58a Add attr param to custom validator, closes #200 2013-01-30 22:30:31 +07:00
Anatoliy Chakkaev 59e80e8454 Fix uniqueness validation (mongo ids) 2013-01-23 03:22:48 +07:00
Anatoliy Chakkaev dbb39bf43e Further optimizations: remove hasOwnProperty backward compat 2012-10-16 01:29:30 +04:00
Anatoliy Chakkaev f59cf0ddbf Specify collection length 2012-10-13 19:19:53 +04:00
Anatoliy Chakkaev 1ec419aa42 Better performance on big datasets read 2012-10-13 17:59:25 +04:00
Anatoliy Chakkaev 1b83266fd6 Jslinize if blocks, not strict equal for ids on uniqueness checking 2012-04-19 03:20:44 +04:00
Anatoliy Chakkaev 8dafb424ed Not strict equal for scoped find, trigger beforeUpdate with data 2012-04-09 20:24:35 +04:00
Anatoliy Chakkaev 426efeabcf Documentation, railway tweaks 2012-03-27 23:48:23 +04:00
Anatoliy Chakkaev 6ee7de0716 Document 2012-03-27 18:22:24 +04:00
Anatoliy Chakkaev 4cb7af139d Automigrade/update 2011-12-09 19:23:29 +04:00
Anatoliy Chakkaev 76a2f9a22c Validation should return undefined in case of async validations 2011-11-26 15:22:36 +07:00
Julien Guimont 001a962606 Some errors in the previous PR 2011-11-25 10:43:50 -05:00
Julien Guimont 3ce01d11b2 Async validations should not trump previous validations. Previous validations should be true as well as async validations 2011-11-25 10:22:35 -05:00
Anatoliy Chakkaev d7fbf1a575 Tune async validation hooks 2011-11-20 15:26:36 +07:00
Anatoliy Chakkaev 3b2b57eb7b Async validations hooks 2011-11-19 15:58:49 +07:00
Anatoliy Chakkaev fbf118695e Async validations 2011-11-19 12:43:02 +07:00
Anatoliy Chakkaev 9dcd976546 Rewrite custom validation 2011-11-19 01:59:46 +07:00
Anatoliy Chakkaev 894a924488 Hookable validations without breaking functionality 2011-11-17 14:00:12 +07:00
Anatoliy Chakkaev dd1e54ffec Some coding style fixes 2011-11-17 13:18:39 +07:00
Julien Guimont fa9676779b Add the ability to create custom validation on fields 2011-11-16 22:37:43 -05:00
Justinas Stankevičius 9c0f069c27 bugfix: class is a reserved word in V8 / node 0.6 2011-11-08 20:00:44 +02:00
Anatoliy Chakkaev 8a05e1ffad Conditional validations 2011-10-11 23:52:03 +04:00
Anatoliy Chakkaev 3eb3399855 Validate format, nullChecks everywhere 2011-10-10 21:34:50 +04:00
Anatoliy Chakkaev 54ddb55c49 Validations 2011-10-10 17:22:51 +04:00
Anatoliy Chakkaev b2ea9c65b0 Reorganize package 2011-10-08 21:11:26 +04:00