Commit graph

115 commits

Author SHA1 Message Date
Jose Lorenzo Rodriguez
cfd2d9e00b Updating all @package annotations in doc blocks 2011-07-26 01:46:14 -04:30
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
ce7ec44298 Importing Multibyte.
Fixes fatal errors when mbstring is not installed.
2011-06-19 22:42:56 -07:00
Juan Basso
d220ee5578 Implemented the support to use helpers in CakeEmail. Fixes #1754 2011-06-19 18:43:17 -04:00
Jose Lorenzo Rodriguez
6637d2544c Adding a Debug transport class to help users test their apps when sending emails 2011-06-17 17:55:36 -04:30
Juan Basso
cb88b952f4 Supporting template/layout in plugins for CakeEmail. Fixes #1743. 2011-05-31 22:57:08 -04:00
mark_story
282196a7cd Fixing doc block for CakeRequest::$data. Refs #1746 2011-05-31 21:48:41 -04:00
Juan Basso
192812ee7f Updating the copyright to 2011. 2011-05-30 22:32:43 -04:00
ADmad
4c042ae133 Adding proper visibility keywords for class functions 2011-05-29 03:31:34 +05:30
Juan Basso
3812ac70cb Fixed the default name of email transport. Fixes #1728. 2011-05-24 01:01:58 -04:00
AD7six
fe2ec74b0e correct paths to Config dir 2011-05-16 21:52:25 +02:00
Jose Lorenzo Rodriguez
4ee4e426f4 Fixing more tests failing in case sensitive systems 2011-05-15 20:38:56 -04:30
AD7six
0cb70ae3bb remove CONFIGS constant 2011-05-15 18:34:52 +02:00
mark_story
e857387a8e Fixing failing tests. 2011-05-04 23:08:10 -04:00
Jose Lorenzo Rodriguez
d83555cc52 Merge remote-tracking branch 'origin/1.3' into merger
Conflicts:
	cake/console/cake.php
	cake/dispatcher.php
	cake/libs/controller/components/auth.php
	cake/libs/controller/controller.php
	cake/libs/view/helpers/xml.php
	cake/libs/view/pages/home.ctp
	cake/libs/xml.php
	cake/tests/cases/console/cake.test.php
	cake/tests/cases/libs/controller/components/cookie.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo_source.test.php
	cake/tests/cases/libs/view/helpers/xml.test.php
	cake/tests/cases/libs/xml.test.php
	lib/Cake/Console/Command/SchemaShell.php
	lib/Cake/Controller/Component/CookieComponent.php
	lib/Cake/Network/Http/HttpSocket.php
	lib/Cake/TestSuite/Fixture/CakeTestFixture.php
	lib/Cake/VERSION.txt
	lib/Cake/View/Helper/FormHelper.php
	lib/Cake/View/Helper/TextHelper.php
	lib/Cake/View/Helper/TimeHelper.php
	lib/Cake/config/config.php
	lib/Cake/tests/Case/Cache/CacheTest.php
	lib/Cake/tests/Case/Model/CakeSchemaTest.php
	lib/Cake/tests/Case/TestSuite/CakeTestFixtureTest.php
2011-05-04 01:10:23 -04:30
mark_story
512e570202 Adding ability to map arbitrary content types and decoding methods to RequestHandlerComponent.
Removing hardcoded XML decoding, but continuing to provide the functionality.
Adding default support for JSON decoding.
Fixing stdin/input mixup.
Fixes #716
2011-05-01 10:21:00 -04:00
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
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
Juan Basso
50206f4315 Fixed invalid PhpDoc tag. 2011-04-28 21:25:18 -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
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
Juan Basso
24fbaafe01 Merge with 2.0-email. 2011-04-23 22:36:55 -04:00
Juan Basso
6a7b42f1eb Renamed the default X-Mailer value. 2011-04-22 23:39:11 -04:00
evilbloodydemon
ad73c7038c Unused variables in Network removed 2011-04-23 00:02:08 +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
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
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
Juan Basso
1004b1a168 Fixed the set of boundary. 2011-04-19 09:22:42 -04:00
Juan Basso
a1bcaa9d29 Created a static method to send fast emails. 2011-04-17 21:23:48 -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
ff5365d6ab Added support to return the html and text message. 2011-04-17 18:39:02 -04:00
Juan Basso
33ca64f505 Added support to set variables to be used in the render. 2011-04-17 18:38:25 -04:00
Juan Basso
d5938dd3c4 Support to multibyte in subject. 2011-04-17 18:38:02 -04:00
Juan Basso
c48db36196 Changed to be able to configure empty array in CakeEmail. 2011-04-17 18:37:31 -04:00
Juan Basso
3a5c04273e With class loading these code can be global. 2011-04-17 18:36:36 -04:00
Juan Basso
9ac5f9c349 Fixed the tests. 2011-04-13 00:24:27 -04:00
Juan Basso
3200e380d3 Created a new method to return the transport class before send. In some cases you need to do extra calls/configurations before send. 2011-04-13 00:04:37 -04:00
Juan Basso
f4f3bfe2fc Return the object when is set method. 2011-04-12 23:45:02 -04:00