Commit Graph

3658 Commits

Author SHA1 Message Date
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
Qiang Xue
134d3d4610 Fixes #2034: Added ContentNegotiator to support response format and language negotiation 2014-04-09 14:57:04 -04:00
Carsten Brandt
fa767ceaca renamed attributes to attributeNames in model
fixes #3034
2014-04-09 18:54:53 +02:00
Carsten Brandt
3fdcf11f24 updated phpdoc 2014-04-09 18:51:45 +02:00
Qiang Xue
586f5b87b0 Removed Application::preload in favor of Application::bootstrap 2014-04-09 10:47:10 -04:00
Qiang Xue
c4af1569a3 typo fix [skip ci] 2014-04-08 21:03:11 -04:00
Qiang Xue
aec1b8172b Added HtmlResponseFormatter and JsonResponseFormatter 2014-04-08 20:54:07 -04:00
Alexander Makarov
f6eb5e69bc Fixes #2998: Added framework\log\SyslogTarget that is able to write log to syslog 2014-04-09 01:46:18 +04:00
Alexander Makarov
171cab2d6f Merge branch 'SyslogTarget' of github.com:miramir/yii2 into miramir-SyslogTarget 2014-04-09 01:41:45 +04:00
Qiang Xue
e59b2d8948 refactored rule execution. [skip ci] 2014-04-08 08:40:37 -04:00
Qiang Xue
a404e00b02 simplified rule execution [skip ci] 2014-04-08 08:38:34 -04:00
Qiang Xue
face5262e6 Merge pull request #3027 from Alex-Code/addSelect
addSelect method for Query
2014-04-08 08:35:34 -04:00