nkovacs
f41abf9105
Update documentation to mention addFlash
2014-09-30 09:51:17 +02:00
Qiang Xue
29a5cd20c4
more guide.
2014-09-30 00:15:28 -04:00
Qiang Xue
d2b864da84
prepare for 2.0.0-rc release.
2014-09-27 21:59:54 -04:00
Qiang Xue
e7de579ee6
Fixes #5202 : View::registerJsFiles should not strip leading backlashes for protocol relative URL
2014-09-26 16:35:15 -04:00
Qiang Xue
851d15380f
Fixes #5131 : Added $autoRenew parameter to yii\web\User::getIdentity()
2014-09-22 17:58:58 -04:00
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
2014-09-22 16:37:28 +02:00
Qiang Xue
a81969950d
Adjusted dependency versions to stable ones.
2014-09-18 23:09:45 -04:00
Carsten Brandt
6744228e77
use mb_string to work with non latin characters
2014-09-17 19:29:35 +02:00
Qiang Xue
924e4f97e9
typo fix.
2014-09-17 10:02:37 -04:00
Qiang Xue
ecdb41e046
Fixes #5061 : Switched to use jquery composer package.
2014-09-17 09:59:44 -04:00
Qiang Xue
074c1f6c53
Merge branch 'master' into new-asset
...
Conflicts:
apps/basic/composer.json
composer.json
2014-09-16 20:03:53 -04:00
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
2014-09-12 13:49:34 -04:00
Alexander Kochetov
090e550a3d
Rename \yii\web\User component param for consistency
2014-09-10 05:55:07 +04:00
Qiang Xue
b1e7c753ae
Fixes #2702 : added doc about customizing error response format [skip ci]
2014-09-07 12:40:50 -04:00
Alexander Makarov
4832760604
Removed unused "use" statements
2014-09-07 15:46:54 +04:00
Veaceslav Medvedev
48821a8c2c
Update UrlManager.php
2014-09-04 22:27:23 +03:00
Alexander Makarov
a20f82dcfa
Fixes #4919
2014-09-04 20:44:36 +04:00
Qiang Xue
262a77caca
Added yii\web\Response::enableCsrfCookie to support storing CSRF tokens in session
2014-09-04 12:20:09 -04:00
Qiang Xue
d6fd45079e
typo fix.
2014-09-03 12:23:16 -04:00
Qiang Xue
60e07e0d2a
new asset WIP: renabled asset publishing
2014-09-02 14:51:44 -04:00
Carsten Brandt
92b958cd33
fixed return value of yii\web\Request::getPrefferedLanguage
...
ensure it is one of the input values
fixes #4880
2014-09-01 12:46:38 +02:00
Qiang Xue
fa0418f8a1
Fixes #4424 : Added inline and mimeType options to all file downloading methods provided in yii\web\Response
2014-08-30 22:13:42 -04:00
Qiang Xue
2f526521ce
new asset WIP
2014-08-30 21:34:35 -04:00
Qiang Xue
04f49de881
new asset WIP
2014-08-28 14:21:27 -04:00
Qiang Xue
f51a263570
new asset management WIP
2014-08-27 16:44:00 -04:00
Qiang Xue
f3105f736a
Fixes #3283 : Added $checkAjax to yii\web\User::loginRequired()
2014-08-26 22:29:40 -04:00
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.
2014-08-27 00:50:02 +04:00
Jin Hu
3a7ed9b1a9
Added yii\web\Request::setRawBody()
2014-08-20 23:14:48 +08:00
Klimov Paul
fe36bc9ecd
options parameter extracted at yii\web\Response::xSendFile()
2014-08-19 16:31:42 +03:00
Klimov Paul
e3cea2138a
Added forceDownload parameter to yii\web\Response::xSendFile()
2014-08-19 12:18:35 +03:00
Qiang Xue
1cfa5bc9ee
Fixes #4740 : Added yii\web\Session::addFlash()
2014-08-18 14:20:09 -04:00
restyler
f1aeac5dc2
addFlash method was implemented
2014-08-18 14:14:24 -04:00
restyler
3d2cac534c
Multiple flash messages per type support
2014-08-18 14:14:23 -04:00
Alexander Makarov
90c6a476ce
Fixes #4727 : Fixed wrong Stylus definition in \yii\web\AssetConverter
2014-08-17 01:18:55 +04:00
Qiang Xue
88d38b7820
Fixes #4501 : Renamed the constant YII_PATH to YII2_PATH
2014-08-14 22:17:05 -04:00
Paweł 'Zibi' Zaremba
c6c29db9b4
Fixes #4636 : Added yii\web\Response::setDownloadHeaders()
2014-08-14 22:01:10 -04:00
Damian Dennis
aec7dca2cd
added source map generation so that styling can be debugged easily.
2014-08-13 12:48:41 +10:00
Qiang Xue
0cdf2f5171
Fixed code break.
2014-08-06 10:27:37 -04:00
Qiang Xue
dee0382c1f
Added yii\base\InvalidValueException.
...
Refactored `yii\web\User`.
2014-08-06 10:07:14 -04:00
Qiang Xue
7a55aea247
Fixes #4600
2014-08-05 07:53:20 -04:00
Tadas Z
f010fb57b4
Enh #4581 : Added ability to disable url encoding in UrlRule.
2014-08-04 00:07:36 +03: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
Carsten Brandt
08a480c6e6
make Request more robust against invalid CSRF data
...
fixes #4514
2014-07-29 20:13:57 +02:00
tom--
2c5c2c101b
Fixes #4131 : Security adjustments
2014-07-26 03:29:30 +04:00
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
2014-07-25 17:26:35 +04:00
Alexander Makarov
07f01bcf2b
Used substr_compare instead of substr when we don't care about result
2014-07-23 16:37:49 +04:00
Qiang Xue
4e4e76e883
Request::cookieValidationKey must be explicitly specified now.
2014-07-19 15:39:03 -04:00
OmgDef
697a85dd26
Check for UPLOAD_ERR_NO_FILE in UploadedFile
...
fixes #4276 , close #4358
2014-07-19 11:57:14 +02:00
Qiang Xue
e5a87af234
Fixes #4331 : yii\helpers\Url now uses UrlManager to determine base URL when generating URLs
2014-07-17 21:51:37 -04:00