Commit Graph

3198 Commits

Author SHA1 Message Date
Paul Klimov
104cfd7cb2 'yii\mail\MessageInterface' methods renamed: 'text' to 'textBody', 'html' to 'htmlBody' 2013-11-07 12:22:24 +02:00
Paul Klimov
1aafa73e15 Render methods removed from 'yii\mail\MessageInterface'.
Method 'yii\mail\MailerInterface::compose()' reworked allowing rendering message body.
2013-11-07 12:18:07 +02:00
Alexander Makarov
a65734abc3 Merge pull request #1152 from yiisoft/view-refactoring
Refactored View
2013-11-06 12:45:45 -08:00
Carsten Brandt
0ea05a6460 added unit tests for logger and log target
related to #1151
2013-11-06 20:26:49 +01:00
Alexander Makarov
927e9dddb4 Refactored View 2013-11-06 22:52:27 +04:00
Paul Klimov
ad7761f96a Method 'yii\mail\MessageInterface::compose()' renamed to 'yii\mail\MessageInterface::message()'. 2013-11-06 13:27:07 +02:00
Paul Klimov
3d1a625cbb 'yii\mail\MessageInterface' updated:
- 'body()' renamed to 'renderBody()'
- new 'body()' method introduced
2013-11-06 12:48:44 +02:00
Paul Klimov
b0c5981d42 Method names "yii\mail\MessageInterface" simplified. 2013-11-06 12:28:39 +02:00
Klimov Paul
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
Klimov Paul
45d02d07a0 Method 'yii\mail\MessageInterface::body()' added. 2013-11-05 15:45:27 +02:00
Klimov Paul
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
Carsten Brandt
c0506b8cff skipping apc for php 5.5 on travis 2013-11-05 12:42:20 +01:00
Carsten Brandt
58589e03bd improved asset converter command running
now also gets stderr output.

fixes #1140
2013-11-05 12:25:29 +01:00
Carsten Brandt
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
Klimov Paul
c7e054789e Unit test for 'yii\swiftmailer\Message' serialization added. 2013-11-04 15:45:01 +02:00
Klimov Paul
487ee6e098 Unit test for 'yii\swiftmailer\Message' advanced. 2013-11-04 15:07:30 +02:00
Klimov Paul
ef6fea9610 Unit test 'BaseMessageTest' created 2013-11-04 13:24:22 +02:00
Paul Klimov
368c244768 MessageInterface::render() replaced by MessageInterface::renderHtml() and MessageInterface::renderText() 2013-11-04 11:52:33 +02:00
Qiang Xue
9862ee35b2 Fixes #1115: fixed the issue with PDO boolean value binding with pgsql 2013-11-03 18:51:16 -05:00
Carsten Brandt
433958b40c removed sqlite specific test as it is the same as base AR test now 2013-11-03 15:50:11 +01:00
Qiang Xue
26c7f6d62f Fixed sqlite column type detection bug. 2013-11-03 09:02:17 -05:00
Carsten Brandt
c8c377e698 skip test on postgres 2013-11-01 18:10:57 +01:00
Carsten Brandt
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
Carsten Brandt
937a55f4fa fixed unit test for sqlite 2013-11-01 17:39:49 +01:00
Carsten Brandt
f153ce443a reverted non working fix for #1115 2013-11-01 17:20:19 +01:00
Carsten Brandt
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
Paul Klimov
f7b7c758b6 Sphinx test environment setup files added. 2013-11-01 16:52:31 +02:00
Paul Klimov
e0429ca44c Sphinx extensions skeleton created. 2013-11-01 14:51:36 +02:00
Qiang Xue
8b00693a0a Fixes #1025: Implemented support for class-level events. 2013-10-30 00:12:48 -04:00
Carsten Brandt
06a91d6271 fixed unit tests for cubrid and postgresql
both do not support unsigned integers
2013-10-29 19:10:47 +01:00
Carsten Brandt
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
Paul Klimov
4c27d887ca Merge branch 'master' of github.com:yiisoft/yii2 into email-swift-2 2013-10-29 16:12:17 +02:00
Paul Klimov
99d8216103 Email message charset setup added. 2013-10-29 16:11:57 +02:00
Carsten Brandt
842971c44d set error_reporting for tests 2013-10-29 15:05:38 +01:00
Paul Klimov
1d0891f0f6 'yii\mail\MessageInterface' methods 'addText()' and 'addHtml()' removed. 2013-10-29 16:04:20 +02:00
Carsten Brandt
15a9b04fcc simplified travis env check for memcache(d) 2013-10-29 13:54:55 +01:00
Carsten Brandt
f5c25e0858 travis memcache env check: try again 2013-10-29 13:49:00 +01:00
Carsten Brandt
a75c07be22 print travis ENV 2013-10-29 13:35:15 +01:00
Carsten Brandt
0e3d48f288 skip expiry test for memcache on travis
fixes #877
2013-10-29 13:10:51 +01:00
Paul Klimov
774c4db860 'yii\mail\MessageInterface' file related methods interface adjusted to use options, embed file methods added. 2013-10-29 14:06:16 +02:00
Paul Klimov
35429fbd44 'yii\mail\ViewResolve' removed.
Interface 'ViewContextInterface' applied to BaseMailer.
2013-10-29 12:34:08 +02:00
Paul Klimov
5bc22a077f Interface 'MailerInterface' extracted.
Method 'MailerInterface::createMessage()' added.
2013-10-29 12:13:26 +02:00
Paul Klimov
31ea3f897f Merge branch 'master' of github.com:yiisoft/yii2 into email-swift-2 2013-10-29 11:18:44 +02:00
Panagiotis Moustafellos
6e538ac63a Merge branch 'master' into cache-mset 2013-10-29 02:18:14 +02:00
Panagiotis Moustafellos
3ebbab0284 marked mset() test incomplete 2013-10-29 00:49:31 +02:00
Panagiotis Moustafellos
4cf05205d4 added cache mset() base test 2013-10-29 00:18:22 +02:00
Alexander Mohorev
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
Carsten Brandt
a043be3ef9 added README for unit tests
as requested in issue #1084
2013-10-28 15:48:57 +01:00
Carsten Brandt
d637a76f56 add support for named arguments to messageformatter parse 2013-10-28 15:06:44 +01:00
Carsten Brandt
4d03699907 fixed fallback message format parameter order 2013-10-28 12:09:26 +01:00