Commit Graph

3280 Commits

Author SHA1 Message Date
AlexGx
112f67d20a fix code style There must be one blank line after the namespace declaration 2014-03-04 05:39:17 +02:00
AlexGx
c5ed024109 fix phpFoc, added missing param 2014-03-04 05:08:40 +02:00
AlexGx
0f50e038c8 fix phpDoc, added @throws annotation BaseFileHelper::copyDirectory 2014-03-04 05:05:11 +02:00
Qiang Xue
64370f1ad6 Implemented rate limiter. 2014-03-03 22:01:58 -05:00
Qiang Xue
93861e09da Refactored auth methods. 2014-03-03 18:48:52 -05:00
Qiang Xue
74322593ed added support for rate limiting. 2014-03-03 17:02:06 -05:00
Qiang Xue
9a23e313d3 support authentication via query parameter. 2014-03-03 16:46:14 -05:00
Qiang Xue
dba030316c Merge pull request #2596 from tonydspaniard/2559-pjax-filter
2559 pjax filter
2014-03-03 16:22:37 -05:00
Antonio Ramirez
f5cc851fc2 return data from module scope variable 2014-03-03 22:12:40 +01:00
Alexander Makarov
9973a2fa20 Fixed phpdoc class reference in Theme 2014-03-04 00:56:13 +04:00
Sorokin Victor
eba9049b61 Update MessageController.php
fix code style
2014-03-03 22:47:01 +02:00
mitalcoi
4906cd3432 enchansment of db message source 2014-03-03 22:43:56 +02:00
Qiang Xue
94a9087b89 Renamed User::loginByToken() to loginByAccessToken(). 2014-03-03 15:03:18 -05:00
Qiang Xue
a8c7d36c02 Finished HATEOAS support. 2014-03-03 14:58:37 -05:00
Antonio Ramirez
0e9c2890d7 remove previous attachments if any 2014-03-03 20:45:55 +01:00
Alexander Mohorev
eb89a856a4 returned back formatting language files 2014-03-03 22:09:06 +03:00
Alexander Mohorev
f849623359 code style. FOR 2014-03-03 21:52:21 +03:00
Alexander Mohorev
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
Qiang Xue
46d9285640 updated error code. 2014-03-03 13:45:55 -05:00
Alexander Makarov
a7a1bd8da0 Merge pull request #2578 from schmunk42/feature/update-composer-keywords
replaced keyword "yii" with "yii2" in composer.json files (fixes #2557)
2014-03-03 21:39:41 +03:00
Alexander Mohorev
b2f1b00bf2 code style. operator IF 2014-03-03 21:32:34 +03:00
Alexander Mohorev
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
Alexander Mohorev
6e7edfdf5b short array syntax 2014-03-03 20:21:55 +03:00
Qiang Xue
7a04dbaae1 Support for other auth types. 2014-03-03 10:18:39 -05:00
Carsten Brandt
90c7bf288d Fixed indentation in BaseInflector 2014-03-03 03:18:17 +01:00
Carsten Brandt
64e6aa6029 Merge pull request #2597 from zinzinday/patch-1
Add $transliteration for Vietnamese
2014-03-03 03:17:01 +01:00
Qiang Xue
af33e821a0 typo fix. 2014-03-02 16:55:53 -05:00
Antonio Ramirez
f1bf859434 add multiple grid support to gridData 2014-03-02 22:42:47 +01:00
Qiang Xue
7b46dc3443 Fixed incorrect error handling. 2014-03-02 12:32:22 -05:00
Carsten Brandt
56f52f87d2 fixed AR class docs, do not break comment 2014-03-02 18:13:48 +01:00
zinzinday
44750915e0 Add $transliteration for Vietnamese
Please review and merge it,
Thank advance
2014-03-02 19:06:35 +07:00
Antonio Ramirez
4fffe47903 fix formatting 2014-03-02 08:20:10 +01:00
Antonio Ramirez
ea90ac1a0f fixes #2559 2014-03-02 08:14:30 +01:00
Qiang Xue
48a12559b2 rest api WIP 2014-03-01 23:14:16 -05:00
Qiang Xue
6266560216 Merge commit '4891aa79bf80d5f6f1a50d71e43b3eb49cc1fe85' into feature-restapi 2014-03-01 21:15:45 -05:00
Qiang Xue
4408f520c3 Merge commit 'ec05c0eaf7060d13a23828c0c2e64137dde4bd61' into feature-restapi 2014-03-01 21:12:15 -05:00
Qiang Xue
4891aa79bf Fixes #1535: Improved yii\web\User to start session only when needed. Also prepared it for use without session. 2014-03-01 21:10:49 -05:00
Qiang Xue
ec05c0eaf7 typo fix. 2014-03-01 20:15:21 -05:00
Qiang Xue
a2edf01c85 Delay joinWith till createCommand to correctly combine relation condition with primary condition. 2014-03-01 18:39:22 -05:00
Qiang Xue
489c094766 Fixes #1564: Removed yii\web\Session::autoStart and added hasSessionId. Session will be automatically started when accessing session data 2014-02-28 22:12:31 -05:00
Qiang Xue
032f38a57b Added yii\web\Request::getAuthUser() and getAuthPassword() 2014-02-28 21:29:18 -05:00
Qiang Xue
39947be66b rest WIP 2014-02-28 21:25:43 -05:00
Qiang Xue
1f292ef503 Merge commit '24e086deaf6336706624e77cc0f63a7062280821' into feature-restapi 2014-02-28 18:23:16 -05:00
Qiang Xue
6c88183be0 Merge commit 'd3ff343e5ee02a14dd17d6cf947aa7f52857474a' into feature-restapi
Conflicts:
	framework/helpers/BaseArrayHelper.php
2014-02-28 18:22:10 -05:00
Qiang Xue
24e086deaf Added yii\web\UrlRuleInterface and yii\web\CompositeUrlRule 2014-02-28 14:40:25 -05:00
Carsten Brandt
4d5ba13cba make registering of link tags optional in LinkPager 2014-02-28 16:37:34 +01:00
Carsten Brandt
5feba5946e Added relational link tags to LinkPager widget
for prev, next, first and last page.
http://www.w3.org/TR/html401/struct/links.html#h-12.1.2
2014-02-28 16:29:50 +01:00
Qiang Xue
9beba31fc0 rest WIP 2014-02-28 08:34:51 -05:00
Qiang Xue
8e8bbf4ed1 Improved page size and page number validation. 2014-02-27 20:55:48 -05:00
Qiang Xue
3653db4d50 Merge pull request #2581 from jom/query-scalar-fix
SELECT DISTINCT queries made subqueries in Query::queryScalar
2014-02-27 20:03:10 -05:00