Mark Story
|
e9a7d6d3b9
|
Splitting CakeRoute and PluginShortRoute into their own files. Also splitting out the test cases.
|
2010-05-04 00:35:22 -04:00 |
|
Mark Story
|
f76d320688
|
Making Router a fully static class. Tests updated.
|
2010-05-04 00:26:02 -04:00 |
|
Mark Story
|
c91d74a9af
|
Making CakeRequest toss an exception when it can't handle a method call.
|
2010-05-03 23:41:13 -04:00 |
|
Mark Story
|
c5fdeec7a1
|
Updating FormHelper tests to use CakeRequest.
|
2010-05-03 23:39:43 -04:00 |
|
Mark Story
|
69275c8996
|
Adding a parameter to CakeRequest to allow it to skip parsing the environment.
|
2010-05-03 22:50:38 -04:00 |
|
Mark Story
|
ce10c85367
|
Making Sanitize::stripScripts() to remove multi-line script and style blocks. Fixes #657
|
2010-05-03 22:33:20 -04:00 |
|
Mark Story
|
95dbae8acf
|
Making RequestHandler component carry along a passed status code. This fixes issues where RequestHandler hijacks an redirect(). Fixes #658
|
2010-05-03 22:07:13 -04:00 |
|
predominant
|
87db966383
|
Remove PHP5 conditional statements.
|
2010-05-03 13:36:32 +10:00 |
|
predominant
|
c1eaa4b24c
|
Fixed access and removed @access tags.
|
2010-05-03 13:28:09 +10:00 |
|
Mark Story
|
c48f6d6536
|
Fixing safe parameter from leaking into request() calls in JsHelper::submit() and JsHelper::link(). Fixes #656
|
2010-05-02 21:17:10 -04:00 |
|
predominant
|
c2002dada7
|
Merge remote branch 'markstory/2.0' into 2.0
|
2010-05-03 10:40:03 +10:00 |
|
Jose Diaz-Gonzalez
|
1180f66cc0
|
Setting $actions to null so that the controller methods are not always based upon the first controller in an app/plugin.
Signed-off-by: Mark Story <mark@mark-story.com>
|
2010-05-02 20:35:19 -04:00 |
|
Mark Story
|
8c7cfb2a1e
|
Changing string offset access.
|
2010-05-02 18:04:13 -04:00 |
|
Mark Story
|
d94ff92a9d
|
Merge branch '2.0' into 2.0-request
Conflicts:
cake/libs/view/pages/home.ctp
cake/tests/cases/dispatcher.test.php
cake/tests/lib/reporter/cake_html_reporter.php
|
2010-05-02 18:03:23 -04:00 |
|
Mark Story
|
dc08aedb44
|
Fixing constructors for reporter classes.
|
2010-05-02 17:54:49 -04:00 |
|
Mark Story
|
adf604a966
|
Merge branch '1.3' into 2.0
Conflicts:
cake/console/templates/default/actions/controller_actions.ctp
cake/console/templates/default/views/form.ctp
cake/console/templates/default/views/index.ctp
cake/console/templates/default/views/view.ctp
cake/libs/controller/controller.php
cake/libs/controller/scaffold.php
cake/libs/view/pages/home.ctp
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/model/cake_schema.test.php
|
2010-05-02 17:53:42 -04:00 |
|
Mark Story
|
b5a0dccc3a
|
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
|
2010-05-02 17:03:20 -04:00 |
|
Mark Story
|
4a0ead8a62
|
Fixing asset filtering for assets in themes and plugins. These assets should now correctly enter the configured asset filters. Fixes #650. Fixes #160
|
2010-05-02 16:48:35 -04:00 |
|
Mark Story
|
e11f7da896
|
Adding support for Router::reverse() to operate on CakeRequest objects.
|
2010-05-02 02:19:32 -04:00 |
|
Mark Story
|
7e25d94258
|
Renaming internals of Router.
Adding tests for legacy setRequestInfo() support.
|
2010-05-02 02:16:16 -04:00 |
|
Mark Story
|
26279851e1
|
Making Router::setRequestInfo() able to accept arrays. It will convert older style arrays into a CakeRequest object for later use.
Updating uses of Router::setRequestInfo() to just pass the object where possible.
|
2010-05-02 01:59:56 -04:00 |
|
Mark Story
|
e336df6de8
|
Updating some uses of Router::setRequestInfo().
|
2010-05-02 01:43:37 -04:00 |
|
Mark Story
|
9a1858367f
|
Removing unused and untested feature.
|
2010-05-02 01:24:44 -04:00 |
|
Mark Story
|
982437595e
|
Fixing errors caused by API changes.
|
2010-05-02 01:22:59 -04:00 |
|
Mark Story
|
4eef2c19f0
|
Making CakeRequest::addParams() chainable. Adding CakeRequest::addPaths() to allow easy settings of path variables, its also chainable. Tests added.
|
2010-05-02 01:22:34 -04:00 |
|
Mark Story
|
bd1365f8ae
|
Changing interactions inside Router so it doesn't need a CakeRequest object, makes changes to Router test not necessary.
|
2010-05-02 00:29:35 -04:00 |
|
Mark Story
|
12cbf3198a
|
Removing addslashes/stripslashes in cache file generation as they were creating corrupted serialized objects. Replacing with a simple str_replace() on ' instead.
|
2010-05-02 00:12:53 -04:00 |
|
Mark Story
|
13cc8e746d
|
Moving tests into CakeRequest from dispatcher test.
Dispatcher tests are all working again.
|
2010-05-01 23:49:22 -04:00 |
|
Mark Story
|
e4cf8a6937
|
Fixing issue where 'data' could not be accessed with array access, there were tests in Dispatchers tests that expected this.
|
2010-05-01 23:46:10 -04:00 |
|
Mark Story
|
d2ea077b81
|
Moving parameter parsing below asset dispatching, should speed up asset dispatching.
Updating + fixing tests to reflect API changes and fixing some issues where router was breaking assets.
|
2010-05-01 23:19:47 -04:00 |
|
Mark Story
|
aa234bc861
|
Making CakeRequest keep [url][url] for compatibility issues.
|
2010-05-01 22:45:31 -04:00 |
|
ADmad
|
f386dca6d8
|
Controller::loadModel() now returns true when model is succesfully instantiated as stated in docblock. Added test case.
|
2010-05-02 05:34:38 +05:30 |
|
Mark Story
|
257665eb5b
|
Updating doc blocks for bindModel and unbindModel, explaining that associations are only reset when find() is called. Refs #652
|
2010-05-01 17:37:23 -04:00 |
|
Mark Story
|
0eb4849803
|
Renaming a method.
|
2010-05-01 11:08:58 -04:00 |
|
Mark Story
|
2b08ad6012
|
Updating fatal tests in Dispatcher tests. Updating Router to use a method instead of a raw array_merge.
|
2010-05-01 11:07:32 -04:00 |
|
Mark Story
|
0a7ba707b6
|
Adding tests for CakeRequest::addParams()
|
2010-05-01 11:06:51 -04:00 |
|
Mark Story
|
40bca71985
|
Adding tests and features for CakeRequest to parse querystring args from the url parameter in the constructor. Added tests.
|
2010-05-01 11:04:41 -04:00 |
|
Mark Story
|
fbd70bf23c
|
Making Dispatcher::parseParams require a CakeRequest object instead of as string url. Updating tests in the Dispatcher, and fixing an issue where POST params would be wiped out by Router.
|
2010-05-01 10:48:30 -04:00 |
|
Mark Story
|
ffd05ffc3e
|
Removing methods from Dispatcher that have been moved to CakeRequest.
Removing test cases for features that don't exist anymore.
Updating Router and Dispatcher to use the request object.
|
2010-05-01 01:43:06 -04:00 |
|
Mark Story
|
558aea0221
|
Moving tests and helper methods from Dispatcher into CakeRequest
|
2010-05-01 01:06:09 -04:00 |
|
Mark Story
|
1b5c0cca4d
|
Removing duplicated code and moving methods to protected.
|
2010-05-01 00:32:43 -04:00 |
|
Mark Story
|
4deacf0b06
|
Existing tests are now all passing.
|
2010-05-01 00:18:17 -04:00 |
|
Mark Story
|
c7f4334bff
|
Moving test code around and starting to refactor things in tests.
|
2010-04-30 23:37:16 -04:00 |
|
José Lorenzo Rodríguez
|
ad51115e12
|
Fixing bug where required class would be added to form fields when using single rule syntax in $validate even if allowEmpty is set to true
Closes #654
|
2010-04-30 16:42:59 -04:30 |
|
José Lorenzo Rodríguez
|
9b040a5ed3
|
Fixing code formating
|
2010-04-30 16:07:59 -04:30 |
|
ADmad
|
0471ea046f
|
Adding test case for 'required' class adding to wrapping div based on model validations. Refs #654
|
2010-05-01 01:19:52 +05:30 |
|
Mark Story
|
85b86164e3
|
Starting to move additional methods from Dispatcher into CakeRequest. Tests have been moved, and updated.
|
2010-04-30 00:13:24 -04:00 |
|
Mark Story
|
51db3c80ef
|
Moving query string params around. Updating test cases.
|
2010-04-29 23:20:31 -04:00 |
|
Mark Story
|
0bbd7fae2c
|
Adding more tests to CakeRequest::addDetector() for callback type.
|
2010-04-29 23:11:15 -04:00 |
|
Mark Story
|
6dcc680c1a
|
implementing CakeRequest::addDetector() and adding test cases.
|
2010-04-29 23:08:01 -04:00 |
|