Klimov Paul
|
51a442d6c8
|
Fixed `yii\db\ActiveRecord` does not updates attribute specified at `optimisticLock()` after save
|
9 years ago |
John Was
|
c73ad6573d
|
updated changelog [ci skip]
|
9 years ago |
John Was
|
a63fc2ff59
|
properly quote sequence name in Schema::getLastInsertId()
fixes #8483
close #8515
|
9 years ago |
Carsten Brandt
|
1fe171b328
|
only close output buffer if it is still open
Pjax did alredy close it before ExitException
fixes #8506
|
10 years ago |
Klimov Paul
|
563deea02c
|
`yii\widgets\ActiveField` now uses corresponding methods for default parts rendering
|
10 years ago |
Klimov Paul
|
0f04af1af9
|
Added support to automatically set the `maxlength` attribute for `Html::activeTextArea()` and `Html::activePassword()`
|
10 years ago |
Klimov Paul
|
402244bfd5
|
Issue #6043 added to CHANGELOG.md
|
10 years ago |
Carsten Brandt
|
3c2bd76236
|
allow negative dates for date formatter
fixes #8451
|
10 years ago |
Nghia Nguyen
|
968d59cd48
|
Add property $linkOptions into LinkSorter widget
close #8444
|
10 years ago |
Carsten Brandt
|
b9916b1718
|
log the whole exception object to allow log targets to work with it
fixes #6354
made possible by #7305
|
10 years ago |
Carsten Brandt
|
cca47b5469
|
ensure primary key string comparison is made identical
this is to avoid cases where string primary keys starting with '0e'.
See http://securityaffairs.co/wordpress/36732/hacking/php-hash-comparison-flaw.html
Other parts of Yii 2, escpecially the security and auth parts, are **not** affected.
|
10 years ago |
Carsten Brandt
|
dd1995551c
|
convert exceptions to string before saving log messages
fixes #7305
|
10 years ago |
Qiang Xue
|
11ddb6da7d
|
updated the finder. [skip ci]
|
10 years ago |
Klimov Paul
|
3a39f8ab72
|
`yii\helpers\Html` allows correct rendering of conditional comments containing `!IE`
|
10 years ago |
Klimov Paul
|
adb0460ee1
|
`yii\console\controllers\MessageController` now sorts created messages, even if there is no new one, while saving to PHP file
|
10 years ago |
Klimov Paul
|
72ec914992
|
`yii\console\controllers\MessageController` improved allowing extraction of nested translator calls
|
10 years ago |
Nikola Kovacs
|
f64d00bdf0
|
Fix client-side trim validator.
Subsequent validators now use the trimmed value instead of the original value.
fixes #7707
|
10 years ago |
Klimov Paul
|
cad9fd9d20
|
`yii\behaviors\TimestampBehavior::touch()` throws an exception if owner is new record
|
10 years ago |
Qiang Xue
|
8da1ebb449
|
prepare for next release.
|
10 years ago |
Qiang Xue
|
cf0541fd59
|
2.0.4 release.
|
10 years ago |
Qiang Xue
|
78d3a856d3
|
Added `Json::htmlEncode()` to support safer JSON data encoding in HTML code
|
10 years ago |
Jan Waś
|
ec920d2881
|
add missing schema name conditions for mssql
close #8046
fixes #6234
|
10 years ago |
Klimov Paul
|
8609311738
|
Fixed numeric keys in $_GET transformed to 0-based, if 'pretty URL' enabled
|
10 years ago |
Qiang Xue
|
5d4780da21
|
Fixes #8268: Allow `QueryBuilder` to recognize more variations of `limit` and `offset` values
|
10 years ago |
Nikola Kovacs
|
048c89f15d
|
Fix FragmentCache when enabled is false.
Fixes #8273
close #8274
|
10 years ago |
Qiang Xue
|
ebc089e6c2
|
Fixes #8194: Caching of the matched rules added to `yii\web\UrlManager::createUrl()`
|
10 years ago |
Nikola Kovacs
|
b31b9e2411
|
Fix conversion of ICU 'L' symbol.
L should not contain a leading zero.
Added a test for this too.
close #7761
|
10 years ago |
Nikola Kovacs
|
3f24954659
|
Added min/max option to DateValidator.
Refs #7514
close #8115
|
10 years ago |
Carsten Brandt
|
1c41c2bd58
|
added DateValidator::$timestampAttributeTimeZone
this also makes DateValidator completly functional for validating values that include time.
issue #5053
|
10 years ago |
Carsten Brandt
|
d60445c066
|
Add DateValidator::$timestampAttributeFormat
includes refactoring of the formatting method to fix some major timezone issues.
fixes #5053
close #6820
|
10 years ago |
Carsten Brandt
|
543daf099f
|
Added Formatter:$numberFormatterSymbols
this allows to specify custom symbols such as currency symbol.
also improved error reporting in case intl fails
fixes #7915, close #7920
|
10 years ago |
Carsten Brandt
|
4496e2c405
|
preserve configuration of gridview even when called multiple times
fixes #8231
|
10 years ago |
Klimov Paul
|
8c81a15ac9
|
Fixed `yii\helpers\Html::dropDownList()` overrides label specified at 'groups' option
|
10 years ago |
Qiang Xue
|
2c94bb0899
|
Fixes #7808: Adjusted Masked input to correctly generate the hash variable to store the plugin options
|
10 years ago |
Carsten Brandt
|
b0be36668e
|
slight refactoring for #8179
|
10 years ago |
Thiago Talma
|
b13d47f52d
|
changelog
|
10 years ago |
Klimov Paul
|
771ff15133
|
Fixed `yii\log\Logger` unable to export session id
close #8174
fixes #8036
|
10 years ago |
Klimov Paul
|
a4f760e798
|
Fixed `yii\base\Model` does not recognize scenario declared by rules using 'except'
|
10 years ago |
Carsten Brandt
|
9a5abd923f
|
cleanup after #8171
|
10 years ago |
Philippe Gaultier
|
be6c619de9
|
Fixes #8171: Allow the user to enforce the fileSize to allow sending files which are not seekable. Needed when using S3 Stream Wrapper
|
10 years ago |
Klimov Paul
|
c0fc4596e2
|
Fixed `yii\db\ActiveRelationTrait::populateRelation()` fails when `link` refers to string convertable object attribute, like `\MongoId`
|
10 years ago |
Carsten Brandt
|
462bdbfad2
|
moved CHANGLOG line which belongs to 2.0.4 instead of 2.0.3
698bfddeed
|
10 years ago |
Carsten Brandt
|
5bc9017267
|
Update CHANGELOG.md
added line for #8158
|
10 years ago |
Klimov Paul
|
f2f211f610
|
Fallback for object containing `\Closure` added to `yii\helpers\VarDumper::export()`
|
10 years ago |
Klimov Paul
|
91a6e4bc8e
|
Fixed incorrect URL config processing at `yii\web\Application::handleRequest()` and `yii\widgets\Menu::items` if route element is not a first one
|
10 years ago |
Klimov Paul
|
1c1cfd5e2d
|
`yii\db\BaseActiveRecord::getAttributeLabel()` refactored to be recursive
|
10 years ago |
Klimov Paul
|
6d96d3cbee
|
Fixed `yii\db\BaseActiveRecord::updateCounters()` fails for new record saved with counter attribute not set
|
10 years ago |
Qiang Xue
|
0756d167a0
|
Fixes #8055: should take precedence over
|
10 years ago |
Alexander Makarov
|
28dce6c9b6
|
Fixes #7656: Fixed `yii\rbac\DbManager::getRolesByUser()` and `yii\rbac\PhpManager::getRolesByUser()` to return roles only
|
10 years ago |
Klimov Paul
|
8caaba0168
|
Allow specification of the `$key` as an array at `yii\helpers\ArrayHelper::getValue()`
|
10 years ago |