Commit graph

95 commits

Author SHA1 Message Date
Ceeram
266058e67a Moving the sort to also sort plugin objects, sorting in test removed 2011-05-26 19:33:36 +02:00
Ceeram
cea4e4e98e Sort objects before storing 2011-05-26 19:16:17 +02:00
Ceeram
5f97292648 Change case of Controller::$plugin, fixing missing plugin exceptions, tests updated. Also removing no longer needed camelize() calls 2011-05-26 15:31:40 +02:00
Jose Lorenzo Rodriguez
a05607856a Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-23 11:05:33 -04:30
Jose Lorenzo Rodriguez
1e7bf963c3 Removing unused function App::setObjects() 2011-05-23 11:03:11 -04:30
Ceeram
37fcfb9c86 reset objects when using App::build() with App::RESET 2011-05-23 11:34:13 +02:00
Jose Lorenzo Rodriguez
8d52907be7 Merge remote-tracking branch 'origin/2.0' into 2.0 2011-05-22 21:55:07 -04:30
Jose Lorenzo Rodriguez
5b8865a3a7 Making plugin routes load after app routes, closes #1722 2011-05-22 21:50:56 -04:30
mark_story
68482be3f1 Updating path to match the one found in the repository. 2011-05-22 22:04:08 -04:00
mark_story
85752e21c1 Removing undefined variable use.
Making the plugin path match the old plugins directory.
2011-05-22 22:04:08 -04:00
AD7six
d63b4df10c ensure consistent order for loaded function
Fixes the test case
2011-05-17 00:01:20 +02:00
AD7six
8e27cf992f correct a few missing constant replacements 2011-05-15 18:49:38 +02:00
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