Qiang Xue
fad635440b
Fixes #2655 : Arrayable and ArrayableTrait are incompatible for some PHP versions.
11 years ago
Carsten Brandt
e2aacad8aa
Added links to PHP.net to apidoc
11 years ago
Qiang Xue
65bfd1633b
Fixes #2646 : Added support for specifying hostinfo in the pattern of a URL rule
11 years ago
Carsten Brandt
8df35f7627
reset access cache when user identity is set
...
fixes #2632
11 years ago
AlexGx
eaaa5b1bb5
fix code style
11 years ago
Qiang Xue
94a9087b89
Renamed `User::loginByToken()` to `loginByAccessToken()`.
11 years ago
Qiang Xue
a8c7d36c02
Finished HATEOAS support.
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
11 years ago
Alexander Mohorev
c7e8d8b900
@param , @var , @property and @return must declare types as boolean, integer, string, array or null
11 years ago
Qiang Xue
7a04dbaae1
Support for other auth types.
11 years ago
Qiang Xue
af33e821a0
typo fix.
11 years ago
Qiang Xue
48a12559b2
rest api WIP
11 years ago
Qiang Xue
4891aa79bf
Fixes #1535 : Improved `yii\web\User` to start session only when needed. Also prepared it for use without session.
11 years ago
Qiang Xue
ec05c0eaf7
typo fix.
11 years ago
Qiang Xue
489c094766
Fixes #1564 : Removed `yii\web\Session::autoStart` and added `hasSessionId`. Session will be automatically started when accessing session data
11 years ago
Qiang Xue
032f38a57b
Added `yii\web\Request::getAuthUser()` and `getAuthPassword()`
11 years ago
Qiang Xue
24e086deaf
Added `yii\web\UrlRuleInterface` and `yii\web\CompositeUrlRule`
11 years ago
Qiang Xue
49010df192
Changed `Controller::afterAction()`, `Module::afterAction()` and `ActionFilter::afterAction()` to pass `$result` by value instead of reference
11 years ago
andy5
b9837d8d69
Change AssetBundle.register() return type to static
...
Enable IDE typehints for custom AssetBundle properties (related to #2572 ).
11 years ago
Qiang Xue
ad06b80e6e
Enhanced parsing the accept header.
11 years ago
Qiang Xue
3dead3386c
CS fix.
11 years ago
tof06
61767861fb
Add X-PJAX-URL header when redirect a pjax request
11 years ago
tof06
8c1d39b348
Add getIsPjax method to Request
11 years ago
Carsten Brandt
c46b35b13c
allow configuring asset converter property with default class
11 years ago
Alexander Makarov
752b7cf9d1
Fixes #2502 : Unclear error message when `$_SERVER['DOCUMENT_ROOT']` is empty
11 years ago
Alexander Makarov
6a1816a94e
Allow using string for URL in case there are no parameters
11 years ago
Alexander Makarov
43c17d99cc
Fixes #2426 : Changed URL creation method signatures to be consistent
11 years ago
Carsten Brandt
098567ce16
fixed phpdoc errors and updated properties
11 years ago
Carsten Brandt
5558fa1297
small code style fix
11 years ago
Qiang Xue
26cb7b2a3c
Renamed `fooVar` to `fooParam` for various classes.
11 years ago
Borales
b4fd27a91b
Removed unnecessary PHPDoc property ( ce04134db2
)
11 years ago
Qiang Xue
1cd3f2bbd7
Fixed test break.
11 years ago
Qiang Xue
65a8eae717
Fixes #2399 : Fixed the bug that AssetBundle did not handle relative URLs correctly
11 years ago
Qiang Xue
80d69a6551
Renamed csrfParam back to csrfVar for consistency.
11 years ago
Qiang Xue
677ee94bb1
Fixes #2386
11 years ago
Dilip
e87220bed4
Update Request.php
11 years ago
Dilip
85a8191f6e
Changed csrf-var to csrf-param
...
Changed csrf-var to csrf-param due to meta validation error. The validation error as mentioned in the issue https://github.com/yiisoft/yii2/issues/2363 . It is fixed in this pull request.
11 years ago
Qiang Xue
fb4b0ae98d
The scripts in asset bundles are now registered in `View` at the end of `endBody()`. It was done in `endPage()` previously
11 years ago
Qiang Xue
2dc341f893
not sending csrf header in ajax response.
11 years ago
pzaremba
7d96de6619
one more revert.
11 years ago
pzaremba
75ae3db906
Reverted changes unrelated to issue #2325
11 years ago
pzaremba
9b96338a63
Revert "fixing wrapping - my NetBeans has a mind of its own."
...
This reverts commit 80be824fc7
.
11 years ago
pzaremba
80be824fc7
fixing wrapping - my NetBeans has a mind of its own.
11 years ago
pzaremba
0bf39f6e98
Adding support for the X-HTTP-Method-Override header.
11 years ago
Qiang Xue
646e371b44
Fixes #1812 : Hide potential warning message due to race condition occurring to `Session::regenerateID()` call
11 years ago
vova07
efaaec1cbf
Improved to support aliases. Fixes #2240 .
11 years ago
Qiang Xue
d53f4dd9ea
Fixes #2139 : error found while sending response is not displayed.
11 years ago
Qiang Xue
4433a67f8e
Added `yii\web\View::clear()`
11 years ago
Carsten Brandt
3519c14e60
throw exceptions in case of invalid response content
...
fixes #1842
11 years ago
Qiang Xue
02b908bd9c
Fixes #938 : added `yii\web\View::renderAjax` and `yii\web\Controller::renderAjax`.
11 years ago