Commit Graph

4779 Commits

Author SHA1 Message Date
Carsten Brandt
4653526262 moved common parts of db ActiveRelation and Query to traits
these parts can be reused in other ActiveRecord implementations
2013-10-29 12:20:52 +01: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
Qiang Xue
155e9c6cba minor refactoring of view resolving code. 2013-10-28 22:11:58 -04:00
Qiang Xue
0258c151e0 Merge pull request #1058 from klimov-paul/view-context-interface
Proposal: creating ViewContext interface to determine view name
2013-10-28 18:55:19 -07:00
Panagiotis Moustafellos
6e538ac63a Merge branch 'master' into cache-mset 2013-10-29 02:18:14 +02:00
Panagiotis Moustafellos
63d391b309 typo fix
s/value to be cached value/value to be cached/g
2013-10-29 01:03:22 +02:00
Panagiotis Moustafellos
8f8adb2a48 added phpdoc block for mset() 2013-10-29 00:43:26 +02:00
Alexander Mohorev
0d04846c08 php short echo syntax 2013-10-28 23:57:40 +03: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
66b27fcaf1 fixes #1092 2013-10-28 19:33:01 +01:00
Carsten Brandt
c0595895ed Merge pull request #1091 from cebe/messageformatter-refactoring
Messageformatter refactoring
2013-10-28 07:23:27 -07:00
Carsten Brandt
7bb4826a0b doc fix 2013-10-28 15:21:11 +01:00
Carsten Brandt
d637a76f56 add support for named arguments to messageformatter parse 2013-10-28 15:06:44 +01:00
Panagiotis Moustafellos
80e816efc3 pgsql: added 'bool' type (alias of 'boolean')
Relates #1086 and #1087
2013-10-28 14:39:09 +02:00
Qiang Xue
3c36b6d57e Merge pull request #1085 from cebe/messageformatter-refactoring
Messageformatter refactoring
2013-10-28 05:08:37 -07:00
resurtm
0b82575a0b Add missing @throws PHPDoc declaration. 2013-10-28 17:53:36 +06:00
Carsten Brandt
61b0d8824b support integer number type in fallback message formatter 2013-10-28 12:24:43 +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
3b05e71561 ensure parameter types in baselistview message
fixes #1072
2013-10-28 11:01:38 +01:00
Carsten Brandt
449eb84247 refactored message formatter 2013-10-28 01:54:31 +01:00
Алексей Волков
733263ba13 Update FallbackMessageFormatter.php
Fix declarations for yii\i18n\FallbackMessageFormatter::format() and yii\i18n\FallbackMessageFormatter::formatMessage()
2013-10-27 21:54:48 +02:00
Qiang Xue
b316ebee7f typo fix. 2013-10-27 10:16:10 -04:00
Carsten Brandt
5cd7976a95 Merge pull request #1079 from nukkumatti/master
Fixes issue #1078: Typo in comment
2013-10-27 05:10:21 -07:00
Gudz Taras
c50154fe3a Fixes issue #1078: Typo in comment 2013-10-27 12:23:26 +03:00
Qiang Xue
786163c13f Fixes #1075: changed the default value of GridView::empty. 2013-10-26 19:30:21 -04:00
Qiang Xue
e4299afac1 minor code refacotring. 2013-10-25 20:33:16 -04: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
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
2a71c72d7c fixes #1066: Added ActiveForm::validate() and validateMultiple() 2013-10-24 21:24:30 -04:00
Gudz Taras
5b1ba04a9d Fixes #1063 2013-10-25 04:10:26 +04:00
Gudz Taras
9c5ba231a1 Fixes issue #1063: Fatal Error while getting value from ActiveRelation generated by Gii 2013-10-25 01:49:37 +04:00
Alexander Makarov
c5801dc659 Merge pull request #1061 from nukkumatti/master
Fixes issue #858: Tabs::widget type problem
2013-10-24 10:03:50 -07:00
Gudz Taras
a80c2352ff Fixes issue #858: Tabs::widget type problem 2013-10-24 20:56:52 +04:00
Alexander Makarov
86c3fff07a Fixes autoreplacement 2013-10-24 20:51:22 +04:00
Paul Klimov
e0294ea724 'ViewContext' renamed to 'ViewContextInterface'. 2013-10-24 17:20:19 +03:00
Paul Klimov
83e353dd41 'ViewContext' interface extracted, files render workflow refactored to use this interface. 2013-10-24 16:55:48 +03:00
Alexander Makarov
28aa451557 Reverted 5.4 enhancements on requirements checked to be able to run it on lower PHP versions 2013-10-24 17:40:42 +04:00
Alexander Makarov
8c98d99596 Removed fallback from mb_parse_str to parse_str from Request::getRestParams since mb_ availability is Yii2 requirement 2013-10-24 17:06:40 +04:00
Alexander Makarov
e67b9a8482 Removed check for PHP 5.4 from Session::open() 2013-10-24 17:05:08 +04:00
Alexander Makarov
1af4ffd21a Fixes #1056: removed 5.3 compatibiltiy code from ArrayHelper::multisort, fixed phpdoc 2013-10-24 16:57:05 +04:00
Alexander Makarov
1c8d931b1e Merge pull request #1054 from lucianobaraglia/master
GII - more short echo syntax
2013-10-24 05:49:32 -07:00
Qiang Xue
9963d47f16 revert back the change about message class so that the class can be lazily loaded. 2013-10-24 07:20:10 -04:00