Commit Graph

7316 Commits

Author SHA1 Message Date
Qiang Xue
08b785fdfc Merge pull request #3153 from gonimar/patch-14
Fix BETWEEN and NOT BETWEEN conditions.
2014-04-17 14:08:15 -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
Carsten Brandt
f210ec825c Merge pull request #3134 from joaorjose/dev
Typecast model Id so that urls don't break when using MongoDB object Id'...
2014-04-17 16:25:04 +02:00
João José
831be93868 Typecast model id only if using mongodb AR class 2014-04-17 15:07:28 +01:00
João José
21dff54d6b Typecast model id only if using mongodb AR class 2014-04-17 14:50:29 +01:00
Qiang Xue
a42b80ec9c minor doc update [skip ci] 2014-04-17 08:58:52 -04:00
Alexander Makarov
c7c708d454 Removed unused imports 2014-04-17 15:35:09 +04:00
Alexander Makarov
7295540c72 Code style and phpdoc fixes 2014-04-17 15:33:07 +04:00
Carsten Brandt
76d8e2b5b3 code style, fixes #3140 2014-04-17 13:24:16 +02:00
João José
b1beae71f3 Fixed format 2014-04-17 11:53:51 +01:00
João José
de1df94552 Typecast model id only if using mongodb AR class 2014-04-17 11:52:11 +01:00
Klimov Paul
e5280470b0 Merge branch 'master' of github.com:yiisoft/yii2 2014-04-17 13:29:09 +03:00
Klimov Paul
cd9eb31035 Notes about jsCompressor and cssCompressor added to assets.md 2014-04-17 13:28:42 +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
Alexander Makarov
650440d941 Added info about theming widget views. Fixes #3142 2014-04-17 12:29:47 +04:00
Alexander Makarov
0842c4a723 Adjusted statc pages docs 2014-04-17 11:56:40 +04:00
Alexander Makarov
e842dec5f6 Merge pull request #3141 from githubjeka/patch-3
Add static page
2014-04-17 11:49:41 +04:00
Evgeniy Tkachenko
2edc895342 Update view.md 2014-04-17 09:29:36 +03:00
Qiang Xue
a3632dbb51 Fixes #3129: added RBAC documentation. 2014-04-16 22:51:12 -04: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
Qiang Xue
e5f9edbfaf Merge pull request #3138 from thiagotalma/inspections
Correction of many warnings code inspection.
2014-04-16 19:11:28 -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
João José
377b01d2c1 Typecast model Id so that urls don't break when using MongoDB object Id's 2014-04-16 15:54:55 +01: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
65dfedf0fd Fixes #3127: added more doc [skip ci] 2014-04-16 09:10:12 -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
Alexander Makarov
8ca7fa8df3 Merge pull request #3122 from mikehaertl/update-bootstrap-guide
Add yii\bootstrap\ActiveForm to the bootstrap guide
2014-04-16 13:07:53 +04:00
Michael Härtl
50d4d93bdf Add yii\bootstrap\ActiveForm to the bootstrap guide 2014-04-16 10:58:40 +02:00
Carsten Brandt
cb95efe8b9 Added info about assets dir
http://www.yiiframework.com/forum/index.php/topic/53430-appasset-questions-getting-404-error-on-asset-files/page__gopid__246055#entry246055
2014-04-16 07:20:54 +02: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
Qiang Xue
46cbe63cc7 Merge pull request #3114 from thiagotalma/patch-1
Update ActiveQuery.php
2014-04-15 19:35:52 -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
Qiang Xue
740f53256f Merge pull request #3110 from tof06/rbac-php-manager
Implement new RBAC PhpManager
2014-04-15 13:32:32 -04:00
tof06
22596ca248 Implement new RBAC PhpManager 2014-04-15 16:10:04 +02:00
Qiang Xue
d552bc2664 Merge pull request #3099 from thiagotalma/patch-1
Update ActiveRelationTrait.php
2014-04-15 08:17:43 -04:00
Alexander Makarov
d79d01278a Merge pull request #3102 from githubjeka/origin/patch-2
Update gii guide.
2014-04-15 13:59:21 +04:00
Alexander Makarov
b568c904ea Updated changelog 2014-04-15 13:57:15 +04:00