SilverFire - Dmitry Naumenko
17e2c16836
Disabled StaticAccess check in codeclimate.yml
...
We use Yii::whatever through all the code so this check does not make sense in Yii project
8 years ago
Robert Korulczyk
706fcec374
Use github-no-api for assets plugin. ( #13100 )
...
Possible fix for #12987 . At least for me it fixes travis tests on my fork: https://travis-ci.org/rob006/yii2-dev/branches .
References:
http://www.yiiframework.com/wiki/843/boost-composer-asset-plugin-update-speed/
fxpio/composer-asset-plugin#226
8 years ago
Carsten Brandt
6782954c6a
improved test coverage of HostFilter
...
PR #13063
8 years ago
Klimov Paul
7da77c3d5a
created `HostControl` filter to prevent Host header attacks
...
fixes #13050
close #13063
8 years ago
Evgeniy Moiseenko
0a9ffc0557
Russian guide typo fixes [skip ci]
8 years ago
Klimov Paul
18b0dab360
Fixed `yii\console\controllers\AssetController::adjustCssUrl()` breaks URL reference specification (`url(#id)`)
8 years ago
SilverFire - Dmitry Naumenko
16a5777e0f
Merge branch 'rob006-create-protocol-relative-url'
...
Closes #13067
Closes #12738
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
SilverFire - Dmitry Naumenko
3ce698b0a9
Merge branch 'fphammerle-mysql-comma-in-enum-fix'
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
7f46ab33cc
Merge branch 'cyphix333-master'
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
Dmitry Naumenko
457e9241e3
Merge pull request #13072 from developeruz/7727-truncate-html-leaves-extra-tags
...
Fixed truncateHtml leaving extra tags (#7727 )
8 years ago
Elvira Sheina
0545bb6936
Fixed truncateHtml leaving extra tags ( #7727 )
8 years ago
Daniel Gómez Pan
b5b62e7a0f
Fix name variable (ttl -> defaultDuration) ( #13083 ) [skip ci]
8 years ago
Alexey Rogachev
e705519c5a
Fixes #13071 : Help option for commands was not working in modules
8 years ago
yamaha252
22b2a78a0a
Added test for unique validator with empty values
...
close #7007
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
SilverFire - Dmitry Naumenko
f1f357bad3
Documentation for Events updated
8 years ago
Dmitry Naumenko
092430df7d
Merge pull request #13078 from TrueXakeP/patch-1
...
Fix typo in guide-ru/runtime-routing.md
8 years ago
TrueXakeP
132ba1bd43
Fix typo in runtime-routing.md
8 years ago
Nobuo Kihara
87e51837d9
[ci skip] framework/messages/ja/yii.php updated ( #13069 )
...
approved
8 years ago
Alexey Rogachev
f4e54a1b5a
Fixed typo in get parameter in docs [skip ci] ( #13066 )
8 years ago
Alexander Makarov
41b3f0db0b
Fixed driver name in MSSQL test
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
db349527e7
fix typo in guide code block
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
Dmitry Naumenko
8fec6555eb
Merge pull request #13051 from w3lifer/patch-4
...
Typos
8 years ago
Carsten Brandt
2bfc0ff853
improve message translation guide
...
issue #13052
8 years ago
Roman Grinyov
bc61e4b498
Typos
8 years ago
MaximAL
3cf55b8f03
Remove redundant semicolon ( #13045 )
...
merci
8 years ago
Walt Sorensen
04d9ae69bb
Test against HHVM 3.12 LTS version ( #13012 )
...
This provides Testing against HHVM 3.12 LTS version
If testing against other HHVM LST versions is desired follow this guide. https://docs.travis-ci.com/user/languages/php#HHVM-versions
Should be able to change to container based Trusty after Q1-17 https://blog.travis-ci.com/2016-11-08-trusty-container-public-beta/
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
60af0a56cf
Closed #12778 : Added docs for multiple attributes validation ( #13005 )
...
* Added docs for mutiple attributes validation
* Fixed typo in formatting [skip ci]
* More precise explanation about count of validator runs
* Corrected salary min in integer rule
* More strict check in when, additional h3 headers, loop alternative
* Added custom validator section
* Use more accurate phrase
* Block code formatting - php was missing [skip ci]
* Fixes related with PR review [skip ci]
* More fixes related with PR review, removed unnecessary @inheritdoc [skip ci]
8 years ago
SilverFire - Dmitry Naumenko
c72643b9a3
Merge branch 'arogachev-7420-dropdown-prompt-attributes'
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
Evgeniy Tkachenko
17f3b8d8a6
Fixed Model::attributes of documentation ( #13028 ) [skip ci]
8 years ago
Alexander Makarov
f4fc5248cf
#13026 : recorded method chaining general rule
8 years ago
Dmitry Naumenko
d5ac2917bd
Merge pull request #13025 from arogachev/typo-fix
...
Fixed typo in PHPDoc [skip ci]
8 years ago
Alexey Rogachev
bc314f5299
Fixed typo in PHPDoc [skip ci]
8 years ago
Roman Grinyov
65c488dd9e
`echo`, `die`, *test*, *automated testing* ( #13023 ) [skip ci]
8 years ago
Carsten Brandt
059a80b47f
renamed Cache::$ttl to Cache::$defaultDuration
...
better naming as discussed in #12990
8 years ago