Commit Graph

352 Commits

Author SHA1 Message Date
Alexander Makarov
58842e3a24 Used aliases for fixture directory definitions 2014-08-26 01:51:58 +04:00
Alexander Makarov
459ac478a2 Used a single database and a single CLI entry point for all test types. Added faker to basic app dev requirements. 2014-08-25 02:01:05 +04:00
Alexander Makarov
2e9a0839dd Added faker to basic app console commands, adjusted readme to mention database setup 2014-08-24 15:26:57 +04:00
Alexander Makarov
a3efcafd38 Adjusted testing namespaces in application templates 2014-08-24 14:14:35 +04:00
Alexander Makarov
6b67d0ec52 Renamed YII_ROOT_DIR → YII_APP_BASE_PATH 2014-08-19 20:42:40 +04:00
Alexander Makarov
f85a0f7dd2 Prefixed constants to avoid possible naming conflicts 2014-08-18 01:56:36 +04:00
Alexander Makarov
bc2ec5c684 Fixed copyright year in batch files 2014-08-17 18:55:24 +04:00
Alexander Makarov
229c352f78 Adjusted test configs structure 2014-08-17 18:45:58 +04:00
Alexander Makarov
e7dcdf7c71 Exposed basic app entry URL via codeception.yml, refactored configs of advanced app to read from config and define entry script in a single place 2014-08-16 18:38:56 +04:00
Alexander Makarov
3673e6c004 Renamed guy classes to actors, fixed phpdoc and code style 2014-08-16 18:15:41 +04:00
Alexander Makarov
9460b93de2 Removed db module from basic app, renamed _helpers to _support and _logs to _output 2014-08-16 17:16:05 +04:00
Alexander Makarov
c55a791237 Codeception test adjustments for basic and advanced applications
- Moved everything test-related into `tests` directory. Codeception tests are in `codeception`.
- Removed database module since we're using fixtures and migrations.
- Moved console entry points and bootstrap into `tests/codeception/bin`.
- Adjusted travis build scripts.
- Adjusted documentation to be consistent and reflect changes made.
2014-08-15 19:09:52 +04:00
mickgeek
f77cd8b411 Fix signature validation 2014-07-31 10:11:55 +04:00
Qiang Xue
48d2ced997 Request::cookieValidationKey must be explicitly specified now. 2014-07-19 15:39:03 -04:00
Qiang Xue
fb1d9fa32a yii\web\Request::cookieValidationKey is now automatically generated by the installation script for the basic and advanced application templates 2014-07-19 14:56:31 -04:00
Alexander Makarov
539a6f0c59 Codeceoption adjustments
- Removed hacks since these are no longer required: 71db233985
- Removed unused helper classes
- Added 2.0 style "actor" to config

Thanks to @Ragazzo and @DavertMik for helping with it.
2014-07-11 19:30:45 +04:00
Alexander Makarov
8e1d70c4d4 Fixes #4252, Fixes #3171 Fixed Codeception 2014-07-11 01:27:28 +04:00
Carsten Brandt
d24f93b717 typo 2014-07-02 17:08:18 +02:00
Alexander Makarov
0c8c520cbb Switched to Codeception 2.0.* for application template tests 2014-07-02 14:44:31 +03:00
Qiang Xue
d9385653f5 Fixes #3992 Fixes #4147 2014-07-01 14:45:44 -04:00
Carsten Brandt
1c14872c4a made mcrypt a framework requirement 2014-06-29 15:26:32 +02:00
Alexander Makarov
aa6c41046e Missing files for #4071 2014-06-26 18:28:57 +04:00
Alexander Makarov
91f05a2891 Fixes #4071: mail component renamed to mailer, yii\log\EmailTarget::$mail renamed to yii\log\EmailTarget::$mailer 2014-06-26 18:28:28 +04:00
Alexander Makarov
2193366f3f Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Alexander Kochetov
be792fd146 Application templates refactoring 2014-06-16 18:57:09 +04:00
Qiang Xue
01429aba17 Fixes #3358: Removed automatic CSRF meta tag generation by View. Added Html::csrfMetaTags() and its call to main layout files 2014-06-13 10:04:48 -04:00
Alexander Kochetov
27998d9e1b Fix .gitignore for basic and advanced application templates 2014-06-10 02:19:11 +04:00
Mark
66a9e874ca basic application template fixtures added 2014-06-09 16:33:36 +04:00
Mark
7a467ed501 basic application template tests adjusted 2014-06-09 16:10:16 +04:00
Carsten Brandt
2dedb6aa2c added explicit comment about file transport to mail config
fixes #3694
2014-06-04 17:43:09 +02:00
Klimov Paul
91454779c2 Missing $message var reference removed from mail layouts 2014-05-29 17:41:10 +03:00
Klimov Paul
e6888d16d0 Mail layout charset specification fixed 2014-05-29 17:11:45 +03:00
Alexander Makarov
b946b9906d Fixes #3542: Removed requirement to specify extensions in application config 2014-05-24 18:11:59 +04:00
Carsten Brandt
fff7565b05 Tabs to spaces to be consistent
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
2014-05-23 16:58:21 +02:00
Qiang Xue
914a6f76fe finished quick start about database [skip ci] 2014-05-10 14:07:34 -04:00
Qiang Xue
c964a753d8 Fixes #3383: Added $type parameter to IdentityInterface::findIdentityByAccessToken() 2014-05-06 18:45:18 -04:00
Qiang Xue
cbedf7ad96 Fixes #3088: The debug and gii modules will manage their own URL rules now 2014-04-17 20:42:50 -04:00
Qiang Xue
fedb41fcc3 prepare for next release. 2014-04-13 21:22:29 -04:00
Qiang Xue
c1472697e2 prepare for 2.0.0-beta release. 2014-04-13 17:58:59 -04:00
Qiang Xue
abcc78cd8f Refactored app bootstrap logic. 2014-04-10 15:05:01 -04:00
Alexander Makarov
5e2d934270 Merge pull request #2977 from PaulVanSchayck/fix-webdriver-test
Add wait() to login test with wrong credentials to fix WebDriver test
2014-04-10 05:00:32 -07:00
Qiang Xue
7c55b9a8cc updated error handler and requirement checker links. 2014-04-10 00:05:05 -04:00
Qiang Xue
52eea89f09 Removed Application::preload in favor of Application::bootstrap 2014-04-09 10:47:10 -04:00
Qiang Xue
4f00e23565 Moved all filter classes to namespace yii\filters 2014-04-05 01:00:14 -04:00
Paul van Schayck
bcf51a1156 Add wait() to login test with wrong credentials to fix WebDriver test 2014-04-04 12:16:17 +02:00
Alexander Makarov
923744d333 #2936: New favicon for applications 2014-04-02 00:43:23 +04:00
Alexander Makarov
1b8ef667f7 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
Qiang Xue
d4b6fc0171 more gitignores. 2014-03-25 08:37:48 -04:00
SonicGD
93cc82c4bf Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Luciano Baraglia
a85ef65aba Code style fixes 2014-03-08 20:47:04 -03:00