Sam Mousa
|
c7436909f4
|
Added optional `$checkHeader` param to loginRequired for checking the Accept header; defaults to `true`.
Added changelog line.
Fixed DbSessionTest
Added version annotations.
Improvements to phpdoc and whitespace.
|
9 years ago |
SilverFire - Dmitry Naumenko
|
1d74e761d5
|
Fixed UploadedFile::getBaseName() - mb_substr wrong arguments order
|
9 years ago |
SilverFire - Dmitry Naumenko
|
a0f9bf2893
|
Fixed `yii\web\UploadedFile::getBaseName()` to be multibyte-safe, added test
|
9 years ago |
hiscaler
|
75db69f90a
|
Fixed `yii\web\UploadedFile::getBaseName()` to work with UTF-8 file names
|
9 years ago |
Alexander Makarov
|
d3b5f4a284
|
Fixes #3656: Encode / in "r" query parameter in docs as it really is
|
9 years ago |
Klimov Paul
|
e4d9ed5182
|
code style fix
|
9 years ago |
Sam Mousa
|
c4e782725c
|
Fixed cache key collision in `yii\web\UrlManager::createUrl()`
Closes #10935
|
9 years ago |
Carsten Brandt
|
191f2a4943
|
fixed phpdoc type names
|
9 years ago |
SilverFire - Dmitry Naumenko
|
1e1baec6e6
|
Reverted c478199
|
9 years ago |
SilverFire - Dmitry Naumenko
|
992bc264b6
|
Fixed PHPDoc
|
9 years ago |
SilverFire - Dmitry Naumenko
|
c478199937
|
Added property `yii\web\DbSession::encodeData` to encode/decode session data in base64 on session read/write
Closes #6173
|
9 years ago |
quantum
|
7b46bd1f7c
|
Fixes #10451: Check of existence of `$_SERVER` in `\yii\web\Request` before using it
|
9 years ago |
githubjeka
|
984c51ab1a
|
Update phpDoc: return of UploadedFile::getInstance() / getInstanceByName()
|
9 years ago |
Carsten Brandt
|
9b5f6cb188
|
prepare for 2.0.7 release
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
|
9 years ago |
Carsten Brandt
|
3d719d057e
|
review `yii\web` namespaces docs
|
9 years ago |
Carsten Brandt
|
f620f4de90
|
phpdoc fixes
|
9 years ago |
Carsten Brandt
|
42b8569846
|
Revert DI injection via controller action method signature
reverts b7020065c and related commits.
reverts implementation of #9476
For reasons, see discussion https://github.com/yiisoft/yii2/issues/9476#issuecomment-179749039
|
9 years ago |
Andrew Nester
|
fecd4dcfa5
|
10739 - Multiple slashes at the end of route should not be accepted as valid url
|
9 years ago |
Andrew Nester
|
a0ca37ed6a
|
10545 - Fix for XMLResponseFormatter to format models in a proper way
|
9 years ago |
Evgeniy Tkachenko
|
8b9514fd5f
|
Refactoring yii\web\Request::getMethod
|
9 years ago |
Andrew Nester
|
ab25b8a358
|
10218 - Fix for session regenerate id issue that occured after user logged out #10218
|
9 years ago |
Klimov Paul
|
57ab949be5
|
`Response::redirect()` uses 200 status code if 'X-Ie-Redirect-Compatibility' header sent
|
9 years ago |
SilverFire - Dmitry Naumenko
|
019587e544
|
yii\web\Response - fixed comparation bug introduced in #9670
|
9 years ago |
SilverFire - Dmitry Naumenko
|
dc93ec3812
|
Bug #9670: Fixed PJAX redirect in IE
|
9 years ago |
SilverFire - Dmitry Naumenko
|
67cc16a07d
|
AssetManager::publishDirectory - removed redundant is_dir check
|
9 years ago |
SilverFire - Dmitry Naumenko
|
01a6235059
|
#9333: Fixed AssetManager to publish bundles using symlink with nested directories in `hash`
Closes #9333
|
9 years ago |
AnatolyRugalev
|
c39c0b3ddd
|
returned shutdown handler to it's original place
|
9 years ago |
Evgeniy Tkachenko
|
ce94928a2c
|
Enhancement to phpDoc of AssetManager
|
9 years ago |
Carsten Brandt
|
d9f8933737
|
added prettyPrint option to JsonResponseFormatter
fixes #9762
close #10412
|
9 years ago |
kidol
|
603092db28
|
\yii\web\Response::sendHeaders() does not send status header last
to avoid php magic about Location: header to take effect.
Fixes #9412
close #9485
|
9 years ago |
AnatolyRugalev
|
84702f1e6f
|
1. Added init() warning to session component
2. register_shutdown_function() for Session::close now only calls after successful session open
|
9 years ago |
Ruslan Bat
|
4a1a0fb4d8
|
FIX rule for camelCase controllerName
<controller:\w+>s
if use this variant of rule you cant get controller with camelCase name as camel-case
|
9 years ago |
SilverFire - Dmitry Naumenko
|
cd87d67f34
|
Global DOCS update: ~~~ replaced with ```
|
9 years ago |
Alexander Makarov
|
45432cc653
|
#9528: added missing data provider for JSON formatter test, added changelog and upgrade note, added `@since` tag to new property
|
9 years ago |
MaXL
|
4f81b4a99d
|
Fixes #9528: Traversable objects are now formatted as arrays in `yii\web\XmlResponseFormatter` to support SPL objects and Generators
|
9 years ago |
SilverFire - Dmitry Naumenko
|
7ac2bc13f7
|
Overrides c651dbb7 . `yii\web\ErrorHandler::loggableGlobals` renamed to `displayVars`
|
9 years ago |
SilverFire - Dmitry Naumenko
|
c651dbb798
|
Added `yii\web\ErrorHandler::loggableGlobals`, removed `$_ENV` and `$_SERVER` from dumping by default
|
9 years ago |
SilverFire - Dima Naumenko
|
ac7b0ef6ff
|
ErrorHandler - hardcoded UTF-8 in mb_* functions
As `Yii::$app` may be not initialized on the moment of error,
decided to hardcode UTF-8.
PR #10169
|
9 years ago |
Mehdi Achour
|
06d499ab02
|
#10158: Accept arrays for 'js' as well
Also applied @samdark comments on array testing
|
9 years ago |
SilverFire - Dima Naumenko
|
a6e1ba2cf6
|
Fixed mb_ functions calls to use UTF-8 or app charset
|
9 years ago |
Mehdi Achour
|
cf01d5ff92
|
Use PHP type casting instead of ArrayHelper
|
9 years ago |
Mehdi Achour
|
5619e98eda
|
Allow setting css options per CSS file in AssetBundle::, fixes #10158
|
9 years ago |
SilverFire - Dima Naumenko
|
e3c49f243c
|
UrlRule::placeholders, UrlRule::substitutePlaceholderNames are now protected. Updated PHPDoc and UPDATE.md
|
9 years ago |
SilverFire - Dima Naumenko
|
289b051c4a
|
Bug #9999: Fixed `yii\web\UrlRule` to allow route parameter names with `-`, `_`, `.`characters
|
9 years ago |
Alexander Makarov
|
fe4cbd30d6
|
Fixes #9803: Added option to register asset with scheme (reverted from commit 57dc8540fd )
|
9 years ago |
Nikita Verkhovin
|
57dc8540fd
|
Fixes #9803: Added option to register asset with scheme
|
9 years ago |
kidol
|
4bc2eb7945
|
Fixes controller DI
|
9 years ago |
Alexander Makarov
|
8260cfa4ea
|
Compare with null instead of isset
|
9 years ago |
Alexander Makarov
|
5ab4f0f090
|
Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
|
9 years ago |
nainoon
|
3a313ac652
|
Fixes #9874: Fixed outputting exception stacktrace in non-debug mode when `Response::FORMAT_RAW` is used
|
9 years ago |