Dmitry Kushnikov
3d55ee5af0
Add possibility to customize path to binary using alias.
...
If you don't want to install command-line utils globally, you have to specify it's paths.
public $commands = [
'styl' => ['css', '@app/node_modules/bin/stylus < {from} > {to}'],
];
close #5130
10 years ago
Qiang Xue
a81969950d
Adjusted dependency versions to stable ones.
10 years ago
Carsten Brandt
6744228e77
use mb_string to work with non latin characters
10 years ago
Qiang Xue
924e4f97e9
typo fix.
10 years ago
Qiang Xue
ecdb41e046
Fixes #5061 : Switched to use jquery composer package.
10 years ago
Qiang Xue
91e41b0470
Fixes #5001 : `yii\rest\CreateAction`, `yii\rest\UpdateAction` and `yii\rest\DeleteAction` should throw 500 error if the model operation returns false without validation errors
10 years ago
Alexander Kochetov
090e550a3d
Rename `\yii\web\User` component param for consistency
10 years ago
Qiang Xue
b1e7c753ae
Fixes #2702 : added doc about customizing error response format [skip ci]
10 years ago
Alexander Makarov
4832760604
Removed unused "use" statements
10 years ago
Veaceslav Medvedev
48821a8c2c
Update UrlManager.php
10 years ago
Alexander Makarov
a20f82dcfa
Fixes #4919
10 years ago
Qiang Xue
262a77caca
Added `yii\web\Response::enableCsrfCookie` to support storing CSRF tokens in session
10 years ago
Qiang Xue
d6fd45079e
typo fix.
10 years ago
Qiang Xue
60e07e0d2a
new asset WIP: renabled asset publishing
10 years ago
Carsten Brandt
92b958cd33
fixed return value of yii\web\Request::getPrefferedLanguage
...
ensure it is one of the input values
fixes #4880
10 years ago
Qiang Xue
fa0418f8a1
Fixes #4424 : Added `inline` and `mimeType` options to all file downloading methods provided in `yii\web\Response`
10 years ago
Qiang Xue
2f526521ce
new asset WIP
10 years ago
Qiang Xue
04f49de881
new asset WIP
10 years ago
Qiang Xue
f51a263570
new asset management WIP
10 years ago
Qiang Xue
f3105f736a
Fixes #3283 : Added `$checkAjax` to `yii\web\User::loginRequired()`
10 years ago
Alexander Makarov
355c26df8b
Fixes #4188 : API exceptions are now exposing less data when YII_DEBUG is false
...
- If exception is internal it's always returned as HTTP 500 general purpose one.
- Type isn't exposed anymore.
10 years ago
Jin Hu
3a7ed9b1a9
Added yii\web\Request::setRawBody()
10 years ago
Klimov Paul
fe36bc9ecd
`options` parameter extracted at `yii\web\Response::xSendFile()`
10 years ago
Klimov Paul
e3cea2138a
Added `forceDownload` parameter to `yii\web\Response::xSendFile()`
10 years ago
Qiang Xue
1cfa5bc9ee
Fixes #4740 : Added `yii\web\Session::addFlash()`
10 years ago
restyler
f1aeac5dc2
addFlash method was implemented
10 years ago
restyler
3d2cac534c
Multiple flash messages per type support
10 years ago
Alexander Makarov
90c6a476ce
Fixes #4727 : Fixed wrong Stylus definition in `\yii\web\AssetConverter`
10 years ago
Qiang Xue
88d38b7820
Fixes #4501 : Renamed the constant `YII_PATH` to `YII2_PATH`
10 years ago
Paweł 'Zibi' Zaremba
c6c29db9b4
Fixes #4636 : Added `yii\web\Response::setDownloadHeaders()`
10 years ago
Damian Dennis
aec7dca2cd
added source map generation so that styling can be debugged easily.
10 years ago
Qiang Xue
0cdf2f5171
Fixed code break.
10 years ago
Qiang Xue
dee0382c1f
Added `yii\base\InvalidValueException`.
...
Refactored `yii\web\User`.
10 years ago
Qiang Xue
7a55aea247
Fixes #4600
10 years ago
Tadas Z
f010fb57b4
Enh #4581 : Added ability to disable url encoding in `UrlRule`.
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Carsten Brandt
1f31f27787
phpdoc
10 years ago
Carsten Brandt
08a480c6e6
make Request more robust against invalid CSRF data
...
fixes #4514
10 years ago
tom--
2c5c2c101b
Fixes #4131 : Security adjustments
10 years ago
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
10 years ago
Alexander Makarov
07f01bcf2b
Used substr_compare instead of substr when we don't care about result
10 years ago
Qiang Xue
4e4e76e883
Request::cookieValidationKey must be explicitly specified now.
10 years ago
OmgDef
697a85dd26
Check for UPLOAD_ERR_NO_FILE in UploadedFile
...
fixes #4276 , close #4358
10 years ago
Qiang Xue
e5a87af234
Fixes #4331 : `yii\helpers\Url` now uses `UrlManager` to determine base URL when generating URLs
10 years ago
Carsten Brandt
4717571e22
improved docs about goBack()
...
fixes #4343
10 years ago
Nikola Kovacs
f6c589f043
Add absoluteAuthTimeout to yii\web\User.
...
This is based on the code from Yii 1.1.14 by Ivo Kund.
10 years ago
Carsten Brandt
8b70a55b14
Improved global configuration of assetmanager
...
Added `beforeCopy`, `afterCopy`, `forceCopy` properties to AssetManager
fixes #4209
10 years ago
Alexander Makarov
5296da3390
Adjusted phpdoc
10 years ago
Qiang Xue
acaa4f8194
Fixes #4204 : `yii\web\Request::getUserIP()` will return null if it cannot detect user IP address
10 years ago