Qiang Xue
491e66083a
refactored RBAC.
12 years ago
Qiang Xue
667b808f7d
Added usage example of Theme.
12 years ago
Qiang Xue
4fa377d890
Added default class for theme.
12 years ago
Qiang Xue
ec94939555
Merge branch 'master' of https://github.com/yiisoft/yii2
12 years ago
Qiang Xue
51f4424332
Fixes issue #172 : Implemented new usage of widgets.
12 years ago
Qiang Xue
23e820e6bd
Merge pull request #229 from creocoder/rbac-item-assignment-improve
...
RBAC: Item and Assignment optimized save approach
12 years ago
Qiang Xue
98d2e1838a
Merge branch 'master' of https://github.com/yiisoft/yii2
12 years ago
Qiang Xue
e951939372
code style fix of YiiRequirementChecker.php
...
Renamed yiirequirements.php to requirements.php
12 years ago
Klimov Paul
bdee4112b0
"YiiRequirementChecker" console view has been reworked to display requirements by blocks and in brief for the successful ones.
12 years ago
Alexander Makarov
fb185d14e5
Changed framework in dir structure to yii
12 years ago
resurtm
3e39b8f024
requirements.php typo fix.
12 years ago
Klimov Paul
ecd47caa5b
"requirements.php" has been added to "bootstrap" application.
12 years ago
Klimov Paul
8ab1d837a6
Merge branch 'master' of github.com:yiisoft/yii2
12 years ago
Klimov Paul
ae302037de
Doc comments and error messages for "YiiRequirementChecker" have been adjusted.
12 years ago
Klimov Paul
43a04d237a
Doc comments for "YiiRequirementChecker" have been updated.
12 years ago
Klimov Paul
653b4d1f33
PHP version fallback for "YiiRequirementChecker" has been added.
12 years ago
Klimov Paul
e068229401
"YiiRequirementChecker::check()" has been updated allowing to accept filename for the requirements.
...
Yii core requirements file has been composed.
12 years ago
Klimov Paul
9a461edd07
Check helper methods have been added to "YiiRequirementChecker".
12 years ago
Klimov Paul
fa724fc0cf
Web view for "YiiRequirementChecker" has been created.
12 years ago
Klimov Paul
2bdb5f803a
"YiiRequirementChecker::render()" has been implemented, console view has been created.
12 years ago
Carsten Brandt
c5d382c68a
added newline to end of header and body blocks in View
...
issue #237
12 years ago
Carsten Brandt
48f388442f
mocking time in test only usefull when using time() once
...
e2513de6c6 (commitcomment-3192244)
12 years ago
Klimov Paul
f82a01e4dd
"YiiRequirementChecker::check()" has been updated to be able to collect different requirements set in the chained call.
12 years ago
Carsten Brandt
e2513de6c6
better testing: time()-function-mock
...
as discussed in #203
https://github.com/yiisoft/yii2/issues/203#issuecomment-17759631
12 years ago
Klimov Paul
3b7ac70c69
Test case "YiiRequirementCheckerTest::testCheckEval()" has been added.
12 years ago
Klimov Paul
00d04a1c30
Method "YiiRequirementChecker::check()" has been refactored to be used in method chain.
...
Methods "YiiRequirementChecker::getResults()" and "YiiRequirementChecker::render()" have been added.
12 years ago
Klimov Paul
07fabfd6fc
Method "YiiRequirementChecker::check()" has been implemented.
12 years ago
Klimov Paul
3374c78233
"YiiRequirementChecker" has been created as blank.
12 years ago
Qiang Xue
c4e9e003af
Merge pull request #230 from creocoder/rbac-db-manager-code-style
...
RBAC: DbManager code style
12 years ago
Carsten Brandt
71a9efdd55
changed cache test to wait more than expirytime
...
change is to avoid random test failure on race condition.
fixes #203 #231
12 years ago
Carsten Brandt
9c2eb4df0a
doc fix in caching classes
12 years ago
Carsten Brandt
6a7529505e
cache tests refactoring cherry picked from redis branch
12 years ago
Carsten Brandt
3bdb6c3110
fixed indentation in test files
12 years ago
Carsten Brandt
cb8f5d702f
cleanup tests
12 years ago
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
12 years ago
resurtm
4686c7c386
Merge branch 'master' of github.com:yiisoft/yii2 into mssql
12 years ago
resurtm
abeb02e902
Travis-CI build status.
12 years ago
resurtm
c98628d42e
CS fixes.
12 years ago
resurtm
ea68bd3a55
CS fixes.
12 years ago
resurtm
b314d96355
Change magic property to normal method. (Thanks to @maxlapko.)
12 years ago
resurtm
35562bfada
Merge branch 'master' of github.com:yiisoft/yii2
...
Conflicts:
apps/bootstrap/index.php
yii/yiic.php
12 years ago
resurtm
5575f53657
CS fixes.
12 years ago
resurtm
5c101ae314
Initial MSSQL tests.
12 years ago
resurtm
58f3c323c0
MSSQL Schema: methods order changed, initial data type infer.
12 years ago
Alexander Kochetov
a24e4d30f6
RBAC: DbManager code style fixes
12 years ago
Alexander Kochetov
70265587fb
RBAC: DbManager code style fixes
12 years ago
resurtm
1ca7558c1d
MSSQL table metadata parsint (initial version).
12 years ago
Alexander Kochetov
af3f5af3be
RBAC: Item and Assignment optimized save approach
12 years ago
sensorario
dc31ea9892
Fixed merge
12 years ago
resurtm
f2e6d408e3
MSSQL driver classes moved to the proper location.
12 years ago