Alexander Makarov
dc294ba56f
Renamed variables, changed logic of turning client updates on
8 years ago
Alexander Makarov
b25ebaa782
Fixed formatting
8 years ago
SilverFire - Dmitry Naumenko
9807b2e1a1
Follow-up to 65c2ade
. Smarter fix of #13118
8 years ago
Boudewijn Vahrmeijer
fec8ae2e1e
removed @since
8 years ago
SilverFire - Dmitry Naumenko
65c2ade8ed
Fixed `handleAction()` function in `yii.js` to handle attribute `data-pjax=0` as disabled PJAX
...
Fixes #13118
8 years ago
Alexander Makarov
ed8acc8e03
#12399 adjustments
8 years ago
a.kompaniets
fb779e3ec6
Fixes #12399 : Added `ActiveField::addAriaAttributes` property for `aria-required` and `aria-invalid` attributes rendering
8 years ago
SG5
1141fc81a7
Fixes #12735 : Fixed `yii\console\controllers\MigrateController` creating multiple primary keys for field `bigPrimaryKey:unsigned`
8 years ago
zalatov
deea3cf798
Fixes #12854 : Added `RangeNotSatisfiableHttpException` to cover HTTP error 416 file request exceptions
8 years ago
Boudewijn Vahrmeijer
5784dd1dbf
fix travis
8 years ago
Alexander Makarov
242d850d6c
Shorter variable name, different approach to casting
8 years ago
Alexander Makarov
b17dfa03a2
Fixes #10488 : Fixed incorrect behavior of `yii\validation\NumberValidator` when used with locales where decimal separator is comma
8 years ago
Vladimir Khramov
dd94ead358
Initial work on #10488
8 years ago
Boudewijn Vahrmeijer
7b3f4095c2
added @since
8 years ago
Boudewijn Vahrmeijer
d295812695
upgrade file updated
8 years ago
Boudewijn Vahrmeijer
5e12a5cc3a
added spaces
8 years ago
Boudewijn Vahrmeijer
781ac2e139
add changelog
8 years ago
Boudewijn Vahrmeijer
9218adcec2
fixes after @samdark review
8 years ago
Boudewijn Vahrmeijer
7f537d684e
Custom ID generation for Pjax widgets to solve unstable ajax calls (issue #12969 )
...
Implements the solution proposed in the following comment:
https://github.com/yiisoft/yii2/pull/12977#issuecomment-260123078
8 years ago
Alexey Rogachev
8ea1f510af
Implemented Javascript test suite
...
fixes #12840
Used @nkovacs draft as starting
point(https://github.com/yiisoft/yii2/issues/11037#issuecomment-193356450 ).
I also fixed some bugs in `yii.validation.js` and did some refactoring.
Implemented tests:
- yii.validation.js
Running tests:
- Install Node.js. I used the latest version available at the moment -
`v7.1.0`. Note that used `jsdom` dependent library version requires
`Node.js >= 4`.
- Run `npm install` to install dependencies.
- Execute `npm test` for running tests.
8 years ago
Elvira Sheina
729ddc5b76
Select only primary keys in UniqueValidator ( #10896 ) ( #13098 )
...
fixes #10896
8 years ago
Carsten Brandt
081ee7c5b1
Implemented shortcut methods for returning JSON and XML ( #13101 )
...
fixes #13036
8 years ago
Klimov Paul
7da77c3d5a
created `HostControl` filter to prevent Host header attacks
...
fixes #13050
close #13063
8 years ago
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