Commit Graph

3700 Commits

Author SHA1 Message Date
Carsten Brandt
f6f0e66598 ensure gridview query is reusable
apply pagination and sorting to a clone of it.
2014-04-22 15:50:32 +02:00
Carsten Brandt
0a3f4e85f1 made grid\DataColumn::getDataCellValue() public
allow using it from the gridview directly
2014-04-22 13:51:54 +02:00
Qiang Xue
7b908aa8a3 Fixes #2853: ActiveRecord did not handle resource-typed columns well 2014-04-21 20:16:16 -04:00
Qiang Xue
4eb7906a3e Fixes #3204: yii\di\Container did not handle the $config parameter well in case when it does not have a default value 2014-04-21 14:58:10 -04:00
Carsten Brandt
0076aac0a1 Update CHANGELOG.md
Moved line and added author. Fixes #3198
2014-04-21 09:56:16 +02:00
Qiang Xue
7d8dfe52cd Fixed test break. 2014-04-20 14:59:13 -04:00
Kartik Visweswaran
82aedfb295 Update CHANGELOG.md 2014-04-20 19:23:02 +05:30
Kartik Visweswaran
b1a26ff336 Fix the Y2K38 bug
Adds support for timestamps beyond year 2038.
2014-04-20 19:08:08 +05:30
Qiang Xue
02ff6f5536 updated change log. [skip ci] 2014-04-19 18:26:01 -04:00
Sergeygithub
dd4464d670 Update yii.validation.js
Если длина строки не проходит валидацию, то выводим сообщение об этом, а не длину.))
2014-04-20 00:10:19 +03:00
ElisDN
8e48dcaa4e Updated CHANGELOG 2014-04-19 14:43:16 +04:00
ElisDN
a615ef944a Fixed GridView cells calling order 2014-04-19 14:41:58 +04:00
ElisDN
1886877196 Render gridview table footer after table body 2014-04-19 14:41:58 +04:00
Alexander Makarov
20e4abeac1 Added changelog for #3175 that fixes #2925 2014-04-19 02:05:28 +04:00
Alexander Makarov
d3277ecf4f InvalidCallException, InvalidParamException, UnknownMethodException are now extended from SPL BadMethodCallException 2014-04-19 02:00:19 +04:00
Alexander Makarov
4d235f9f8b Fixed exception message to match the one in Component 2014-04-19 01:59:19 +04:00
Qiang Xue
ab218addda Fixes #2563: Theming is not working if the path map of the theme contains ".." or "." in the paths 2014-04-18 15:13:50 -04:00
Qiang Xue
55ea81163c typo fix [skip ci] 2014-04-18 13:22:42 -04:00
Sergey Gonimar
67e1135143 Fix typo 2014-04-18 22:43:01 +06:00
Alexander Makarov
1170e0272f Merge branch 'master'
Conflicts:
	framework/CHANGELOG.md
2014-04-18 12:45:33 +04:00
Alexander Makarov
178417da9b Added title for trimmed strings 2014-04-18 12:44:39 +04:00
marsuboss
db244a61b2 Fix typo 2014-04-18 09:48:58 +02:00
Qiang Xue
2fb70cf00b Fixes #3158 2014-04-17 20:59:44 -04:00
Qiang Xue
520011fff6 Fixes #3088: The debug and gii modules will manage their own URL rules now 2014-04-17 20:42:50 -04:00
Alexander Makarov
dad88c78b4 Fixes #2837: Error page now shows arguments in stack trace method calls 2014-04-18 04:20:22 +04:00
Qiang Xue
507a6f1068 Added yii\web\UrlManager::addRules() to simplify adding new URL rules 2014-04-17 20:03:42 -04:00
Qiang Xue
7b44bc75ec added change log [skip ci] 2014-04-17 14:10:30 -04:00
Sergey Gonimar
322e9e2385 Fix BETWEEN and NOT BETWEEN conditions.
```
PHP Notice – yii\base\ErrorException

Undefined offset: 3

in .../yiisoft/yii2/db/QueryTrait.php at line 269
```
2014-04-17 21:42:11 +06:00
Alexander Makarov
c7c708d454 Removed unused imports 2014-04-17 15:35:09 +04:00
Carsten Brandt
76d8e2b5b3 code style, fixes #3140 2014-04-17 13:24:16 +02:00
Klimov Paul
e5280470b0 Merge branch 'master' of github.com:yiisoft/yii2 2014-04-17 13:29:09 +03:00
Carsten Brandt
d1aa19c8fe added emphatises to phpdoc in asset bundle
issue #3143
2014-04-17 12:19:24 +02:00
Klimov Paul
7f636fc525 yii\console\controllers\AssetController::actionTemplate() advanced to include jsCompressor and cssCompressor to the template. 2014-04-17 12:57:35 +03:00
Klimov Paul
72aba34210 yii\console\controllers\AssetController fixed to respect data URL resources 2014-04-17 12:11:34 +03:00
Qiang Xue
66842a4806 Fixes test break. 2014-04-16 22:05:20 -04:00
Qiang Xue
14b782cf01 Added $user as the first parameter of yii\rbac\Rule::execute() 2014-04-16 21:52:46 -04:00
Thiago Talma
8546b41bb8 Update error.php 2014-04-16 19:59:25 -03:00
Thiago Talma
57692cd448 Update error.php 2014-04-16 19:47:28 -03:00
Thiago Talma
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
Qiang Xue
664d2aa007 Supported adding a new response formatter without the need to reconfigure existing formatters 2014-04-16 14:55:33 -04:00
Qiang Xue
5fbb65ad81 Fixes #3121: yii\base\Application::bootstrap may fail to load some components if they are specified as class names 2014-04-16 12:17:55 -04:00
Qiang Xue
665aefbb55 Fixes #3042: yii\widgets\Pjax should end application right after it finishes responding to a pjax request 2014-04-16 10:25:03 -04:00
Qiang Xue
ce9a8f209a Fixes #3132: yii\rbac\PhpManager now supports more compact data file format 2014-04-16 10:17:28 -04:00
Qiang Xue
8ac8d487ad Fixes #3128: Fixed the bug that defaultRoles set in RBAC manager was not working as specified 2014-04-16 08:52:41 -04:00
Qiang Xue
991a894596 Added missing ROWS token when building limit/offset for MSSQL. 2014-04-15 21:01:45 -04:00
Qiang Xue
1fd0068378 Fixes #3066: yii\db\mssql\Schema::getTableSchema() should return null when the table does not exist. 2014-04-15 20:50:43 -04:00
Qiang Xue
a60d295253 Added support for using sub-queries when building a DB query with IN condition 2014-04-15 20:20:18 -04:00
Thiago Talma
563e7e0174 Update ActiveQuery.php
PHPDoc comment does not match function or method signature
Update PHPDoc Comment

Adjust code standard
2014-04-15 19:58:06 -03:00
Qiang Xue
c3f4e0057d Refactored yii\rbac\PhpManager
Replaced `clearAll()` and `clearAllAssignments()` in `yii\rbac\ManagerInterface` with `removeAll()`, `removeAllRoles()`, `removeAllPermissions()`, `removeAllRules()` and `removeAllAssignments()`
2014-04-15 16:45:29 -04:00
Qiang Xue
12c3b59b9b log fixes [skip ci] 2014-04-15 14:44:11 -04:00