Daniel Gomez Pan
510c492224
Fix version [skip ci]
9 years ago
Alexander Makarov
0e40eaa8ac
Fixed changelog entry number
9 years ago
Alexander Makarov
2c7bb626d9
Reordered changelog
9 years ago
Alexander Makarov
7b12f59fa9
Fixed phpdoc in RBAC migration
9 years ago
mdmunir
6eb59be665
Fixes #9643 : Added migrations for DB cache
9 years ago
mdmunir
b7020065c8
Fixes #9476 : Added DI injection via controller action method signature
9 years ago
Alexander Makarov
59208e5fc6
Fixes #9681 : `Json::encode()` was erroring under CYGWIN
9 years ago
Carsten Brandt
73d6f32234
fixed name conflict between class and file name for UnprocessableEntityHttpException
...
pr #9733
9 years ago
Alexander Makarov
b6a616487a
Fixed Http → HTTP in changelog
9 years ago
Alexandr
760a164238
Fixes #9711 : Added `yii\widgets\LinkPager::$pageCssClass` that allows to set default page class
9 years ago
Carsten Brandt
229a39dec1
Revert "Fixes #9758 : phpdoc correction"
...
This reverts commit 13a2b70a65
.
The docblock is totally valid as it describes the property defined by this getter.
9 years ago
Daniel Gomez Pan
b647bac451
Schema is never used
9 years ago
Alexander Makarov
13a2b70a65
Fixes #9758 : phpdoc correction
9 years ago
Boudewijn Vahrmeijer
dd818e17df
Fixes #9754 : Fixed `\yii\web\Request` error when path info is empty
9 years ago
trbsi
56400add97
Added Croatian language
...
close #9739
9 years ago
janfrs
194b80b00e
Fix comment msg UnprocessableEntity #2106
9 years ago
janfrs
07199cbf61
Change to since 2.0.7 on UnprocessableEntity #2106
...
Thanks to @Renkas for noticing
9 years ago
janfrs
7562fe940e
Add Unprocessable Entity Exception as in #2106
9 years ago
Carsten Brandt
4e7adc13ea
adjusted docs about Query::from() and subqueries
...
also added a test to verify behavior
close #9720
close #9266
9 years ago
namlier
cf2c722a1f
update comments in \yii\base\Controller
...
I had problems with understanding of why AccessControll filter didn't work, as i wish, with PageCache. Then i remembered the quote "The validation rules are evaluated in the order they are listed." from guide http://www.yiiframework.com/doc-2.0/guide-input-validation.html#declaring-rules , but when i tried to redirect some certain user using beforeAction(), as you advised, it didn't work.
close #9717
9 years ago
Yuri Nazarenko
0d4d54c3c7
Bug #9714 : Fixed unable to save users assignments
9 years ago
Alexandr
ded75253ca
Change 'de' to 'en' in comments of Formatter.php
9 years ago
Alexander Makarov
b53bbb34e9
Fixed typo
9 years ago
Alexander Makarov
97f2fca72f
Fixes #9678 : `I18N::format()` wasn't able to handle named placeholder in "selectordinal"
9 years ago
lichunqiang
a31f77abca
Update the yii.php for zh-TW translation
9 years ago
Alexander Makarov
776f029845
Clarified that IDs in AccessRule::$controllers should be prefixed with module ID
9 years ago
Alexey Rogachev
ad69fb9c7e
Closed #9635 : Added default CSS class for `\yii\grid\ActionColumn` header
9 years ago
Boudewijn Vahrmeijer
b4da7b570c
Better fix for #9288
9 years ago
Vladimir
8c9a9ed877
Doc block confuse in ManagerInterface
...
Confisung documentation block for ManagerInterface::getRolesByUser(). The method DOES NOT return roles assigned indirectly.
9 years ago
Boudewijn Vahrmeijer
08ae0b7388
Update yii.php
...
another fix
9 years ago
Boudewijn Vahrmeijer
e2fc0cb3cf
Update yii.php
...
dutch translation for multiple hours is incorrect
9 years ago
bpteam
703f374a85
Fixes #9596 : Fixed `\yii\web\UrlManager::createAbsoluteUrl(['site/index', '#' => 'testHash'])` losing hash
9 years ago
Nikola Kovacs
4c0bcaf12e
Fixes #8822 , fixes #9298 . Clientside validator docs enhancements.
9 years ago
Alexander Makarov
a0df32fd0e
Fixes #9319 : added ext-ctype to composer requirements
9 years ago
Alexander Makarov
3a207b7559
Fixes #9323 : Fixed `yii\console\controllers\MessageController` not using database connection specified in config
9 years ago
Alexander Makarov
6b2748a0b3
Code formatting for #9288
9 years ago
Boudewijn Vahrmeijer
4d21c48bc4
Fixes #9288 : Fixed `FileHelper::createDirectory` directory creation to be concurrency friendly
9 years ago
Hesam Khaki
5569eaae06
Fixes #9314 : Fixed `yii\rbac\DbManager::getPermissionsByUser()` not returning permissions directly assigned to a user
9 years ago
Alexander Makarov
fbce0c0450
Fixes #9591 : Fixed `yii.validation.js` code so it is compressable by YUICompressor
9 years ago
Carsten Brandt
5a069d1a3c
Fixed inappropriate error response on invalid JSON request
...
Current API responds to invalid JSON with:
```json
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
...
{"name":"Bad Request","message":"Invalid JSON data in request body: Syntax error.","code":0,"status":400,"previous":{"name":"Internal Server Error","message":"There was an error at the server.","code":0,"status":500}}
```
While it should be
```json
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
...
{"name":"Bad Request","message":"Invalid JSON data in request body: Syntax error.","code":0,"status":400}
```
9 years ago
Carsten Brandt
1706a9ee4f
updated DbMessageSource PHPdoc
...
fixes #9532
for deprecation see #9533
9 years ago
Alexander Makarov
71b728225b
Fixes #9532 : improved DbMessageSource::$cache phpdoc
9 years ago
Carsten Brandt
cd84f6c4c5
typo in DateValidator docs
9 years ago
Alexey Rogachev
760cc03194
Removed extra line break
...
Caused by #9440
9 years ago
Aleksandr Golovko
a2f70f6484
Update Query doc return type
...
When used ActiveQuery chain call after call any of join type IDE cannot resolve ActiveQuery methods such an asArray
Example:
SomeActiveRecordModel::find()
->select('...') // return ActiveQuery
->leftJoin('...', '...') // return Query
->asArray() // it's become undefined
->column();
9 years ago
Davide Della Casa Venturelli
329fe129fe
Fixed #9454 : changed sqlsrv pdo class selection
9 years ago
Sebastian Chojniak
f9c776ca5f
GroupUrlRule: if $this->routePrefix is unset then only one trim is called
9 years ago
AIZAWA, Hina
0f2a77ed36
Fixes #9442 : Fixed `yii\db\Migration::renameTable()` caused fatal error when using SQLite driver
9 years ago
Alexey Rogachev
777c45a653
Removed yii\db\Schema from use section
...
Declaration of yii\db\Schema is not needed by default. Migration can be related with changing data or renaming column, so user should explicitly add it when it's needed.
9 years ago
Carsten Brandt
60af9d07fb
proper fix and changelog for #9108
...
close #9437
fixes #9108
9 years ago