333 Commits

Author SHA1 Message Date
Anton Andersen
6b4ad97e43 Fixes #6103: Improved codeception config in app templates to ease testing of advanced app on multiple hosts 2014-11-27 14:02:04 +03:00
Qiang Xue
c10a6b46be Fixes #6189 2014-11-23 20:56:33 -05:00
Mark Ragazzo
995c79103d fixed fixture controller config for applications 2014-11-07 23:20:03 +04:00
Alexander Makarov
c6908c8b43 Fixes #4827: default config for functional tests of both basic and advanced app now turns off CSRF validation while providing commented out alternative setting cookie domain to localhost 2014-10-28 02:03:02 +03:00
Alexander Mohorev
d06d027a1f Correct order of property declaration 2014-10-25 16:28:36 +03:00
Alexander Makarov
d33ea353eb Fixes #5598: added ImageMagick with PNG and GD with FreeType checks to requirements of basic and advanced applications, used better Captcha exception message 2014-10-19 01:23:46 +04:00
Alexander Makarov
e8aed03f1a Fixed entry script name 2014-10-18 19:31:39 +04:00
Qiang Xue
0a636b8cbd Fixes #5509. 2014-10-12 18:13:22 -04:00
Qiang Xue
8ac36163c1 prepare for next release. 2014-10-12 16:44:45 -04:00
Qiang Xue
2ab0180a59 2.0.0 release. 2014-10-12 13:09:06 -04:00
Michael Härtl
ac46b6dab6 Issue 5160: Update base app to use bootstrap ActiveForm 2014-09-29 13:45:04 +02:00
Qiang Xue
039225e550 prepare for next release. 2014-09-28 01:44:31 -04:00
Qiang Xue
e3195677d5 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00
Qiang Xue
969b7a5996 use 1.0.0-beta2 version for composer asset plugin. 2014-09-27 12:57:43 -04:00
Carsten Brandt
e0fb805eea improved version constraints for bower asset packages 2014-09-22 17:34:18 +02:00
Carsten Brandt
5c6b897629 Changed version constratints to be semantic versioning again
- in composer the `~` operator is just a shortcut for `~1.0` = `>=1.0.0,<2.0.0`
  it does not prevent dev versions to be installed but neither does `1.*`
- dev versions are constrolled via `minimum-stability` setting and the
  `@dev`, `@beta`, `@stable`,... settings.
- setting bower packages that ship compiled files only with the stable
  release to use `@stable` in composer.json of the applictaions. This
  setting can be removed when we remove the `minimum-stability=dev`
  setting after GA.
2014-09-22 13:15:43 +02:00
Qiang Xue
1484e58b1b Switch to 1.0.0-beta1 for the composer asset plugin. 2014-09-19 08:32:47 -04:00
Qiang Xue
928d41cb5a removed empty bower.json files [skip ci] 2014-09-16 23:26:40 -04:00
Qiang Xue
70c5f2eba0 Fixed wrong instruction. 2014-09-16 20:58:57 -04:00
Qiang Xue
1b58a71ef9 Merge branch 'master' into new-asset
Conflicts:
	apps/basic/composer.json
	composer.json
2014-09-16 20:03:53 -04:00
Qiang Xue
7411e65c5e reverted a prior change. 2014-09-16 16:28:49 -04:00
Qiang Xue
867182b31f WIP 2014-09-16 13:31:32 -04:00
Qiang Xue
cc50af25ec Finished console Gii. 2014-09-14 14:15:16 -04:00
Alexander Makarov
8017996ccc Reverted accidentally edited HelloController 2014-09-04 12:13:28 +04:00
Alexander Makarov
f1df2e4336 Fixes #4914 2014-09-04 03:27:13 +04:00
Qiang Xue
a6b38ddef6 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
d2840ad8fc 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
Qiang Xue
8efbbcc662 new asset WIP [skip ci] 2014-09-02 17:03:19 -04:00
Qiang Xue
74266596cf new asset WIP: renabled asset publishing 2014-09-02 14:51:44 -04:00
Qiang Xue
7690a93b7f new asset WIP [skip ci] 2014-08-29 14:54:49 -04:00
Qiang Xue
078fb5b48f new asset management WIP 2014-08-27 16:44:00 -04:00
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