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
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
Alexander Kochetov
a24e4d30f6
RBAC: DbManager code style fixes
12 years ago
Alexander Kochetov
70265587fb
RBAC: DbManager code style fixes
12 years ago
Alexander Kochetov
af3f5af3be
RBAC: Item and Assignment optimized save approach
12 years ago
Qiang Xue
a87e64c650
Fixed duplicated merge.
12 years ago
Qiang Xue
71897b4b76
Merge pull request #210 from bwoester/fix-209-default-timezone
...
Fix issue #209 default timezone
12 years ago
Qiang Xue
d9923c5413
Merge pull request #223 from cebe/timezone-fix
...
better have timezone fix in application
12 years ago
Qiang Xue
a062edd6d6
Merge pull request #221 from resurtm/get-text-i18n
...
[WIP] Gettext support
12 years ago
Qiang Xue
4feec1d530
Merge branch 'master' of https://github.com/yiisoft/yii2
12 years ago
Qiang Xue
22ca2922d2
Fixes issue #50 : implemented pager widgets.
12 years ago
Benjamin Wöster
49a4314a41
fix: remove pointless unset
12 years ago
Benjamin Wöster
6d46abcd88
remove fix for unset timezone from bootstrap app
12 years ago
Benjamin Wöster
8c6cf61589
mod: don't use ArrayHelper to avoid loading another class during every request
12 years ago
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
12 years ago
resurtm
1c1b2da5b1
Add exception classes hierarchy UML diagram.
12 years ago
resurtm
124b153350
Initial Gettext support.
12 years ago
Qiang Xue
5873d4b386
Merge pull request #220 from creocoder/rbac-sqls-identation-fix
...
RBAC sql files a little identation fix
12 years ago
Alexander Kochetov
176366a24d
RBAC sql files identation fix
12 years ago
Qiang Xue
92e0f59106
Merge pull request #219 from creocoder/rbac-sqls
...
RBAC sql files
12 years ago
Alexander Kochetov
f554d3ec2e
RBAC sql files
12 years ago
Qiang Xue
9ccf7ae3d3
Merge pull request #212 from creocoder/db-auth-manager-enh
...
Suggest \yii\rbac\DbManager some Db fields renaming
12 years ago
Alexander Kochetov
9d3a3b3ebe
DbManager some Db fields renaming
12 years ago
Qiang Xue
9d663bed54
Merge pull request #198 from creocoder/auth-manager
...
[WIP] Auth manager
12 years ago
Alexander Kochetov
b9ea7e6fd8
DbManager code style fix + right Exception type fix
12 years ago
Alexander Kochetov
4b8bcd43e0
Unit tests fix
12 years ago
Alexander Kochetov
bea449f8a0
Unit tests
12 years ago
Benjamin Wöster
612eb3fdb7
undo commit 1ccce67f34
12 years ago
Benjamin Wöster
8420cec8dd
Merge commit '1ccce' into fix-209-default-timezone
12 years ago
Benjamin Wöster
b8ad3567e4
set application timezone early in application constructor, set default of UTC if no timezone is configured at all (not in app config nor in php.ini)
12 years ago
Alexander Makarov
1ccce67f34
fixes #209 : do not produce error if not timezone set in case of running yiic from framework dir
12 years ago
Alexander Makarov
810d232ee6
fixes #209 added setting default timezone to UTC in case it's not set via php.ini
12 years ago
Alexander Kochetov
0d90541084
Moved from framework to yii
12 years ago
Alexander Kochetov
815c7eff6b
Merge branch 'master' of https://github.com/yiisoft/yii2 into auth-manager
12 years ago
Alexander Kochetov
3fe23f83c7
Remove IManager interface
12 years ago
Alexander Kochetov
a03d1164ad
New condition hash format used where its possible
12 years ago
Alexander Kochetov
ded8c22b56
Exception types corrected
12 years ago