Commit graph

750 commits

Author SHA1 Message Date
AD7six
fe2ec74b0e correct paths to Config dir 2011-05-16 21:52:25 +02:00
Renan Gonçalves
f3bd0faa94 Fixing typo on the documentation. Patch by mamchenkov. 2011-05-16 21:14:46 +02:00
Graham Weldon
21f35345fa Merge remote-tracking branch 'burzum/2.0' into 2.0 2011-05-17 01:51:42 +10:00
AD7six
7a430a921e Merge branch 'feature/faster-tests' into 2.0 2011-05-16 16:41:12 +02:00
Thomas Ploch
785c80ba88 Added missing string concatenator to lib/Cake/Views/pages/home.ctp. 2011-05-16 08:41:25 +02:00
Jose Lorenzo Rodriguez
4ee4e426f4 Fixing more tests failing in case sensitive systems 2011-05-15 20:38:56 -04:30
Jose Lorenzo Rodriguez
ceb671db42 Fixing viewPath in Dispatcher test case 2011-05-15 20:09:38 -04:30
Jose Lorenzo Rodriguez
11f9a2756a Moving more folders missed in previous commits 2011-05-15 20:01:45 -04:30
Florian Krmer
93a8209b43 Fixing a syntax error in lib/Cake/View/Pages/home.ctp 2011-05-16 00:18:21 +02:00
Florian Krmer
8aa3159037 Fixing Fatal error: Class 'CakePlugin' not found in \lib\Cake\I18n\I18n.php on line 267 2011-05-15 23:53:55 +02:00
AD7six
805cc944da correct for case sensitivity 2011-05-15 19:41:34 +02:00
AD7six
a199e72610 the correct argument for plugins is infact "plugins" 2011-05-15 19:28:17 +02:00
AD7six
56c6e35437 adding an upgrade option to correct constants 2011-05-15 19:10:53 +02:00
AD7six
3175de7b3d remove another oversight 2011-05-15 18:53:53 +02:00
AD7six
8e27cf992f correct a few missing constant replacements 2011-05-15 18:49:38 +02:00
AD7six
ef684c3d94 a couple of find/replace oversights 2011-05-15 18:40:48 +02:00
AD7six
42c5c6e7fe when using App::path but expecting 1 result - use the first 2011-05-15 18:39:38 +02:00
AD7six
8f071e297c remove CAKE_TESTS constant 2011-05-15 18:37:45 +02:00
AD7six
0cb70ae3bb remove CONFIGS constant 2011-05-15 18:34:52 +02:00
AD7six
9e0e19c5ac correct greedy replace 2011-05-15 18:30:48 +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
AD7six
ff2d9e244a remove LIB_TESTS constant 2011-05-15 17:36:39 +02:00
AD7six
e3244432d5 remove MODEL_TESTS 2011-05-15 17:36:39 +02:00
AD7six
90a6bcb9d5 remove HELPER_TESTS constant 2011-05-15 17:36:39 +02:00
AD7six
19da0f9101 remove COMPONENT_TESTS constant 2011-05-15 17:36:39 +02:00
AD7six
6be91010ca remove CONTROLLER_TESTS constant 2011-05-15 17:36:39 +02:00
AD7six
0508055ee9 remove CAKE_TEST_LIB constant 2011-05-15 17:36:39 +02:00
AD7six
998cba0759 remove CONSOLE_LIBS constnat 2011-05-15 17:36:39 +02:00
AD7six
08316c5292 remove ELEMENTS constant 2011-05-15 17:36:39 +02:00
AD7six
c33fc1e003 remove LAYOUTS constant 2011-05-15 17:36:15 +02:00
AD7six
e63f0aa28f remove HELPERS constant 2011-05-15 17:35:01 +02:00
AD7six
e313448998 remove VIEWS constant 2011-05-15 17:35:01 +02:00
AD7six
66ae239629 remove BEHAVIORS contant 2011-05-15 17:35:01 +02:00
AD7six
62d66bc3ad remove MODELS constant 2011-05-15 17:35:00 +02:00
AD7six
af505df885 remove COMPONENTS constant 2011-05-15 17:35:00 +02:00
AD7six
80e68763a3 remove CONTROLLERS constant 2011-05-15 17:35:00 +02:00
AD7six
95da598d99 also check for "binary" 2011-05-15 11:29:12 +02:00
AD7six
13488fe373 using memory db tables makes tests which use a db a lot faster.
a *lot* faster
2011-05-15 11:29:12 +02:00
AD7six
bd0a303c09 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-15 11:28:47 +02:00
Jose Lorenzo Rodriguez
29298d746e Fixing App tests 2011-05-15 00:56:33 -04:30
Jose Lorenzo Rodriguez
a6fb16beef Moving tests cases to their new location 2011-05-15 00:42:10 -04:30
Jose Lorenzo Rodriguez
91bce16e9d Merge remote-tracking branch 'origin/2.0' into 2.0-merge
Conflicts:
	lib/Cake/Test/Case/Console/Command/Task/TemplateTaskTest.php
	lib/Cake/Test/Case/Controller/Component/Auth/FormAuthenticate.php
	lib/Cake/Test/Case/Log/Engine/FileLog.php
	lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/plugged_helper.php
	lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/test_plugin_app.php
	lib/Cake/tests/Case/Controller/Component/Auth/FormAuthenticate.php
	lib/Cake/tests/Case/Controller/Component/Auth/FormAuthenticateTest.php
	lib/Cake/tests/Case/Log/Engine/FileLog.php
	lib/Cake/tests/Case/Log/Engine/FileLogTest.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/PluggedHelper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/TestPluginAppHelper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/plugged_helper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/test_plugin_app.php
2011-05-15 00:40:54 -04:30
Jose Lorenzo Rodriguez
082a5e1607 Fixing ControllerTestCase test 2011-05-15 00:26:23 -04:30
Jose Lorenzo Rodriguez
cee46f5ee3 Fixing debug tests 2011-05-15 00:22:39 -04:30
Jose Lorenzo Rodriguez
5e635c74e2 Fixing components tests 2011-05-15 00:16:42 -04:30
Jose Lorenzo Rodriguez
e09f825f8b Fixing controller tests 2011-05-15 00:14:41 -04:30
Jose Lorenzo Rodriguez
6713bb154e Making themes also CamelCased 2011-05-15 00:09:32 -04:30
Jose Lorenzo Rodriguez
1930452da0 Fixing Folder test case after recent updates in folder casing 2011-05-14 23:43:11 -04:30
Jose Lorenzo Rodriguez
5f56642e0e Updating tests and classes in Console package after most recent updates in folder casing 2011-05-14 23:40:09 -04:30
AD7six
a206e42fb4 make it at least run 2011-05-14 19:17:14 +02:00
AD7six
5e9323a71f make the mssql test at least runnable 2011-05-14 18:20:27 +02:00
AD7six
9f374363b5 splitting the tree behavior test into 4 tests and suite 2011-05-14 17:28:58 +02:00
mark_story
23d9e5d769 Merge remote-tracking branch 'tploch/2.0-memcache' into 2.0 2011-05-13 21:48:41 -04:00
Thomas Ploch
4aa9254316 Updated Memcache settings docblock in core.php (skel and config). Removed probably misleading comment about FCGI. Fixes #1705 2011-05-14 00:55:28 +02:00
Thomas Ploch
402c4a7a6f Added 'persistent' setting to MemcacheEngine.
Fixes #1705 when connections are not closed when using i.e. FCGI.
2011-05-13 23:44:59 +02:00
Jose Lorenzo Rodriguez
eea981940e Replacing config string in favor of Config 2011-05-13 03:36:45 -04:30
Jose Lorenzo Rodriguez
d24aca34f1 Replacing more string to match new paths 2011-05-13 03:31:12 -04:30
Jose Lorenzo Rodriguez
2a54f0923d More string replacing for new paths 2011-05-13 03:23:53 -04:30
Jose Lorenzo Rodriguez
649b863fc5 Changing more strings after renaming folders 2011-05-13 03:19:00 -04:30
Jose Lorenzo Rodriguez
7ba60ff424 Changing more paths 2011-05-13 03:15:04 -04:30
Jose Lorenzo Rodriguez
8746a485bd Search and replace for changed paths 2011-05-13 02:53:35 -04:30
Jose Lorenzo Rodriguez
3b725290ba Renaming elements and layouts 2011-05-13 02:45:36 -04:30
Jose Lorenzo Rodriguez
ded3cb4826 Renaming more folders 2011-05-13 02:31:33 -04:30
Jose Lorenzo Rodriguez
900dfef2f7 Starting unification of casing in remaining folders 2011-05-13 01:53:49 -04:30
Jose Lorenzo Rodriguez
5f45dd20d2 Updating behaviors tests 2011-05-13 01:43:35 -04:30
Jose Lorenzo Rodriguez
35dc82571a Updating Cache tests 2011-05-13 01:34:59 -04:30
Jose Lorenzo Rodriguez
18b5b36b6f Updating component tests 2011-05-13 01:33:11 -04:30
Jose Lorenzo Rodriguez
53037d90d6 Updating PhpReader test 2011-05-13 01:28:17 -04:30
Juan Basso
a6f507db1f Fixed some tests in unix enviroment. 2011-05-12 23:59:31 -04:00
mark_story
523b1b6165 Updating docs. 2011-05-12 22:41:35 -04:00
Jose Lorenzo Rodriguez
da6e0c0589 Updating the rest of the console tests to use the CakePlugin class 2011-05-12 00:28:39 -04:30
Jose Lorenzo Rodriguez
e97b330463 updating SchemaShell tests to use CakePlugin class 2011-05-12 00:25:16 -04:30
Jose Lorenzo Rodriguez
685b7f8562 Updating CommandListShell to use CakePlugin 2011-05-12 00:24:45 -04:30
Jose Lorenzo Rodriguez
e78345035a Updating CommandListShell to use the new CakePLugin class 2011-05-12 00:20:29 -04:30
Jose Lorenzo Rodriguez
233c050cea Updating TestTask tests 2011-05-11 23:52:09 -04:30
Jose Lorenzo Rodriguez
2be486844e Fixing PluginTask tests 2011-05-11 23:48:51 -04:30
Joey Trapp
3675e73c73 Added a flag to Router::reverse that is passed on to the Router::url call
Fixes #1638

Signed-off-by: mark_story <mark@mark-story.com>
2011-05-10 21:07:56 -04:00
mark_story
011aeae951 Giving a useful value to FULL_BASE_URL in CLI if it doesn't get defined by the developer. 2011-05-10 21:05:14 -04:00
Jose Lorenzo Rodriguez
35ebd29ac3 updating controller tests 2011-05-10 11:43:38 -04:30
Jose Lorenzo Rodriguez
54eb934892 Fixing plugin related tests in Core package 2011-05-10 00:46:24 -04:30
Jose Lorenzo Rodriguez
a8122a5afe Fixing AllDatabase tests correctly loading plugins 2011-05-10 00:10:15 -04:30
Jose Lorenzo Rodriguez
ca776d92bd Making Error package tests 2011-05-09 23:47:29 -04:30
Jose Lorenzo Rodriguez
bd1479f732 Fixing a bunch of tests in the View/Helper package 2011-05-09 23:33:58 -04:30
mark_story
339db4033f Removing goofy protected field that didn't work all the time.
Making AuthComponent::loggedIn() check the current user status.
Fixes #1694
2011-05-09 21:54:59 -04:00
Jose Lorenzo Rodriguez
7171887c7a Correctly loading plugins in I18n 2011-05-09 00:36:52 -04:30
Jose Lorenzo Rodriguez
0ef0707575 Correctly loading plugins for Log tests 2011-05-09 00:31:38 -04:30
Jose Lorenzo Rodriguez
c208e4ed30 Fixing a couple of tests in CakeRequest 2011-05-09 00:28:01 -04:30
Jose Lorenzo Rodriguez
ca99b5b515 Fixing Router and Dispatcher so they user the plugin loader 2011-05-09 00:01:00 -04:30
Jose Lorenzo Rodriguez
2c3132fa85 Fixing some TestSuite tests 2011-05-08 23:25:32 -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
2093b11296 Fixing ClassRegistry tests after plugin loader change 2011-05-08 22:15:50 -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
8ccbd6faa5 Adding missing file from last commit 2011-05-08 22:07:24 -04:30
AD7six
0026a6ac54 Mysql not MySql 2011-05-09 01:24:52 +02:00
AD7six
315cb6b66b correct api shell test case 2011-05-09 00:52:47 +02:00
AD7six
c7794c1e1f also move any error classes (AppError) to Lib/Error/* 2011-05-09 00:46:51 +02:00
AD7six
ade85c1cd0 add exception for Dbo classes 2011-05-09 00:00:19 +02:00
AD7six
07ffe2fcd8 update the move logic
whereas previously it only checked if the filename matched the class,
the logic now checks the file is located in the folder expected too.
2011-05-08 23:55:16 +02:00
AD7six
79700a5e94 applying upgrade shell to test app files 2011-05-07 19:05:24 +02:00
AD7six
cb010b62e6 Merge branch '2.0-upgrade' into 2.0 2011-05-07 19:00:17 +02:00
Jose Lorenzo Rodriguez
a45758cc7d Migrating all View package tests to use the new plugin loader 2011-05-06 01:23:01 -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
Juan Basso
8b78507b3d Changed the test setup to not run the test if test db config is not mssql. 2011-05-05 21:30:51 -04:00
Juan Basso
9dfc7d6593 Changed the field map to protected to run the tests. It is not requeried to be private. 2011-05-05 21:30:51 -04:00
Juan Basso
3231755d63 Fixed the tests for value. 2011-05-05 21:30:51 -04:00
Juan Basso
24bf56b44e Revert "Removed the value method from MSSQL. It is provided by DboDatasource now."
This reverts commit bf0fb8302385d384239939df2ea6bc6f1a8dbaa0.
2011-05-05 21:30:51 -04:00
Juan Basso
b91f6eb991 Fixed error in change. 2011-05-05 21:30:51 -04:00
Juan Basso
a7a86e42a3 Changes for fetch results. 2011-05-05 21:30:51 -04:00
Juan Basso
83b81ffd87 Removed more methods that is implemented by DboSource. 2011-05-05 21:30:51 -04:00
Juan Basso
f11b153d80 Removed the value method from MSSQL. It is provided by DboDatasource now. 2011-05-05 21:30:51 -04:00
Juan Basso
37d26f2923 Update the describe. 2011-05-05 21:30:51 -04:00
Juan Basso
3f984b68fa Update the listSources. 2011-05-05 21:30:51 -04:00
Juan Basso
244bc1369a Removed the execute method from MSSQL. It is provided by DboDatasource now. 2011-05-05 21:30:51 -04:00
Juan Basso
4e8b863910 Initial changes for init the connection with MSSQL. 2011-05-05 21:30:50 -04:00
Juan Basso
30fd9fff14 Changed the import files and Mssql class name to the new structure. 2011-05-05 21:30:50 -04:00
mark_story
bd30510e87 Fixing non-unique id's being generated for Debugger rendered errors. 2011-05-04 23:33:36 -04:00
mark_story
e857387a8e Fixing failing tests. 2011-05-04 23:08:10 -04:00
mark_story
695d38fe68 Removing stupid default that stops other convention based features from working properly. 2011-05-04 22:16:46 -04:00
Jose Lorenzo Rodriguez
f2c1f9d6b2 Removing unneeded lines in Debugger 2011-05-04 01:17:28 -04:30
Jose Lorenzo Rodriguez
d83555cc52 Merge remote-tracking branch 'origin/1.3' into merger
Conflicts:
	cake/console/cake.php
	cake/dispatcher.php
	cake/libs/controller/components/auth.php
	cake/libs/controller/controller.php
	cake/libs/view/helpers/xml.php
	cake/libs/view/pages/home.ctp
	cake/libs/xml.php
	cake/tests/cases/console/cake.test.php
	cake/tests/cases/libs/controller/components/cookie.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo_source.test.php
	cake/tests/cases/libs/view/helpers/xml.test.php
	cake/tests/cases/libs/xml.test.php
	lib/Cake/Console/Command/SchemaShell.php
	lib/Cake/Controller/Component/CookieComponent.php
	lib/Cake/Network/Http/HttpSocket.php
	lib/Cake/TestSuite/Fixture/CakeTestFixture.php
	lib/Cake/VERSION.txt
	lib/Cake/View/Helper/FormHelper.php
	lib/Cake/View/Helper/TextHelper.php
	lib/Cake/View/Helper/TimeHelper.php
	lib/Cake/config/config.php
	lib/Cake/tests/Case/Cache/CacheTest.php
	lib/Cake/tests/Case/Model/CakeSchemaTest.php
	lib/Cake/tests/Case/TestSuite/CakeTestFixtureTest.php
2011-05-04 01:10:23 -04:30
Jose Lorenzo Rodriguez
492f1ce12e Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-03 23:05:38 -04:30
mark_story
aca8cc8b77 Fixing issue where content types wouldn't be detected as once parseExtensions() is enabled the extension will always
default to html.
2011-05-02 22:26:58 -04:00
ADmad
7fc5e8f810 Fixing typo 2011-05-03 01:01:33 +05:30
AD7six
7532ab0586 reset files on each itteration 2011-05-01 23:30:24 +02:00
AD7six
4c66db253a don't forget tasks 2011-05-01 23:30:24 +02:00
AD7six
1d493ca122 add a function to make sure file names match the class they contain 2011-05-01 23:30:24 +02:00
AD7six
d100f09bb2 move/rename folders 2011-05-01 23:30:24 +02:00
AD7six
afa6baab2d add a command to run all options 2011-05-01 23:30:24 +02:00
AD7six
f3b216dfe2 remove unused var 2011-05-01 23:30:24 +02:00
AD7six
9ac717819f code standards 2011-05-01 23:30:24 +02:00
AD7six
bbf87f062e don't fail if the dir doesn't exist 2011-05-01 23:30:24 +02:00
Luís Armando
12bf3eae38 Correction of UpgradeShell file name. 2011-05-01 23:30:24 +02:00
Graham Weldon
35485a13e5 Moved Upgrade console into place for 2.0 Console standards. 2011-05-01 23:30:24 +02:00
mark_story
5453333a88 Removing legacy parameter setting. 2011-05-01 23:30:23 +02:00
mark_story
317aad9526 Fixing missing uses for Controller Task.
Fixing incorrect import() for ClassRegistry.
2011-05-01 14:58:32 -04:00
mark_story
1c417ac2fd Removing dead code, and adding another deprecation warning. 2011-05-01 14:17:33 -04:00
ADmad
1cb0e413be Enhancing App::build() to allow appending paths. Closes #1680 2011-05-01 20:54:52 +05:30
mark_story
093d7f1064 Merge branch 'request-input' into 2.0 2011-05-01 10:25:39 -04:00
mark_story
512e570202 Adding ability to map arbitrary content types and decoding methods to RequestHandlerComponent.
Removing hardcoded XML decoding, but continuing to provide the functionality.
Adding default support for JSON decoding.
Fixing stdin/input mixup.
Fixes #716
2011-05-01 10:21:00 -04:00
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
mark_story
0be0b0ede0 Removing $request->params['form'], all POST data is available at $request->data, there is no point for it to be in two
places.  Updating tests as well.
2011-04-30 14:12:51 -04:00
mark_story
47176bffc5 Fixing failing tests that waited on stdin indefinetly. 2011-04-30 13:27:57 -04:00
mark_story
53b4a129ba Changing RequestHandler to use CakeRequest::input() 2011-04-30 13:09:30 -04:00
mark_story
40fab8135a Adding ability to pass params to the decoding function. 2011-04-30 13:05:10 -04:00
mark_story
975f74bb44 Making it so all POST parameters are available on $this->data inside the request. This makes one fewer place POST data
is found.  $this->params['form'] is still around as well for Backwards compatibility, but is not recommended for use
going forward.
2011-04-30 12:44:38 -04:00
mark_story
60ee04a0fb Adding first kick at the can for reading request body input.
Adding testcases.
2011-04-30 12:44:37 -04:00
Sonny Gauran
4add005baa Fixed baked database.php constants 2011-04-30 02:12:15 +08:00
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