Commit graph

10100 commits

Author SHA1 Message Date
AD7six
64e71de52a Merge branch '2.0-class-loading' of github.com:cakephp/cakephp into 2.0-class-loading 2011-03-16 17:07:22 +01:00
AD7six
4f29f58a5e correct path to tmp and core.php file when running outside your app dir.
also wrapped HttpException class declaraion in an if !class_exists test
- the class exists in the pecl http extension.
2011-03-16 12:13:47 +01:00
Jose Lorenzo Rodriguez
8ce605ab88 Fix for regression introduced in last commit 2011-03-16 00:28:08 -04: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
32e42aaf6f Updating more skel files 2011-03-15 23:56:28 -04:00
Jose Lorenzo Rodriguez
8213160bb1 Udating template home.ctp and providing a default skel dir in tamplate task 2011-03-15 23:48:51 -04:00
Jose Lorenzo Rodriguez
a1f5fe706a Udatint TestTask test 2011-03-15 22:59:18 -04:00
Jose Lorenzo Rodriguez
9293361562 Updating ControllerTask to crete files with new naming conventions 2011-03-15 22:23:51 -04:00
Jose Lorenzo Rodriguez
b0a7a109e9 Updating ModelTask to crete files following the new namings 2011-03-15 22:14:10 -04:00
mark_story
9ae8dcafdc Updating documentation to include new option. 2011-03-15 22:05:14 -04:00
hiromi2424
38e85ebd6e Supported default ion for FormHelper::checkbox(). Test added fixes #805
Signed-off-by: mark_story <mark@mark-story.com>
2011-03-15 22:03:04 -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
mark_story
357588c60e Updating and reorganizing tests. Removing totally redundant tests. 2011-03-15 21:39:37 -04:00
mark_story
4537499ea9 Updating doc block. 2011-03-15 21:39:15 -04:00
mark_story
c6b7482308 Making sure forms always have a generated id attribute. Updating tests. 2011-03-15 21:19:15 -04:00
Jose Lorenzo Rodriguez
2e2f5ea2a5 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-03-15 21:13:45 -04:00
Jose Lorenzo Rodriguez
b6b03cb379 Adding files missing from previous commit 2011-03-15 21:13:33 -04:00
mark_story
6fd5ff34a0 Fixing incorrect test case. Thanks to hiromi2424 for pointing out the mistake. 2011-03-14 21:13:24 -04:00
mark_story
b9ec7da21d Applying patch from 'NaMB' to add disabled support to FormHelper::radio(). Test cases added as well. Fixes #1459 2011-03-13 19:35:37 -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
mark_story
30a9543a65 Syncing skel folder with app folder. 2011-03-12 12:19:06 -05:00
mark_story
4efef1ed67 Moving the default cache configuration to app/config/bootstrap.php, as its not used by CakePHP anymore, and is an application configuration value. 2011-03-12 12:18:21 -05:00
mark_story
31e82b08df More documentation for Cache. 2011-03-12 12:14:43 -05:00
mark_story
20299c9138 Removing duplicate package string.
Updating FileEngine tests to use file_test config instead of inheriting 'default' as default could be an APC config now.
Removing tests that were testing clearCache(), as that is not part of FileEngine's features.
2011-03-12 12:06:10 -05:00
mark_story
70d334f7eb Moving core cache configuration out of Configure and into core.php.
This makes the cache configurations cake uses internally more
transparent, and easier for the end developer to configure. Fixes #1586
2011-03-12 11:24:59 -05:00
mark_story
d0dfd7f18c Removing more calls to strtolower(). Instead type the method names with the correct casing. 2011-03-12 11:10:31 -05:00
Jose Lorenzo Rodriguez
6f232c4543 Fixing the loading of the HtmlCodeCoverageReport class 2011-03-12 02:06:50 -04:30
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
2bbac9e9b0 Fixing Folder class tests 2011-03-12 00:52:23 -04:30
Jose Lorenzo Rodriguez
d890896777 Updating Lib package usage in App::load() 2011-03-12 00:40:43 -04:30
Jose Lorenzo Rodriguez
bab30bd48d More fixes after the recent changes in App::core() 2011-03-12 00:32:44 -04:30
Jose Lorenzo Rodriguez
c188d1a91c Fixing Dispatcher tests after recent changes in App::core() 2011-03-12 00:29:44 -04:30
Jose Lorenzo Rodriguez
96fa5e79ba Fixing fixture loading after recent changes in App::core() 2011-03-12 00:27:50 -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
6ac87eef68 Making more App::import() tests pass 2011-03-11 18:18:58 -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
90b01b7ec3 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-03-10 23:17:54 -04:30
mark_story
7f18f05de4 Moving appending of prefix to action into the Router. This makes Router::parse() always return what you get in the controller.
Updating Dispatcher to not hold a reference to the current request, as its not used.
Updating private action detection so its simpler.
Fixes issues with prefix actions not getting the correct default view.  Fixes #1580
2011-03-10 22:04:46 -05:00
mark_story
b292f4ffaa Fixing tests that were failing due to missing methods, and changes in CakeRoute.
Making ExceptionRenderer pass in the current request to the controller
constructor.  This fixes fatal errors on PrivateActionExceptions.
2011-03-10 22:01:56 -05:00
mark_story
ab4ce97cad Fixin CakeErrorController's constructor, so it matches the parent class. Removing duplicated code. 2011-03-10 22:00:08 -05:00
Jose Lorenzo Rodriguez
472257c347 Removing unused variables and properly testing more methods in App class 2011-03-09 23:33:03 -04:30
mark_story
0cc55d8f45 Removing calls to Dispatcher::_stop(). Updating tests. Fixes #1578 2011-03-09 22:27:19 -05:00