Commit Graph

2846 Commits

Author SHA1 Message Date
Alexander Makarov
b5b18dafb9 Merge pull request #2134 from creocoder/gridview-typo
GridView typo fixed
2014-01-23 12:16:46 -08:00
Alexander Kochetov
cd8a948e1f GridView typo fixed 2014-01-23 23:59:02 +04:00
Alexander Makarov
1e602adb6e - Fixed BaseFileHelper::localize docs.
- DbMessageSource now performs UNION ALL.
- Fixed message merging for php and po.
- Updated tests.
2014-01-23 20:34:46 +04:00
Alexander Makarov
f6c6fe2777 Merge branch 'master'
Conflicts:
	framework/CHANGELOG.md
2014-01-23 20:13:23 +04:00
Qiang Xue
c442bf63bf Merge pull request #2124 from iworker/master
Update QueryBuilder.php and Query.php
2014-01-23 07:57:41 -08:00
Ivan Pomortsev
71cc30505b Update CHANGELOG.md
Added one line about support of UNION ALL queries.
2014-01-23 18:41:19 +03:00
Ivan Pomortsev
a9286b899c Update QueryBuilder.php
Change <code>array_reduce</code> with anonimous function variant to easy string collection from pieces of unions.
2014-01-23 18:24:54 +03:00
Ivan Pomortsev
c9c59bdc26 Update Query.php
Using short array syntax.
2014-01-23 17:57:31 +03:00
Carsten Brandt
8735cdb54e doc link fixes 2014-01-23 15:28:12 +01:00
Ivan Pomortsev
7da3449d09 Update QueryBuilder.php
Change buildUnion method to be ready to accept parameters in <code>['all' => $all, 'query' => $query]</code> format for division to "UNION" and "UNION ALL" constructions.
2014-01-23 16:57:34 +03:00
Ivan Pomortsev
5f3d601b36 Update Query.php
Change passing parameters to array with two elements – 'all' which means if we use UNION or UNION ALL construction and 'query' which is our sql query that will be at right of construction.
2014-01-23 16:53:04 +03:00
Carsten Brandt
bf59a521cb subwidgets should be rendered in the same view 2014-01-23 13:06:18 +01:00
Carsten Brandt
8473dda39b fixed stringHelper dirname to return empty string
in case no dir is present
2014-01-23 12:04:24 +01:00
Carsten Brandt
9630c807a7 doc link fixes 2014-01-23 12:04:02 +01:00
Ivan Pomortsev
8109708b37 Update Query.php
Forget one ";" :D
2014-01-23 09:08:59 +03:00
Ivan Pomortsev
5d3fd930d8 Update QueryBuilder.php
Delete some spaces from result string.
2014-01-23 09:05:41 +03:00
Ivan Pomortsev
01c89ea3da Update Query.php
Change union method to accept also <code>$all</code> variable. TRUE means that we must results <code>UNION ALL</code> construction, FALSE – that <code>UNION</code>.
2014-01-23 08:51:15 +03:00
Ivan Pomortsev
1ea895e22b Update QueryBuilder.php
Fixed some errors – syntax with ";" after closure function and also moved building of unions queries into this function.
2014-01-23 08:45:29 +03:00
Ivan Pomortsev
12cbaf90b5 Update QueryBuilder.php
Change using of implode to convert array of queries to union to array_reduce. Result of this changing is that code feel difference between two selects that connects with UNION and two selects that connects with UNION ALL.
2014-01-23 07:47:48 +03:00
Qiang Xue
f39b1e4bb8 changelog fix. 2014-01-22 22:39:37 -05:00
Daniel Schmidt
041f6aac6c Removed temp class 2014-01-22 19:33:39 -08:00
Daniel Schmidt
d03b2add89 Condenses changelog notes to 1 line (#2103) 2014-01-22 19:32:56 -08:00
Daniel Schmidt
087943cd14 Removes Map file uploaded accidentally 2014-01-22 19:26:47 -08:00
Daniel Schmidt
40090577c5 Merge branch 'master' of git://github.com/yiisoft/yii2 into 2103-rename-accessdeniedhttpexception 2014-01-22 19:23:51 -08:00
Daniel Schmidt
7fef8cf0cf Adds docblock comments and HTTP spec links for the new HTTP Exception classes (#2103) 2014-01-22 19:23:39 -08:00
Alexander Makarov
8bdc437bc2 Fixes #2079:
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
2014-01-23 04:51:17 +04:00
Qiang Xue
a5968a6ac6 Added beforeRun() and afterRun() to yii\base\Action 2014-01-22 16:36:00 -05:00
Qiang Xue
c74db68ce7 Fixes #1974. 2014-01-22 12:55:35 -05:00
Thiago Talma
8dd2720fa9 Adjustment the translation into Portuguese of Brazil. 2014-01-22 15:09:35 -02:00
Qiang Xue
2310fe6ee4 Merge pull request #2111 from dizews/get-headers
Added ability to get incoming headers
2014-01-22 08:13:47 -08:00
Qiang Xue
e6e1a7bac0 Fixes #1958: beforeSubmit in yii.activeform is now executed after validation and before form submission 2014-01-22 11:04:56 -05:00
Qiang Xue
51c0231269 Merge pull request #1958 from 6pblcb/yiiActiveForm-beforeSubmit
Transfer beforeSubmit function after global validation all fields forms
2014-01-22 08:03:10 -08:00
Vladimir Zbrailov
4dabe605e3 added use http_get_request_headers and use getHeaders method in Gii module 2014-01-22 18:54:10 +04:00
Panagiotis Moustafellos
4730d11a7e fixed weird # in greek translation 2014-01-22 16:19:30 +02:00
Panagiotis Moustafellos
7ba48a316f removed unnecessary greek translations from core 2014-01-22 15:51:47 +02:00
Panagiotis Moustafellos
3f2696ae43 added Greek (el) as available language 2014-01-22 15:47:43 +02:00
Panagiotis Moustafellos
e2b5cfe845 added basic greek translation 2014-01-22 15:46:43 +02:00
Vladimir Zbrailov
53647d8b16 Added ability to get incoming headers 2014-01-22 17:44:57 +04:00
Daniel Schmidt
f24454a458 Renames AccessDeniedHttpException to ForbiddenHttpException in framework, docs, and extension files 2014-01-21 17:11:28 -08:00
Daniel Schmidt
20e031c8ac Adds UnsupportedMediaTypeHttpException for 415 Http errors 2014-01-21 16:58:29 -08:00
Daniel Schmidt
81f3ce12ab Adds TooManyRequestsHttpException for 429 http errors 2014-01-21 16:57:31 -08:00
Daniel Schmidt
87a2b1d6b9 Adds ConflictHttpException for 409 http errors 2014-01-21 16:56:50 -08:00
Daniel Schmidt
8d9c9a3482 Adds NotAcceptableHttpException for 406 Http errors 2014-01-21 16:55:52 -08:00
Daniel Schmidt
c5252f9284 Adds GoneHttpException for 410 http errors 2014-01-21 16:54:23 -08:00
Daniel Schmidt
04743b20a2 Adds UnauthorizedHttpException class for 401 errors 2014-01-21 16:52:16 -08:00
Daniel Schmidt
cbe8b27779 Deletes AccessDeniedHttpException 2014-01-21 16:49:15 -08:00
Daniel Schmidt
31bff3eae5 Renames AccessDeniedHttpException to ForbiddenHttpException as in #2103 2014-01-21 16:48:36 -08:00
Qiang Xue
4fe0eeb1b6 refacotring. 2014-01-21 19:12:10 -05:00
Alexander Makarov
b95fcf442d Removed unused import 2014-01-22 03:32:49 +04:00
Alexander Makarov
05db070b32 Adjusted #2008 2014-01-22 03:31:22 +04:00