Commit Graph

914 Commits

Author SHA1 Message Date
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
Alexander Makarov
c127171efb Fixes #1003: DateValidator returned true for invalid dates 2013-10-24 02:31:05 +04:00
Carsten Brandt
3631890cba fixed failing validator tests 2013-10-24 00:00:32 +02:00
Carsten Brandt
cfc57c20f0 Allow ITU message format in validator messages
fixes #991
2013-10-23 20:25:38 +02:00
Alexander Makarov
2a4a5256fe Merge pull request #1044 from cebe/intl-message-fallback
Intl message fallback
2013-10-23 10:36:06 -07:00
Carsten Brandt
750267a821 fix tests when intl is not installed 2013-10-23 19:32:43 +02:00
Carsten Brandt
5b9b97276e implemented plural and select for fallback intl message formatter 2013-10-23 19:13:04 +02:00
Paul Klimov
b611c4241f Email message interface extracted. 2013-10-23 17:12:33 +03:00
Paul Klimov
e5e0de8c8f '\yii\email\ViewResolver' added.
Email message render functionality added.
2013-10-23 16:33:25 +03:00
Paul Klimov
88126bc4d3 Unit tests for \yii\email\swift have been improved.
Methods 'addText' and 'addHtml' added to \yii\email\BaseMessage.
2013-10-23 12:19:01 +03:00
Paul Klimov
492f35621c Email components hierarchy created.
SwiftMailer applied as email solution.
2013-10-22 17:22:08 +03:00
Qiang Xue
fb8e818204 Dropped support for supporting default namespace for classes of related models. 2013-10-21 23:55:20 -04:00
Alexander Makarov
c2dabfa78e Adjusted short tags 2013-10-20 00:59:56 +04:00
Qiang Xue
f130dca199 Fixed test break. 2013-10-18 22:02:28 -04:00
Alexander Makarov
005c006b69 typo fix 2013-10-18 21:01:34 +04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Alexander Makarov
24bc980da4 Replaced "<?php echo" with "<?=" that is always available for PHP 5.4 2013-10-18 14:09:11 +04:00
Alexander Makarov
6b65ef5882 Added intl check to tests, better error reporting, credited Aura.Intl for the most complex test pattern 2013-10-17 02:15:46 +04:00
Alexander Makarov
71e2dcc6d5 Better MessageFormatter tests 2013-10-17 01:53:32 +04:00
Carsten Brandt
61fe888780 Merge branch 'master' into i18n-icu
* master: (103 commits)
  fixed broken test after whitespace changes in view
  Removed the extra EOLs.
  I add new line in methods that render code in the head and for body
  GII update button style
  GII create object button style [skip ci]
  Fixes #980: Changed the default way of generating action URLs for ActionColumn.
  View default value for $params
  adjusted cubrid version in schema quote
  removed cubrid env from tavis.yml
  simplified cubrid db install on travis
  fixed cubrid schema test for pdo type
  fixed validator test break
  added cubrid specific pdo type casting
  Updated FileValidator tests
  Better AR connection init in tests
  Removed @codeCoverageIgnore
  no xss for attribute error messages that contain {value}
  Clientvalidation {value} was not what has been validated
  moved getPdoType() to Schema.
  optimized datepick js code.
  ...
2013-10-16 22:04:17 +02:00
Carsten Brandt
5d6bad5faa fixed I18N handling of special param values and broken message tags 2013-10-16 20:59:54 +02:00
Carsten Brandt
e574f10c8c fixed broken test after whitespace changes in view 2013-10-16 20:28:07 +02:00