Commit Graph

226 Commits

Author SHA1 Message Date
Qiang Xue
1edeb7aa5e Fixed test break. 2013-12-30 21:35:15 -05:00
Qiang Xue
5f8e6d377b Fixes #1706: Added support for registering a single JS/CSS file with dependency 2013-12-30 21:02:42 -05:00
Qiang Xue
943bf88904 doc fix. 2013-12-29 23:36:19 -05:00
Alexander Makarov
404757bf82 Fixes #1631: Charset is now explicitly set to UTF-8 when serving JSON 2013-12-29 00:32:03 +01:00
Qiang Xue
f554d46aaa minor fixes. 2013-12-28 13:14:33 -05:00
Qiang Xue
c31e113d95 Fixes #1671 2013-12-28 08:59:29 -05:00
Qiang Xue
4b569f3e90 Fixed CSRF token masking issue. 2013-12-27 23:26:38 -05:00
Qiang Xue
c8960168c5 Fixes #1634: Use masked CSRF tokens to prevent BREACH exploits 2013-12-26 17:51:14 -05:00
Qiang Xue
2686403c0e Use better random CSRF token. 2013-12-26 16:19:09 -05:00
Alexander Makarov
be5afe7da8 Fixes #1572: Added yii\web\Controller::createAbsoluteUrl() 2013-12-22 22:06:11 +01:00
Paul Kofmann
8c4412be50 short array syntax 2013-12-18 14:05:00 +01:00
Alexander Makarov
2355c764a8 Fixed Call to a member function registerAssetFiles() on a non-object in case of wrong sourcePath for an asset bundle 2013-12-12 18:39:40 +01:00
Carsten Brandt
ac3967cab7 removed unused property from Session
cleanup after #1479
2013-12-11 16:47:30 +01:00
DaSourcerer
97645bcfb5 Removed compatibility code for PHP < 5.4 2013-12-11 14:07:17 +01:00
Qiang Xue
e56d60ad49 Escape special chars in URL rules. 2013-12-10 17:04:39 -05:00
Alexander Kozhevnikov
41d24ee903 Replace request with response in code example 2013-12-09 14:51:45 +03:00
Alexander Makarov
26767735dc Renamed byte methods, moved path methods back to StringHelper 2013-12-04 14:26:47 +01:00
Alexander Makarov
5f2a612c78 Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods 2013-12-04 09:48:01 +01:00
Qiang Xue
c7c13a6693 Added concrete http exception classes. 2013-11-29 21:22:08 -05:00
Qiang Xue
a5e3c00d75 replaced inheritdoc tags. 2013-11-29 12:49:07 -05:00
Panagiotis Moustafellos
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
Qiang Xue
13c6b99814 Fixes #1331: Added support for using '*' to specify verb filters for all actions. 2013-11-26 16:28:55 -05:00
Panagiotis Moustafellos
2ff8ac3d61 fixed PhpDoc by swapping to {@inheritdoc} 2013-11-26 04:24:20 +02:00
Qiang Xue
4b353c7bce Fixes #1297: CSRF not generated on error pages 2013-11-24 17:41:09 -05:00
Qiang Xue
7b0ba10d31 Fixes #1248: url manager didn't handle array parameters well. 2013-11-23 13:13:12 -05:00
Qiang Xue
248e0cb916 Added default status code setting. 2013-11-21 08:41:04 -05:00
Qiang Xue
9e1fa1f7a4 Added code example. 2013-11-20 22:56:21 -05:00
Qiang Xue
423ce83798 adjusted log place. 2013-11-20 22:53:43 -05:00
Carsten Brandt
33f4a142ee fixes invalid value in controller redirect
fixes #1261
2013-11-21 01:56:42 +01:00
Qiang Xue
900100c29e Merge pull request #1258 from cebe/self-static
Changed usage of self to static to allow extendibility
2013-11-20 12:29:04 -08:00
Carsten Brandt
a82330b212 reverted duplicated fix for #1244
fixes #1244
2013-11-20 21:09:30 +01:00
Carsten Brandt
e775c82dd8 Changed usage of self to static to allow extendibility
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static

verification code for properties:
https://gist.github.com/cebe/7566916
2013-11-20 18:36:05 +01:00
Carsten Brandt
64862f96ca disable CSRF validation after validation has failed
this allows to be able to call error action.

fixes #1244
2013-11-20 14:35:08 +01:00
Carsten Brandt
f5219d2481 Response status code default is 200
fixes #1220
2013-11-20 14:14:04 +01:00
Qiang Xue
d2e5f2c507 Fixes #1234: use dash instead of underscore to separate language and country in locale id. 2013-11-19 16:33:52 -05:00
Qiang Xue
c7ff329e3c doc fix. 2013-11-16 21:30:34 -05:00
egorpromo
c16c181247 Must be one method to get _GET. getGet() is just duplication 2013-11-16 23:25:44 +07:00
Qiang Xue
ffded7a1b5 array syntax fix. 2013-11-15 10:15:25 -05:00
Carsten Brandt
539e233d9c massive improvement on class documentation
- added example code for application components
- added missing short description

[ci skip]
2013-11-13 01:16:21 +01:00
egorpromo
b6424946e4 Little helpful description for Session::cookieParam 2013-11-12 21:12:43 +07:00
slavcodev
b0b1c27c85 Fix phpDoc var tag format 2013-11-12 06:21:04 +02:00
Taras Gudz
f9db4fecb9 Fixed phpDocs [skip ci] 2013-11-12 02:54:54 +00:00
Qiang Xue
a7175bae31 Refactored Session as suggested in #1172 2013-11-11 20:52:27 -05:00
Qiang Xue
342a9a2e1a Added log messages to user login and logout actions. 2013-11-11 20:19:46 -05:00
Qiang Xue
20018b3fd3 Merge pull request #1172 from egorpromo/descript-for-sessionParam2
More precise descripton fo Session::cookieParam
2013-11-11 07:10:51 -08:00
egorpromo
7565dec37d More precise descripton fo Session::cookieParam 2013-11-11 21:35:34 +07:00
Qiang Xue
a408b75318 Fixes #1169: anchor doesn't work when enablePrettyUrl is false. 2013-11-11 07:28:55 -05:00
Qiang Xue
dbecf848f4 Fixes #1156: action parameter binding now checks for array type. 2013-11-08 23:21:41 -05:00
Carsten Brandt
5ddb0e2cbf controller php-doc 2013-11-08 12:34:13 +01:00
Carsten Brandt
913eb62294 updated phpdoc and fixed generator read/write-only annotation 2013-11-08 12:24:03 +01:00