mark_story
|
dc67b9cacc
|
Moving all the exceptions into one file for the short term.
|
2010-08-28 00:08:35 -04:00 |
|
mark_story
|
0683dc43ff
|
Replacing cakeError calls with exceptions in ConnectionManager and Model.
|
2010-08-27 23:54:22 -04:00 |
|
mark_story
|
f46241a6e7
|
Merge branch '2.0' into 2.0-helpers
|
2010-08-16 23:02:44 -04:00 |
|
mark_story
|
c4a978d386
|
Adding changes missed in the merge.
|
2010-08-15 23:10:29 -04:00 |
|
mark_story
|
705e90bef7
|
Merge branch '1.3' into 2.0-merge
Conflicts:
cake/libs/cache/memcache.php
cake/libs/cake_session.php
cake/libs/model/behaviors/acl.php
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/cake_test_fixture.test.php
cake/tests/cases/libs/model/behaviors/acl.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
|
2010-08-15 23:09:02 -04:00 |
|
mark_story
|
686b9c2c8b
|
Fixing issues in alterSchema in DboMysql and DboPostgres, where fields would be appended to each table being altered.
Also fixed an issue in DboPostgres where the generated alter statements would contain too many ;.
Test cases added. Fixes #1023
|
2010-08-15 22:17:02 -04:00 |
|
mark_story
|
c44c276fa3
|
Removing ModelBehavior::dispatchMethod(), replacing with call_user_func_array() as its faster and the php4 workaround is no longer needed.
|
2010-08-10 23:18:39 -04:00 |
|
mark_story
|
409b12954b
|
Simplifying logic and data structures used to store enabled-ness of objects in an object collection.
|
2010-08-10 23:18:39 -04:00 |
|
mark_story
|
b2250852e4
|
Moving BehaviorCollection into its own file.
Changing how behaviors are stored in the collection object. Makes it work the same as HelperCollection.
|
2010-08-10 23:18:39 -04:00 |
|
mark_story
|
c78e869be6
|
Removing PHP4 workarounds in BehaviorCollection.
Making BehaviorCollection throw exceptions instead of use cakeError.
|
2010-08-10 23:18:39 -04:00 |
|
mark_story
|
16d5b2655c
|
Adding a way to load helpers in a disabled state. Updating tests and subclasses.
|
2010-08-10 23:18:37 -04:00 |
|
mark_story
|
aa61a251dc
|
Deprecating BehaviorCollection::attach() and BehaviorCollection::detach(). load() and unload() are more generic and make sense in other contexts.
Adding base trigger implementation.
Adding tests for helper triggering.
|
2010-08-10 23:18:37 -04:00 |
|
mark_story
|
9fd881cb00
|
Moving methods down and adding some tests.
|
2010-08-10 23:18:36 -04:00 |
|
mark_story
|
6db3dbc680
|
Starting to create HelperCollection which will be responsible for loading and constructing helpers.
Making an abstract class that will be the base of all object collections.
Adding test cases.
|
2010-08-10 23:18:36 -04:00 |
|
mark_story
|
29ddffa2d3
|
Fixing regression in DboMysqlBase where describe() was no longer pulling out fieldParameters. A test case has been added to catch any future regressions. Fixes #991
|
2010-08-09 23:25:32 -04:00 |
|
Juan Basso
|
ae2fa908c5
|
Dont use private attributes as tables in CakeSchema. Fixes #7
|
2010-08-02 00:22:46 -03:00 |
|
mark_story
|
509a9e14e2
|
Fixing condition missing a model name in the TreeBehavior. Fixes #961
|
2010-07-31 14:29:00 -04:00 |
|
mark_story
|
2b1efafe65
|
Applying optimization from 'michaelc' to reduce number of strtolower() calls in AclBehavior. Fixes #972
|
2010-07-29 22:04:22 -04:00 |
|
mark_story
|
d81d33ffe6
|
Adding some additional documentation for Model::find(). Fixes #952
|
2010-07-27 21:25:31 -04:00 |
|
mark_story
|
d38857095a
|
Merge branch '1.3' into 2.0
Conflicts:
cake/libs/model/model.php
cake/libs/validation.php
cake/libs/view/helpers/ajax.php
cake/tests/cases/libs/controller/components/session.test.php
|
2010-07-24 22:34:42 -04:00 |
|
ADmad
|
91b0a4ba4f
|
Changing Tree behavior's function names to be camel cased as per convention
|
2010-07-24 23:32:49 +05:30 |
|
Scott Reeves
|
b717abe1aa
|
Fixing typo in Constructor description.
Signed-off-by: mark_story <mark@mark-story.com>
|
2010-07-19 23:15:00 -04:00 |
|
José Lorenzo Rodríguez Urdaneta
|
bc27d1eae4
|
Returning only booleans in Model::__isset() and removing return by reference in Model::getDataSource()
|
2010-07-15 23:17:13 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
b8b4647355
|
Removing use of cakeError in Model and replacing it with an Exception
|
2010-07-15 23:11:30 -04:30 |
|
mark_story
|
4c27c24a72
|
Fixing issue in DboSource where COUNT() was hardcoded, omitting any other aggregate functions. Replaced with a regexp that accepts only letters. Test case added. Fixes #878
|
2010-07-15 23:17:38 -04:00 |
|
José Lorenzo Rodríguez Urdaneta
|
6fb930c73b
|
Removing assignments by reference in model class
|
2010-07-15 22:16:19 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
a57e5e8c68
|
Replacing direct reads to schema cache and routing them to the correct method
|
2010-07-15 21:19:23 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
5d1e6f9e4f
|
Fixing errors with displayField
|
2010-07-15 21:18:16 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
a13be623b5
|
Making the model require database connection only wen needed or requested
|
2010-07-15 21:16:52 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
e165f7d559
|
Changing how dynamic "with" models are loaded
Changing all calls to get model's datasourse to use Model::getDatasource()
|
2010-07-14 23:19:38 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
c1a9a2e263
|
Correctly registering plugin models in CR, initial test case onmodel associations lazy loading
|
2010-07-14 19:23:41 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
96f834a7ea
|
Various bugfixes in model associations lazy loafing for "with" associations
|
2010-07-14 17:54:19 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
fdf91194a6
|
Initial approach for model associations lazy loading, all model tests passing
|
2010-07-14 16:58:12 -04:30 |
|
José Lorenzo Rodríguez Urdaneta
|
91c3cd8905
|
Refactoring Model::__createLinks to not loose the plugin name when creating the association
|
2010-07-13 23:28:48 -04:30 |
|
mark_story
|
65efd675c1
|
Fixing fatal error caused by associated models using a datasource that is not a subclass of dbo_source. Test added. Fixes #873
|
2010-07-11 13:06:33 -04:00 |
|
mark_story
|
3ae1501fd0
|
Removing more strtolower loops.
|
2010-07-09 23:58:48 -04:00 |
|
mark_story
|
cbccd16c46
|
Adding visibility and static keywords to connection manager.
|
2010-07-05 23:08:25 -04:00 |
|
mark_story
|
b8085cddce
|
Removing PHP5 and all its uses.
|
2010-07-05 22:19:22 -04:00 |
|
mark_story
|
02e25f7557
|
Changing Configure::read() to not have a default value, and instead return all values in configure when no param is supplied. Test cases updated. Fixes #503
|
2010-07-05 21:50:36 -04:00 |
|
mark_story
|
4cd43553b4
|
Fixing issues where multiple reset bindModel() calls would cause incorrect associations to be restored.
Also fixing issues where multiple calls to unbindModel() would cause incorrect associations to be restored.
Tests added.
Fixes #889
|
2010-07-03 18:05:14 -04:00 |
|
mark_story
|
17a7a96ba2
|
Fixing issue where non-reset associations would get reset by resetAssociations if __backAssociations existed. Test cases from 'real34' added. Fixes #868
|
2010-07-01 12:39:50 -04:00 |
|
mark_story
|
2020675078
|
Merge branch '1.3' into 2.0
Conflicts:
cake/dispatcher.php
cake/tests/cases/libs/controller/components/request_handler.test.php
|
2010-06-30 22:47:27 -04:00 |
|
mark_story
|
e023350af5
|
Updating API docs related to DboSource::$cacheMethods. Fixes #870
|
2010-06-30 08:52:39 -04:00 |
|
mark_story
|
cd8dff362d
|
Merge branch '2.0-phpunit' into 2.0
Conflicts:
cake/libs/controller/components/email.php
cake/tests/cases/libs/cake_test_fixture.test.php
cake/tests/cases/libs/controller/components/email.test.php
|
2010-06-28 22:31:35 -04:00 |
|
mark_story
|
929bb5769e
|
Merge branch '1.3' into 2.0
Conflicts:
app/webroot/index.php
cake/console/templates/skel/webroot/index.php
cake/libs/cake_session.php
cake/libs/controller/components/email.php
cake/libs/controller/scaffold.php
cake/libs/model/datasources/dbo/dbo_oracle.php
cake/libs/model/model_behavior.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/controller/components/acl.test.php
cake/tests/cases/libs/file.test.php
|
2010-06-26 12:29:20 -04:00 |
|
Juan Basso
|
2a4489cdf2
|
Naming conventions to datasources with plugins. Fixes #819
|
2010-06-20 23:53:54 -03:00 |
|
mark_story
|
df3432aa86
|
Updating doc blocks in ModelBehavior. Refs #810
|
2010-06-11 09:55:39 -04:00 |
|
mark_story
|
e5df32e9d9
|
Adding omitted documentation information.
|
2010-06-10 14:23:49 -04:00 |
|
mark_story
|
ec5ad93a68
|
Updating doc blocks for ModelBehavior so they better reflect the actual behaviour of the methods.
Removing unused variable assignment.
Fixes #810
|
2010-06-10 13:54:04 -04:00 |
|
José Lorenzo Rodríguez
|
f4cf945e30
|
Migrating DboSqliteTest to phpunit
|
2010-06-09 23:33:41 -04:30 |
|