Commit Graph

885 Commits

Author SHA1 Message Date
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
Carsten Brandt
bcd1ad11a4 refactored MessageFormatter 2013-10-28 11:59:49 +01:00
Paul Klimov
2d5377042b Merge branch 'master' of github.com:yiisoft/yii2 into email-swift-2 2013-10-28 12:25:09 +02:00
Carsten Brandt
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
Carsten Brandt
c62e0cbbfb added unit test to verify AR afterSave isNewRecord value
closes #1084
2013-10-28 10:48:18 +01:00
Carsten Brandt
449eb84247 refactored message formatter 2013-10-28 01:54:31 +01:00
Paul Klimov
73a8e77c3d BaseMailer::defaultMessageConfig published as BaseMailer::messageConfig 2013-10-25 17:03:33 +03:00
Paul Klimov
d33519e3e5 Method 'MessageInterface::__toString()' added 2013-10-25 16:58:30 +03:00
Paul Klimov
4a9d546c79 'MessageInterface::createAttachment()' renamed to 'MessageInterface::attachContentAsFile()' 2013-10-25 16:08:14 +03:00
Paul Klimov
c7c32659b0 Vendor testing support provided.
'swiftmailer' extension unit tests fixed.
2013-10-25 14:49:43 +03:00
Paul Klimov
2a326c7d7b 'email' renamed to 'mail'.
'SwiftMailer' recomposed into extension.
2013-10-25 13:15:36 +03:00
Paul Klimov
a3dd0d57b4 Merge branch 'master' of github.com:yiisoft/yii2 into email-swift-2 2013-10-25 12:24:33 +03:00
Qiang Xue
9f7ca5d222 Merge pull request #1051 from cebe/validator-message-format
Validator message format
2013-10-23 16:49:08 -07:00
Alexander Makarov
ee2af2661c Removed unneeded use statements 2013-10-24 03:12:25 +04:00