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
evilbloodydemon
255dc1c44b
Unused variables in I18n removed
2011-04-23 00:02:07 +04:00
evilbloodydemon
d484d90fe5
Unused variables in Controller removed
2011-04-23 00:02:06 +04:00
evilbloodydemon
cebcd64090
Unused variables in Console removed
2011-04-23 00:02:06 +04:00
evilbloodydemon
b6c4b8abb5
Unused variables in Core removed
2011-04-23 00:02:05 +04:00
AD7six
bb99f9bc13
removing clear from welcome
...
while it's superficially useful to start from a clean screen - it's
not actually helpful.
Quite often cake will issue setup errors which a user will not see
because they are immediately cleared. Users continue using the cli
unaware that they have (possibly significant) problems
2011-04-22 21:53:02 +02:00
Jose Lorenzo Rodriguez
495611b313
Fixing location of shared plugins folder
2011-04-22 15:14:37 -04:30
Jose Lorenzo Rodriguez
bb41ce8a6a
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-04-22 14:48:44 -04:30
mark_story
8eb24edb9e
Fixing paths and asserts for ShellTest.
2011-04-22 12:57:19 -04:00
mark_story
30dc37fada
Moving testsuites around to match packages. Adding more package suites.
2011-04-22 12:45:37 -04:00
mark_story
103a34777a
Fixing Engine tests not running.
2011-04-22 10:42:00 -04:00
Jose Lorenzo Rodriguez
8ff0330789
Preventing possible errors caused by sending headers when testing on cli
2011-04-22 09:03:55 -04:30
Jose Lorenzo Rodriguez
d8933fb773
Small change in use of App::build() in ErrorHanlderTest
2011-04-22 08:47:28 -04:30
mark_story
fd55066dd9
Fixing failing tests in ObjectTest.
2011-04-22 08:16:13 -04:00
mark_story
dbb3149c08
Merge branch '2.0-hiddenclass' into 2.0
2011-04-21 22:25:31 -04:00
Jose Lorenzo Rodriguez
bb8c41d1e4
Fixing more tests related to changes on model validation
2011-04-21 19:12:16 -04:30
Jose Lorenzo Rodriguez
d788301ec9
Fixing failing tests due to recent changes in model validation
2011-04-21 19:01:15 -04:30
Jose Lorenzo Rodriguez
e2591537ed
Fixing error in Task tests
2011-04-21 18:57:21 -04:30
Jose Lorenzo Rodriguez
8dc675335a
Small refactoring, and adding some App::uses() to avoid problems
2011-04-21 17:56:03 -04:30
Jose Lorenzo Rodriguez
a8c2dbfd72
Fixing tests related to PluginTask
2011-04-21 17:55:35 -04:30
Jose Lorenzo Rodriguez
cf73c1da3a
Removing refactoring artifact in TestsuiteShell
2011-04-21 13:31:34 -04:30
Jose Lorenzo Rodriguez
1014806c7b
Colorful error if not PHPUnit is found
2011-04-21 13:28:49 -04:30
Jose Lorenzo Rodriguez
8fa73e9650
Throwing an exception if no PHPUnit is installed and running from console
2011-04-21 13:26:50 -04:30
Juan Basso
636b48024d
Updated the EmailComponent test to be compatible with CakeEmail changes.
2011-04-21 00:09:33 -04:00
Juan Basso
ddb54b67df
Updated the method name in email component.
2011-04-21 00:00:58 -04:00
Juan Basso
fac5ae50d0
Moved the emails templates from elements to views. Renamed the path in layouts to keep the same name. Fixes #1415 .
2011-04-20 23:47:21 -04:00
Juan Basso
599d631f2f
Adapted to support mimetype and contentId in the attachments. Fixes #1201 .
2011-04-20 21:51:30 -04:00
mark_story
d124b6c05d
Removing class
from being excluded from the attributes applied to hidden inputs. Fixes #1124
2011-04-20 21:37:47 -04:00
Renan Gonçalves
4409ca0e28
Fixing typo on file name.
2011-04-20 23:50:54 +02:00
Jose Lorenzo Rodriguez
b1e74cff5b
Fixing more path generation for plugins, and typo from previous commit
2011-04-20 11:32:16 -04:30
Juan Basso
be4b9fcd02
The MIME version can be used in all types of e-mail. Fixes #14 .
2011-04-19 21:47:48 -04:00
Juan Basso
1fee549063
Ooops, removed debug call.
2011-04-19 20:25:09 -04:00
Juan Basso
e0b4623065
Added support to sender email. Fixes #13 .
2011-04-19 20:24:51 -04:00
Juan Basso
baba9fd270
Fixed phpdoc.
2011-04-19 19:48:52 -04:00
Juan Basso
98afe4e09b
Renamed the method fastSend to deliver.
2011-04-19 17:07:38 -04:00
evilbloodydemon
8443b66986
PhpDoc and naming fixes
2011-04-19 17:04:49 -04:00
Jose Lorenzo Rodriguez
147b04ab59
Fixing more paths in skel directory for project generation
2011-04-19 13:04:12 -04:30
Jose Lorenzo Rodriguez
254225372a
Fixing problem with skel generation in project task
2011-04-19 12:14:02 -04:30
Juan Basso
1004b1a168
Fixed the set of boundary.
2011-04-19 09:22:42 -04:00
mark_story
63275626ee
Adding backwards compatible cookie reading back into CookieComponent.
...
Cookie values using the 1.x formatting will be read, and upon next write
be converted to json encoded values.
Fixes #1593
2011-04-18 22:07:45 -04:00
mark_story
d4ff39206a
Making CookieComponent use json_encode instead of a custom
...
serialization. Fixes issues where values containing | or , would be
handled incorrectly. Fixes #1593
2011-04-18 22:07:45 -04:00
ADmad
961208c9be
Fixed incorrect Controller object property name usage in Email component. Closes #1661
2011-04-19 00:38:51 +05:30
AD7six
da9ee49db9
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-04-18 12:06:11 +02:00
AD7six
0c2bc7f015
bye bye webroot/css.php
2011-04-18 12:05:50 +02:00
Juan Basso
25705af8ed
Added the same email config sample of app/config to console skeleton.
2011-04-17 21:53:30 -04:00
Juan Basso
a1bcaa9d29
Created a static method to send fast emails.
2011-04-17 21:23:48 -04:00
Juan Basso
11331066ab
Setted EmailComponent as deprecated.
2011-04-17 21:21:09 -04:00
Juan Basso
5ea3b75b2f
CakeEmail::viewVars() now merge the param with previous config.
2011-04-17 20:57:57 -04:00
Juan Basso
7acdf1e436
Changed the method layout to template. Template is required to render, but layout is not.
2011-04-17 19:49:13 -04:00
Juan Basso
38f5d9da1f
Fixed issues related with email config.
2011-04-17 18:42:55 -04:00
Juan Basso
42ee001d71
Changed the classname of email config.
2011-04-17 18:42:55 -04:00
Juan Basso
96686e79bb
Added the html and text message in component.
2011-04-17 18:41:57 -04:00
Juan Basso
39236b3229
Removed from the tests the view from class registry.
2011-04-17 18:41:55 -04:00
Juan Basso
88f2c19336
Added the support to set variables in component.
2011-04-17 18:41:54 -04:00
Juan Basso
b2f948dfeb
Adjust partial of test case for EmailComponent.
2011-04-17 18:41:52 -04:00
Juan Basso
0bf8e3483b
Fixed methods to integrate with CakeEmail.
2011-04-17 18:41:51 -04:00
Juan Basso
1ee8ad6d8e
Removed more unused code.
2011-04-17 18:41:49 -04:00
Juan Basso
35c77b5a7a
Setting the additional parameters to mail transport.
2011-04-17 18:41:47 -04:00