577 Commits

Author SHA1 Message Date
605c2d9eca yii\base\Model::load() typo fix 2014-12-30 10:09:48 +03:00
7aae667e28 Fixes #6618: Added Model::addErrors() 2014-12-26 23:05:59 +03:00
b6be7111c6 Fixes #6488: Support changing yii\base\Theme::basePath during runtime 2014-12-16 23:29:52 -05:00
ab0033542b Fixes #6247: Logger and error handler are now using slightly less memory 2014-12-17 00:39:54 +03:00
8956626845 Fixes #6518 [skip ci] 2014-12-14 19:06:18 -05:00
8b79293ff2 added missing @since annotations 2014-11-27 18:11:14 +01:00
3c63213de3 Added yii\base\Controller::renderContent() 2014-11-16 23:16:37 -05:00
fe546cd22f Fixes #5688: Added optional $formName to Model::loadMultiple() to support customizing form name directly 2014-11-07 10:47:38 -05:00
33b760eca2 [ci skip] Guide typos fixed 2014-11-04 13:05:47 +03:00
ecb113f1d0 fixed model serializtaion example 2014-11-01 14:05:56 +01:00
a92e214b9e Fixes #5770: Added more PHP error names for ErrorException 2014-10-31 09:52:45 -04:00
b2341edfcf add more default names of exceptions 2014-10-31 09:47:32 -04:00
186c843abc Merge pull request #5766 from mongosoft/feature
Code style fixes
2014-10-25 12:46:01 -04:00
899b778994 Correct type declarations 2014-10-25 16:35:50 +03:00
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
f1edafffaf PHPDoc comment doesn't contain all necessary @throws tag
close #5762
2014-10-25 12:47:08 +02:00
9061874bdb Fixes #5646: Call yii\base\ErrorHandler::unregister() instead of restore_*_handlers directly 2014-10-19 14:48:11 +04:00
2bebfee5aa Update Object.php 2014-10-17 01:31:02 +03:00
783d1ccaed typo fix
close #5454
2014-10-09 18:01:24 +02:00
f3a6b1985d do not call afterAction() if beforeAction returned false
fixes #5379
2014-10-07 15:21:21 +02:00
eec716d88f Fixes #4040: Added $viewFile and $params to the EVENT_BEFORE_RENDER and EVENT_AFTER_RENDER events for View. 2014-10-02 23:36:02 -04:00
710e70b8fd Fixes #2037: Dropped the support for using yii\base\Module as concrete module classes 2014-10-02 13:31:31 -04:00
858ceb5039 Added yii\base\Application::loadedModules 2014-09-30 21:36:29 -04:00
074c1f6c53 Merge branch 'master' into new-asset
Conflicts:
	apps/basic/composer.json
	composer.json
2014-09-16 20:03:53 -04:00
d82195706f UPGRADE and CHANGELOG notes for the Formatter changes 2014-09-10 17:56:25 +02:00
98079b84a2 Merge branch 'master' into Erik-r-2359-formatter-refactored
* master: (1112 commits)
  Removed unused "use" statements
  Fixed array syntax
  Removed unused "use" statements
  Перевод runtime-handling-errors.md на русский язык
  Mark tests with problematic DBMS as skipped.
  Fixes #3511: Dropped `yii.allowAction()` and modified `yii.confirm()` in `yii.js` to support callbacks
  Update runtime-url-handling.md
  Update runtime-url-handling.md
  Update runtime-url-handling.md
  Update runtime-url-handling.md
  Update runtime-url-handling.md
  Create runtime-url-handling.md
  Fixed test break.
  Fixes #3410: yii.activeForm.js now supports adding/removing fields dynamically
  Fixes #2914: `ActiveForm::fieldConfig` will be merged recursively with the `$options` parameter in `ActiveForm::field()`
  Fixes #4936 [skip ci]
  Reverted/fixed some incorrect changes.
  missing "." sign
  Fixed formatting, initialized options array
  Fixed phpdoc
  ...

Conflicts:
	framework/CHANGELOG.md
	framework/base/Formatter.php
	framework/i18n/Formatter.php
	tests/unit/framework/base/FormatterTest.php
	tests/unit/framework/i18n/FormatterTest.php
2014-09-07 20:44:48 +02:00
f8f0ff5445 moved formatter to i18n namespace 2014-09-07 20:40:34 +02:00
065db64db3 finsihed formatter implementation
neads cleanup
2014-09-07 20:35:15 +02:00
2a15ae12e6 refactored number formatting 2014-09-07 18:34:47 +02:00
a4e86c02de date formatter iteration 2014-09-07 15:54:57 +02:00
7f1f759472 small doc adjustments 2014-09-07 14:54:47 +02:00
e3ca5a8168 Reverted/fixed some incorrect changes. 2014-09-05 20:23:11 -04:00
73045c83b9 Simplified ArrayTrait::fields() default implementation since it works fine w/ just field names as values 2014-09-06 01:34:16 +04:00
73cb5f8aac changed syntax for referencing the guide in apidoc
New syntax:

```
[link to guide](guide:file-name.md)
[link to guide](guide:file-name.md#subsection)
```

fixes #4719
2014-09-05 14:59:22 +02:00
ef1a6d20d1 When an ID is found to be in both Application::controllerMap and Application::modules, the former will take precedence 2014-09-04 23:34:11 -04:00
3af08064b8 Fixes #4911: Changed callback signature used in yii\base\ArrayableTrait::fields() from function ($field, $model) { to function ($model, $field) { 2014-09-04 00:35:23 +04:00
60e07e0d2a new asset WIP: renabled asset publishing 2014-09-02 14:51:44 -04:00
6709154792 yii\base\ErrorHandler::handleError() adjusted keeping native error processing on error reporting miss match. 2014-08-19 12:42:41 +03:00
7d64e93c00 Merge branch 'master' of git://github.com/yiisoft/yii2 into dynamic-model-typo-fix 2014-08-13 15:51:26 +03:00
a83d441534 typo fix 2014-08-13 15:51:10 +03:00
00aab7c379 Fixed typo in comments for generatePasswordHash 2014-08-09 00:23:29 -04:00
dee0382c1f Added yii\base\InvalidValueException.
Refactored `yii\web\User`.
2014-08-06 10:07:14 -04:00
0ed6355ee1 test and docs to be clear about #4558 2014-08-01 15:35:23 +02:00
da544b2676 Fixes #4519: yii\base\Model::isAttributeRequired() should check if the when option of the validator is set 2014-07-29 21:01:24 -04:00
45ee387f92 It is not required by default when you set the "when" attribute 2014-07-29 20:59:21 -04:00
83b800271b Merge branch 'master' of git://github.com/yiisoft/yii2 2014-07-29 20:54:07 -04:00
a0d19e922b Fixes #4497: changed to use hex digits by default when hashing data. 2014-07-29 20:54:01 -04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
ca9d4867f4 code style 2014-07-29 22:23:59 +02:00
1f31f27787 phpdoc 2014-07-29 22:19:14 +02:00