Commit graph

105 commits

Author SHA1 Message Date
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
Juan Basso
40e8632408 Changed to translate messages using cake domain. 2011-04-12 23:37:50 -04:00
Juan Basso
935badff03 Fixed to MailTransport use configs intead Configure::read(). 2011-04-12 23:34:23 -04:00
Juan Basso
a9aef5600f Removed the object from ClassRegistry. It is not used in 2.0. 2011-04-12 23:32:26 -04:00
Juan Basso
3c703641b0 Changed the use of import to uses. 2011-04-12 23:31:07 -04:00
Juan Basso
50c21ccdfe Renamed the transport files to the new structure. 2011-04-12 22:34:45 -04:00
Juan Basso
fd248acadd Added the config to reset. 2011-04-12 22:17:36 -04:00
Juan Basso
22445e2583 Removed the read from Configure for X-Mailer. 2011-04-12 22:17:33 -04:00
Juan Basso
daa90ed2b2 Created the email class and a logic in CakeEmail. 2011-04-12 22:17:28 -04:00
Juan Basso
1814168ec7 Added kind of visibility to missed methods. 2011-04-12 22:17:12 -04:00
Juan Basso
90d1f62131 Changed others functions to remove the get/set by only one method. 2011-04-12 22:17:09 -04:00