Klimov Paul
|
68351e7d8f
|
`yii\db\ActiveQuery::removeDuplicatedModels()` throws exception if model primary key is empty
|
10 years ago |
Carsten Brandt
|
d5693cfe01
|
small improvements of Model phpdoc
|
10 years ago |
Andrew Potter
|
a0cc77d78d
|
Update Model.php
close #8463
|
10 years ago |
Klimov Paul
|
402244bfd5
|
Issue #6043 added to CHANGELOG.md
|
10 years ago |
Klimov Paul
|
0a7191dbfe
|
Preserving of the named key classes at `yii\helpers\Html::addCssClass()` provided
|
10 years ago |
Klimov Paul
|
41f6a6e558
|
Specification for 'class' and 'style' in array format added to `yii\helpers\Html`
|
10 years ago |
Carsten Brandt
|
3c2bd76236
|
allow negative dates for date formatter
fixes #8451
|
10 years ago |
Luke Briner
|
271a86aff3
|
Extend description
Help users understand the concept of massive assignment without relying on the Guide by extending the description for this type.
|
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
|
219bf07dbb
|
'ctype' PHP extension added to the requirements
|
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 |
Mike Grigorieff
|
32bc19ae9b
|
Updated web/Controller.php, simplified code design
close #8387
|
10 years ago |
Klimov Paul
|
cad9fd9d20
|
`yii\behaviors\TimestampBehavior::touch()` throws an exception if owner is new record
|
10 years ago |
Vadym Chenin
|
fc8ff4d08e
|
Updated Ukrainian messages
|
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
|
42fd70b2a1
|
exception message fix
|
10 years ago |
Qiang Xue
|
4488dbbff7
|
build cleanup [skip ci]
|
10 years ago |
Carsten Brandt
|
23b31d13de
|
improve documentation of date validator
fixes #7514
|
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 |
Carsten Brandt
|
f6b4601a83
|
improved doc message
|
10 years ago |
Carsten Brandt
|
8f1811919f
|
ensure error will always result in a failing HTTP status code
fixes #8326
proper fix for #7571 which did not work in all situations
|
10 years ago |
Klimov Paul
|
582b7606ac
|
Fixed `yii\db\ActiveRelationTrait::populateRelation()` fails when `link` refers to array string convertable object attribute
|
10 years ago |
Carsten Brandt
|
49ac8d790a
|
phpdoc: added link
|
10 years ago |
Niek ten Hoopen
|
f9bf2cf818
|
Fix NL translation for "months ago"
close #8317
|
10 years ago |
Evgeniy Tkachenko
|
632dbcf8c4
|
Updated comments in ManagerInterface
It is necessary that triggered tips of result on viewing variables.
close #8312
|
10 years ago |
Carsten Brandt
|
486e7c59cf
|
updated fxp/composer-asset-plugin version constraint
fixes #6253
|
10 years ago |
Klimov Paul
|
8609311738
|
Fixed numeric keys in $_GET transformed to 0-based, if 'pretty URL' enabled
|
10 years ago |
Carsten Brandt
|
6d14f6e74d
|
phpdoc typo
|
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 |
Carsten Brandt
|
94d6843f8b
|
added FragmentCache test for issue #8273
|
10 years ago |
Qiang Xue
|
ebc089e6c2
|
Fixes #8194: Caching of the matched rules added to `yii\web\UrlManager::createUrl()`
|
10 years ago |
laszlovl
|
8c22270591
|
db Command performance tweak
|
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
|
cf51d46a75
|
keep BC in internal implamentation of DateValidator
prepare for #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
|
c105622004
|
example for a link tag: issue #2803
[ci skip]
|
10 years ago |
Carsten Brandt
|
4496e2c405
|
preserve configuration of gridview even when called multiple times
fixes #8231
|
10 years ago |