791 Commits

Author SHA1 Message Date
b0c5981d42 Method names "yii\mail\MessageInterface" simplified. 2013-11-06 12:28:39 +02:00
28b032737d Method 'yii\mail\BaseMailer::compose()' updated, allowing composition of the complex methods like 'renderText' and 'body'. 2013-11-05 16:09:24 +02:00
45d02d07a0 Method 'yii\mail\MessageInterface::body()' added. 2013-11-05 15:45:27 +02:00
87af95f712 'yii\mail\MessageInterface' updated:
- setter methods renamed to have pure name
- method 'createMessage' renamed to 'compose'
2013-11-05 14:57:13 +02:00
c0506b8cff skipping apc for php 5.5 on travis 2013-11-05 12:42:20 +01:00
58589e03bd improved asset converter command running
now also gets stderr output.

fixes #1140
2013-11-05 12:25:29 +01:00
a0b0d42b46 fixed message formatting for all the ICU versions
- refactored replaceNamedArguments.
- ensure gridview message works on all systems.

fixes #1072
2013-11-04 15:05:38 +01:00
c7e054789e Unit test for 'yii\swiftmailer\Message' serialization added. 2013-11-04 15:45:01 +02:00
487ee6e098 Unit test for 'yii\swiftmailer\Message' advanced. 2013-11-04 15:07:30 +02:00
ef6fea9610 Unit test 'BaseMessageTest' created 2013-11-04 13:24:22 +02:00
368c244768 MessageInterface::render() replaced by MessageInterface::renderHtml() and MessageInterface::renderText() 2013-11-04 11:52:33 +02:00
9862ee35b2 Fixes #1115: fixed the issue with PDO boolean value binding with pgsql 2013-11-03 18:51:16 -05:00
433958b40c removed sqlite specific test as it is the same as base AR test now 2013-11-03 15:50:11 +01:00
26c7f6d62f Fixed sqlite column type detection bug. 2013-11-03 09:02:17 -05:00
c8c377e698 skip test on postgres 2013-11-01 18:10:57 +01:00
ee1689da03 some more on active record unit tests and sqlite
sqlite does not seem to allow using boolean values in select query
2013-11-01 17:57:28 +01:00
937a55f4fa fixed unit test for sqlite 2013-11-01 17:39:49 +01:00
f153ce443a reverted non working fix for #1115 2013-11-01 17:20:19 +01:00
e5a1244e0f moved unit test from cubrid to general
should be tested for all dbms not only cubrid even if the problem may
not exist in all of them it is good to verify that.
2013-11-01 16:46:41 +01:00
f7b7c758b6 Sphinx test environment setup files added. 2013-11-01 16:52:31 +02:00
e0429ca44c Sphinx extensions skeleton created. 2013-11-01 14:51:36 +02:00
8b00693a0a Fixes #1025: Implemented support for class-level events. 2013-10-30 00:12:48 -04:00
06a91d6271 fixed unit tests for cubrid and postgresql
both do not support unsigned integers
2013-10-29 19:10:47 +01:00
34945b0b69 added unit test to verify storing of null values
http://www.yiiframework.com/forum/index.php/topic/48359-inserting-nulls/page__view__findpost__p__226019
2013-10-29 18:27:20 +01:00
4c27d887ca Merge branch 'master' of github.com:yiisoft/yii2 into email-swift-2 2013-10-29 16:12:17 +02:00
99d8216103 Email message charset setup added. 2013-10-29 16:11:57 +02:00
842971c44d set error_reporting for tests 2013-10-29 15:05:38 +01:00
1d0891f0f6 'yii\mail\MessageInterface' methods 'addText()' and 'addHtml()' removed. 2013-10-29 16:04:20 +02:00
15a9b04fcc simplified travis env check for memcache(d) 2013-10-29 13:54:55 +01:00
f5c25e0858 travis memcache env check: try again 2013-10-29 13:49:00 +01:00
a75c07be22 print travis ENV 2013-10-29 13:35:15 +01:00
0e3d48f288 skip expiry test for memcache on travis
fixes #877
2013-10-29 13:10:51 +01:00
774c4db860 'yii\mail\MessageInterface' file related methods interface adjusted to use options, embed file methods added. 2013-10-29 14:06:16 +02:00
35429fbd44 'yii\mail\ViewResolve' removed.
Interface 'ViewContextInterface' applied to BaseMailer.
2013-10-29 12:34:08 +02:00
5bc22a077f Interface 'MailerInterface' extracted.
Method 'MailerInterface::createMessage()' added.
2013-10-29 12:13:26 +02:00
31ea3f897f Merge branch 'master' of github.com:yiisoft/yii2 into email-swift-2 2013-10-29 11:18:44 +02:00
6e538ac63a Merge branch 'master' into cache-mset 2013-10-29 02:18:14 +02:00
3ebbab0284 marked mset() test incomplete 2013-10-29 00:49:31 +02:00
4cf05205d4 added cache mset() base test 2013-10-29 00:18:22 +02:00
51211898f8 Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis. 2013-10-28 23:51:48 +03:00
a043be3ef9 added README for unit tests
as requested in issue #1084
2013-10-28 15:48:57 +01:00
d637a76f56 add support for named arguments to messageformatter parse 2013-10-28 15:06:44 +01:00
4d03699907 fixed fallback message format parameter order 2013-10-28 12:09:26 +01:00
bcd1ad11a4 refactored MessageFormatter 2013-10-28 11:59:49 +01:00
2d5377042b Merge branch 'master' of github.com:yiisoft/yii2 into email-swift-2 2013-10-28 12:25:09 +02:00
29ef541980 Merge branch 'master' into messageformatter-refactoring
* master:
  ensure parameter types in baselistview message
  added unit test to verify AR afterSave isNewRecord value
2013-10-28 11:05:37 +01:00
c62e0cbbfb added unit test to verify AR afterSave isNewRecord value
closes #1084
2013-10-28 10:48:18 +01:00
449eb84247 refactored message formatter 2013-10-28 01:54:31 +01:00
73a8e77c3d BaseMailer::defaultMessageConfig published as BaseMailer::messageConfig 2013-10-25 17:03:33 +03:00
d33519e3e5 Method 'MessageInterface::__toString()' added 2013-10-25 16:58:30 +03:00