Commit Graph

331 Commits

Author SHA1 Message Date
Alexander Makarov
9973a2fa20 Fixed phpdoc class reference in Theme 2014-03-04 00:56:13 +04:00
Qiang Xue
49010df192 Changed Controller::afterAction(), Module::afterAction() and ActionFilter::afterAction() to pass $result by value instead of reference 2014-02-27 10:52:17 -05:00
Carsten Brandt
33d6acba25 Improved behavior support, fixes #2550
call hasMethod() instead of using method_exists
2014-02-26 14:18:24 +01:00
Qiang Xue
6f9e9cd5b0 minor fix. 2014-02-26 08:02:54 -05:00
ivokund
7c63c6db3b Update Action.php
Fixed typo in runWithParams
2014-02-26 14:30:10 +02:00
Qiang Xue
f9648fed4e Fixed action beforeRun/afterRun calls. 2014-02-26 07:06:30 -05:00
Alexander Makarov
03b2fc3e58 Adjusted code formatting 2014-02-25 23:02:40 +04:00
Alexander Makarov
dab4f9d665 Merge branch '2524-formatter-format-file-size' of github.com:VinceG/yii2 into VinceG-2524-formatter-format-file-size
Conflicts:
	framework/CHANGELOG.md
2014-02-25 22:59:12 +04:00
Vincent
84a48ac93e updated changelog 2014-02-24 13:45:44 -08:00
Vincent
9f6cc54154 updated code according to code style and removed unused property 2014-02-24 13:26:55 -08:00
Vincent
3cb97fb8c8 updated formatting 2014-02-24 12:01:53 -08:00
Vincent
d12c8d5820 #2524 updated as size method to include translation and verbose mode 2014-02-24 10:57:36 -08:00
Carsten Brandt
8d2e68b40e removed duplicate arguments from base formattter 2014-02-24 17:19:01 +01:00
Vincent Gabriel
9427f4e76b no need for as number #2524 2014-02-23 16:36:17 -08:00
Vincent Gabriel
9e231eb8c8 added asSize method to format file size #2524 2014-02-23 16:23:05 -08:00
Qiang Xue
992f8edcb0 proper implementation of View::viewFile. 2014-02-21 16:41:33 -05:00
Qiang Xue
97d291ca6a Added View::viewFile and removed ViewEvent::viewFile 2014-02-21 16:31:59 -05:00
Carsten Brandt
8f491f2836 moved @include tags of api docs directly into the class 2014-02-20 21:30:47 +01:00
Florian Fackler
7b61873425 Changed Exception wording to be more clear 2014-02-09 09:13:16 +01:00
Florian Fackler
c600572f34 The missing Component.php tests 2014-02-08 21:11:03 +01:00
gureedo
f9e58d92fc check error level in error handler 2014-02-08 17:44:13 +06:00
Alexander Makarov
97917e6580 Revert "Added yii\base\Module::getParam($name, $defaultValue = null) to conveniently work with application parameters"
This reverts commit 3b95aa9cd1.
2014-02-05 23:18:36 +04:00
Alexander Makarov
9c0572bff9 Fixed $model->load($data) returned true if $data and formName were empty 2014-02-05 22:08:47 +04:00
Alexander Makarov
3b95aa9cd1 Added yii\base\Module::getParam($name, $defaultValue = null) to conveniently work with application parameters 2014-02-05 18:20:21 +04:00
Qiang Xue
00f34f390a Fixes #2303: Fixed the bug that yii\base\Theme::pathMap did not support dynamic update with path aliases 2014-02-04 07:40:57 -05:00
Alexander Makarov
d9d36006a7 Fixed default scenario constant in docs 2014-02-02 19:09:33 +04:00
Carsten Brandt
214f66a8c1 skip exiting in test env.
see 0cfd41a21a (commitcomment-5238567)
issue #2233
2014-02-01 19:53:01 +01:00
Alexander Makarov
91444b20c8 #2248: Renamed yii\base\Model::DEFAULT_SCENARIO to yii\base\Model::SCENARIO_DEFAULT 2014-02-01 01:06:08 +04:00
Carsten Brandt
0cfd41a21a let application exit with code 1 on error/exception in console
fixes #2233
2014-01-31 15:01:05 +01:00
Qiang Xue
6bc4a8cf94 Fixes #706: Added yii\widgets\Pjax and enhanced GridView to work with Pjax to support AJAX-update 2014-01-28 23:27:24 -05:00
Carsten Brandt
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
Carsten Brandt
f93054a486 fixed possible problem with realpath and false value
realpath(false) = current working directory.
This can cause problems with getAlias() which returns false.

see yiisoft/yii#3113
2014-01-28 14:28:39 +01:00
Carsten Brandt
21ae27b306 updated phpdoc properties 2014-01-28 00:11:18 +01:00
Qiang Xue
c829dd6b47 added more tests. 2014-01-27 17:24:48 -05:00
Qiang Xue
18d7224ac8 Fixes #2149: Added yii\base\DynamicModel to support ad-hoc data validation 2014-01-27 16:13:25 -05:00
Alexander Makarov
0367cebce6 Merge branch 'master'
Conflicts:
	framework/CHANGELOG.md
2014-01-27 00:24:13 +04:00
Alexander Makarov
1444e14853 Fixed Widget::widget 2014-01-26 23:02:59 +04:00
Qiang Xue
d43c339670 Formatter::timeZone should take string only. 2014-01-26 12:49:55 -05:00
Alexander Makarov
a2dca09e71 Modified phpdoc 2014-01-26 17:50:04 +04:00
Alexander Makarov
db7e4a4401 Added echo output in case there's return 2014-01-26 17:44:19 +04:00
Alexander Makarov
4023f4215a Allow writing widgets using return instead of echo in the run method to make it consistent with controller 2014-01-26 16:08:24 +04:00
Qiang Xue
698d66a2c1 fixed test break 2014-01-25 19:01:32 -05:00
Qiang Xue
1ebe46c64a Fixed test break. 2014-01-25 17:53:15 -05:00
Vladimir Zbrailov
330ae053e6 remove timezone from i18n formatter 2014-01-26 01:42:36 +04:00
Vladimir Zbrailov
c8a9ed80c8 prevent changing public timezone 2014-01-26 00:51:17 +04:00
Vladimir Zbrailov
230f40c866 fix formatter 2014-01-26 00:32:21 +04:00
Vladimir Zbrailov
84bfc3fc88 add timeZone into base formatter 2014-01-25 23:51:35 +04:00
Alexander Makarov
f6c6fe2777 Merge branch 'master'
Conflicts:
	framework/CHANGELOG.md
2014-01-23 20:13:23 +04:00
Carsten Brandt
8735cdb54e doc link fixes 2014-01-23 15:28:12 +01:00
Alexander Makarov
8bdc437bc2 Fixes #2079:
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
2014-01-23 04:51:17 +04:00