bscheshirwork
7473c422ee
Fixes #15318 : Fixed "session_name(): Cannot change session name when session is active" errors
7 years ago
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
7 years ago
Alexander Makarov
d934d9f6f6
Improved phpdoc for ErrorHandler::$traceLine [skip ci]
7 years ago
Carsten Brandt
e493843b1c
improve `@deprecated` annotations
7 years ago
Carsten Brandt
ef8f6172bb
Added a note about URLManager cache duration
...
https://github.com/yiisoft/yii2/pull/13426#issuecomment-366078957
issue #13426
7 years ago
SilverFire - Dmitry Naumenko
2e8b6e5c80
Added ruleConfig to UrlManager::setBuiltRulesCache() to fix tests
7 years ago
SilverFire - Dmitry Naumenko
9323817a53
Refactored code, added tests
7 years ago
Aleksandar Belic
b566dd522c
Fixes #15272 : Removed type attribute from script tag
7 years ago
Alexander Makarov
25f8b263e5
Fixes #14811 : Fixed `yii\filters\HttpCache` to work with PHP 7.2
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
Alexander Makarov
73fe41ee9f
Removed redundant condition
7 years ago
Alexander Makarov
47e43a1b63
Try reverting init()
7 years ago
Alexander Makarov
d86db78276
Extra checks
7 years ago
Alexander Makarov
7924a22490
Remove extra condition
7 years ago
Alexander Makarov
07e623e415
Don't use open() method because it registers handlers
7 years ago
Alexander Makarov
a23a325ca7
Fixes #15627 : Corrected session freezing/unfreezing not to attempt opening or closing connection if it isn't necessary
7 years ago
Alexander Makarov
64d57043b1
Fixes #11401 : Fixed `yii\web\DbSession` concurrency issues when writing and regenerating IDs
7 years ago
Brandon Kelly
2e55570e1f
Fixes #15621 : Fixed `yii\web\User::getIdentity()` returning `null` if an exception had been thrown when it was called previously
7 years ago
Alexander
24f4e3126a
Bug #15523 : `yii\web\Session` settings could now be configured after session is started (StalkAlex, rob006, daniel1302, samdark)
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
Co-authored-by: daniel.1302 <daniel.1302@gmail.com>
7 years ago
Гордиенко Владислав Юрьевич
7cafa65ad2
Fixes #15216 : Added `yii\web\ErrorHandler::$traceLine` to allow opening file at line clicked in IDE
7 years ago
Alexander Makarov
7bafb7bf09
Fixes #14488 : Added support for X-Forwarded-Host to `yii\web\Request`, fixed `getServerPort()` usage
7 years ago
Dmitry Naumenko
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
7 years ago
Alexander Makarov
61b47014a2
Fixes #14643 : Added `yii\web\ErrorAction::$layout` property to conveniently set layout from error action config
...
Co-authored-by: Stas So <etc@swods.ru>
Co-authored-by: Carsten Brandt <mail@cebe.cc>
7 years ago
E.Alamo
e07219c812
Fixes #13996 : Added `yii\web\View::registerJsVar()` method that allows registering JavaScript variables
7 years ago
Klimov Paul
65f6b59b35
`@inheritdoc` notation changed
7 years ago
Paul Klimov
acce1db53b
Fixes #14135 : Fixed `yii\web\Request::getBodyParam()` crashes on object type body params
7 years ago
Alexander Makarov
6c0540aa2d
Fixes #15496 : CSRF token is now regenerated on changing identity
7 years ago
Elvira Sheina
3c017b6b61
Fixes #15462 : Fixed `accessChecker` configuration error
7 years ago
Dmitry Dorogin
28e7f31a37
Fixes #15046 : Throw an `yii\web\HeadersAlreadySentException` if headers were sent before web response
7 years ago
Elvira Sheina
3b1ff661d8
Fixes #7996 : Short syntax for verb in GroupUrlRule
7 years ago
Alexander Makarov
0b413b0e08
Fixed PHP 5.4 compatibility
7 years ago
Sam
4d388f6cd2
Fixes #15317 : Regenerate CSRF token if an empty value is given
7 years ago
Vladimir Reznichenko
185209957e
Fixes #15270 : Resolved potential race conditions when writing generated php-files
7 years ago
Nikolay Oleynikov
48bf8ce048
Fixes #14662 : Added support for custom `Content-Type` specification to `yii\web\JsonResponseFormatter`
7 years ago
Alex Yashkin
2246786483
Fixed jQuery onLoad event handling
...
Fixes #15086
7 years ago
Alexander Makarov
2d672b6722
release version 2.0.13
7 years ago
Dmitry Naumenko
2faf771118
Fixes #13436 : Fixed migration for MSSQL DbSession
7 years ago
Carsten Brandt
93bbf5b39d
Fixes #15015 : Added `StringHelper::floatToString()` to savely cast float values independent of the locale, also fixes some places in the framework that use it now
7 years ago
Dmitry Naumenko
64d8af61a6
Fixes for PHP 7.2 compatibility ( #14959 )
7 years ago
bscheshirwork
8beb36c94f
Use PHP core classes right from root namespace without importing for the sake of clarity
7 years ago
SilverFire - Dmitry Naumenko
d11bed5340
Minor, added strict comparsion
7 years ago
SilverFire - Dmitry Naumenko
ea2c475ea7
Moved `HTTP_AUTHORIZATION` header check to `\yii\web\Request`, added docs
...
Closes #13564
7 years ago
Alexander Makarov
66723d0e74
Fixes #9438 : `yii\web\DbSession` now relies on error handler to display errors
7 years ago
Boudewijn Vahrmeijer
d7c93c9503
fix for #6226 , symlinking files/directories during multithreading ( #14905 )
7 years ago
Tobias Munk
fa1ca1384f
Fixes #14913 : Assset hashing now takes asset linking into account to improve cache busting
7 years ago
Alexander Makarov
3ee7629f13
Fixes #13486 : Use DI container to instantiate cookies in order to be able to set defaults
7 years ago
Olim Saidov
b75a85d0da
Fixes #14902 : Fixed PHP notice in `yii\web\MultipartFormDataParser`
7 years ago
Robin Kamps
75e8bfdc58
Fixes #14087 : Added `yii\web\View::registerCsrfMetaTags()` method that registers CSRF tags dynamically ensuring that caching doesn't interfere
7 years ago
SilverFire - Dmitry Naumenko
1ce796ef0f
Removed ability to define a hostname as trusted because of possible security issues
...
Closes #14691
7 years ago
SilverFire - Dmitry Naumenko
18689c5ed1
Added missing bracket
7 years ago