Mark Story
|
26f7fcef3c
|
Updating Controller and its tests to use CakeRequest.
|
2010-05-06 23:23:13 -04:00 |
|
Mark Story
|
2b7723fd12
|
Removing reference operators and making Controller::__construct take a CakeRequest. If one is passed all the necessary properties will be populated. This lightens the Dispatcher, and gives more control to the end developer.
|
2010-05-06 23:18:50 -04:00 |
|
Mark Story
|
1a460e47f1
|
Removing reference operators in Controller and its tests.
|
2010-05-06 22:48:48 -04:00 |
|
Mark Story
|
04df4a91dd
|
Merge branch '2.0' into 2.0-request
|
2010-05-06 22:30:37 -04:00 |
|
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
|
69275c8996
|
Adding a parameter to CakeRequest to allow it to skip parsing the environment.
|
2010-05-03 22:50:38 -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|
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
|
6dcc680c1a
|
implementing CakeRequest::addDetector() and adding test cases.
|
2010-04-29 23:08:01 -04:00 |
|
Mark Story
|
734e4fa87a
|
Removing the conditional check around including custom session configuration files. This fixes issues where requestAction could cause loss of session settings, and improves the end developers ability to customize the session. Custom session files should ensure that classes/functions are conditionally declared. Fixes #374, #541
|
2010-04-29 21:40:12 -04:00 |
|
ADmad
|
afd67e534b
|
Fixing parse error created in commit [6d092552e5 ]. Closes #647
|
2010-04-30 03:52:39 +05:30 |
|
Mark Story
|
0daf6e4dba
|
Adding skeleton for addDetector.
|
2010-04-29 00:33:41 -04:00 |
|
Mark Story
|
a6ee9e352d
|
Expanding doc blocks for methods.
Adding ArrayAccess implementation and test cases.
|
2010-04-29 00:22:33 -04:00 |
|
Mark Story
|
476a76b7a4
|
Adding __get() and test cases.
|
2010-04-29 00:22:33 -04:00 |
|
Mark Story
|
c11095bc54
|
Adding __call() for undefined method handling. Tests added.
|
2010-04-29 00:22:33 -04:00 |
|
Mark Story
|
3a0ad6f1a8
|
Starting CakeRequest::is() and adding tests for various core is() types.
|
2010-04-29 00:22:32 -04:00 |
|
Mark Story
|
aab4a9413a
|
Adding CakeRequest::referer() and test cases.
|
2010-04-29 00:22:32 -04:00 |
|
Mark Story
|
64aafd36bb
|
Expanding coverage for CakeRequest. Expanding doc blocks in CakeRequest.
|
2010-04-29 00:22:32 -04:00 |
|
Mark Story
|
93f4c66035
|
Adding tests for CakeRequest's ability to munge through the FILES array. Fixing issue where files would be in the wrong place.
|
2010-04-29 00:22:32 -04:00 |
|
Mark Story
|
8f207a5f69
|
Moving getClientIp into CakeRequest. Moving relevant tests as well.
|
2010-04-29 00:22:32 -04:00 |
|
Mark Story
|
15a4607061
|
Fixing some issues with parameter handling. Adding test cases.
|
2010-04-29 00:22:32 -04:00 |
|