Commit Graph

467 Commits

Author SHA1 Message Date
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
Qiang Xue
8bbcff70db prepare for 2.0.0-beta release. 2014-04-13 17:58:59 -04:00
Qiang Xue
a6136e1b16 Renamed yii\web\User::checkAccess() to yii\web\User::can() 2014-04-12 19:14:50 -04:00
Carsten Brandt
c6e1a2f02f Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2: (79 commits)
  Refactored app bootstrap logic.
  Update authorization.md
  Fixes #3052: Fixed the issue that cache dependency data is not reused when `reusable` is set true
  start debug logging only if debug runs when bootstrap.
  Update finnish translation
  Add ODBC support to yii\db\Connection
  updated error handler and requirement checker links.
  fixed broken API links [skip ci]
  added more doc [skip ci]
  update class map.
  Fixes #2034: Added `ContentNegotiator` to support response format and language negotiation
  renamed attributes to attributeNames in model
  updated phpdoc
  Removed `Application::preload` in favor of `Application::bootstrap`
  Update module-debug.md
  Update model.md
  Fixes
  Update basics.md
  typo fix [skip ci]
  Added `HtmlResponseFormatter` and `JsonResponseFormatter`
  ...
2014-04-10 22:22:36 +02:00
Carsten Brandt
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
Qiang Xue
ea75177abc Refactored app bootstrap logic. 2014-04-10 15:05:01 -04:00
Qiang Xue
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
Carsten Brandt
fa767ceaca renamed attributes to attributeNames in model
fixes #3034
2014-04-09 18:54:53 +02:00
Carsten Brandt
3fdcf11f24 updated phpdoc 2014-04-09 18:51:45 +02:00
Qiang Xue
586f5b87b0 Removed Application::preload in favor of Application::bootstrap 2014-04-09 10:47:10 -04:00