Commit Graph

317 Commits

Author SHA1 Message Date
Carsten Brandt
8d2e68b40e removed duplicate arguments from base formattter 2014-02-24 17:19:01 +01: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
Qiang Xue
a5968a6ac6 Added beforeRun() and afterRun() to yii\base\Action 2014-01-22 16:36:00 -05:00
Qiang Xue
9aa006e5ea Removed implementation of Arrayable from yii\Object 2014-01-21 16:44:28 -05:00
Luciano Baraglia
7d33a5d3b5 Some Code style fixes 2014-01-19 13:35:36 -03:00
Qiang Xue
3e9a074394 Merge pull request #2050 from yiisoft/feature-fixture
Feature fixture
2014-01-18 21:08:55 -08:00
Qiang Xue
87be9deaf0 refactored fixture. 2014-01-18 16:18:33 -05:00
Veaceslav Medvedev
fc35bc1d49 Removing abstract in Module 2014-01-18 19:19:57 +02:00
Carsten Brandt
6944ca1f94 Mark event as handled when filter decides to abort action
fixes #1984
2014-01-15 15:37:42 +01:00
Qiang Xue
aa5e82ec07 Fixes #1965: Controller::findLayoutFile() returns incorrect file path when layout name starts with a slash 2014-01-14 08:29:47 -05:00
Alexander Makarov
349f2c9e32 phpdoc fixes, unused variable 2014-01-12 23:40:21 +04:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
Qiang Xue
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
Qiang Xue
b836665dfd Added beginPage and endPage events. 2013-05-08 17:36:34 -04:00
Qiang Xue
c5bad9ea1b Fixes issue #172: Added Object::className(). 2013-05-08 09:39:34 -04:00
Qiang Xue
2dd51d5b46 Fixes issue #177. 2013-05-08 07:16:48 -04:00