Jose Lorenzo Rodriguez
8e6d018ac4
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-07-24 14:12:38 -04:30
Jose Lorenzo Rodriguez
31efa022df
Adding a backwards compatible check to ClassRegistry::init() so it is still able to return classes that are not instance of Model
2011-07-24 14:02:16 -04:30
Jose Lorenzo Rodriguez
d63dde0fde
Ensuring the correct HtmlReporter class is used in the web test runner
2011-07-24 14:01:44 -04:30
Juan Basso
b8c00d5f56
Changed the paginator to do a count after the find.
2011-07-23 21:09:55 -04:00
mark_story
6fb3c72d49
Fixing issue where plugin models in $uses, would create
...
incorrect forms when create() is called with no arguments.
Fixes #1841
2011-07-23 14:49:39 -04:00
mark_story
3589a17321
Merge branch 'request-response' into 2.0
2011-07-23 14:23:06 -04:00
mark_story
63ea4ef99a
Fixing missing fixture causing test failure.
2011-07-22 20:45:33 -04:00
Mark Story
ec3de84c4e
Removing getResponse, its not used and it doesn't serve much purpose.
2011-07-22 20:29:45 -04:00
Mark Story
4101388069
Syncing skel directory with app/Config.
2011-07-22 20:29:45 -04:00
Mark Story
c8647b227a
Moving plugin route loading to app/Config/routes.php
...
Its old position would end up with plugin routes being loaded
after the core fallback routes.
2011-07-22 20:29:45 -04:00
mark_story
c37c641b4a
Fixing failing tests because of core routes not being loaded.
2011-07-22 20:29:45 -04:00
mark_story
16073b4e44
Fixing notice errors in Router.
...
Updating AuthComponent tests for changes in Router behavior.
2011-07-22 20:29:45 -04:00
mark_story
be98e0b962
Updating Folder tests for new file.
...
Converting assertIdentical to assertSame.
2011-07-22 20:29:45 -04:00
mark_story
f0819d364c
Updating Dispatcher tests for changes in Router.
2011-07-22 20:29:45 -04:00
mark_story
cfb3e8a15b
Moving default routes into a separate file.
...
Removing Router::defaults() as its not needed anymore.
Removing default routes from inside router.
Removing properties related to default routes.
Removing dead tests and updating tests.
2011-07-22 20:29:45 -04:00
mark_story
358d591e95
Making ApiShell test, which uses Controller pass.
2011-07-22 20:29:44 -04:00
mark_story
f28b42de2f
Pulling construction of Scaffold into a method so its
...
easier to allow plugins/user classes to replace the core Scaffold class.
2011-07-22 20:29:44 -04:00
mark_story
b56931383c
Adding tests.
2011-07-22 20:29:44 -04:00
mark_story
61ab769f1c
Moving tests for private actions to ControllerTest.
2011-07-22 20:29:44 -04:00
mark_story
c25394278b
Returning response objects from controllers wasn't working correctly.
2011-07-22 20:29:44 -04:00
mark_story
177cd39abb
Moving private method detection into Controller.
...
This fixes an issue where potected methods would
not be called, and no exception would be raised.
2011-07-22 20:29:44 -04:00
mark_story
8bfc0a859d
Reverting previous change that prevent entry into a special case.
2011-07-22 20:29:44 -04:00
mark_story
70744f3cb4
Fixing failing tests for Controller.
...
Adding a string cast for easier testing.
2011-07-22 20:29:44 -04:00
mark_story
b0749acbb6
Starting to change how Controller::render() and response
...
objects are handled.
2011-07-22 20:29:44 -04:00
mark_story
65d28f4c73
Fixing failing tests for ControllerTestCase.
2011-07-22 20:29:44 -04:00
mark_story
04147caca8
Updating ExceptionRenderer and CakeErrorHandler for Controller changes.
2011-07-22 20:29:44 -04:00
mark_story
173e043eaf
Fixing more failing tests caused by requestAction
...
and changes in Controller::__construct.
2011-07-22 20:29:44 -04:00
mark_story
2141b494cd
Adding charset as it was previously omitted.
2011-07-22 20:29:44 -04:00
mark_story
fc08784c22
Making Controller tests pass.
2011-07-22 20:29:43 -04:00
mark_story
ec40ce6aad
Updating index.php and skel dir for response change.
2011-07-22 20:29:43 -04:00
mark_story
5240edeb82
Refactoring tests to better use PHPUnit's features
...
Removing non-functional cruft.
2011-07-22 20:29:43 -04:00
mark_story
9641bcc8df
Modifying Dispatcher and its test cases to accept a CakeResponse as part of its
...
arguments.
2011-07-22 20:29:43 -04:00
Jose Lorenzo Rodriguez
420a2f56df
Merge branch '2.0-dbo-performance' into 2.0
2011-07-20 22:15:45 -04:30
mark_story
eefde54d56
Updating path constant in CodeCoverageManager to better support
...
custom installs.
Fixes #1831
2011-07-19 20:34:44 -04:00
mark_story
3cf4dd8b6c
Reversing the order fixtures are truncated in order to remove
...
data in a way that better supports foreign keys.
Fixes #1837
2011-07-19 20:25:30 -04:00
Ceeram
4ae9058012
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-07-19 10:57:41 +02:00
Ceeram
f94c50dc5d
added ModelDeleteTest to AllModelTest
2011-07-19 10:57:31 +02:00
Mark Story
011d9b4d37
Updating compatibility assertions so they correctly reverse arguments
...
for SimpleTest wrappers.
Reformated doc blocks.
Fixes #1827
2011-07-18 23:17:20 -04:00
Juan Basso
a2e7c0febe
Optimization in FormHelper::postLink().
2011-07-18 20:33:45 -04:00
Jose Lorenzo Rodriguez
50d4330487
Ensuring uniqueness of method cache keys, all tests passing now
2011-07-17 23:45:22 -04:30
Jose Lorenzo Rodriguez
08be8300ee
Merge branch '2.0' into 2.0-dbo-performance
2011-07-17 23:22:58 -04:30
Jose Lorenzo Rodriguez
222df2c315
Removing unneeded assert that fails when run in the all test suite
2011-07-17 23:12:51 -04:30
Jose Lorenzo Rodriguez
3594f7aa88
Adding condition inside Controller::render() to avoid storing in the request an empty model definition
2011-07-17 22:54:11 -04:30
Jose Lorenzo Rodriguez
4c8f5ce5be
Bringing up to date the ModelTask test case after adding the new validation method
2011-07-17 22:46:56 -04:30
Jose Lorenzo Rodriguez
03dac31930
Using the static property instead
2011-07-17 22:41:12 -04:30
Jose Lorenzo Rodriguez
a786f4b1c6
Making DboSource::$methodCache a static variable to be able to share the cache between multiple instances of the same class
2011-07-17 22:26:21 -04:30
Jose Lorenzo Rodriguez
58282c3934
Micro optimization on Mysql source
2011-07-17 19:23:15 -04:30
Jose Lorenzo Rodriguez
762ebd4b93
Implementing a persitent method cache for DboSource, using a stronger hashing algorithm to ensure unique keys
2011-07-17 19:08:23 -04:30
Jose Lorenzo Rodriguez
ca0a7e4271
Removing method cache from DboSource::conditions() this was consuming too much memory and bringing little to no performance increase
2011-07-17 17:44:12 -04:30
Jose Lorenzo Rodriguez
b603232aee
Removing redundant call to DboSource::fields(), the fields come already quoted from DboSource::read()
2011-07-17 17:42:47 -04:30