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
45dbbc39f6
Additional fix to #4728 .
2014-08-16 22:25:55 -04:00
a5b6c19d81
Removed bogus conditional
2014-08-16 21:48:28 +02:00
a315f2b7d0
Merge with master
2014-08-14 20:08:42 +02:00
1950d90418
Fix for #4372
2014-08-14 19:28:39 +02:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
1f31f27787
phpdoc
2014-07-29 22:19:14 +02:00
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
1b5adca0f2
Merge pull request #4193 from pgaultier/feature/CORS
...
CORS Filter
2014-07-18 11:54:09 -04:00
cb96af767b
Remove extra import and fix comment
2014-07-15 00:54:30 +04:00
28a95f9a6c
phpdoc
2014-07-14 15:16:18 +02:00
3b1d7fd0d7
Fix unused var
2014-07-08 16:09:45 +02:00
9d25418b05
Remove static functions
2014-07-04 16:55:34 +02:00
be2d5530f3
Allow the user to remove field by nulling it's value. Usefull for Access-Control-Max-Age
2014-07-04 14:38:15 +02:00
25ad826dd0
Fix multiple headers management in Access-Control-Request-Headers
2014-07-04 14:19:33 +02:00
f31bfd1f1a
Allow the user to override the request like in RateLimiter
2014-07-04 13:57:48 +02:00
62f43e175c
Merge branch 'master' into feature/CORS
2014-07-04 12:23:51 +02:00
f66e28c4aa
Fixes #4199 : added missing category to logging calls
2014-07-04 11:40:30 +03:00
6b83433731
Move methods
2014-07-03 17:44:49 +02:00
397cf6795e
Adding CORS filter to allow Cross origin resource Sharing
2014-07-03 17:39:09 +02:00