Commit graph

501 commits

Author SHA1 Message Date
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
Juan Basso
50206f4315 Fixed invalid PhpDoc tag. 2011-04-28 21:25:18 -04:00
AD7six
54429837b4 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-04-28 15:17:24 +02:00
AD7six
d861a73327 update basics to match code standards
global functions are not indented
2011-04-28 15:16:55 +02:00
Jose Lorenzo Rodriguez
228230e67b Simplifying code 2011-04-27 00:15:42 -04:30
Juan Basso
84538ac10a Fixed the tests of MediaView in console/web. 2011-04-27 00:26:57 -04:00
Jose Lorenzo Rodriguez
ab9b7f44dc Merge remote-tracking branch 'origin/2.0' into 2.0 2011-04-26 23:44:56 -04:30
Jose Lorenzo Rodriguez
8da7e5fa82 Lazy loading models in controllers, now declaring multiple models in $uses is not a performance hit anymore 2011-04-26 23:44:32 -04:30
Thomas Ploch
bea666bb12 Removed JsBaseEngineHelper::$useNative. Removed json_encode() emulation from JsBaseEngineHelper::object(). Removed unnessecary call to get_object_vars() in JsBaseEngineHelper::object(). Removed unnessecary tests for equalness of emulation and native json_encode(). Added test for correct encoding of objects to JsHelper test case. Fixes #704 2011-04-26 22:35:33 -04:00
Juan Basso
1523ff6874 Moved the CakeEmail to Network/Email. Now this class have similar structure of HttpSocket. 2011-04-26 22:20:35 -04:00
evilbloodydemon
df57b15f89 Removed undefined variable in App::core, made test pass on Windows.
Signed-off-by: mark_story <mark@mark-story.com>
2011-04-26 22:18:51 -04:00
Juan Basso
1962e40c9a Added tests to get with queryparams and custom configs. Refs #1674. 2011-04-26 22:10:24 -04:00
Jose Lorenzo Rodriguez
3433d123d4 Removing model id assignment form passedArgs, as it causes unexpected results. Closes #536 2011-04-26 21:30:12 -04:30
Thomas Ploch
9db411d9e4 Added HttpSocket::config['request']['uri'] as parameter in HttpSocket::_parseUri() called by HttpSocket::get(). Now creates correct request array for GET if query params are given and the default request should be used. Fixes #1674. No tests modified since behaviour didn't change. 2011-04-26 19:15:25 -04:00
evilbloodydemon
1d7d20768f Fixed typo in variable name 2011-04-26 21:44:37 +04:00
mark_story
b31f25fb8b Fixing issues rendering repeat errors coming from the rendering of an error page (like a missing helper).
Test added. Fixes #1671
2011-04-25 21:09:53 -04:00
Renan Gonçalves
170ba71850 Changing the visiblity from private to protected, for extensibility sake. 2011-04-25 22:08:12 +02:00
Renan Gonçalves
9da76a8655 Fixing a couple of typos from last commit. 2011-04-25 21:35:27 +02:00
Renan Gonçalves
abbe5aaea2 Updating console to use i18n'ed strings. 2011-04-25 21:24:16 +02:00
Renan Gonçalves
3251faf8e9 Expliciting methods visibility.
No need to keep track of line anymore, token_get_all (PHP 5.2.2) returns it.
... and fixing some grammar typos on the way.
2011-04-25 21:24:07 +02:00
Renan Gonçalves
cd3529c986 Implementing support to multiline string in __*() calls. 2011-04-25 21:23:56 +02:00
Juan Basso
43a95a79fc Fixed the tests to run in Windows and different browsers. 2011-04-24 23:40:48 -04:00
Juan Basso
6ec61746fd Added the email folder to all network tests. 2011-04-24 23:40:46 -04:00
Juan Basso
96dd4a5c80 Fixed the tests in ThemeView and View that was affected by email changes. 2011-04-24 23:40:43 -04:00
Jose Lorenzo Rodriguez
3bb8833d82 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-04-24 00:59:05 -04:30
Jose Lorenzo Rodriguez
cc9c6b8fa6 Adding missing file from last commit 2011-04-24 00:58:42 -04:30
Jose Lorenzo Rodriguez
dfb669ab8e Allowing plugins to offer ExceptionRenderer classes 2011-04-24 00:56:48 -04:30
Juan Basso
7a13856e69 Fixed tests related with emails. 2011-04-24 01:10:33 -04:00
Juan Basso
24fbaafe01 Merge with 2.0-email. 2011-04-23 22:36:55 -04:00
Juan Basso
dc7808e63a Changed to use only the CAKE constant. 2011-04-23 22:29:05 -04:00
Juan Basso
6a7b42f1eb Renamed the default X-Mailer value. 2011-04-22 23:39:11 -04:00
Jose Lorenzo Rodriguez
682ec29b9b Moving tests around in the AllTests suite and making the CakeSocket tests pass again 2011-04-22 19:53:38 -04:30
Jose Lorenzo Rodriguez
97b57e9249 Fixing controller tests after validation changes 2011-04-22 17:16:38 -04:30
Jose Lorenzo Rodriguez
d9d5651ef5 Fixing a Multibyte test 2011-04-22 17:08:44 -04:30
Jose Lorenzo Rodriguez
1d384ec68f Reverting change for console help, and improving it so it returns help for the command intended to be run 2011-04-22 16:46:32 -04:30
Jose Lorenzo Rodriguez
63fd35b384 Merge branch 'unused-vars' of https://github.com/evilbloodydemon/cakephp into evilbloodydemon-unused-vars 2011-04-22 16:27:14 -04:30
Jose Lorenzo Rodriguez
3c4f616737 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-04-22 16:10:06 -04:30
Jose Lorenzo Rodriguez
fa1d7da56e Making shells return help if a ConsoleException is catched, like when passing bad parameters 2011-04-22 16:08:26 -04:30
AD7six
ac00dcbde2 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-04-22 22:29:32 +02:00
AD7six
658a1872ce show testcases sorted alphabetically 2011-04-22 22:29:02 +02:00
mark_story
9ce80c4f4a Adding files I forgot to commit :( 2011-04-22 16:03:42 -04:00
evilbloodydemon
f9db4270c6 Unused variables in Utility removed 2011-04-23 00:02:10 +04:00
evilbloodydemon
3c9cb3b97d Unused variables in Routing removed 2011-04-23 00:02:09 +04:00
evilbloodydemon
ad73c7038c Unused variables in Network removed 2011-04-23 00:02:08 +04:00