Alexander Makarov
8c98d99596
Removed fallback from mb_parse_str to parse_str from Request::getRestParams since mb_ availability is Yii2 requirement
11 years ago
Alexander Makarov
e67b9a8482
Removed check for PHP 5.4 from Session::open()
11 years ago
Alexander Makarov
2ce09559a2
fixes #1055
11 years ago
Alexander Makarov
ee2af2661c
Removed unneeded use statements
11 years ago
Alexander Makarov
616b406a0c
fixes #979
11 years ago
Qiang Xue
732b9ab8fb
removed unused use statement.
11 years ago
Qiang Xue
b03b38fb0d
Added $publish parameter to AssetManager::getBundle().
11 years ago
Carsten Brandt
1475b46249
adjusted asset phpdoc after refactoring #996
11 years ago
Qiang Xue
40cb5b813e
Fixed bug in AssetBundle::registerAssets().
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
f4e3edb1e0
Fixes #1004 .
11 years ago
Qiang Xue
3cd897e583
Fixed asset file registration with extra leading slashes.
11 years ago
Qiang Xue
602592411d
Fixes #996 .
11 years ago
Carsten Brandt
6507e2e316
applied new style of Yii::t params to all occurences
11 years ago
Carsten Brandt
7817514e86
fixed default status code for Response::redirect()
...
fixes #961
11 years ago
Carsten Brandt
abc1e0c2bb
fix issue #700
...
adjust depended asset position or throw exception on conflict
11 years ago
Qiang Xue
8bff031fc2
Fixed the issue that dots in URL rules would match any character.
11 years ago
Alexander Makarov
c7d7a3ce36
Fixed missing error page when AccessControl is used with default deny rule
11 years ago
Alexander Makarov
6488fe47ec
Better phpdoc for chained method calls
11 years ago
Qiang Xue
293cb9d86f
Fixed search form.
11 years ago
egorpromo
536075c040
Just simple correction of unintelligible description
11 years ago
Qiang Xue
fe58cbd56a
doc update.
11 years ago
Carsten Brandt
2c30ddfcb0
added web\Controller::goBack() as shortcut
...
goBack() will redirect user to his returnUrl
fixes #925
11 years ago
Qiang Xue
ba1496cd50
doc fix.
11 years ago
Qiang Xue
b59812507a
reverted doc change: the original one is correct.
11 years ago
Alexander Makarov
45778a4bd7
Added ->send() to redirect phpdoc example
11 years ago
Alexander Makarov
e19d0dacf9
Fixes #823 : consistent interface naming
11 years ago
Qiang Xue
76154b9776
Fixes #901 : Added $delete parameter to Session::getFlash().
11 years ago
Qiang Xue
93d5f5a3ec
Fixes #897 .
11 years ago
Qiang Xue
ae39324e54
Support ajax redirection.
11 years ago
Qiang Xue
3acca93ad3
Enable CSRF validation by default.
11 years ago
Qiang Xue
1aeb86df78
refactored Request::validateCsrfToken().
11 years ago
Qiang Xue
4f555a5751
Fixed CSRF validation bug.
11 years ago
Qiang Xue
f9b957554f
Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions.
11 years ago
Carsten Brandt
b8ffee6559
moved CacheSession::init() parent call after init of cache component
...
session autostart would fail otherwise.
fixes #887
11 years ago
Carsten Brandt
cc09ef56b9
updated @property annotations of web\Request
11 years ago
Qiang Xue
2deff126cf
Supports sending CSRF token via HTTP header.
11 years ago
Qiang Xue
1aa836ffc7
use meta tags to pass CSRF token.
11 years ago
Qiang Xue
ad479dd7f6
Modified js registration position.
11 years ago
Qiang Xue
51c29e444d
renamed Request::csrfTokenName to csrfVar.
...
added version, csrfVar and csrfToken to yii js module.
11 years ago
Alexander Makarov
f34d7064ea
Better phpdoc for AccessControl
11 years ago
Qiang Xue
30907b6134
Fixes #826 : cleaned up User::getReturnUrl().
11 years ago
Benjamin Wöster
64d57b397a
add checks for HEAD request
11 years ago
Benjamin Wöster
d02e7d4004
add checks for GET and OPTIONS requests
11 years ago
Qiang Xue
ea10868824
Removed Yii::import().
11 years ago
Qiang Xue
afd0472784
Fixes #837 : turn private variables into public ones.
11 years ago
Qiang Xue
947a557240
Reverted changeset 595ac6d0be
11 years ago
Qiang Xue
595ac6d0be
Fixes #833 : added charset to json response.
11 years ago
Carsten Brandt
4b7f5a728a
improved control over and handling of file and dir permissions
...
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
over directory permissions.
11 years ago
Alexander Makarov
e1a6aacba8
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049
)
11 years ago