Commit Graph

1066 Commits

Author SHA1 Message Date
Klimov Paul
8ab1d837a6 Merge branch 'master' of github.com:yiisoft/yii2 2013-05-11 20:17:29 +03:00
Klimov Paul
ae302037de Doc comments and error messages for "YiiRequirementChecker" have been adjusted. 2013-05-11 20:12:58 +03:00
Klimov Paul
43a04d237a Doc comments for "YiiRequirementChecker" have been updated. 2013-05-11 20:04:12 +03:00
Klimov Paul
653b4d1f33 PHP version fallback for "YiiRequirementChecker" has been added. 2013-05-11 19:50:53 +03:00
Klimov Paul
e068229401 "YiiRequirementChecker::check()" has been updated allowing to accept filename for the requirements.
Yii core requirements file has been composed.
2013-05-11 19:49:18 +03:00
Klimov Paul
9a461edd07 Check helper methods have been added to "YiiRequirementChecker". 2013-05-11 19:07:14 +03:00
Klimov Paul
fa724fc0cf Web view for "YiiRequirementChecker" has been created. 2013-05-11 18:56:37 +03:00
Klimov Paul
2bdb5f803a "YiiRequirementChecker::render()" has been implemented, console view has been created. 2013-05-11 18:43:48 +03:00
Carsten Brandt
c5d382c68a added newline to end of header and body blocks in View
issue #237
2013-05-11 16:24:44 +02:00
Carsten Brandt
48f388442f mocking time in test only usefull when using time() once
e2513de6c6 (commitcomment-3192244)
2013-05-11 16:09:40 +02:00
Klimov Paul
f82a01e4dd "YiiRequirementChecker::check()" has been updated to be able to collect different requirements set in the chained call. 2013-05-11 17:01:54 +03:00
Carsten Brandt
e2513de6c6 better testing: time()-function-mock
as discussed in #203
https://github.com/yiisoft/yii2/issues/203#issuecomment-17759631
2013-05-11 15:41:00 +02:00
Klimov Paul
3b7ac70c69 Test case "YiiRequirementCheckerTest::testCheckEval()" has been added. 2013-05-11 16:27:58 +03:00
Klimov Paul
00d04a1c30 Method "YiiRequirementChecker::check()" has been refactored to be used in method chain.
Methods "YiiRequirementChecker::getResults()" and "YiiRequirementChecker::render()" have been added.
2013-05-11 16:26:16 +03:00
Klimov Paul
07fabfd6fc Method "YiiRequirementChecker::check()" has been implemented. 2013-05-11 16:18:14 +03:00
Klimov Paul
3374c78233 "YiiRequirementChecker" has been created as blank. 2013-05-11 16:06:34 +03:00
Qiang Xue
c4e9e003af Merge pull request #230 from creocoder/rbac-db-manager-code-style
RBAC: DbManager code style
2013-05-11 05:04:39 -07:00
Carsten Brandt
71a9efdd55 changed cache test to wait more than expirytime
change is to avoid random test failure on race condition.
fixes #203 #231
2013-05-11 13:33:05 +02:00
Carsten Brandt
9c2eb4df0a doc fix in caching classes 2013-05-11 13:20:19 +02:00
Carsten Brandt
6a7529505e cache tests refactoring cherry picked from redis branch 2013-05-11 13:16:47 +02:00
Carsten Brandt
3bdb6c3110 fixed indentation in test files 2013-05-11 12:54:13 +02:00
Carsten Brandt
cb8f5d702f cleanup tests 2013-05-11 12:51:24 +02:00
Carsten Brandt
e0ad712527 Merge pull request #204 branch 'unittest-app-dependency' of https://github.com/bwoester/yii2 into bwoester-unittest-app-dependency
* 'unittest-app-dependency' of https://github.com/bwoester/yii2:
  mod: incorporate suggestions - rename requireApp() to mockApplication() - always destroy app on tearDown()   - eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN   - mockApplication() becomes a lot easier. Destroying app on each tearDown     means creating it on every call is fine. No more checking if it already     exists and if it has been created from the same config. - \yii::$app should have been \Yii::$app
  add: new key for unit tests config named "className". Allows to run the tests      using different Application instances (consoleApp/ webApp) mod: TestCase::getParam accepts second param $default=null
  mod: don't create app in bootstrap script, unit tests do it themselves add: option to destroy app after each test to find unit tests that fail      to require an app
  allow unit tests to requireApp() on setUp()

Conflicts:
	tests/unit/data/config.php
2013-05-11 12:22:49 +02:00
resurtm
abeb02e902 Travis-CI build status. 2013-05-11 16:12:47 +06:00
resurtm
c98628d42e CS fixes. 2013-05-11 16:09:40 +06:00
resurtm
ea68bd3a55 CS fixes. 2013-05-11 15:58:27 +06:00
resurtm
b314d96355 Change magic property to normal method. (Thanks to @maxlapko.) 2013-05-11 15:43:19 +06:00
resurtm
35562bfada Merge branch 'master' of github.com:yiisoft/yii2
Conflicts:
	apps/bootstrap/index.php
	yii/yiic.php
2013-05-11 15:39:51 +06:00
resurtm
5575f53657 CS fixes. 2013-05-11 15:38:07 +06:00
Alexander Kochetov
a24e4d30f6 RBAC: DbManager code style fixes 2013-05-11 09:48:04 +04:00
Alexander Kochetov
70265587fb RBAC: DbManager code style fixes 2013-05-11 09:43:45 +04:00
Alexander Kochetov
af3f5af3be RBAC: Item and Assignment optimized save approach 2013-05-11 09:24:02 +04:00
Qiang Xue
a87e64c650 Fixed duplicated merge. 2013-05-10 22:40:26 -04:00
Qiang Xue
71897b4b76 Merge pull request #210 from bwoester/fix-209-default-timezone
Fix issue #209 default timezone
2013-05-10 19:39:28 -07:00
Qiang Xue
d9923c5413 Merge pull request #223 from cebe/timezone-fix
better have timezone fix in application
2013-05-10 19:38:43 -07:00
Qiang Xue
a062edd6d6 Merge pull request #221 from resurtm/get-text-i18n
[WIP] Gettext support
2013-05-10 19:37:47 -07:00
Qiang Xue
4feec1d530 Merge branch 'master' of https://github.com/yiisoft/yii2 2013-05-10 22:33:29 -04:00
Qiang Xue
22ca2922d2 Fixes issue #50: implemented pager widgets. 2013-05-10 22:33:24 -04:00
Benjamin Wöster
49a4314a41 fix: remove pointless unset 2013-05-11 03:39:19 +02:00
Benjamin Wöster
6d46abcd88 remove fix for unset timezone from bootstrap app 2013-05-11 03:36:58 +02:00
Benjamin Wöster
8c6cf61589 mod: don't use ArrayHelper to avoid loading another class during every request 2013-05-11 03:28:05 +02:00
Carsten Brandt
b005b087b4 better have timezone fix in application
app is resposible for setting time zone, so it should also do the
fixing.
+ documentation about the behavior.
issue #210 and #209
2013-05-11 01:17:51 +02:00
resurtm
1c1b2da5b1 Add exception classes hierarchy UML diagram. 2013-05-11 00:17:50 +06:00
resurtm
124b153350 Initial Gettext support. 2013-05-10 23:57:24 +06:00
Qiang Xue
5873d4b386 Merge pull request #220 from creocoder/rbac-sqls-identation-fix
RBAC sql files a little identation fix
2013-05-10 10:53:02 -07:00
Alexander Kochetov
176366a24d RBAC sql files identation fix 2013-05-10 21:49:54 +04:00
Qiang Xue
92e0f59106 Merge pull request #219 from creocoder/rbac-sqls
RBAC sql files
2013-05-10 10:44:53 -07:00
Alexander Kochetov
f554d3ec2e RBAC sql files 2013-05-10 21:41:07 +04:00
Qiang Xue
9ccf7ae3d3 Merge pull request #212 from creocoder/db-auth-manager-enh
Suggest \yii\rbac\DbManager some Db fields renaming
2013-05-10 07:47:32 -07:00
Alexander Kochetov
9d3a3b3ebe DbManager some Db fields renaming 2013-05-10 17:28:28 +04:00