John Was
928a02c3bc
Added `Formatter::asDuration()` method
9 years ago
Alexander Makarov
5242765257
Fixes #3506 : Added `\yii\validators\IpValidator` to perform validation of IP addresses and subnets
9 years ago
DrDeath72
d22a689fac
Fixes #9984 : Fixed wrong captcha color in case Imagick is used
9 years ago
Adrian Liechti
43ce4e9192
Fixes #6876 : Fixed RBAC migration MSSQL cascade problem
9 years ago
derekisbusy
17e2255472
Fixes #6363 , #8301 , #8582 , #9566 : Fixed data methods and PJAX issues when used together
9 years ago
SilverFire - Dima Naumenko
f38bb6ced4
Chg #9953 : `TimestampBehavior::getValue()` value processing is consistent with `AttributeBehavior::getValue()`
9 years ago
Sam
5332e900e3
Fixes #7341 , #9551 , #9928 : Client validation now skips disabled inputs
9 years ago
SilverFire - Dima Naumenko
ef33422e65
Fixed #9924 - yii.js handleAction corrupted parameters with quote char
9 years ago
Vadim
c00b97a12c
Fixes #9915 : `yii\helpers\ArrayHelper::getValue()` was erroring instead of returning `null` for non-existing object properties
9 years ago
SilverFire - Dima Naumenko
ccd20793d4
Fixed #9911 - StringHelper::explode with skip_empty option removed item eq to 0
9 years ago
Klimov Paul
8cbcbdded7
Default `Cache.SerializerPermissions` configuration option for `HTMLPurifier` is set to `0775`
9 years ago
Carsten Brandt
decd45201c
allow passing a single Expression object to select() and addSelect()
...
fixes #9883
9 years ago
Alexander Makarov
8d2af0d2d9
Added last resort measure for `FileHelper::removeDirectory()` fail to unlink symlinks under Windows
9 years ago
nainoon
3a313ac652
Fixes #9874 : Fixed outputting exception stacktrace in non-debug mode when `Response::FORMAT_RAW` is used
9 years ago
Alexander Makarov
0712bad090
Fixes #9846 : Fixed `yii\web\User::loginRequired()` should throw 401 not 403 (reverted from commit 4e715f9d65
)
...
See https://github.com/yiisoft/yii2/issues/9846#issuecomment-146891825
9 years ago
A Slatius
a030cd4250
Allow the use of Yii aliases in an SQLite dsn
...
Making it possible to use a SQLite DSN like;
```php
'db' => [
'dsn' => 'sqlite:@app/db/database.sqlite3',
]
```
That way it'll always work out of the box and absolute paths aren't
needed.
close #9869
9 years ago
Alexander Makarov
0bda5e362e
Fixes #9783 : jQuery inputmask dependency updated to `~3.2.2`
9 years ago
spikyjt@gmail.com
4e715f9d65
Fixes #9846 : Fixed `yii\web\User::loginRequired()` should throw 401 not 403
9 years ago
Alexander Makarov
fbe5bb7d20
Fixed generation of canonical URLs for `ViewAction` pages
9 years ago
Carsten Brandt
f007fc1e60
avoid recursion on the root of the file system
...
fixes #9791
9 years ago
Jan Waś
191185f5e3
Fixes #6351 : Find MySQL FK constraints from `information_schema` tables instead of `SHOW CREATE TABLE` to improve reliability
9 years ago
RomeroMsk
e93b797098
Fixes #7581 : Added ability to specify range using anonymous function in `RangeValidator`
9 years ago
Alexander Makarov
cfc2c18e15
Changelog entry for #9454
9 years ago
Alexander Makarov
0e40eaa8ac
Fixed changelog entry number
9 years ago
Alexander Makarov
2c7bb626d9
Reordered changelog
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
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
Boudewijn Vahrmeijer
dd818e17df
Fixes #9754 : Fixed `\yii\web\Request` error when path info is empty
9 years ago
janfrs
194b80b00e
Fix comment msg UnprocessableEntity #2106
9 years ago
janfrs
7562fe940e
Add Unprocessable Entity Exception as in #2106
9 years ago
Yuri Nazarenko
0d4d54c3c7
Bug #9714 : Fixed unable to save users assignments
9 years ago
Alexander Makarov
97f2fca72f
Fixes #9678 : `I18N::format()` wasn't able to handle named placeholder in "selectordinal"
9 years ago
Alexey Rogachev
ad69fb9c7e
Closed #9635 : Added default CSS class for `\yii\grid\ActionColumn` header
9 years ago
bpteam
703f374a85
Fixes #9596 : Fixed `\yii\web\UrlManager::createAbsoluteUrl(['site/index', '#' => 'testHash'])` losing hash
9 years ago
Alexander Makarov
3a207b7559
Fixes #9323 : Fixed `yii\console\controllers\MessageController` not using database connection specified in config
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
AIZAWA, Hina
0f2a77ed36
Fixes #9442 : Fixed `yii\db\Migration::renameTable()` caused fatal error when using SQLite driver
9 years ago
Carsten Brandt
60af9d07fb
proper fix and changelog for #9108
...
close #9437
fixes #9108
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
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
Klimov Paul
16e1e8fe28
Fallback for objects at `yii\helpers\VarDumper::export()` advanced
9 years ago
Carsten Brandt
2ff5997b69
prepare for next release
9 years ago