Jose Lorenzo Rodriguez
|
877e6c0f66
|
Removing the need for first param in CakeRule constructor
|
2012-05-05 19:41:48 -04:30 |
|
Jose Lorenzo Rodriguez
|
3199b9029b
|
Implemented countable interface for ModelValidator
|
2012-05-05 17:46:09 -04:30 |
|
Jose Lorenzo Rodriguez
|
81c0c3d91d
|
Implementing IteratorAggregate interface for ModelValidator
|
2012-05-05 17:34:35 -04:30 |
|
Jose Lorenzo Rodriguez
|
d35f8e6b00
|
Implementing ArrayAccess in ModelValidator
|
2012-05-05 15:52:02 -04:30 |
|
Jose Lorenzo Rodriguez
|
b6c8a345e7
|
Renaming CakeField to CakeValidationSet
|
2012-05-05 13:44:12 -04:30 |
|
Jose Lorenzo Rodriguez
|
843d95bb77
|
Renaming some methods ands removing others
|
2012-05-05 13:34:14 -04:30 |
|
Jose Lorenzo Rodriguez
|
05abff6ecd
|
Fixing faling test case
|
2012-04-29 19:58:22 -04:30 |
|
Jose Lorenzo Rodriguez
|
72e8992c25
|
Improving test coverage for CakeRule
|
2012-04-29 19:56:24 -04:30 |
|
Jose Lorenzo Rodriguez
|
d348bf6807
|
Refactoring again CakeRule, making all tests pass
|
2012-04-29 18:11:51 -04:30 |
|
Jose Lorenzo Rodriguez
|
94040859b2
|
Correctly calling method to not depend on functon call order
|
2012-04-29 02:57:10 -04:30 |
|
Jose Lorenzo Rodriguez
|
deedd7a3ce
|
Even more tests passing now, almost there
|
2012-04-29 02:40:08 -04:30 |
|
Jose Lorenzo Rodriguez
|
8700f3c7a2
|
Fixed some validation tests
|
2012-04-29 01:06:24 -04:30 |
|
Jose Lorenzo Rodriguez
|
18c26119f3
|
Removing redundant code, cleaning up some sentences
|
2012-04-29 00:39:43 -04:30 |
|
Jose Lorenzo Rodriguez
|
c31f87b7a1
|
Refactored getMethods, got rid of validationErrors property in ModelValidator, made validateAssociated and many tests
pass
|
2012-04-29 00:24:35 -04:30 |
|
Jose Lorenzo Rodriguez
|
b83f936e83
|
General refactor on ModelValidation to decrease class coupling and increase readability
|
2012-04-28 23:25:05 -04:30 |
|
Jose Lorenzo Rodriguez
|
573d292ffa
|
Fixed more refereces to old method
|
2012-04-28 20:12:20 -04:30 |
|
Jose Lorenzo Rodriguez
|
4519ba1221
|
Fixed variable reference
|
2012-04-28 20:05:41 -04:30 |
|
Jose Lorenzo Rodriguez
|
3ea2d7bca5
|
Removing validatior construction in model constructor
|
2012-04-28 20:04:33 -04:30 |
|
Jose Lorenzo Rodriguez
|
f54eb0cdee
|
following coding standards and simplifying some logic
|
2012-04-28 19:38:18 -04:30 |
|
Jose Lorenzo Rodriguez
|
8eb02d0539
|
Simplifying options for setting/getting a model validator. Adding loading support for validators is was simplified into
requiring custom validators to extend core ModelValidator
|
2012-04-28 19:20:22 -04:30 |
|
Ceeram
|
ec9966ec6b
|
Adding tests for Validator
|
2012-04-25 09:38:58 +02:00 |
|
Thomas Ploch
|
324684c14f
|
Moving all validation logic into a new ModelValidator object.
|
2012-04-25 08:53:31 +02:00 |
|
Juan Basso
|
f6288a491a
|
Disabled the default nested configuration. MySQL use MyISAM as default and it can affect many applications.
|
2012-04-24 21:42:32 -04:00 |
|
Ceeram
|
74ee75b0ef
|
Merge branch '2.1' into 2.2
|
2012-04-23 10:34:04 +02:00 |
|
Juan Basso
|
7fe333ce4e
|
Merge branch '2.2-nested-transaction' into 2.2
|
2012-04-22 23:04:32 -04:00 |
|
ADmad
|
b1e7164d1a
|
Implemented translation of validation rule arguments in validation error messages. Closes #2816
|
2012-04-22 23:25:07 +05:30 |
|
Ceeram
|
f0bd7386e2
|
created, modified and updated fields now use static timestamp in testcases
|
2012-04-21 17:38:49 +02:00 |
|
mark_story
|
21ba5bf04a
|
Merge branch '2.1' into 2.2
|
2012-04-17 21:47:24 -04:00 |
|
Ceeram
|
388b20dd9d
|
fix error in previous commit
|
2012-04-17 00:22:13 +02:00 |
|
Ceeram
|
a84597784d
|
avoid warning when saveAll() data has empty hasMany data, fixes #2792
|
2012-04-16 22:46:58 +02:00 |
|
Ceeram
|
9556ff714d
|
Avoid running validation again, when saveAll() is called with 'validate' => 'first'
|
2012-04-16 09:45:44 +02:00 |
|
mark_story
|
d136fac219
|
Correct docs to match code.
Fixes #2790
|
2012-04-15 20:33:43 -04:00 |
|
Juan Basso
|
7be5349b0c
|
Added configuration to disable nested transaction, even if the db supports it.
|
2012-04-14 16:43:24 -04:00 |
|
Juan Basso
|
a512d46679
|
Sqlite is failing in PHP 5.2, re-adding the check for driver support.
|
2012-04-14 16:23:51 -04:00 |
|
Juan Basso
|
2c1cf29aa3
|
Added real support to nested transactions for Mysql, Postgres, Sqlite.
|
2012-04-14 16:21:42 -04:00 |
|
Juan Basso
|
2c9399a78a
|
Removed unused attribute and moved getVersion to be reused in all PDO drivers.
|
2012-04-14 16:21:41 -04:00 |
|
Mark Story
|
6167529d4d
|
Merge pull request #605 from shama/patch-datasource-test
Add checks for startQuote & endQuote.
Fixes #2769
|
2012-04-14 08:08:05 -07:00 |
|
mark_story
|
b9389c9da1
|
Fix comment's reference to version numbers.
|
2012-04-14 10:50:31 -04:00 |
|
mark_story
|
2fd15b6c7e
|
Revert removal of session_cache_limiter()
It was removed in [4a6159c9af ].
The session_cache_limiter() is required for IE8 to correctly
hold onto sessions.
Fixes #2781
|
2012-04-14 10:04:56 -04:00 |
|
Kyle Robinson Young
|
6cf73c763c
|
Tests for a generic custom datasource
Default startQuote and endQuote to avoid error with non-database datasources
|
2012-04-11 10:08:45 -07:00 |
|
mark_story
|
9f9feec222
|
Merge branch '2.2-hash' into 2.2
Conflicts:
lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
lib/Cake/View/Helper/FormHelper.php
|
2012-04-10 21:32:37 -04:00 |
|
mark_story
|
2333c8f33f
|
Re-factor duplicated code.
|
2012-04-10 21:05:42 -04:00 |
|
mark_story
|
f8966a64f2
|
Merge branch '2.1' into 2.2
Conflicts:
lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
|
2012-04-09 21:55:02 -04:00 |
|
Mark Story
|
da9cbcf7bb
|
Merge pull request #603 from luisarmando/queryCacheDoc
Fix doc of DboSource->$_queryCache.
|
2012-04-09 14:35:57 -07:00 |
|
Luís Armando
|
bb2286bc43
|
Fix doc of DboSource->$_queryCache.
|
2012-04-09 13:30:58 -03:00 |
|
mark_story
|
8d1b5c3f24
|
Fix notice errors with postgres.
|
2012-04-07 17:22:27 -04:00 |
|
mark_story
|
15c94dee4d
|
Fix whitespace and remove duplicate method calls.
|
2012-04-07 14:42:25 -04:00 |
|
mark_story
|
a24aca6ffc
|
Fix a few code standards errors.
|
2012-04-06 22:56:01 -04:00 |
|
Ceeram
|
c2a8fca00c
|
Merge branch '2.1' into 2.2
Conflicts:
lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
|
2012-04-05 23:27:21 +02:00 |
|
Ceeram
|
30268f6a08
|
Only check for existing method expresion() when it actually will be called.
Datasources that use calculate() should not be forced to implement expression() as well
|
2012-04-05 23:15:18 +02:00 |
|