Qiang Xue
940ac808c9
debugger tool WIP
2013-05-13 07:55:44 -04:00
Klimov Paul
0f7f193623
Yii core requirements have been updated: PHP version raised up to 5.3.3
2013-05-13 13:29:26 +03:00
Klimov Paul
d4ab780122
Twitter boostrap style has been applied for "YiiRequirementChecker" web view.
2013-05-13 13:15:08 +03:00
Antonio Ramirez
d812cbc6af
Merge branch 'master' into bootstrap
...
* master: (33 commits)
Skipped ApcCacheTest expire
MS Windows EOLs → UNIX EOLs.
Build command path fix.
refactored RBAC.
Added usage example of Theme.
Added default class for theme.
Fixes issue #172 : Implemented new usage of widgets.
code style fix of YiiRequirementChecker.php Renamed yiirequirements.php to requirements.php
"YiiRequirementChecker" console view has been reworked to display requirements by blocks and in brief for the successful ones.
Changed framework in dir structure to yii
requirements.php typo fix.
"requirements.php" has been added to "bootstrap" application.
Doc comments and error messages for "YiiRequirementChecker" have been adjusted.
Doc comments for "YiiRequirementChecker" have been updated.
PHP version fallback for "YiiRequirementChecker" has been added.
"YiiRequirementChecker::check()" has been updated allowing to accept filename for the requirements. Yii core requirements file has been composed.
Check helper methods have been added to "YiiRequirementChecker".
Web view for "YiiRequirementChecker" has been created.
"YiiRequirementChecker::render()" has been implemented, console view has been created.
added newline to end of header and body blocks in View
...
2013-05-12 20:22:45 +02:00
Antonio Ramirez
6493f7abe3
#20 proposed architecture for bootstrap
2013-05-12 20:21:44 +02:00
Alexander Makarov
a021fbe54d
Skipped ApcCacheTest expire
2013-05-12 18:24:01 +04:00
resurtm
a7f2e374d2
MS Windows EOLs → UNIX EOLs.
2013-05-12 15:11:50 +06:00
resurtm
6162d4b341
Build command path fix.
2013-05-12 13:52:45 +06:00
Qiang Xue
491e66083a
refactored RBAC.
2013-05-11 23:35:16 -04:00
Qiang Xue
667b808f7d
Added usage example of Theme.
2013-05-11 21:17:04 -04:00
Qiang Xue
4fa377d890
Added default class for theme.
2013-05-11 21:09:36 -04:00
Qiang Xue
ec94939555
Merge branch 'master' of https://github.com/yiisoft/yii2
2013-05-11 20:59:19 -04:00
Qiang Xue
51f4424332
Fixes issue #172 : Implemented new usage of widgets.
2013-05-11 20:59:14 -04:00
Qiang Xue
23e820e6bd
Merge pull request #229 from creocoder/rbac-item-assignment-improve
...
RBAC: Item and Assignment optimized save approach
2013-05-11 16:38:12 -07:00
Qiang Xue
98d2e1838a
Merge branch 'master' of https://github.com/yiisoft/yii2
2013-05-11 15:49:20 -04:00
Qiang Xue
e951939372
code style fix of YiiRequirementChecker.php
...
Renamed yiirequirements.php to requirements.php
2013-05-11 15:49:15 -04:00
Klimov Paul
bdee4112b0
"YiiRequirementChecker" console view has been reworked to display requirements by blocks and in brief for the successful ones.
2013-05-11 22:33:00 +03:00
Alexander Makarov
fb185d14e5
Changed framework in dir structure to yii
2013-05-11 23:07:23 +04:00
resurtm
3e39b8f024
requirements.php typo fix.
2013-05-11 23:56:38 +06:00
Klimov Paul
ecd47caa5b
"requirements.php" has been added to "bootstrap" application.
2013-05-11 20:45:47 +03:00
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
Carsten Brandt
fd5e6ccfed
fixed db exception according to signature change
2013-05-11 15:06:32 +02:00
Carsten Brandt
baac7e14df
moved classes from framework -> yii
2013-05-11 14:56:24 +02: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
3518813ac4
Merge branch 'master' into redis
...
* master: (108 commits)
fixed indentation in test files
cleanup tests
Travis-CI build status.
CS fixes.
CS fixes.
Change magic property to normal method. (Thanks to @maxlapko.)
CS fixes.
Fixed duplicated merge.
Fixes issue #50 : implemented pager widgets.
fix: remove pointless unset
remove fix for unset timezone from bootstrap app
mod: don't use ArrayHelper to avoid loading another class during every request
better have timezone fix in application
Add exception classes hierarchy UML diagram.
Initial Gettext support.
RBAC sql files identation fix
RBAC sql files
DbManager some Db fields renaming
DbManager code style fix + right Exception type fix
Unit tests fix
...
Conflicts:
tests/unit/framework/caching/ApcCacheTest.php
tests/unit/framework/caching/CacheTest.php
2013-05-11 13:12:49 +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
4686c7c386
Merge branch 'master' of github.com:yiisoft/yii2 into mssql
2013-05-11 16:15:09 +06: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