Commit graph

7697 commits

Author SHA1 Message Date
José Lorenzo Rodríguez
688e914381 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-02-22 00:13:57 -04:30
José Lorenzo Rodríguez
a9d2078d25 Revert "Refactoring Dispatcher::_isPrivate to directly check for controller methods, doing in in the controller could be unnecessary"
This reverts commit c431ddd22c.

Conflicts:

	lib/Cake/Routing/Dispatcher.php
2011-02-22 00:13:35 -04:30
José Lorenzo Rodríguez
b1e007f231 Correctly importing classes in BasicAuthentication test 2011-02-22 00:06:11 -04:30
José Lorenzo Rodríguez
3e7b85dc34 Correctly importing classes in DigetAuthentication test 2011-02-22 00:04:21 -04:30
José Lorenzo Rodríguez
dbff3b8c58 Correctly importing HttpResponse in test 2011-02-22 00:02:35 -04:30
José Lorenzo Rodríguez
0cb08a09dc Fixing class loading for authentication clasess in HttpSocket, also allowing the use of plugin authentication classes 2011-02-21 23:58:46 -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
c105899cbc Removing use of old constant 2011-02-21 22:48:22 -04:30
José Lorenzo Rodríguez
6e60216c13 Fixing error in testLoader class checking 2011-02-21 22:43:49 -04:30
José Lorenzo Rodríguez
4cebe55a9b Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	app/webroot/index.php
	lib/Cake/Controller/Component/AuthComponent.php
	lib/Cake/Network/CakeRequest.php
	lib/Cake/tests/cases/libs/controller/components/auth.test.php
2011-02-21 22:28:30 -04:30
José Lorenzo Rodríguez
227ed6ef27 Fixing the Js engine helpers 2011-02-14 00:19:06 -04:30
José Lorenzo Rodríguez
4938ac2749 Moving the declaration of the CakeTestModel package location so it can be easily loaded 2011-02-14 00:18:28 -04:30
José Lorenzo Rodríguez
396fbeec91 Fixing the HtmlHelper tests 2011-02-14 00:18:10 -04:30
José Lorenzo Rodríguez
f8b51bfd92 Making the test suite load again 2011-02-13 23:56:41 -04:30
José Lorenzo Rodríguez
1b38d7c851 Resolving conflict left out in previous commit 2011-02-13 23:42:41 -04:30
José Lorenzo Rodríguez
c1e81a20cd Moving more files to the new folder 2011-02-13 23:20:49 -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
72c6e0cd58 Fixing Cache tests 2011-01-31 00:47:30 -04:30
José Lorenzo Rodríguez
ff5a809b29 Fixing log engines loading 2011-01-31 00:14:20 -04:30
José Lorenzo Rodríguez
bff6343979 Adding the session datasources apth to App::build(), in the future look into registering only the top level packages
Fixing CakeSession tests
2011-01-31 00:02:17 -04:30
José Lorenzo Rodríguez
a1fd27741d Fixing CakeTestFixture test case 2011-01-30 23:41:59 -04:30
José Lorenzo Rodríguez
33cbdefd8c Moving config tests assets and adding missing view path in View tests case 2011-01-30 23:39:07 -04:30
José Lorenzo Rodríguez
4f01fc79c1 Fixing ComponentCollecction components loading, as with Behaviors and Helpers, thee MissingFileException can not be thrown 2011-01-28 10:49:53 -04:30
José Lorenzo Rodríguez
06fb51f19d Added some missing App::uses() calls 2011-01-28 02:06:30 -04:30
José Lorenzo Rodríguez
32e0d86976 Fixing sSecurity component tests 2011-01-28 02:02:33 -04:30
José Lorenzo Rodríguez
4a55ef47cf Fixing SessionComponent tests 2011-01-28 02:00:20 -04:30
José Lorenzo Rodríguez
024bff2126 Adding missing class usage declaration in ExceptionHandler test case 2011-01-28 01:56:00 -04:30
José Lorenzo Rodríguez
013f88e5f5 Fixing ExceptionRenderer tests 2011-01-28 01:55:07 -04:30
José Lorenzo Rodríguez
1ada281e14 Extracting CakeLogInterface to its own file, this fixes the FileLog test case 2011-01-28 01:52:54 -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
61e7cafe32 Fixing HelperCollection tests after merging 2.0 branch in 2011-01-28 01:33:08 -04:30
José Lorenzo Rodríguez
aa18cca1c3 Merge remote branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	lib/Cake/View/Helper.php
2011-01-28 01:14:59 -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
ca4ee0c562 Caching plugin objects in App::objects() 2011-01-09 00:01:44 -04:30
José Lorenzo Rodríguez
cd28f19363 Making CakeSchema tests pass 2011-01-08 23:45:07 -04:30
José Lorenzo Rodríguez
be83288806 Fixing App::objects() so it will accept again the plugin syntax fro retreiving plugin objects 2011-01-08 23:44:24 -04:30
José Lorenzo Rodríguez
599a110d6b Merge remote branch 'origin/2.0' into 2.0-class-loading 2011-01-08 22:59:02 -04:30
José Lorenzo Rodríguez
465330a96d Fixing some package locations and a parse error 2011-01-08 22:57:27 -04:30
José Lorenzo Rodríguez
3c6f85254c Fixing translate behavior tests 2011-01-06 00:19:22 -04:30
José Lorenzo Rodríguez
caa29646ce Fixes for making mpass all ConnectionManager Tests 2011-01-06 00:09:11 -04:30
José Lorenzo Rodríguez
630a3ef223 Renaming test datasources to start making pass ConnectionManager tests 2011-01-06 00:08:39 -04:30
José Lorenzo Rodríguez
406e7b783d Making all Mysql dbo source tests pass 2011-01-05 23:14:33 -04:30
José Lorenzo Rodríguez
aea5607cdb Fixing remaining postgres tests 2011-01-05 23:10:08 -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
296b8dd77b Fixing ModelDeleTest because of changes on the way datasources handle boolean fields 2011-01-05 22:48:13 -04:30
José Lorenzo Rodríguez
2cc4e0e3cb Replacing driver type check now that the key "datasource" is to be used instead of "driver" 2011-01-05 22:44:32 -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
8444510bae Fixing sqlite test case 2010-12-22 00:13:26 -04:30
José Lorenzo Rodríguez
7870fb1ef2 Fixing test in DboSource test case 2010-12-22 00:11:40 -04:30
José Lorenzo Rodríguez
79c6428e49 Fixing DbAcl tests 2010-12-22 00:05:46 -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
57929c2be7 Fixing some broken model tests 2010-12-21 23:51:47 -04:30
José Lorenzo Rodríguez
f3e2c0835f First attempt at trying to fix App::objects() 2010-12-21 23:45:22 -04:30
José Lorenzo Rodríguez
f3a5eaf2f7 Fixing CacheSession test 2010-12-21 22:32:49 -04:30
José Lorenzo Rodríguez
9a52cff389 Fixing DatabaseSession test 2010-12-21 22:32:12 -04:30
José Lorenzo Rodríguez
75bfbe0e37 Fixing Set::merge, broken in previous optimizations 2010-12-21 22:24:55 -04:30
José Lorenzo Rodríguez
6bd735955d Fixing CacheHelper test 2010-12-21 22:15:21 -04:30
José Lorenzo Rodríguez
5e6926f01b Fixing some helper and views related tests 2010-12-21 22:13:22 -04:30
José Lorenzo Rodríguez
57e6ac7eb7 Adding cast to avoind fatal error in Helper class 2010-12-21 22:05:36 -04:30
José Lorenzo Rodríguez
9fac0b92c6 Extracting JsBaseEngineHelper to its own file, fixing some JsHelper related test cases 2010-12-21 22:01:38 -04:30
José Lorenzo Rodríguez
43401c271a Fixing App::uses usage un CakeRouteTest 2010-12-21 21:46:12 -04:30
José Lorenzo Rodríguez
3fff5d144a Making SessionHelper tests pass again 2010-12-19 23:58:47 -04:30
José Lorenzo Rodríguez
2cb2609a43 Making ThemeView test pass 2010-12-19 23:49:20 -04:30
José Lorenzo Rodríguez
b2ad8fe113 Removing constant TEST_CAKE_CORE_INCLUDE_PATH 2010-12-19 23:33:37 -04:30
José Lorenzo Rodríguez
5fa028839e Fixing paths location in cake.php files 2010-12-19 23:17:53 -04:30
José Lorenzo Rodríguez
827a74b734 Merge remote branch 'origin/2.0' into 2.0-class-loading 2010-12-19 23:12:37 -04:30
José Lorenzo Rodríguez
5605bf2d9e Fixing failing test for HelperCollection 2010-12-18 22:32:20 -04:30
José Lorenzo Rodríguez
5f7ca8d2b6 Removing some internal chenck for the "driver" key in database configs 2010-12-18 22:27:55 -04:30
José Lorenzo Rodríguez
e8c73170ba Ficing a couple of notices when using a mocked CakeRequest 2010-12-18 22:27:28 -04:30
José Lorenzo Rodríguez
633f1dc1e5 Fixing warning in ConnectionManager 2010-12-18 22:27:02 -04:30
José Lorenzo Rodríguez
5e1b49918b Fixing App::core('cake') 2010-12-18 22:26:23 -04:30
José Lorenzo Rodríguez
151a4bdb33 Fixing view files finding and making tests pass 2010-12-18 22:09:08 -04:30
José Lorenzo Rodríguez
ad78f1dc74 Adding support for plugin classes back,
Allowing the user to override core classes in app/libs
Adding some backward compatibility for App::path() and App::build()
2010-12-18 22:07:30 -04:30
José Lorenzo Rodríguez
8bcabdea6a Fixing constants for test suite 2010-12-18 22:02:25 -04:30
José Lorenzo Rodríguez
5efa201b9b Moving recently created files into the new folders 2010-12-18 21:52:03 -04:30
José Lorenzo Rodríguez
22581516db Merge remote branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	lib/Cake/tests/cases/libs/controller/component.test.php
	lib/Cake/tests/cases/libs/controller/controller.test.php
	lib/Cake/tests/cases/libs/controller/pages_controller.test.php
2010-12-18 00:04:44 -04:30
José Lorenzo Rodríguez
387281e506 Moving newly created classes to the new folders 2010-12-15 01:32:37 -04:30
José Lorenzo Rodríguez
8436fd53d0 Changing initial uses of App::uses() to the new packages system 2010-12-15 01:20: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
4389764050 Fixing core path 2010-12-11 01:13:42 -04:30
José Lorenzo Rodríguez
2907765404 Replacing almost all remaining uses of App::import 2010-12-10 01:53:27 -04:30
José Lorenzo Rodríguez
e57b3d8e74 Merge remote branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	lib/Cake/View/Helper.php
2010-12-10 01:25:00 -04:30
José Lorenzo Rodríguez
f540920b76 More App::imports converted 2010-12-09 01:25:24 -04:30
José Lorenzo Rodríguez
f84351dd07 More replacements of App::import to App::uses 2010-12-09 00:43:11 -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
4a287faa1e Moving the tests folder 2010-12-08 01:36:38 -04:30
José Lorenzo Rodríguez
4c9ad2dec8 Starting the tedious process of moving the testsuite and tests 2010-12-08 00:34:45 -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
1c368abc1a Adding back cache loading for "objects" in App class 2010-12-07 19:51:26 -04:30
José Lorenzo Rodríguez
66145db2a9 Fixing class loading for bake tasks 2010-12-07 19:50:56 -04:30
José Lorenzo Rodríguez
b5122e6e81 Fixing more console classes 2010-12-07 01:44:47 -04:30
José Lorenzo Rodríguez
e3690ebccb Making shells run again 2010-12-07 01:26:10 -04:30
José Lorenzo Rodríguez
1c0a4c9e0a Starting to move console classes 2010-12-07 00:47:53 -04:30
José Lorenzo Rodríguez
322093a022 Separating cache storing in App shutdown 2010-12-07 00:17:50 -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
6de52f795f Completing the round of micro optimization, it was fun while it lasted 2010-12-06 23:15:18 -04:30
José Lorenzo Rodríguez
c431ddd22c Refactoring Dispatcher::_isPrivate to directly check for controller methods, doing in in the controller could be unnecessary 2010-12-06 22:57:09 -04:30
José Lorenzo Rodríguez
1d67d1611c Micro optimizations in Helper class, as those functions are calles very often the may sum up some milliseconds 2010-12-06 22:49:15 -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
2ce2ea222c Moving config readers to their new package 2010-12-06 09:44: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
88a4a6609e Moving the config folder 2010-12-06 00:10:56 -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
5c0c9841e2 Removing dead code 2010-12-05 20:38:17 -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
b19b25a788 Moving some spare clases to the corresponding packages 2010-12-05 13:21:28 -04:30
José Lorenzo Rodríguez
c542ac20c9 Moving core view to the new folder and allowing the view class to find those views 2010-12-05 13:07:01 -04:30
José Lorenzo Rodríguez
0596f5a245 Adding cache support for class loader 2010-12-05 12:00:36 -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
02495188ef Moving the pages controller 2010-12-04 22:59:55 -04:30
José Lorenzo Rodríguez
377cbc546b Fixing some errors in loading view classes 2010-12-04 22:06:53 -04:30
José Lorenzo Rodríguez
e425b68a86 Loading the CakeErrorController 2010-12-04 15:11:15 -04:30
José Lorenzo Rodríguez
e3f85ccda8 loading the ExceptionRenderer 2010-12-04 14:06:30 -04:30
José Lorenzo Rodríguez
80452397b6 Changing the way loggers are loaded, this will probable need some changes on userland 2010-12-04 13:56:26 -04:30
José Lorenzo Rodríguez
ff8b1a1041 Stating to move loggers to the new folder 2010-12-04 13:50:26 -04:30
José Lorenzo Rodríguez
6b40c9c854 Moving I18n related classes to the new folder schema 2010-12-04 13:45:07 -04:30
José Lorenzo Rodríguez
f3eb2159eb Making helpers load 2010-12-04 13:40:24 -04:30
José Lorenzo Rodríguez
be9bcb3627 Moving view clasess to their new home 2010-12-04 13:31:04 -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
José Lorenzo Rodríguez
fbbb5c9337 Moving more clases to the new layout while trying to make controller related classes load 2010-12-04 02:45:22 -04:30
José Lorenzo Rodríguez
b4387d2f51 More replacements to get class loaded using the new file scheme 2010-12-04 02:34:30 -04:30
José Lorenzo Rodríguez
73ad5385eb Moving more classes to the new layout, it is time to bring the debugger up 2010-12-04 02:16:51 -04:30
José Lorenzo Rodríguez
3c23080dd2 Moving more classes to the new schema, slowly uncommenting code and implementing new class loader 2010-12-03 20:53:47 -04:30
José Lorenzo Rodríguez
ca34b22dbb Renaming more core classes, next step would be to tweek the autoloader to find only on Cake/ "namespace" (for now) 2010-12-03 20:15:54 -04:30
José Lorenzo Rodríguez
96cb90a82b Chanigng some constants and commenting code to start testing 2010-12-03 19:48:44 -04:30
José Lorenzo Rodríguez
c57dd6f0f1 Starting to move files to match the PHP standards group file naming standard 2010-12-03 19:38:57 -04:30