Lubos Remplik
985dcad802
MimeType audio/ogg added
2011-11-01 08:17:36 -07:00
Yasushi Ichikawa
4aeb5b461d
delete App::uses Multibyte class. It is no longer needed.
2011-10-31 23:47:36 +09:00
Yasushi Ichikawa
f39c683130
check mbstring.func_overload before using strlen()
2011-10-31 23:29:59 +09:00
Yasushi Ichikawa
e53287583e
return byte length instead of number of characters in Content-Length
2011-10-31 18:31:08 +09:00
Jose Lorenzo Rodriguez
9866882506
Not sending a content-length for redirection status codes that are not supposed to have any content
2011-10-27 23:18:49 -04:30
Jose Lorenzo Rodriguez
4a453cc384
Fixes #2175
...
Adding automatic Content-Length header to hint browser of the end of the response when using persistent connections
2011-10-27 22:15:37 -04:30
Maggion Emmanuel
3dc9fee5c0
Typo
2011-10-25 22:22:10 -04:00
mark_story
621cb43e93
Add Opera Mobi to mobile detectors.
...
This was missed in a merge with 1.3.
Fixes #2087
2011-10-24 21:12:06 -04:00
mark_story
8e69df9013
Revert "Fix RedirectRoute by stopping execution."
...
This reverts commit 841e7aa560
.
Having _stop() on CakeResponse seemed like the wrong place to stop
execution. It can make testing with redirects harder.
Instead RedirectRoute should be stopping execution.
2011-10-22 22:44:21 -04:00
mark_story
32b48ecc7c
Fix issue with missing base on redirect route.
...
The request data wasn't set in Router when redirect routes are processed.
This caused the base to become missing. This causes issues with applications
running in a subdirectory.
2011-10-22 18:48:31 -04:00
Majna
841e7aa560
Fix RedirectRoute by stopping execution.
...
If CakeResponse sends a Location header, it will stop execution.
This fixes issues with where a body would be sent with redirect headers.
Tests updated.
Fixes #2143
2011-10-22 13:22:28 -04:00
Graham Weldon
212028cda2
Remove comments, and fix debug transport for email.
2011-10-23 00:23:50 +11:00
Graham Weldon
2844f4a477
Fixed sending BCC with DATA for CakeEmail, as well as 7->8bit conversion tests passing
2011-10-23 00:20:37 +11:00
Graham Weldon
7ed6e041b9
Changed getContentTransferEncoding to protected
2011-10-22 15:24:26 +11:00
Norio Suzuki
712822ef83
add some test for ISO-2022-JP charset mails
2011-10-20 00:18:42 +09:00
Graham Weldon
86a081463c
Added content transfer encoding detection based on charset.
2011-10-19 16:02:31 +11:00
Graham Weldon
bd291456e8
Changed CakeEmail transport to 8bit
2011-10-19 15:20:55 +11:00
Jose Lorenzo Rodriguez
b38c0e50a4
Adding configuration options to CakeEmail to set the header encoding and body encoding, also translating
...
all string from the App.encoding value to the configured charset if they differ. This makes possible to
send correctly emails in japanese charset
2011-10-16 15:43:10 -04:30
mark_story
6bf6d79979
Removing 'cake' domain from core.
...
This domain was supposed to be replaced by cake_dev.
There are a number of translations that should be App land as well.
Such as those in helpers.
Fixes #2103
2011-10-14 21:01:17 -04:00
Majna
a5220fa7bb
Fixed doc block comments.
2011-10-11 00:22:23 +02:00
ADmad
dcb704a12b
Fixing bug where you couldn't set CakeRequest::$base to empty string using config variable App.base
2011-10-05 00:46:25 +05:30
mark_story
adcb80b5b9
Making the HtmlHelper a default helper for emails.
2011-10-01 22:55:04 -04:00
mark_story
c9bd97309f
Merge branch '1.3' into merger
...
Conflicts:
cake/libs/configure.php
cake/libs/controller/components/email.php
cake/libs/model/datasources/dbo/dbo_mysqli.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/controller/components/email.test.php
cake/tests/cases/libs/model/datasources/dbo_source.test.php
lib/Cake/Config/config.php
lib/Cake/Console/Command/Task/ViewTask.php
lib/Cake/Model/Datasource/DboSource.php
lib/Cake/Model/Model.php
lib/Cake/Test/Case/Model/ModelReadTest.php
lib/Cake/Test/Case/Model/ModelValidationTest.php
lib/Cake/Test/Case/Utility/InflectorTest.php
lib/Cake/Test/Case/View/Helper/FormHelperTest.php
lib/Cake/Utility/Inflector.php
lib/Cake/Utility/Validation.php
lib/Cake/VERSION.txt
lib/Cake/View/Helper.php
lib/Cake/View/Helper/FormHelper.php
2011-10-01 22:38:20 -04:00
Ceeram
883f579670
fixing duplicate emails being sent with MailTransport fixes #2022
2011-09-29 15:00:48 +02:00
mark_story
50a0a51f53
Renaming method to better match what it does.
2011-09-24 21:56:37 -04:00
mark_story
ceed424770
Updating doc blocks.
2011-09-21 22:30:02 -04:00
Maggion Emmanuel
d675b4270d
Fixed typo
2011-09-05 13:23:26 +03:00
Mark Story mark@mark-story.com
e2f48b4a95
Refactoring how q values are parsed, as content types were
...
reversed for similar q value types. This causes issues in
RequestHandlerComponent.
2011-09-01 00:20:54 +01:00
Jose Lorenzo Rodriguez
b9b7516945
Merge remote-tracking branch 'ceeram/2.0-email' into 2.0
...
Conflicts:
lib/Cake/Network/Email/AbstractTransport.php
lib/Cake/Network/Email/CakeEmail.php
lib/Cake/Network/Email/DebugTransport.php
lib/Cake/Network/Email/MailTransport.php
lib/Cake/Network/Email/SmtpTransport.php
2011-08-31 17:39:41 -04:30
Ceeram
0b00fb4fe0
fixing bug in deliver(), and adding more tests
2011-08-29 17:13:41 +02:00
Ceeram
3be9a8a5e8
debugtransport now also returns in correct format as stated in RFC 2822 2.3, updated tests
2011-08-29 11:21:46 +02:00
Ceeram
2efa3b0377
optmizing CakeEmail, and improving tests, transport class config() now returns configs array if no array is passed
2011-08-29 03:11:30 +02:00
mark_story
1a872e6544
Fixing CakeRequest::accepts() where ;q values on Accept header
...
were not respected.
Fixes #1940
2011-08-27 11:39:22 -04:00
Jose Lorenzo Rodriguez
f94394f582
Removing routing url from query string in CakeRequest. This happens mostly with nginx setups
2011-08-27 01:29:50 -04:30
Juan Basso
7d0250ff47
Merge branch '2.0-api-doc' into 2.0
2011-08-26 20:22:26 -04:00
Ceeram
9300f094a5
fixing output for logs and accept log level from configs
2011-08-26 09:33:49 +02:00
mark_story
5955cc6ed7
Adding trimming of Accept headers to CakeRequest.
...
Fixes #1684
2011-08-25 22:28:02 -04:00
Ceeram
9e0ff5ad88
add Cakelog to send(), transport classes now all return in same format, fixing some typos
2011-08-26 02:31:18 +02:00
Ceeram
c93274a528
dropping first parameter for _applyConfig()
2011-08-25 16:50:30 +02:00
Ceeram
4cc5295400
more refactoring of CakeEmail
2011-08-25 16:03:39 +02:00
Ceeram
0b8a3069eb
removing duplicate code, config() already applies configs now
2011-08-24 16:58:51 +02:00
Juan Basso
f7f3515135
Fixed documentation to methods that use func_get_args().
2011-08-21 21:45:34 -04:00
Juan Basso
f5a54d00dd
Changed methods and attributes from private to protected.
2011-08-20 00:43:34 -04:00
Juan Basso
0575e92833
Added visibility in some methods and attributes.
2011-08-18 22:30:28 -04:00
Ceeram
138aae670a
CakeEmail constructor now accepts $config
2011-08-17 23:15:57 +02:00
Ceeram
803cd287c2
config() will apply configs from email.php if string is passed
2011-08-17 23:11:49 +02:00
Juan Basso
16ef234180
Removing trailing spaces.
2011-08-15 23:55:08 -04:00
Juan Basso
620a65b2fc
Merge branch '2.0' into 2.0-api-doc
...
Conflicts:
lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
lib/Cake/Utility/Debugger.php
2011-08-14 21:12:05 -04:00
mark_story
e4a7c8f3d7
Cleanup of minor issues found with phpmd.
2011-08-06 21:15:31 -04:00
Juan Basso
895c10af7b
Adjusted some types in @param, @return and @var.
2011-07-31 22:57:17 -04:00