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
Carsten Brandt
89eb3dff14
prepare for release 2.0.6
9 years ago
Carsten Brandt
e1ea227e6d
improved console helper progressbar ETA
...
update only once per second to avoid flapping
9 years ago
Alexander Makarov
ca2c1df067
Minor changelog typo fixes
9 years ago
Carsten Brandt
681db52ba6
refactored SchemaBuilder
...
- rename class to ColumnSchemaBuilder as this is more appropriate
- changed internal organisation to match how the rest of schema related classes work
- the ColumnSchemaBuilder is now created the same way as QueryBuilder is
- removed static call magic and method annotations, now real methods are called as they are
- the whole code works on objects in a db context now instead of setting database connection in global state
- trait is now used by Migration by default but can be used in other contexts as well
Migration usage is now as follows:
```php
$this->createTable('example_table', [
'id' => $this->primaryKey(),
'name' => $this->string(64)->notNull(),
'type' => $this->integer()->notNull()->defaultValue(10),
'description' => $this->text(),
'rule_name' => $this->string(64),
'data' => $this->text(),
'created_at' => $this->datetime()->notNull(),
'updated_at' => $this->datetime(),
]);
```
9 years ago
kidol
bf8eb490a1
Fixes PageCache not setting any duration and dependency when caching response data
...
close #9076
9 years ago
Carsten Brandt
854e186210
fixed caching issue with UrlManager::createUrl
...
this fix will skip the cache in case we encounter a situation which can
not easily be cached.
fixes #9091
9 years ago
Lorenzo Milesi
a6fc02345e
FileValidator->getSizeLimit: check also php's post_max_size
...
- return the lowerest of `post_max_size` or `upload_max_filesize`
- Raised warning for misconfigured PHP
close #8373
9 years ago
Carsten Brandt
0575a710c0
CHANGELOG for #8551
...
see also #5780
9 years ago
Nikola Kovacs
11de09bf8b
Fixes #5991 , #5420 , #3017 : Added `updateMessages()` to `yii.activeForm.js` to support manually updating ActiveForm messages
9 years ago
Alexander Makarov
6f4282f05e
Moved #7259 changelog to 2.0.6
9 years ago
Nikola Kovacs
2577a5915b
Fixes #7259 : Added `errorAttributes` parameter to ActiveForm `afterValidate` event. Made scrolling to first error optional
9 years ago
Petra Barus
2261db0a5f
Adding callback for custom hash generation in AssetManager.
9 years ago
Alexander Makarov
863e785ed4
Added changelog for #9263
9 years ago
Alexander Makarov
afbc515407
Fixes #9239 : BaseJson phpdoc corrections, minor improvements, added changelog
9 years ago
Alexander Makarov
310f9152e1
Fixes #9268 : Improved display of boolean parameters in logged SQL queries
9 years ago
Alexander Makarov
972165ccec
Fixes #9006 : Fixed bit column always returning true using certain version of PDO MySQL
9 years ago
Alexander Makarov
9a87271abf
Fixed missing stacktrace items on PHP syntax errors of "unexpected end of file" type
9 years ago
Chris Harris
26e5b021a8
Fixes #9246 : Added `yii\web\UrlRule::getParamRules()`
9 years ago