Klimov Paul
18b0dab360
Fixed `yii\console\controllers\AssetController::adjustCssUrl()` breaks URL reference specification (`url(#id)`)
8 years ago
Robert Korulczyk
2d91723934
Add support for creating protocol-relative URLs.
...
Improve phpdoc for protocol-relative URL creation.
Remove useless `is_string()` check.
8 years ago
Tim Beks
f23dc5aee9
Add attribute to set the openlog $option attribute for SyslogTarget
...
Fixes issue #13074
close #13075
8 years ago
Fabian Peter Hammerle
46da2df98d
yii\db\mysql\Schema::loadColumnSchema sets enumValues attribute incorrectly if enum definition contains comma
...
(i.e. "enum('a','B','c,D')" -> ['a','B','c','D'] instead of expected ['a','B','c,D'])
8 years ago
SilverFire - Dmitry Naumenko
63e650952b
Updated tests for HtmlHelper::textarea()
8 years ago
Brett
10ad620cb4
Adds ability for the user to choose if they want to double encode entities within textareas or not when using ActiveForm. Applies enhancement from #12988 .
8 years ago
Elvira Sheina
0545bb6936
Fixed truncateHtml leaving extra tags ( #7727 )
8 years ago
Alexey Rogachev
e705519c5a
Fixes #13071 : Help option for commands was not working in modules
8 years ago
Nikola Kovacs
a56c598743
Portability fixes for SchemaBuilder on MSSQL
...
Changed timestamp mapping to datetime on MSSQL.
Timestamp is a unique number on MSSQL, not a timestamp.
> https://msdn.microsoft.com/en-us/library/ms182776(v=SQL.90).aspx
> The timestamp data type is just an incrementing number and does not
> preserve a date or a time. To record a date or time, use a datetime data type.
separated from #9191
close #9305
8 years ago
Carsten Brandt
a498dedb5c
Added documentation about Host header attack ( #13073 )
...
* Added documentation about Host header attack
Added info about Host header attack (#13050 ) to the guide and the Request class.
When we introduce a filter or property to protect against this, these
sections should be updated to link to that option.
8 years ago
Nobuo Kihara
87e51837d9
[ci skip] framework/messages/ja/yii.php updated ( #13069 )
...
approved
8 years ago
Carsten Brandt
a837c59182
improved error message for Instance::ensure() when component does not exist ( #12967 )
...
fixes #7333
8 years ago
Boudewijn Vahrmeijer
aba42fce4d
Squash merge rebased branch nadar-patch-4
8 years ago
Carsten Brandt
b8b3aeeb00
update deprecated phpdoc messages
8 years ago
mrgarry
f5049d8a31
Correct MSIE8 reserved word error ( #12722 )
...
In MSIE8 and below, yii.gridView file is not loaded and GridView widget is not working (throws Identifier expected error). The reason is that the variable name 'class' is a reserved word. To correct this, the variable name should be changed into an array key, which eliminates the error.
More info about the causes of error: https://tiffanybbrown.com/2013/09/10/expected-identifier-bug-in-internet-explorer-8/
8 years ago
Herbert Maschke
b58fee7d37
Fixes #13035 : Use ArrayHelper::getValue() in SluggableBehavior::getValue()
8 years ago
Boudewijn Vahrmeijer
75162652b7
Update BaseHtml.php
8 years ago
MaximAL
3cf55b8f03
Remove redundant semicolon ( #13045 )
...
merci
8 years ago
Alexey Rogachev
6428fab406
Closes #9162 : Added support of closures in `value` for attributes in `yii\widgets\DetailView` ( #13013 )
...
#9162 : Added support of closures in `value` for attributes in `yii\widgets\DetailView`
8 years ago
Alexey Rogachev
ea251e24ba
Closes #7420 : Attributes for prompt generated with `renderSelectOptions` of `\yii\helpers\Html` helper
8 years ago
Evgeniy Tkachenko
bd9e68eb0a
Optimize imports ( #13033 )
8 years ago
Carsten Brandt
059a80b47f
renamed Cache::$ttl to Cache::$defaultDuration
...
better naming as discussed in #12990
8 years ago
Evgeniy Tkachenko
3a6fbad561
phpDoc: Fix example for ActiveRelationTrait::via() ( #13008 ) [skip ci]
8 years ago
Serge Postrash
aca6ea9290
Fix incorrect return type in phpdocs [skip ci]
...
Internally used `setValues()`, `addValues()` methods return array
8 years ago
Carsten Brandt
3913e6ebcf
fixed changelog
8 years ago
SDKiller
9a1c168939
Updates after more PR reviews (related #6809 )
8 years ago
SDKiller
556e9cf99b
Updates after PR review (related #6809 )
8 years ago
SDKiller
8df1017f42
Default cache ttl (duration) property ( fixes #6809 )
8 years ago
Klimov Paul
1157657cab
Fixed incorrect order of migrations history in case `yii\console\controllers\MigrateController::$migrationNamespaces` is in use
8 years ago
Boudewijn Vahrmeijer
bfabb1e2b2
Update ManagerInterface.php
8 years ago
SilverFire - Dmitry Naumenko
332637db83
Fixed EmailValidator`to prevent false-positives checks
...
Fixed EmailValidator`to prevent false-positives checks when property `checkDns` is set to `true`
Fixes #12714
8 years ago
SilverFire - Dmitry Naumenko
14b4f52e44
Updated CHANGELOG
8 years ago
Anton Kozlov
20a411d8ab
Fixed #12822 : Fixed datetime creation from microseconds, added tests to \i18n\Formatter::asTimestamp
8 years ago
Robert Korulczyk
9cb7125921
`@return bool` in `ErrorHandler::handleError()`
8 years ago
Alexander Makarov
324b38d504
#12976 : improved phpdoc wording
8 years ago
Robert Korulczyk
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
8 years ago
Robert Korulczyk
450eefaa50
Some phpdoc fixes from scrutinizer.
8 years ago
Robert Korulczyk
cf0952406d
Cosmetic changes in console controller.
8 years ago
SilverFire - Dmitry Naumenko
35ce3ba611
Docs updated
...
Closes #11747
8 years ago
SilverFire - Dmitry Naumenko
6a4ea892c3
Added type mapping for `varbinary` data type in MySQL DBMS
...
Closes #11756
8 years ago
evgen
5c3cdd792b
fix code style
8 years ago
evgen
3d3d69e3a8
returned back `orderBy()`
8 years ago
Boudewijn Vahrmeijer
95f2c82009
Fixed the cryptic unstructured doc block ( #12978 ) [skip ci]
8 years ago
SilverFire - Dmitry Naumenko
66dec188d5
Fixed changelog
8 years ago
SilverFire - Dmitry Naumenko
23790272dc
Changed `data` column type from `text` to `blob` to handle null-byte (`\0`) in serialized RBAC rule properly
...
Closes #12681
8 years ago
evgen
50062d0b9f
some change
8 years ago
evgen
c7c8f09827
ksort and reverse to uksort
8 years ago
evgen
481932e238
add migration name to sort
8 years ago
Carsten Brandt
45a390791c
reordered changelog
8 years ago
Carsten Brandt
822ca38b2f
reverted wrong changes in CHANGELOG
...
see also 40394b8abf
, that one was
intentional
8 years ago