Commit Graph

576 Commits

Author SHA1 Message Date
Qiang Xue
c8cb40cb50 Finished view tutorial [skip ci] 2014-06-15 18:16:11 -04:00
Erik_r
a8ad3b83bd #2359 Bugfix in normalizeDatetimeValue after regression test 2014-06-13 16:02:20 +02:00
Erik_r
0a10e92f92 #2359 one test failed in Travis because standard medium date format is different in Travis then on my locale PC. 2014-06-13 10:40:40 +02:00
Qiang Xue
b489cada30 guide WIP [skip ci] 2014-06-12 20:40:31 -04:00
Erik_r
299d991a2e #2359 testcases adapted and compatibility to old tests improved 2014-06-12 16:45:25 +02:00
Erik_r
d80d9dcd1d remove comment lines in asRelativeTime 2014-06-11 12:14:42 +02:00
Erik_r
4dbf1fe7b2 Typo in function call #2359 2014-06-11 11:51:53 +02:00
Erik_r
cf960e891f Namespace corrected #2359 2014-06-11 11:26:44 +02:00
Erik_r
0995a740c8 Refactored formatter class #2359 which works with or without intl extension. Use PHP format patterns alsow with intl. Class is compatible with previous version. 2014-06-11 09:18:31 +02:00
Alexander Kochetov
7bce33f1da Excess \yii\base\Model::resolveFields() method removed 2014-06-10 04:21:16 +04:00
Kartik Visweswaran
7f788e7427 Fix #3756: Convert values to float for number formatting
Convert string values to floating point, so that `number_format` method can properly format values.
2014-06-09 19:35:13 +05:30
Alexander Makarov
c7d8439072 Fixes #3687: Default sourceLanguage and language are now en-US in order for i18n formatter to work correctly 2014-06-08 02:38:32 +04:00
Alexander Kochetov
a034fc2659 Additional Application property for $formatter 2014-06-07 05:18:12 +04:00
Qiang Xue
4d2cf38376 Fixes #3716: DynamicModel::validateData() does not call validate() if the $rules parameter is empty 2014-06-06 10:25:59 -04:00
Qiang Xue
d1e0a54553 guide WIP [skip ci] 2014-06-04 17:50:24 -04:00
Qiang Xue
b618920326 Fixed the bug that requesting protected or private action methods would cause 500 error instead of 404 2014-05-29 20:01:47 -04:00
Qiang Xue
d1ab9f72ae Finished application guide [skip ci] 2014-05-28 13:40:41 -04:00
Qiang Xue
5210573622 guide WIP [skip ci] 2014-05-28 08:44:39 -04:00
Alexander Makarov
1122da950c Adjustments according to comments on #3575 2014-05-25 03:49:15 +04:00
Alexander Makarov
07f30cb04c Fixes #3542: Removed requirement to specify extensions in application config 2014-05-24 18:11:59 +04:00
Qiang Xue
313437f3c0 Fixes #3284: Added support for checking multiple ETags by yii\filters\HttpCache. 2014-05-23 15:53:49 -04:00
Carsten Brandt
44d7d5fdd8 fixed wrong usage of @see 2014-05-23 19:18:25 +02:00
Carsten Brandt
e899406494 improved docs about application and module namespace
fixes #3539
2014-05-23 19:14:36 +02:00
Klimov Paul
1641e057a9 VarDumper::export() applied over framework. 2014-05-20 16:35:12 +03:00
Qiang Xue
a2aa20f183 simplified errorhandler registration. 2014-05-11 20:59:20 -04:00
Qiang Xue
32aa175b7c renamed ErrorHandler::deRegister to unregister. [skip ci] 2014-05-11 20:47:27 -04:00
Carsten Brandt
2e6e318720 added ErrorHandler::deRegister() 2014-05-11 21:18:34 +02:00
Carsten Brandt
8134af0edd allow using errorhandler from the app namespace
fixes #3431
2014-05-11 21:12:32 +02:00
Alexander Makarov
d0ddb56639 Fixes #699: fixed wrong usage of self and static 2014-05-06 20:05:41 +04:00
Carsten Brandt
c3fe4aa0fd @inheritdoc from interfaces and params 2014-05-06 15:59:52 +02:00
Qiang Xue
48c7e328c9 Finished behavior guide [skip ci] 2014-04-30 21:21:53 -04:00
Qiang Xue
5b6e79dc14 Fixes #3298: Supported configuring View::theme using a class name 2014-04-30 08:36:28 -04:00
Qiang Xue
7d31cba3a8 Finished event guide. [skip ci] 2014-04-29 19:03:06 -04:00
Qiang Xue
d954618796 Added support to insert an event handler at the beginning of class-level event handler queue 2014-04-29 18:31:54 -04:00
Carsten Brandt
c27ac8ef0e updated phpdoc 2014-04-26 03:39:46 +02:00
Qiang Xue
f48a7aedfa Fixes #3251: controller should be created using DI container. 2014-04-25 10:10:51 -04:00
Philippe Gaultier
20e96cca05 Fix DateTime cast 2014-04-24 17:06:44 +02:00
Carsten Brandt
119f0f0172 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  Refactored filter error display for GridView.
  Fixes #3008: Added `Html::errorSummary()`
2014-04-23 03:25:44 +02:00
Carsten Brandt
91965fd391 phpdoc formatting issues 2014-04-23 02:55:17 +02:00
Qiang Xue
c15aceb094 Refactored filter error display for GridView. 2014-04-22 20:46:23 -04:00
Carsten Brandt
0a3f4e85f1 made grid\DataColumn::getDataCellValue() public
allow using it from the gridview directly
2014-04-22 13:51:54 +02:00
Qiang Xue
7d8dfe52cd Fixed test break. 2014-04-20 14:59:13 -04:00
Kartik Visweswaran
b1a26ff336 Fix the Y2K38 bug
Adds support for timestamps beyond year 2038.
2014-04-20 19:08:08 +05:30
Alexander Makarov
d3277ecf4f InvalidCallException, InvalidParamException, UnknownMethodException are now extended from SPL BadMethodCallException 2014-04-19 02:00:19 +04:00
Alexander Makarov
4d235f9f8b Fixed exception message to match the one in Component 2014-04-19 01:59:19 +04:00
marsuboss
db244a61b2 Fix typo 2014-04-18 09:48:58 +02:00
Carsten Brandt
76d8e2b5b3 code style, fixes #3140 2014-04-17 13:24:16 +02:00
Thiago Talma
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
Qiang Xue
5fbb65ad81 Fixes #3121: yii\base\Application::bootstrap may fail to load some components if they are specified as class names 2014-04-16 12:17:55 -04:00
Qiang Xue
a4809bca1b Fixes #3091: Fixed inconsistent treatment of Widget::run() when a widget is used as a container and as a self-contained object 2014-04-14 20:07:16 -04:00