Commit Graph

7547 Commits

Author SHA1 Message Date
Carsten Brandt
597e470cfa Merge pull request #3001 from hiltonjanfield/patch-1
Clarify new usage of yii\web\View::render()
2014-04-06 22:24:23 +02:00
hiltonjanfield
87a6cf58af Clarify new usage of yii\web\View::render()
One paragraph description and one code snippet to clarify usage of yii\web\View::render() in a view context, as using echo is a significant change from partial view usage in Yii 1.1.
2014-04-06 13:22:03 -07:00
miramir
bdbcadbe8a Add SyslogTarget 2014-04-06 20:44:26 +06:00
Carsten Brandt
9cf3e141b0 Merge pull request #2980 from lubosdz/master
removed redundant whitespace, related to issue #2978
2014-04-06 16:14:42 +02:00
Saphronov Mark
16aa0078d5 Update logging.md
Currently `Yii::$app->log` is not the `yii\log\Logger`, but the `yii\log\Dispatcher`. Logger is transient component used indirectly and separately by the dispatcher and helper methods for logging.
2014-04-06 14:03:49 +04:00
Alexander Makarov
c742222471 Merge pull request #2995 from Theill11/update-danish-translation
Update danish translation [skip_ci]
2014-04-06 14:02:14 +04:00
Johnny Theill
1c47a5b3c4 Sorted translations 2014-04-06 10:55:19 +02:00
Johnny Theill
3a8338749c Added missing translation 2014-04-06 10:52:21 +02:00
Qiang Xue
8a3fe89149 renamed "auth" to "authenticator". [skip ci] 2014-04-06 00:53:42 -04:00
Qiang Xue
83da0cd07a refactored authentication filters. 2014-04-06 00:50:46 -04:00
Qiang Xue
12cd71d7c4 Refactored rate limiting by turning RateLimiter into an action filter. 2014-04-05 21:31:47 -04:00
Qiang Xue
3616d1f0d1 Fixes #2816: Changed default date and time format of yii\base\Formatter to Y-m-d and H:i:s 2014-04-05 18:15:06 -04:00
Carsten Brandt
7f73ec1fcf Update console-migrate.md
fixes #2989
2014-04-05 22:59:09 +02:00
Qiang Xue
48e67e8b89 renamed PrefixUrlRule to GroupUrlRule 2014-04-05 12:07:38 -04:00
Qiang Xue
02c3c37a00 Fixes #2986. 2014-04-05 11:55:26 -04:00
Qiang Xue
c4e1416e37 fixed doc [skip ci] 2014-04-05 08:08:36 -04:00
Qiang Xue
a15a3835c7 Moved all filter classes to namespace yii\filters 2014-04-05 01:00:14 -04:00
Qiang Xue
50e338127d Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels 2014-04-04 23:30:59 -04:00
Qiang Xue
104c4fc3ae Added support to allow an event handler to be inserted at the beginning of the existing event handler list 2014-04-04 21:45:34 -04:00
Alexander Makarov
9c0f236a5b Changed tabs to spaces in changelog 2014-04-05 01:56:10 +04:00
Qiang Xue
a6693588bd changelog update [skip ci] 2014-04-04 16:51:24 -04:00
Alexander Makarov
84ac0a940c Fixed typo 2014-04-04 23:57:57 +04:00
Alexander Makarov
69786b018e Merge pull request #2974 from yiisoft/decouple-bizrules-from-auth-items
RBAC: decoupled rules from assignments and items, implemented php manager
2014-04-04 23:42:29 +04:00
Alexander Makarov
574985824d Adjusted guide 2014-04-04 23:17:52 +04:00
Alexander Makarov
40eb116640 Splitted saveRule into insertRule and updateRule 2014-04-04 23:09:34 +04:00
Alexander Makarov
f3dd74ff97 Removed custom Rule constructor 2014-04-04 22:43:11 +04:00
Alexander Makarov
5e278025b1 Removed test entries for MSSQL, Oracle 2014-04-04 20:54:16 +04:00
Alexander Makarov
7d3cf501d0 Fixed code formattins issues 2014-04-04 20:17:13 +04:00
Alexander Makarov
2c28198cd2 Fixes #499: Decoupled Rule from RBAC Item 2014-04-04 20:13:26 +04:00
Carsten Brandt
c5ad45c771 fixed test break 2014-04-04 17:12:26 +02:00
Qiang Xue
581aad8e22 Fixed test break. 2014-04-04 10:25:08 -04:00
Qiang Xue
4889ff9cbb Merge pull request #2981 from yiisoft/fix-duplicated-joins
removed duplicated joins when using joinWith and via relations
2014-04-04 09:44:44 -04:00
Carsten Brandt
1a3accb6cb removed duplicated joins when using joinWith and via relations
fixes #2650
2014-04-04 15:34:19 +02:00
lubosdz
612d3ed27d removed redundant whitespace 2014-04-04 15:18:58 +02:00
Qiang Xue
7437e21d17 Merge pull request #2976 from jeicd/urlmanager_fix
Fixed UrlManager rules caching
2014-04-04 08:39:40 -04:00
Qiang Xue
4283342e83 Merge pull request #2979 from lubosdz/master
Fixes issue #2978 - JSON MIME type
2014-04-04 08:01:05 -04:00
lubosdz
b6826cb20b Fixed test break and JSON MIME type. Fixes issue #2978. 2014-04-04 13:57:19 +02:00
lubosdz
164459f90a Fixed test break and JSON MIME type. Fixes issue #2978. 2014-04-04 13:54:04 +02:00
lubosdz
0040633fa4 Fixed test break and JSON MIME type. Fixes issue #2978. 2014-04-04 13:50:58 +02:00
Paul van Schayck
0456cd660a Add wait() to login test with wrong credentials to fix WebDriver test 2014-04-04 12:16:17 +02:00
Evgeniy Tkachenko
96bf647752 Add new guide upload-file
1.  UploadedFile::getInstances($model, 'file'); sees only one file if not set ```'file[]'```

```php
<?= $form->field($model, 'file[]')->fileInput(['multiple' => '']) ?>
```

2. ```$form->errorSummary(..)``` not return all errors of file attribute, but only the last.
So I had to invent.

```php
if ($model->hasErrors()) {
    echo '<pre>';
    print_r($model->getErrors());
    echo '</pre>';
}
```

So it should be?
2014-04-04 11:27:12 +03:00
jeicd
76402ea079 Fixed UrlManager rules caching 2014-04-04 13:27:20 +06:00
Alexander Makarov
a97a35bab7 fixed typo 2014-04-04 04:40:17 +04:00
Alexander Makarov
0e6cbda43e RBAC: decoupled rules from assignments and items, implemented php manager 2014-04-04 04:40:06 +04:00
Carsten Brandt
4f50295f41 created build ReleaseController 2014-04-03 21:02:17 +02:00
Carsten Brandt
865b71ef5e cleanup CHANGELOGs 2014-04-03 20:28:08 +02:00
Carsten Brandt
44dbb2235a cleanup docs 2014-04-03 20:13:32 +02:00
Qiang Xue
a6aaafd3e6 Fixed test break. 2014-04-03 13:55:34 -04:00
Qiang Xue
54e08f3f01 fixed build break. 2014-04-03 11:57:49 -04:00
Qiang Xue
8b4dfcc876 Fixes #2955: Changed the signature of ActiveQuery constructors and ActiveRecord::createQuery() to simplify customizing ActiveQuery classes 2014-04-03 10:36:52 -04:00