Commit Graph

3184 Commits

Author SHA1 Message Date
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
Carsten Brandt
36af49d90e added code coverage using scrutinizer.com 2014-02-24 16:50:03 +01:00
Qiang Xue
3aa15b709f CS fix. 2014-02-24 07:35:07 -05:00
Qiang Xue
4b930e1d10 Merge pull request #2526 from skotos/master
nulls in batchInsert. Patch available.
2014-02-24 07:34:10 -05:00
Qiang Xue
3dead3386c CS fix. 2014-02-24 07:33:16 -05:00
tof06
61767861fb Add X-PJAX-URL header when redirect a pjax request 2014-02-24 12:29:27 +01:00
tof06
8c1d39b348 Add getIsPjax method to Request 2014-02-24 12:28:33 +01:00
Scott Tester
6526f0cbfa Document commit 7ce4702 (Allow nulls in batchInsert) in CHANGELOG 2014-02-24 13:57:30 +11:00
Vincent Gabriel
9427f4e76b no need for as number #2524 2014-02-23 16:36:17 -08:00
Vincent Gabriel
e311cd0093 Merge branch 'master' of git://github.com/yiisoft/yii2 into 2524-formatter-format-file-size 2014-02-23 16:23:12 -08:00
Vincent Gabriel
9e231eb8c8 added asSize method to format file size #2524 2014-02-23 16:23:05 -08:00
Qiang Xue
04bf51b01a Fixes #2392: Added addCssStyle(), removeCssStyle(), cssStyleFromArray() and cssStyleToArray() to Html 2014-02-23 19:12:33 -05:00