Commit Graph

84 Commits

Author SHA1 Message Date
Carsten Brandt
7126209037 make AccessRule::matchVerb() more reliable
related to #11857
2016-07-03 12:47:56 +02:00
Carsten Brandt
d9122a74a9 improved tests and docs for #11857 2016-07-03 11:02:25 +02:00
DrDeath72
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
Carsten Brandt
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
Carsten Brandt
be3453fe1c improved HttpCache documentation 2016-03-28 04:15:11 +02:00
particleflux
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
Carsten Brandt
e0e19aea64 fixed broken markdown in VerbFilter
fixes #11179
2016-03-23 18:16:08 +01:00
Alexander Makarov
97bc4e0567 Fixed wrong case in method calls 2016-02-16 13:53:53 +03:00
Carsten Brandt
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
SilverFire - Dmitry Naumenko
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
SilverFire - Dmitry Naumenko
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
Alexander Makarov
8260cfa4ea Compare with null instead of isset 2015-10-10 01:12:59 +03:00
Alexander Makarov
776f029845 Clarified that IDs in AccessRule::$controllers should be prefixed with module ID 2015-09-10 15:03:20 +03:00
Dmitry Kushnikov
19fdd4f96d Fix problem, that Application::getUser can return null 2015-08-12 11:36:13 +03:00
kidol
bf8eb490a1 Fixes PageCache not setting any duration and dependency when caching response data
close #9076
2015-08-03 11:40:20 +02:00
Alexander Mohorev
68c30c1034 Replace aliases of functions 2015-06-29 22:59:22 +03:00
Alexander Mohorev
39cb131984 Spelling and sc fixes 2015-06-16 23:53:12 +03:00
Qiang Xue
23d8cede64 Fixes #7409: Allow yii\filters\auth\CompositeAuth::authMethods to take authentication objects 2015-04-05 18:19:41 -04:00
Qiang Xue
ac623ab8f6 Fixes #7850: Added and to allow selectively caching cookies and HTTP headers 2015-03-24 21:18:59 -04:00
Qiang Xue
04e1da1a7d Added to allow caching cookies selectively and turn off cookie caching by default 2015-03-23 14:08:27 -04:00
Qiang Xue
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
Qiang Xue
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
Qiang Xue
0068a94af1 Fixes #4710: added cache busting support for assets 2015-02-08 22:28:03 -05:00
Qiang Xue
4efb36d309 Make Cors more robust. 2015-02-07 22:02:24 -05:00
usualdesigner
649ff9d319 Allow to set Access-Control-Expose-Headers in Cors filter 2015-01-15 22:02:29 -05:00
Qiang Xue
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
Qiang Xue
061b149675 minor rewording [skip ci] 2014-12-26 15:40:27 -05:00
Alexander Makarov
c76ad1ce0c Fixes #6554: clarified docs about AccessRule::$roles 2014-12-26 23:33:42 +03:00
DaSourcerer
4db0149df4 Merge branch 'master' of https://github.com/yiisoft/yii2 into HttpCache-etag-zero-padding-removal 2014-12-24 14:06:22 +01:00
DaSourcerer
1541e7cc23 Strip zero padding from ETag strings 2014-12-24 13:36:49 +01:00
Alexander Makarov
40f0efe2c9 Used import instead of FQN 2014-10-14 01:42:15 +04:00
Alexander Makarov
02622b6fe4 phpdoc fixes and additions 2014-10-14 01:35:21 +04:00
Qiang Xue
2e105d2a93 Merge branch 'master' of git://github.com/yiisoft/yii2
Conflicts:
	framework/CHANGELOG.md
2014-10-08 23:34:00 -04:00
Qiang Xue
046b56ce8f Fixes #5423: yii\behaviors\Cors causes "undefined index" error when its cors is configured 2014-10-08 23:31:40 -04:00
Sergey
3611b51bd3 typo fix 2014-10-07 18:31:25 +04:00
kirill
0cf1093b1e fix docs typo on \yii/filters/Cors 2014-10-03 00:04:27 +04:00
Qiang Xue
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
Qiang Xue
9a68678ded Additional fix to #4728. 2014-08-16 22:30:28 -04:00
Qiang Xue
45dbbc39f6 Additional fix to #4728. 2014-08-16 22:25:55 -04:00
DaSourcerer
a5b6c19d81 Removed bogus conditional 2014-08-16 21:48:28 +02:00
DaSourcerer
a315f2b7d0 Merge with master 2014-08-14 20:08:42 +02:00
DaSourcerer
1950d90418 Fix for #4372 2014-08-14 19:28:39 +02:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Carsten Brandt
1f31f27787 phpdoc 2014-07-29 22:19:14 +02:00
Philippe Gaultier
6dc056b325 #4388: CORS filter fixes:
- Upgrade the documentation to match filter code
- Fix bad default behavior with Access-Control-Allow-Credentials
- Fix missing "s" in header Access-Control-Request-Method / Access-Control-Allow-Methods
2014-07-21 23:23:05 +04:00
Qiang Xue
1b5adca0f2 Merge pull request #4193 from pgaultier/feature/CORS
CORS Filter
2014-07-18 11:54:09 -04:00
Oleg Belostotskiy
cb96af767b Remove extra import and fix comment 2014-07-15 00:54:30 +04:00
Carsten Brandt
28a95f9a6c phpdoc 2014-07-14 15:16:18 +02:00
Philippe Gaultier
3b1d7fd0d7 Fix unused var 2014-07-08 16:09:45 +02:00
Philippe Gaultier
9d25418b05 Remove static functions 2014-07-04 16:55:34 +02:00