96 Commits

Author SHA1 Message Date
da944aa9c0 Rebased "Revamps PageCache to store data in one entry (#10506)" (#12145) 2016-12-14 14:59:00 +03:00
35998449eb Add yii\filters\HostControl::$fallbackHostInfo (#13117) 2016-12-03 08:25:39 +02:00
7da77c3d5a created HostControl filter to prevent Host header attacks
fixes #13050
close #13063
2016-12-01 00:59:26 +01:00
7a3a342127 Fix errors reported by apidoc extension. (#12986) 2016-11-13 14:51:21 +01:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
2a9a997277 Added support for wildcards for optional at yii\filters\auth\AuthMethod 2016-10-10 12:24:04 +03:00
cd26cbf11a added docs example to HttpBasicAuth filter
fixes #8740
2016-08-30 15:06:33 +02:00
bbeebaa11e Update PageCache.php 2016-08-19 12:20:59 +03:00
931e8cda96 Update PageCache.php 2016-08-17 10:56:07 +03:00
afc298c6ef Fixed HttpCache was sending an empty Pragma header (#12100) (#12123) 2016-08-09 15:03:57 +02:00
bbbb98626f HttpCache no longer returns 304 HTTP code when callbacks return null (#12099) 2016-08-08 23:58:39 +03:00
1c65516153 Update AuthMethod.php (#12063) [skip ci] 2016-08-02 11:30:01 +03:00
7126209037 make AccessRule::matchVerb() more reliable
related to #11857
2016-07-03 12:47:56 +02:00
d9122a74a9 improved tests and docs for #11857 2016-07-03 11:02:25 +02:00
779c8e0a01 Fixes #11857: yii\filters\AccessRule::$verbs could not be configured with any case of request method names 2016-07-02 20:46:03 +03:00
7ba631b4ae improved docs about using CORS with REST controllers
fixes #10405, #6254 (thanks to @ydatech and @tunecino)

related to #8626

close #11086
2016-06-20 17:10:50 +02:00
be3453fe1c improved HttpCache documentation 2016-03-28 04:15:11 +02:00
1dfab19b77 Fixes #11137: Added weak ETag support to yii\filters\HttpCache. It could be turned on via setting $weakEtag to true 2016-03-25 23:39:29 +03:00
e0e19aea64 fixed broken markdown in VerbFilter
fixes #11179
2016-03-23 18:16:08 +01:00
97bc4e0567 Fixed wrong case in method calls 2016-02-16 13:53:53 +03:00
ddade3fc6e fixed behavior of AuthMethod::isActive
this is an adjustment of #10188 fixing  #7405
isActive() should not be affected in any way by specifying "optional" property.
isActive() should be determined from only and except.
If it is active it can then be checked if optional or not.
Currently this changes the behavior that except will always have precedence.
2016-02-07 16:35:28 +01:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
035a9ce0a8 Added yii\filters\auth\AuthMetod::optional property
Added `yii\base\ActionFilter::getActionId()` - code extracted from `ActionFilter::isActive()`
2015-11-19 19:00:12 +02:00
8260cfa4ea Compare with null instead of isset 2015-10-10 01:12:59 +03:00
776f029845 Clarified that IDs in AccessRule::$controllers should be prefixed with module ID 2015-09-10 15:03:20 +03:00
19fdd4f96d Fix problem, that Application::getUser can return null 2015-08-12 11:36:13 +03:00
bf8eb490a1 Fixes PageCache not setting any duration and dependency when caching response data
close #9076
2015-08-03 11:40:20 +02:00
68c30c1034 Replace aliases of functions 2015-06-29 22:59:22 +03:00
39cb131984 Spelling and sc fixes 2015-06-16 23:53:12 +03:00
23d8cede64 Fixes #7409: Allow yii\filters\auth\CompositeAuth::authMethods to take authentication objects 2015-04-05 18:19:41 -04:00
ac623ab8f6 Fixes #7850: Added and to allow selectively caching cookies and HTTP headers 2015-03-24 21:18:59 -04:00
04e1da1a7d Added to allow caching cookies selectively and turn off cookie caching by default 2015-03-23 14:08:27 -04:00
07403d3f9d Fixes #3723: yii\filters\PageCache now supports caching response headers as well as non-HTML response content 2015-02-21 19:45:44 -05:00
de6185811a Fixes #5457: yii\web\Cors should handle Access-Control-Request-Headers in a case-insensitive manner 2015-02-11 21:40:52 -05:00
0068a94af1 Fixes #4710: added cache busting support for assets 2015-02-08 22:28:03 -05:00
4efb36d309 Make Cors more robust. 2015-02-07 22:02:24 -05:00
649ff9d319 Allow to set Access-Control-Expose-Headers in Cors filter 2015-01-15 22:02:29 -05:00
d341bf02b4 Fixes #6398: Added support for specifying dependent component in terms of a configuration array for classes such as DbCache 2015-01-04 19:28:05 -05:00
061b149675 minor rewording [skip ci] 2014-12-26 15:40:27 -05:00
c76ad1ce0c Fixes #6554: clarified docs about AccessRule::$roles 2014-12-26 23:33:42 +03:00
4db0149df4 Merge branch 'master' of https://github.com/yiisoft/yii2 into HttpCache-etag-zero-padding-removal 2014-12-24 14:06:22 +01:00
1541e7cc23 Strip zero padding from ETag strings 2014-12-24 13:36:49 +01:00
40f0efe2c9 Used import instead of FQN 2014-10-14 01:42:15 +04:00
02622b6fe4 phpdoc fixes and additions 2014-10-14 01:35:21 +04:00
2e105d2a93 Merge branch 'master' of git://github.com/yiisoft/yii2
Conflicts:
	framework/CHANGELOG.md
2014-10-08 23:34:00 -04:00
046b56ce8f Fixes #5423: yii\behaviors\Cors causes "undefined index" error when its cors is configured 2014-10-08 23:31:40 -04:00
3611b51bd3 typo fix 2014-10-07 18:31:25 +04:00
0cf1093b1e fix docs typo on \yii/filters/Cors 2014-10-03 00:04:27 +04:00
7efb47bf39 Fixes #4920: yii\filters\auth\CompositeAuth should not trigger error as long as one of the methods succeeds
Fixes #3177: `yii\filters\auth\CompositeAuth` will send out challenges from all auth methods
2014-09-04 15:34:19 -04:00
9a68678ded Additional fix to #4728. 2014-08-16 22:30:28 -04:00