Commit Graph

4243 Commits

Author SHA1 Message Date
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
Ivan Kolmycheck
3705f17700 Issue #3154 - GridView - list of filter model validation errors added to summary 2014-04-18 12:57:47 +03:00
Ivan Kolmycheck
c57e1fcb78 Issue #3154 - DataColumn filter model validation error indication added 2014-04-18 12:57:19 +03: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
Qiang Xue
b0b8056f6c Fixes #3108: Added yii\debug\Module::enableDebugLogs to disable logging debug logs by default 2014-04-15 14:43:09 -04:00
tof06
22596ca248 Implement new RBAC PhpManager 2014-04-15 16:10:04 +02:00
Thiago Talma
544243d517 Update ActiveRelationTrait.php 2014-04-15 01:33:42 -03:00
Qiang Xue
a4809bca1b Fixes #3091: Fixed inconsistent treatment of Widget::run() when a widget is used as a container and as a self-contained object 2014-04-14 20:07:16 -04:00
Алексей
f2d5ddab4f Update UniqueValidator.php 2014-04-14 11:40:01 +03:00
pappfer
b0d312f833 Some fixes for #3074 Hungarian translation 2014-04-14 10:15:43 +02:00
Qiang Xue
f4c38faf74 prepare for next release. 2014-04-13 21:22:29 -04:00
Qiang Xue
8bbcff70db prepare for 2.0.0-beta release. 2014-04-13 17:58:59 -04:00
Carsten Brandt
8eddf5606e fixed changelog about languages 2014-04-13 14:37:40 +02:00
Carsten Brandt
11112e3f7d Merge pull request #3074 from pappfer/pappfer
#3073 added Hungarian translation
2014-04-13 14:32:17 +02:00
Carsten Brandt
85d32c75a3 Update CHANGELOG.md 2014-04-13 14:27:25 +02:00
Qiang Xue
a6136e1b16 Renamed yii\web\User::checkAccess() to yii\web\User::can() 2014-04-12 19:14:50 -04:00