311 Commits

Author SHA1 Message Date
f9e58d92fc check error level in error handler 2014-02-08 17:44:13 +06:00
97917e6580 Revert "Added yii\base\Module::getParam($name, $defaultValue = null) to conveniently work with application parameters"
This reverts commit 3b95aa9cd1eb39a00a4d32f0e05ebd78f858dad3.
2014-02-05 23:18:36 +04:00
9c0572bff9 Fixed $model->load($data) returned true if $data and formName were empty 2014-02-05 22:08:47 +04:00
3b95aa9cd1 Added yii\base\Module::getParam($name, $defaultValue = null) to conveniently work with application parameters 2014-02-05 18:20:21 +04:00
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
d9d36006a7 Fixed default scenario constant in docs 2014-02-02 19:09:33 +04:00
214f66a8c1 skip exiting in test env.
see 0cfd41a21a (commitcomment-5238567)
issue #2233
2014-02-01 19:53:01 +01:00
91444b20c8 #2248: Renamed yii\base\Model::DEFAULT_SCENARIO to yii\base\Model::SCENARIO_DEFAULT 2014-02-01 01:06:08 +04:00
0cfd41a21a let application exit with code 1 on error/exception in console
fixes #2233
2014-01-31 15:01:05 +01:00
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
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
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
21ae27b306 updated phpdoc properties 2014-01-28 00:11:18 +01:00
c829dd6b47 added more tests. 2014-01-27 17:24:48 -05:00
18d7224ac8 Fixes #2149: Added yii\base\DynamicModel to support ad-hoc data validation 2014-01-27 16:13:25 -05:00
0367cebce6 Merge branch 'master'
Conflicts:
	framework/CHANGELOG.md
2014-01-27 00:24:13 +04:00
1444e14853 Fixed Widget::widget 2014-01-26 23:02:59 +04:00
d43c339670 Formatter::timeZone should take string only. 2014-01-26 12:49:55 -05:00
a2dca09e71 Modified phpdoc 2014-01-26 17:50:04 +04:00
db7e4a4401 Added echo output in case there's return 2014-01-26 17:44:19 +04:00
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
698d66a2c1 fixed test break 2014-01-25 19:01:32 -05:00
1ebe46c64a Fixed test break. 2014-01-25 17:53:15 -05:00
330ae053e6 remove timezone from i18n formatter 2014-01-26 01:42:36 +04:00
c8a9ed80c8 prevent changing public timezone 2014-01-26 00:51:17 +04:00
230f40c866 fix formatter 2014-01-26 00:32:21 +04:00
84bfc3fc88 add timeZone into base formatter 2014-01-25 23:51:35 +04:00
f6c6fe2777 Merge branch 'master'
Conflicts:
	framework/CHANGELOG.md
2014-01-23 20:13:23 +04:00
8735cdb54e doc link fixes 2014-01-23 15:28:12 +01:00
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
a5968a6ac6 Added beforeRun() and afterRun() to yii\base\Action 2014-01-22 16:36:00 -05:00
9aa006e5ea Removed implementation of Arrayable from yii\Object 2014-01-21 16:44:28 -05:00
7d33a5d3b5 Some Code style fixes 2014-01-19 13:35:36 -03:00
3e9a074394 Merge pull request #2050 from yiisoft/feature-fixture
Feature fixture
2014-01-18 21:08:55 -08:00
87be9deaf0 refactored fixture. 2014-01-18 16:18:33 -05:00
fc35bc1d49 Removing abstract in Module 2014-01-18 19:19:57 +02:00
6944ca1f94 Mark event as handled when filter decides to abort action
fixes #1984
2014-01-15 15:37:42 +01:00
aa5e82ec07 Fixes #1965: Controller::findLayoutFile() returns incorrect file path when layout name starts with a slash 2014-01-14 08:29:47 -05:00
349f2c9e32 phpdoc fixes, unused variable 2014-01-12 23:40:21 +04:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
b836665dfd Added beginPage and endPage events. 2013-05-08 17:36:34 -04:00
c5bad9ea1b Fixes issue #172: Added Object::className(). 2013-05-08 09:39:34 -04:00
2dd51d5b46 Fixes issue #177. 2013-05-08 07:16:48 -04:00
17807874b6 Fixes issue #53: implemented Menu. 2013-05-07 15:46:21 -04:00
48d04fbb8c !== array() => !empty() 2013-05-07 19:57:27 +04:00
7f35028bfe Merge pull request #147 from slavcodev/bug#146
Fix attaching behavior via config
2013-05-06 13:48:23 -07:00
a94c432311 Fix attaching behavior via config 2013-05-06 23:40:32 +03:00
1415c12c5a Changed default value of View::renderers. 2013-05-06 16:34:20 -04:00
3d40b171e0 Fix attaching behavior via config 2013-05-06 23:27:11 +03:00