Jose Lorenzo Rodriguez
f14a295a3e
Adding a ConenctionManager::drop() method useful for testing and other dynamic tasks
2011-04-16 22:57:05 -04:30
ADmad
d83712ce43
Renaming Model::$_findMethods to Model::$findMethods and changing visibility to public. Closes #1328
2011-04-17 06:09:00 +05:30
Jose Lorenzo Rodriguez
000e05b468
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/libs/view/helpers/js.php
cake/tests/lib/templates/missing_conenction.php
cake/tests/lib/templates/missing_connection.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/TestSuite/templates/missing_conenction.php
lib/Cake/View/Helper/FormHelper.php
lib/Cake/tests/Case/Core/ConfigureTest.php
2011-04-11 22:48:08 -04:30
AD7six
32df3156a7
consolidate cake_error and cake_developer to simply "cake_dev"
...
it's a lot easier for adding new translations to think:
is it for the end user?
use 'cake' as the domain
is it for the developer
use 'cake_dev' as the domain
is it for the console
use 'cake_console' as the domain
also neatly avoids the "this message is an error, and it's in
cake_developer, why?" - question (because cake_error was intended for
anything which is used in trigger_error/exceptions, not a variable named
$error
2011-03-20 16:38:31 +01:00
AD7six
268c061a2e
t
...
dividing language domains
cake - end user
cake_error - error messages
cake_developer - not an error, just for the developer
2011-03-19 18:16:12 +01:00
AD7six
38180e8951
translation changes in the model dir
2011-03-12 20:01:12 +01:00
Jose Lorenzo Rodriguez
42b3f993b9
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-01 23:04:52 -04:30
Jose Lorenzo Rodriguez
ba694c45c9
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-02-27 22:50:53 -04:30
José Lorenzo Rodríguez
b314149efd
Checkin that PluginAppModel is not in the list of modles to be used for CakeSchema
2011-02-21 23:28:00 -04:30
José Lorenzo Rodríguez
6e4f4efb79
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/bootstrap.php
lib/Cake/Console/Command/TestSuiteShell.php
lib/Cake/Console/TaskCollection.php
lib/Cake/Controller/ComponentCollection.php
lib/Cake/Controller/Controller.php
lib/Cake/Core/App.php
lib/Cake/Model/BehaviorCollection.php
lib/Cake/Network/CakeRequest.php
lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
lib/Cake/TestSuite/CakeWebTestCase.php
lib/Cake/TestSuite/TestManager.php
lib/Cake/TestSuite/TestRunner.php
lib/Cake/View/HelperCollection.php
lib/Cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
lib/Cake/tests/cases/libs/test_manager.test.php
2011-02-13 23:10:19 -04:30
José Lorenzo Rodríguez
e81ff384c7
Fixing BehaviorCollection test regarding how classes are loaded. with the introduction of App::uses() it is not possible to determine if a file is missing or just the class in the file, so removing the throwing of MissingBehaviorFileException seems the only choice
2011-01-28 01:48:15 -04:30
José Lorenzo Rodríguez
0bde6d35f5
Fixing Acl classes loading for the AclBehavior tests
2011-01-28 01:44:04 -04:30
José Lorenzo Rodríguez
2386a11151
fixing tests from last merge
2011-01-22 01:11:22 -04:30
José Lorenzo Rodríguez
d9c99b5ef6
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/tests/cases/libs/controller_test_case.test.php
lib/Cake/Controller/ComponentCollection.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/TestSuite/Fixture/CakeTestFixture.php
lib/Cake/View/pages/home.ctp
2011-01-22 01:00:15 -04:30
José Lorenzo Rodríguez
1332561164
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/libs/view/helpers/js.php
lib/Cake/Console/Command/Task/FixtureTask.php
2011-01-09 23:32:05 -04:30
José Lorenzo Rodríguez
cd28f19363
Making CakeSchema tests pass
2011-01-08 23:45:07 -04:30
José Lorenzo Rodríguez
e87dca62f1
Fixing postgres dbo source tests
2011-01-05 23:00:33 -04:30
José Lorenzo Rodríguez
ed06d00e4a
fixing merge error in AclNode class
2011-01-05 22:50:33 -04:30
José Lorenzo Rodríguez
e8a93aef93
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Temporarly commenting code on App class while the transition is made
Conflicts:
lib/Cake/Core/App.php
2011-01-05 22:21:27 -04:30
José Lorenzo Rodríguez
54ecd2e77b
Some changes to ConnectionManager, it is now an static class. the connection objects enumeration will return the stored connections config instead of a cryptic array where only the ekys where useful
2011-01-05 22:15:17 -04:30
José Lorenzo Rodríguez
4c0e06c451
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/bootstrap.php
cake/libs/view/helpers/js.php
lib/Cake/Model/AclNode.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/bootstrap.php
lib/Cake/tests/cases/libs/controller/controller.test.php
2011-01-02 02:00:03 -04:30
José Lorenzo Rodríguez
9884a05a28
Reanaming file so it reflects the class contained in it
2010-12-22 00:02:33 -04:30
José Lorenzo Rodríguez
eed6d26ab6
Extracting acl model classes to their own files
2010-12-22 00:01:03 -04:30
José Lorenzo Rodríguez
633f1dc1e5
Fixing warning in ConnectionManager
2010-12-18 22:27:02 -04:30
José Lorenzo Rodríguez
07e43bb0f8
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/libs/view/scaffolds/edit.ctp
cake/libs/view/scaffolds/form.ctp
cake/tests/test_app/plugins/test_plugin/views/tests/scaffold.edit.ctp
cake/tests/test_app/plugins/test_plugin/views/tests/scaffold.form.ctp
cake/tests/test_app/views/posts/scaffold.edit.ctp
cake/tests/test_app/views/posts/scaffold.form.ctp
lib/Cake/Error/ErrorHandler.php
lib/Cake/Model/Behavior/TranslateBehavior.php
lib/Cake/Model/Datasource/CakeSession.php
lib/Cake/Routing/Router.php
lib/Cake/TestSuite/TestManager.php
lib/Cake/View/scaffolds/edit.ctp
lib/Cake/tests/cases/console/shells/bake.test.php
lib/Cake/tests/cases/libs/cake_log.test.php
lib/Cake/tests/cases/libs/cake_request.test.php
lib/Cake/tests/cases/libs/view/helpers/number.test.php
lib/Cake/tests/test_app/plugins/test_plugin/views/tests/scaffold.edit.ctp
lib/Cake/tests/test_app/views/posts/scaffold.edit.ctp
2010-12-15 01:13:05 -04:30
José Lorenzo Rodríguez
8e5bd76752
Fixing several errors when running the testsuite
2010-12-11 01:17:55 -04:30
José Lorenzo Rodríguez
b8344ecd33
Replacing some of the App::import by App::uses
2010-12-08 23:15:18 -04:30
José Lorenzo Rodríguez
848461f7a0
Making the testsuite run again
2010-12-08 01:49:36 -04:30
José Lorenzo Rodríguez
02ad049559
Fixing more shells, and updating code in home.ctp
2010-12-07 20:42:50 -04:30
José Lorenzo Rodríguez
7828f7d2fb
Lazy loading connections in ConnectionManager, changing some class names and imports
2010-12-07 19:59:07 -04:30
José Lorenzo Rodríguez
b5122e6e81
Fixing more console classes
2010-12-07 01:44:47 -04:30
José Lorenzo Rodríguez
0732552739
Movig CakeSession to a better suited package
2010-12-07 00:02:42 -04:30
José Lorenzo Rodríguez
9e64754005
Adding check to no overwrite cache if it has not been modified
2010-12-07 00:00:20 -04:30
José Lorenzo Rodríguez
513eb53426
Fixing package location in DboSource
2010-12-06 22:48:30 -04:30
José Lorenzo Rodríguez
66744c68b0
Making ConnectionManager an static object instead of a singleton
2010-12-06 22:47:43 -04:30
José Lorenzo Rodríguez
5dddb362ec
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
lib/Cake/config/ini_file.php
2010-12-06 09:42:52 -04:30
José Lorenzo Rodríguez
575a6b4b78
A couple of micro-optimizations found using a profileA couple of micro-optimizations found using a profilerr
2010-12-06 09:38:06 -04:30
José Lorenzo Rodríguez
d311cf237b
Moving behaviors
2010-12-05 23:50:05 -04:30
José Lorenzo Rodríguez
3f64844de9
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
lib/Cake/Model/ConnectionManager.php
lib/Cake/basics.php
2010-12-05 23:43:58 -04:30
José Lorenzo Rodríguez
2fed702c57
Moving more model classes to the new package
2010-12-05 15:00:02 -04:30
José Lorenzo Rodríguez
fcd23b0978
Starting to change the class loading for app classes
2010-12-05 10:54:42 -04:30
José Lorenzo Rodríguez
7dc8d5e746
Simplifying datasources loading, it now requires datasources to be configured with the 'datasource' array key, which is a relative path from Model/Datasource/
2010-12-04 12:24:15 -04:30
José Lorenzo Rodríguez
be1263d476
Moving the first database driver to the correct folder to start testing
2010-12-04 11:52:23 -04:30
José Lorenzo Rodríguez
8678661b9c
Merge branch 'feature/2.0/pdo' into 2.0-class-loading
2010-12-04 11:21:54 -04:30
José Lorenzo Rodríguez
592abb569c
More work towards loading datasources
2010-12-04 11:16:42 -04:30
José Lorenzo Rodríguez
4bb6d583b7
More work towards model loading
2010-12-04 03:00:03 -04:30
José Lorenzo Rodríguez
fa83ecda5b
Beginnings of model loading
2010-12-04 02:57:20 -04:30
José Lorenzo Rodríguez
ec93152c9a
Loading the set class successfully
2010-12-04 02:51:42 -04:30
José Lorenzo Rodríguez
c641baaf16
Loading component classes ang beginnings of session loading
2010-12-04 02:49:44 -04:30