561 Commits

Author SHA1 Message Date
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
8701d7df3b more explicit comment in phpdoc, code style 2014-07-29 02:45:56 +02:00
be24a2e2c7 Removed mentions of $deriveKeyStrategy from Security phpdoc 2014-07-28 13:36:06 +04:00
9e9175fe09 fixed typo
fixes #4480
2014-07-28 09:12:29 +02:00
b3260567c2 Mistype 2014-07-28 12:10:14 +08:00
33f2525a39 Remove nonsense branch logic 2014-07-27 14:30:13 -04:00
4f5b7afd95 Merge branch 'master' of git://github.com/yiisoft/yii2 into 4469-compareString-without-shortcut 2014-07-27 12:04:03 -04:00
c6a8b418ef compareString(): timing depends only on length of $actual input, unit test 2014-07-27 12:03:03 -04:00
56a9536b51 Typo in docs 2014-07-26 17:07:06 +02:00
b680afc721 Fixes #4462. 2014-07-26 10:08:52 -04:00
c5a3cd511e Security component adjustments: fixed comment style, hkdf() and pbkdf2() are now protected, compareString() is now public 2014-07-26 14:09:38 +04:00
2c5c2c101b Fixes #4131: Security adjustments 2014-07-26 03:29:30 +04:00
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
46b553f012 fixes formatter doing one division too much, fixes #4427 2014-07-24 15:55:21 +04:00
f3520187d6 formatter: adds unit tests for base 1000, fixes #4412 2014-07-24 14:57:52 +04:00
390a6c782e Fixes #4409: Upper case letters in subdirectory prefixes of controller IDs were not properly handled 2014-07-23 22:10:13 -04:00
8802d0305e Avoid method call in for condition 2014-07-23 16:42:41 +04:00