Alexander Makarov
edfbab4a6b
More renaming and formatting fix
8 years ago
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
Boudewijn Vahrmeijer
53a2a48f97
Update tutorial-i18n.md
...
to double quotes
8 years ago
Boudewijn Vahrmeijer
9d9b800a57
Improve docs on i18n messages ( #13107 )
...
* start with improving doc
* updates
* fixes for @samdark review
* fixes after @cebe's review
* changes after @silverfire
8 years ago
Boudewijn Vahrmeijer
7b3f4095c2
added @since
8 years ago
Boudewijn Vahrmeijer
d295812695
upgrade file updated
8 years ago
Alexander Makarov
758ca250ac
Enabled Codeclimate code coverage ( #13112 )
8 years ago
Carsten Brandt
51786cb595
improved composer stability for the asset plugin
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
Carsten Brandt
02af14e62f
move JS tests into a separate branch in travis matrix
...
this avoids running JS tests for each PHP version.
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
Carsten Brandt
47ece37b5a
Merge branch 'prepare-travis-for-js'
...
* prepare-travis-for-js:
remove CUBRID env from travis it is unused
Install APC on Ubuntu trusty
Fix MySQL database setup for ubuntu trusty
Switch travis OR from precise to trusty
8 years ago
Carsten Brandt
4e4a6f69e3
remove CUBRID env from travis it is unused
8 years ago
Alexey Rogachev
e94ca4793b
Install APC on Ubuntu trusty
...
Trusty does not have APC preinstalled (see
https://github.com/travis-ci/travis-ci/issues/5618 ,
https://github.com/travis-ci/travis-ci/issues/6853 ) so we need to
install it manually using PECL. `yes ''` allows to skip prompts and fill
it with default values.
8 years ago
Elvira Sheina
729ddc5b76
Select only primary keys in UniqueValidator ( #10896 ) ( #13098 )
...
fixes #10896
8 years ago
Alexey Rogachev
8c0a431c66
Fix MySQL database setup for ubuntu trusty
8 years ago
Carsten Brandt
081ee7c5b1
Implemented shortcut methods for returning JSON and XML ( #13101 )
...
fixes #13036
8 years ago
Alexey Rogachev
a7ee60f9d2
Switch travis OR from precise to trusty
...
Switch from precise to trusty is required mainly because of jsdom
dependency. It requires Node.js > 4. Precise has very old Node.js and
NPM versions and they can not be updated because of default versions of
C++ compilers. While it's possible somehow to install Node 6 on Precise,
see this [document](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md ),
I think this is not elegant solution and I'm not 100%
sure it will work correctly with Travis and container-based precise dist.
Trusty has v6.3.0 by default which is enough and way better and newer.
8 years ago
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