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
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
nxnx
b562b50658
fix #9108 ( Negative number results in no formatting when using asSize or asShortSize )
9 years ago
Carsten Brandt
620ec4d132
added missing namespace on Exception in transaction docs
...
fixes #9429
9 years ago
Carsten Brandt
8fb1b56e34
Update CHANGELOG.md
9 years ago
Carsten Brandt
34d5b45b35
proper fix for #8844 , convert array before using it
...
fixes #9415
9 years ago
Alexander Makarov
43918f2ef6
Fixes #9411 : `DetailView` now automatically sets container tag ID in case it's not specified
9 years ago
RomeroMsk
6f0e635360
Change Russian translation for unique message
9 years ago
Toleugazy
4926148f96
correct typo in kazakh
9 years ago
Carsten Brandt
00a8a6270e
revised docs about Model::load()
...
thanks to @tom-- for review.
9 years ago
Гонимар Сергей
5e4d2183e2
Georgian translation
9 years ago
Dmitry Kushnikov
19fdd4f96d
Fix problem, that Application::getUser can return null
9 years ago
Taras Gudz
14fe0c3f80
Fixes #9382
9 years ago
Alexander Kochetov
223b0bea5d
Fixes #9369 : `Yii::$app->user->can()` now returns `false` instead of erroring in case `authManager` component is not configured
9 years ago