Commit graph

209 commits

Author SHA1 Message Date
Jose Lorenzo Rodriguez
3ee49c0c5c Moving BaseAuthenticate class 2011-03-05 17:37:09 -04:30
Jose Lorenzo Rodriguez
82834f2ec0 Moving Auth related classes to the new structure 2011-03-01 23:38:39 -04:30
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
Jose Lorenzo Rodriguez
08bec291fd Fixing class importing in paginator test 2011-02-27 22:50:25 -04:30
José Lorenzo Rodríguez
b62c8d8ee2 Fixing bug in RequestHandler that was preventing the helper related to content type to be loaded correctly 2011-02-22 23:42:14 -04:30
José Lorenzo Rodríguez
2371ed9f15 Reverting change made in model constructor to lazily initialize the modelClass variable, making remaining controller tests pass 2011-02-22 23:36:53 -04:30
José Lorenzo Rodríguez
ff1942d271 Automatically adding the declaration of the PluginAppModel class in ClassRegistry::init(), making more controller tests pass 2011-02-22 23:03:04 -04:30
José Lorenzo Rodríguez
ffacbd7d27 Fixing pages controller test 2011-02-22 22:49:33 -04:30
José Lorenzo Rodríguez
4e1fcbed61 Fixing ScaffoldView test 2011-02-22 22:47:07 -04:30
José Lorenzo Rodríguez
90cdf5102e Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-02-22 22:34:58 -04:30
José Lorenzo Rodríguez
deae38546b Fixing App::objects() and App::setObjects() so all dispatcher tests pass 2011-02-22 00:44:33 -04:30
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