Newerton
f6ff90f672
Fixes #12082 : Used `jQuery.on(` instead of event method to ensure forwards compatibility
8 years ago
Alexander Makarov
9f71bf400e
Fixes #12038 : Introduced `yii\base\ViewNotFoundException` which is thrown when views file doesn't exists, used it in `ViewAction`
8 years ago
Alexander Makarov
ce65e23851
#10583 check for sent content before attempting to regenerate headers in debug mode
8 years ago
Alexander Makarov
b2fbbdf5d7
Reverted non-suppression of session_start since it seems it's not possible to achieve same behavior w/o it #10583
8 years ago
Alexander Makarov
25e0a879d6
Added output check for session handler #10583
8 years ago
Alexander Makarov
c7d5e69cda
Eliminated unused variables
8 years ago
Alexander Makarov
0061692e60
Replaced unnecessary double quotes with single quotes
8 years ago
Alexander Makarov
7c6f76cb1a
Fixes #10583 : Do not silence session errors in debug mode
8 years ago
Alexander Makarov
fa845ee481
Fixes #11726 : `DbSession` was echoing database errors in production mode
8 years ago
Ilya Sevostyanov
91c67262ce
Fix typo ( #11998 ) [skip ci]
8 years ago
Carsten Brandt
ee92cfa7ba
release version 2.0.9
8 years ago
Carsten Brandt
217d50e4ff
improved PHPdoc and `@since` annotations
8 years ago
Alexander Makarov
3b5634bf8b
Fixes #11863 : Fixed usage of `mb_substr` with PHP < 5.4.8 where length of NULL was treated the same as 0
8 years ago
Carsten Brandt
17d08cc0a4
fixed crash on non-string input to CSRF token
...
fixes #11822
also adding proper unit tests for validate CSRF token.
8 years ago
Carsten Brandt
4e7f6f64d2
added errorHandler, Request and Response getter
...
to web and console application to ensure better ide completion.
methods in base class are required because they are called from base
class.
fixes #10947
8 years ago
Alexander Makarov
c5b87fd932
Updated deprecation notice
8 years ago
cuiliang
c0df003ac0
merge from master
8 years ago
Rogério
c9d30b2a66
Fixes #11735 : Fixed `yii\web\UploadedFile` to return `null` when there's no file uploaded
8 years ago
Sam Mousa
03e23adab8
Fixes #11679 : Extracted `CheckAccessInterface` from `ManagerInterface`
8 years ago
Nikola Kovacs
9d327baa8b
coding style fixes
8 years ago
SilverFire - Dmitry Naumenko
38be74446e
Update PHPDoc, CHANGELOG, UPGRADE.md
8 years ago
maine-mike
7249a6c99e
Move Identity Cookie code into separate functions
8 years ago
SilverFire - Dmitry Naumenko
0ff6eeba7d
Enhanced 9f499eb: `yii\web\User::checkRedirectAcceptable()` removed check for "*" type (invalid in accept header)
8 years ago
SilverFire - Dmitry Naumenko
9f499eb51e
Fixed `yii\web\User::checkRedirectAcceptable()` to treat acceptable content type `*/*` as `*`
...
Closes #11523
8 years ago
Salem Ouerdani
2eb90f82fe
removes nonexistent yii/web/rawCsrfToken from docs ( #11521 )
...
* removes nonexistent yii/web/rawCsrfToken from docs
* maj
9 years ago
Klimov Paul
abb408fc1d
pgsql migrations fixed
9 years ago
dasmfm
91734ae83b
Fixes #11432 : Added HTTP status 421 "Misdirected Request" to list of statuses in `yii\web\Response`
...
Source: http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
9 years ago
cartmanchen
fc987f48de
Fixes #11459 : Fixed flash messages not destroyed when `session.auto_start = 1` set in php.ini
9 years ago
Razzwan
0a10d6e265
Fixes #11414 : Files specified as `null` in `yii\web\AssetBundle` won't be registered
9 years ago
Carsten Brandt
731769241b
release version 2.0.8
9 years ago
Carsten Brandt
55b858df6d
use already existing error string
...
this one is already available and translated to some languages.
9 years ago
Juuso Leinonen
396bd9f714
Fixes #10309 : Extracted `yii\web\UrlManager` rule cache key into `$cacheKey` protected property
9 years ago
Darking
f75f453ec4
Fixes #10475 : Extracted `getUrlFromCache()` and `setRuleToCache()` protected methods from `yii\web\UrlManager::createUrl()`
9 years ago
dawei
5bd35c344c
dont set return url, if request method is not GET
9 years ago
Alexander Makarov
6dd017c2a3
Additional fix for #10617
9 years ago
Carsten Brandt
9c1fa3f745
allow resetting properties in UrlManager, same as Request
...
fixes #11336
9 years ago
Carsten Brandt
1f0e24c528
allow resetting autodetected properties in yii\web\Request
...
fixes #11336
9 years ago
Alexander Makarov
77996374a4
Fixes #10617 : Fixed `yii\web\Request::getBodyParams()` returned `null` instead of empty array if request body is empty and content type is application/json
9 years ago
maine-mike
ad6047e09f
Fixes #10480 : Fixed removing old identity cookie when loggin in as another user without logging out first
9 years ago
mdmunir
d437c4bd37
Add session migration
9 years ago
Arzamastsev Mikhail
59ed5e18d6
ErrorHandler HttpException message translation ( #11303 )
9 years ago
Carsten Brandt
79a4241fff
fixed rest controller PHPdoc
...
fixes #11215
9 years ago
Evgeniy Tkachenko
4e59f92829
phpDoc updated
9 years ago
micro-maureen
e410562841
Update UrlRuleInterface.php
...
Fixed typo - missing word 'by'.
9 years ago
SilverFire - Dmitry Naumenko
9a73593908
yii\web\User - updated PHPDoc
9 years ago
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