Commit Graph

308 Commits

Author SHA1 Message Date
Alexander Makarov
01d2291a81 Reverted accidentally edited HelloController 2014-09-04 12:13:28 +04:00
Alexander Makarov
00ca1cb4b3 Fixes #4914 2014-09-04 03:27:13 +04:00
Qiang Xue
46a8e5585b cleaned up the key so that it can be filled up with a random key automatically when installed. 2014-09-03 10:02:31 -04:00
Qiang Xue
f417f4353c Added yii\composer\Installer::postCreateProject() and modified the syntax of calling installer methods in composer.json [skip ci] 2014-09-02 23:17:50 -04:00
Alexander Makarov
51300fc93b Used aliases for fixture directory definitions 2014-08-26 01:51:58 +04:00
Alexander Makarov
b82d32c1ef 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
f5ee8e4583 Added faker to basic app console commands, adjusted readme to mention database setup 2014-08-24 15:26:57 +04:00
Alexander Makarov
c9d51ee0fd Adjusted testing namespaces in application templates 2014-08-24 14:14:35 +04:00
Alexander Makarov
5d67ac4452 Renamed YII_ROOT_DIR → YII_APP_BASE_PATH 2014-08-19 20:42:40 +04:00
Alexander Makarov
480b03beb7 Prefixed constants to avoid possible naming conflicts 2014-08-18 01:56:36 +04:00
Alexander Makarov
67c5894b2b Fixed copyright year in batch files 2014-08-17 18:55:24 +04:00
Alexander Makarov
c33214b35d Adjusted test configs structure 2014-08-17 18:45:58 +04:00
Alexander Makarov
c0a83142bf 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
cef430af01 Renamed guy classes to actors, fixed phpdoc and code style 2014-08-16 18:15:41 +04:00
Alexander Makarov
1bf6843d08 Removed db module from basic app, renamed _helpers to _support and _logs to _output 2014-08-16 17:16:05 +04:00
Alexander Makarov
7eb403bf45 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
017572d8a5 Fix signature validation 2014-07-31 10:11:55 +04:00
Qiang Xue
4e4e76e883 Request::cookieValidationKey must be explicitly specified now. 2014-07-19 15:39:03 -04:00
Qiang Xue
8633d0f91c 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
10747196a2 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
98d3a8c050 Fixes #4252, Fixes #3171 Fixed Codeception 2014-07-11 01:27:28 +04:00
Carsten Brandt
0b60e7c69c typo 2014-07-02 17:08:18 +02:00
Alexander Makarov
2f19030e37 Switched to Codeception 2.0.* for application template tests 2014-07-02 14:44:31 +03:00
Qiang Xue
a2a6028253 Fixes #3992
Fixes #4147
2014-07-01 14:45:44 -04:00
Carsten Brandt
8df51a7ec0 made mcrypt a framework requirement 2014-06-29 15:26:32 +02:00
Alexander Makarov
0ff0f9d32e Missing files for #4071 2014-06-26 18:28:57 +04:00
Alexander Makarov
2457e24795 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
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Alexander Kochetov
e4a6e9cda8 Application templates refactoring 2014-06-16 18:57:09 +04:00
Qiang Xue
6b799d392d 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
464af49e9c Fix .gitignore for basic and advanced application templates 2014-06-10 02:19:11 +04:00
Mark
01ddac64ec basic application template fixtures added 2014-06-09 16:33:36 +04:00
Mark
4498ccd417 basic application template tests adjusted 2014-06-09 16:10:16 +04:00
Carsten Brandt
df65a0f9de added explicit comment about file transport to mail config
fixes #3694
2014-06-04 17:43:09 +02:00
Klimov Paul
617941e009 Missing $message var reference removed from mail layouts 2014-05-29 17:41:10 +03:00
Klimov Paul
124c7e8448 Mail layout charset specification fixed 2014-05-29 17:11:45 +03:00
Alexander Makarov
07f30cb04c Fixes #3542: Removed requirement to specify extensions in application config 2014-05-24 18:11:59 +04:00
Carsten Brandt
b7e493fca0 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
25ba0e0d80 finished quick start about database [skip ci] 2014-05-10 14:07:34 -04:00
Qiang Xue
af7530663d Fixes #3383: Added $type parameter to IdentityInterface::findIdentityByAccessToken() 2014-05-06 18:45:18 -04:00
Qiang Xue
520011fff6 Fixes #3088: The debug and gii modules will manage their own URL rules now 2014-04-17 20:42:50 -04:00
Qiang Xue
f4c38faf74 prepare for next release. 2014-04-13 21:22:29 -04:00
Qiang Xue
8bbcff70db prepare for 2.0.0-beta release. 2014-04-13 17:58:59 -04:00
Qiang Xue
ea75177abc Refactored app bootstrap logic. 2014-04-10 15:05:01 -04:00
Alexander Makarov
01b1c07d81 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
055455d814 updated error handler and requirement checker links. 2014-04-10 00:05:05 -04:00
Qiang Xue
586f5b87b0 Removed Application::preload in favor of Application::bootstrap 2014-04-09 10:47:10 -04:00
Qiang Xue
a15a3835c7 Moved all filter classes to namespace yii\filters 2014-04-05 01:00:14 -04:00
Paul van Schayck
0456cd660a Add wait() to login test with wrong credentials to fix WebDriver test 2014-04-04 12:16:17 +02:00
Alexander Makarov
c3cf72d443 #2936: New favicon for applications 2014-04-02 00:43:23 +04:00