Commit Graph

3974 Commits

Author SHA1 Message Date
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
Qiang Xue
7bc52f32a4 Re-implemented RBAC by following more closely to the original NIST RBAC model. Dropped yii\rbac\PhpManager. 2014-04-12 16:55:50 -04:00
pappfer
a2bc50920c Removed unnecessary app.php file. 2014-04-12 20:33:10 +02:00
pappfer
3a75098213 #3073 added Hungarian translation 2014-04-12 19:54:42 +02:00
Qiang Xue
f7396fa024 Minor refacotring of bootstrap active field and form. 2014-04-11 20:09:43 -04:00
Qiang Xue
8ac79a35ae support hiding error and label tags via error(false) and label(false). 2014-04-11 20:09:19 -04:00
Carsten Brandt
33a00ecd7c updated base AR phpdoc for findOne() and findAll() 2014-04-11 17:45:22 +02:00
Carsten Brandt
b1f4d5d4bf allow . in input name 2014-04-11 13:37:31 +02:00
Anatoli Vladev
a891aeeece Bulgarian translation 2014-04-11 10:49:56 +03:00
Carsten Brandt
c6e1a2f02f Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2: (79 commits)
  Refactored app bootstrap logic.
  Update authorization.md
  Fixes #3052: Fixed the issue that cache dependency data is not reused when `reusable` is set true
  start debug logging only if debug runs when bootstrap.
  Update finnish translation
  Add ODBC support to yii\db\Connection
  updated error handler and requirement checker links.
  fixed broken API links [skip ci]
  added more doc [skip ci]
  update class map.
  Fixes #2034: Added `ContentNegotiator` to support response format and language negotiation
  renamed attributes to attributeNames in model
  updated phpdoc
  Removed `Application::preload` in favor of `Application::bootstrap`
  Update module-debug.md
  Update model.md
  Fixes
  Update basics.md
  typo fix [skip ci]
  Added `HtmlResponseFormatter` and `JsonResponseFormatter`
  ...
2014-04-10 22:22:36 +02:00
Carsten Brandt
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
Qiang Xue
ea75177abc Refactored app bootstrap logic. 2014-04-10 15:05:01 -04:00
Qiang Xue
4674f5b74c Fixes #3052: Fixed the issue that cache dependency data is not reused when reusable is set true 2014-04-10 13:03:22 -04:00
Qiang Xue
3349af1ae5 Merge pull request #3049 from resurtm/db-connection-odbc
Add ODBC support to yii\db\Connection
2014-04-10 09:53:18 -04:00
Jani Mikkonen
3397e7e7b2 Update finnish translation 2014-04-10 14:11:06 +03:00
resurtm
1991c4cbbd Add ODBC support to yii\db\Connection 2014-04-10 14:53:02 +06:00
Qiang Xue
055455d814 updated error handler and requirement checker links. 2014-04-10 00:05:05 -04:00
Qiang Xue
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
Qiang Xue
eeb9f6026d added more doc [skip ci] 2014-04-09 21:35:19 -04:00
Qiang Xue
5751b58180 update class map. 2014-04-09 19:16:55 -04:00