Commit Graph

650 Commits

Author SHA1 Message Date
Robert Korulczyk
6a9e9df8d6 Fix phpdoc for UrlNormalizer [skip ci] (#12417) 2016-08-31 23:16:49 +03:00
Robert Korulczyk
8142de23d4 Improve normalizer for URL manager 2016-08-30 21:25:23 +02:00
Cronfy
a7f63b6da3 Add normalizer for URL manager. 2016-08-30 21:22:58 +02:00
Klimov Paul
c41ced6f1a PhpDoc for \yii\web\View::registerJsFile() improved 2016-08-30 15:47:06 +03:00
Roman Grinyov
10462f1a81 Cosmetic changes 2016-08-28 03:28:57 +03:00
Liam Davies
98b6851c41 Update User.php
A Few spelling corrections.
2016-08-25 09:59:58 +01:00
Carsten Brandt
4b40417972 improved docs about sendFile() in Request 2016-08-23 10:00:01 +02:00
Roman Grinyov
b54ef3f9e3 Typos in docblock of $errorAction (#12250) [skip ci] 2016-08-22 16:38:58 +03:00
Roman Grinyov
d8e0694aec Added missing square bracket 2016-08-22 13:26:44 +03:00
Alexander Makarov
0ae73251ee Fixed tests 2016-08-09 02:31:08 +03:00
Alexander Makarov
457abe8939 Fixes #12085: Fixed session destruction sequence 2016-08-09 01:49:23 +03:00
Newerton
f6ff90f672 Fixes #12082: Used jQuery.on( instead of event method to ensure forwards compatibility 2016-08-04 21:56:46 +03:00
Alexander Makarov
9f71bf400e Fixes #12038: Introduced yii\base\ViewNotFoundException which is thrown when views file doesn't exists, used it in ViewAction 2016-07-30 15:07:56 +03:00
Alexander Makarov
ce65e23851 #10583 check for sent content before attempting to regenerate headers in debug mode 2016-07-30 01:18:52 +03:00
Alexander Makarov
b2fbbdf5d7 Reverted non-suppression of session_start since it seems it's not possible to achieve same behavior w/o it #10583 2016-07-30 01:09:39 +03:00
Alexander Makarov
25e0a879d6 Added output check for session handler #10583 2016-07-30 00:57:49 +03:00
Alexander Makarov
c7d5e69cda Eliminated unused variables 2016-07-29 23:06:38 +03:00
Alexander Makarov
0061692e60 Replaced unnecessary double quotes with single quotes 2016-07-29 22:56:38 +03:00
Alexander Makarov
7c6f76cb1a Fixes #10583: Do not silence session errors in debug mode 2016-07-29 22:44:04 +03:00
Alexander Makarov
fa845ee481 Fixes #11726: DbSession was echoing database errors in production mode 2016-07-26 15:36:08 +03:00
Ilya Sevostyanov
91c67262ce Fix typo (#11998) [skip ci] 2016-07-21 15:02:54 +03:00
Carsten Brandt
ee92cfa7ba release version 2.0.9 2016-07-11 15:36:42 +02:00
Carsten Brandt
217d50e4ff improved PHPdoc and @since annotations 2016-07-11 12:58:43 +02:00
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 2016-07-02 21:06:39 +03:00
Carsten Brandt
17d08cc0a4 fixed crash on non-string input to CSRF token
fixes #11822

also adding proper unit tests for validate CSRF token.
2016-06-25 18:22:27 +02:00
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
2016-06-20 14:47:17 +02:00
Alexander Makarov
c5b87fd932 Updated deprecation notice 2016-06-12 23:26:41 +03:00
Rogério
c9d30b2a66 Fixes #11735: Fixed yii\web\UploadedFile to return null when there's no file uploaded 2016-06-10 15:10:44 +03:00
Sam Mousa
03e23adab8 Fixes #11679: Extracted CheckAccessInterface from ManagerInterface 2016-06-09 15:15:44 +03:00
Nikola Kovacs
9d327baa8b coding style fixes 2016-05-26 11:19:32 +02:00
SilverFire - Dmitry Naumenko
38be74446e Update PHPDoc, CHANGELOG, UPGRADE.md 2016-05-22 12:54:29 +03:00
maine-mike
7249a6c99e Move Identity Cookie code into separate functions 2016-05-22 12:12:04 +03:00
SilverFire - Dmitry Naumenko
0ff6eeba7d Enhanced 9f499eb: yii\web\User::checkRedirectAcceptable() removed check for "*" type (invalid in accept header) 2016-05-16 01:11:47 +03:00
SilverFire - Dmitry Naumenko
9f499eb51e Fixed yii\web\User::checkRedirectAcceptable() to treat acceptable content type */* as *
Closes #11523
2016-05-15 22:27:40 +03:00
Salem Ouerdani
2eb90f82fe removes nonexistent yii/web/rawCsrfToken from docs (#11521)
* removes nonexistent yii/web/rawCsrfToken from docs

* maj
2016-05-07 18:38:07 +02:00
Klimov Paul
abb408fc1d pgsql migrations fixed 2016-05-06 12:18:03 +03:00
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
2016-05-01 01:09:37 +03:00
cartmanchen
fc987f48de Fixes #11459: Fixed flash messages not destroyed when session.auto_start = 1 set in php.ini 2016-04-30 19:17:31 +03:00
Razzwan
0a10d6e265 Fixes #11414: Files specified as null in yii\web\AssetBundle won't be registered 2016-04-30 16:29:11 +03:00
Carsten Brandt
731769241b release version 2.0.8 2016-04-28 16:50:20 +02:00
Carsten Brandt
55b858df6d use already existing error string
this one is already available and translated to some languages.
2016-04-28 02:53:39 +02:00
Juuso Leinonen
396bd9f714 Fixes #10309: Extracted yii\web\UrlManager rule cache key into $cacheKey protected property 2016-04-27 00:58:12 +03:00
Darking
f75f453ec4 Fixes #10475: Extracted getUrlFromCache() and setRuleToCache() protected methods from yii\web\UrlManager::createUrl() 2016-04-27 00:54:30 +03:00
dawei
5bd35c344c dont set return url, if request method is not GET 2016-04-22 22:21:31 +03:00
Alexander Makarov
6dd017c2a3 Additional fix for #10617 2016-04-22 16:51:54 +03:00
Carsten Brandt
9c1fa3f745 allow resetting properties in UrlManager, same as Request
fixes #11336
2016-04-21 14:07:09 +02:00
Carsten Brandt
1f0e24c528 allow resetting autodetected properties in yii\web\Request
fixes #11336
2016-04-21 12:54:59 +02:00
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 2016-04-12 02:32:00 +03:00
maine-mike
ad6047e09f Fixes #10480: Fixed removing old identity cookie when loggin in as another user without logging out first 2016-04-12 02:19:34 +03:00
mdmunir
d437c4bd37 Add session migration 2016-04-09 20:45:59 +03:00