Commit graph

83 commits

Author SHA1 Message Date
AD7six
0cb70ae3bb remove CONFIGS constant 2011-05-15 18:34:52 +02:00
AD7six
afa8f6b441 remove LIBS constant
libs always means the Cake lib - so use the CAKE constant
2011-05-15 18:29:52 +02:00
Jose Lorenzo Rodriguez
6713bb154e Making themes also CamelCased 2011-05-15 00:09:32 -04:30
Jose Lorenzo Rodriguez
eea981940e Replacing config string in favor of Config 2011-05-13 03:36:45 -04:30
Jose Lorenzo Rodriguez
ded3cb4826 Renaming more folders 2011-05-13 02:31:33 -04:30
Jose Lorenzo Rodriguez
54eb934892 Fixing plugin related tests in Core package 2011-05-10 00:46:24 -04:30
Jose Lorenzo Rodriguez
2fab0b0e1c Improving CakePlugin::loaded() to accept a plugin name as first parameter 2011-05-08 23:19:00 -04:30
Jose Lorenzo Rodriguez
77788a965d Merge remote-tracking branch 'origin/2.0' into 2.0-plugin-loader
Conflicts:
	lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_post.php
	lib/Cake/tests/test_app/plugins/test_plugin/Model/TestPluginPost.php
	lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_post.php
2011-05-08 22:08:31 -04:30
Jose Lorenzo Rodriguez
0573037f2c Migrating all View tests to the new plugin loader 2011-05-06 01:07:59 -04:30
Jose Lorenzo Rodriguez
f18b9aae7b Unloading all plugins with App::build() and $reset parameter is true 2011-05-06 01:05:33 -04:30
Jose Lorenzo Rodriguez
27a134de4f Implementing CakePlugin::loadAll() 2011-05-06 00:53:30 -04:30
ADmad
7fc5e8f810 Fixing typo 2011-05-03 01:01:33 +05:30
ADmad
1cb0e413be Enhancing App::build() to allow appending paths. Closes #1680 2011-05-01 20:54:52 +05:30
ADmad
75437b45d9 Fixed error where App::import() failed to load new class types added in 2.0. Also fixed couple of test cases. 2011-05-01 03:19:44 +05:30
Jose Lorenzo Rodriguez
f6a5df913a Moving test plugins to the new naming convention> Now plugin names should be camel cased 2011-04-29 12:49:46 -04:30
evilbloodydemon
df57b15f89 Removed undefined variable in App::core, made test pass on Windows.
Signed-off-by: mark_story <mark@mark-story.com>
2011-04-26 22:18:51 -04:00
Jose Lorenzo Rodriguez
4f1a6baf87 Fixing some errors in the new plugin loader and adding some tests 2011-04-26 00:56:19 -04:30
Jose Lorenzo Rodriguez
8053436b35 Fixing some parse errors 2011-04-25 22:42:33 -04:30
Jose Lorenzo Rodriguez
64db00706e Merge remote branch 'origin/2.0' into 2.0-plugin-loader 2011-04-23 23:25:31 -04:30
evilbloodydemon
b6c4b8abb5 Unused variables in Core removed 2011-04-23 00:02:05 +04:00
Jose Lorenzo Rodriguez
495611b313 Fixing location of shared plugins folder 2011-04-22 15:14:37 -04:30
Jose Lorenzo Rodriguez
8dc675335a Small refactoring, and adding some App::uses() to avoid problems 2011-04-21 17:56:03 -04:30
Jose Lorenzo Rodriguez
c504535980 Stating to implement a CakePlugin class to allow the inclusion of bootraping files for plugins 2011-04-17 01:37:31 -04: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
Jose Lorenzo Rodriguez
6737380deb Partial migration of folders to camelcase in app 2011-03-22 00:46:51 -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
b19ca3c95e using the domain cake_error for messages intended for the developer 2011-03-19 18:09:58 +01:00
AD7six
b90939f659 documentation correction 2011-03-19 17:51:46 +01:00
AD7six
39c7d03319 Merge branch '2.0-class-loading' into 2.0-translations
Conflicts:
	lib/Cake/Console/Command/Task/ControllerTask.php
	lib/Cake/Console/Command/Task/ProjectTask.php
	lib/Cake/Core/Configure.php
	lib/Cake/View/pages/home.ctp
2011-03-16 12:29:39 +01:00
Jose Lorenzo Rodriguez
3f7928fccc Changing paths againg form datasources sub packages,
Updating database.php.default file
Fixing view generation task
2011-03-16 00:14:37 -04:00
Jose Lorenzo Rodriguez
bd2bd4ba22 Udating skel directory, doc blocs and the location of the Console package 2011-03-15 21:53:42 -04:00
Jose Lorenzo Rodriguez
0cd51de827 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-03-12 23:49:02 -04:30
AD7six
d264d0feb5 changes in the core dir 2011-03-12 20:00:15 +01:00
Jose Lorenzo Rodriguez
ecc6a22b3b Adding tests for loading classes from the libs folder 2011-03-12 01:56:34 -04:30
Jose Lorenzo Rodriguez
fd84b1494d Documenting remaining methods in App class 2011-03-12 01:15:56 -04:30
Jose Lorenzo Rodriguez
d890896777 Updating Lib package usage in App::load() 2011-03-12 00:40:43 -04:30
Jose Lorenzo Rodriguez
fea2ac23c7 Improving Documentation in App class 2011-03-12 00:09:58 -04:30
Jose Lorenzo Rodriguez
fe52c200e3 Documenting auxiliary functions in App class 2011-03-11 23:30:16 -04:30
Jose Lorenzo Rodriguez
db089ac220 Implementing vendor loading and refactoring code in App::import() 2011-03-11 23:21:34 -04:30
Jose Lorenzo Rodriguez
ebd8d1d0c2 Fixing multiple classes loading in App::import() 2011-03-11 18:59:08 -04:30
Jose Lorenzo Rodriguez
5a57f2c3c3 Re-implmenting file loading in App::import(), search it is not longer recursive... if it ever was 2011-03-11 18:57:11 -04:30
Jose Lorenzo Rodriguez
0bf51d92ca Improving App::import() to make importing from plugins work again 2011-03-11 01:31:01 -04:30
Jose Lorenzo Rodriguez
3f7a7cc5d1 Removing more un-used code in App class 2011-03-11 01:07:46 -04:30
Jose Lorenzo Rodriguez
02955fb923 Removing unused code in App class, improving backwards compatibility in App::import() 2011-03-11 01:04:41 -04:30
Jose Lorenzo Rodriguez
e6b253ec0f Starting to write a new App::import() that keeps where possible the backwards compatibility 2011-03-11 00:50:14 -04:30
Jose Lorenzo Rodriguez
472257c347 Removing unused variables and properly testing more methods in App class 2011-03-09 23:33:03 -04:30
Jose Lorenzo Rodriguez
022702506e Properly testing the App::build() method and bugfixing some issues 2011-03-09 22:11:13 -04:30
Jose Lorenzo Rodriguez
65136e8cb1 Re-adding the support for the topmost plugins folder and homogenizing some constants in shell dispatcher 2011-03-08 15:08:28 -04:30
Jose Lorenzo Rodriguez
48b3593a25 Fixing the CommandList shell, renaming the TestSuiteShell to TestsuiteShell for BC 2011-03-08 14:15:44 -04:30
Jose Lorenzo Rodriguez
2ef02ba29b Starting to move all console related classes, ViewTask tests passing 2011-03-07 00:45:00 -04:30