Commit Graph

3195 Commits

Author SHA1 Message Date
Alexander Mohorev
6e7edfdf5b short array syntax 2014-03-03 20:21:55 +03: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
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
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
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
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
Qiang Xue
5d0ec52a52 Added support for reading page size from query parameters by Pagination 2014-02-27 20:01:09 -05:00
Jacob Morrison
0e2b2fcbe6 Fix for logic Query::queryScalar uses to check for SELECT DISTINCT 2014-02-27 16:59:47 -08:00
Jacob Morrison
a3e128bb0b Query::queryScalar wasn't making SELECT DISTINCT queries subqueries 2014-02-27 16:04:16 -08:00
Qiang Xue
f2a3dafb21 Added Pagination::getLinks() 2014-02-27 15:38:31 -05:00
Qiang Xue
49010df192 Changed Controller::afterAction(), Module::afterAction() and ActionFilter::afterAction() to pass $result by value instead of reference 2014-02-27 10:52:17 -05:00
andy5
b9837d8d69 Change AssetBundle.register() return type to static
Enable IDE typehints for custom AssetBundle properties (related to #2572).
2014-02-27 05:50:14 -08:00
Qiang Xue
ad06b80e6e Enhanced parsing the accept header. 2014-02-26 23:11:59 -05:00
Carsten Brandt
33d6acba25 Improved behavior support, fixes #2550
call hasMethod() instead of using method_exists
2014-02-26 14:18:24 +01:00
Qiang Xue
6f9e9cd5b0 minor fix. 2014-02-26 08:02:54 -05:00
ivokund
7c63c6db3b Update Action.php
Fixed typo in runWithParams
2014-02-26 14:30:10 +02:00
Qiang Xue
c79d233ea4 Fixes #2552. 2014-02-26 07:10:47 -05:00
Qiang Xue
f9648fed4e Fixed action beforeRun/afterRun calls. 2014-02-26 07:06:30 -05:00
Alexander Makarov
692821e77d Merge pull request #2411 from schmunk42/feature/gii-extension-generator
first draft of the extension generator
2014-02-26 11:17:17 +03:00
Tobias Munk
1d835e8aa6 fixed order 2014-02-26 00:50:34 +01:00
Tobias Munk
3bd6c1ac27 updated CHANGELOG 2014-02-26 00:49:28 +01:00
Qiang Xue
eaa1ba029f minor cs fixes. 2014-02-25 16:43:31 -05:00
Qiang Xue
3ad7d6d356 Merge pull request #2284 from kartik-v/patch-12
Raw content return for Grid DataColumn & Column
2014-02-25 16:37:39 -05:00
Alexander Makarov
3d1d7f72ed Fixes #2544: Changed DetailView's name:format:label to attribute:format:label to match GridView 2014-02-25 23:16:05 +04:00
Alexander Makarov
03b2fc3e58 Adjusted code formatting 2014-02-25 23:02:40 +04:00
Alexander Makarov
dab4f9d665 Merge branch '2524-formatter-format-file-size' of github.com:VinceG/yii2 into VinceG-2524-formatter-format-file-size
Conflicts:
	framework/CHANGELOG.md
2014-02-25 22:59:12 +04:00
Carsten Brandt
d2d94ab358 fixed arrayHelper::toArray() recursive call
added a missing argument
2014-02-25 12:51:08 +01:00
Carsten Brandt
d3d832a3bf phpdoc fixes 2014-02-25 12:51:08 +01:00
Alexander Makarov
1a5ccebef2 Fixes #2527: Source language for app message category was always en no matter which application sourceLanguage was used 2014-02-25 14:21:51 +04:00
Jacob Morrison
614bffb01a Fixed issue with preventing from clearing events and behaviors on clone 2014-02-24 18:15:19 -08:00
Vincent
84a48ac93e updated changelog 2014-02-24 13:45:44 -08:00
Vincent
9f6cc54154 updated code according to code style and removed unused property 2014-02-24 13:26:55 -08:00
Qiang Xue
da13b336be minor css fixes. 2014-02-24 15:26:47 -05:00
Vincent
3cb97fb8c8 updated formatting 2014-02-24 12:01:53 -08:00
Qiang Xue
14064492ff Merge pull request #2534 from Alex-Code/pjax
Pjax container fix
2014-02-24 14:48:41 -05:00
Vincent
d12c8d5820 #2524 updated as size method to include translation and verbose mode 2014-02-24 10:57:36 -08:00
Carsten Brandt
f9024dbec1 fixed Migration::execute() to use params correctly 2014-02-24 17:37:43 +01:00
Carsten Brandt
8d2e68b40e removed duplicate arguments from base formattter 2014-02-24 17:19:01 +01:00
Alex-Code
f7911bc9ac Unused? 2014-02-24 15:57:28 +00:00
Alex-Code
72ff9c58df Pjax container only required on first load.
Pjax inserts the response HTML into the container, it doesn't replace it.
So any subsequent pjax requests duplicate the container.
2014-02-24 15:56:31 +00:00