453 Commits

Author SHA1 Message Date
f362f5b25b Additional fixes 2014-09-12 15:16:25 +04:00
5190fbfe37 aliases.php renamed to bootstrap.php (introduced to specific applications too) 2014-09-12 11:29:48 +04:00
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
60e07e0d2a new asset WIP: renabled asset publishing 2014-09-02 14:51:44 -04:00
355fd32107 Update README.md 2014-09-01 11:36:57 +02:00
2f526521ce new asset WIP 2014-08-30 21:34:35 -04:00
d184fbb8ed new asset WIP [skip ci] 2014-08-29 14:54:49 -04:00
32fc3babff Update README.md 2014-08-27 21:36:29 +02:00
693ec944f0 simplified composer call to one
speed up process a lot because 3 composer updates are reduced to one
2014-08-27 21:13:47 +02:00
51300fc93b Used aliases for fixture directory definitions 2014-08-26 01:51:58 +04:00
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
a9445b4aa6 Added description to each test config of advanced application 2014-08-24 15:11:06 +04:00
c9d51ee0fd Adjusted testing namespaces in application templates 2014-08-24 14:14:35 +04:00
5d67ac4452 Renamed YII_ROOT_DIR → YII_APP_BASE_PATH 2014-08-19 20:42:40 +04:00
02f894556e Fixes #4757: fixed paths in advanced app init 2014-08-19 20:39:38 +04:00
480b03beb7 Prefixed constants to avoid possible naming conflicts 2014-08-18 01:56:36 +04:00
67c5894b2b Fixed copyright year in batch files 2014-08-17 18:55:24 +04:00
c33214b35d Adjusted test configs structure 2014-08-17 18:45:58 +04:00
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
cef430af01 Renamed guy classes to actors, fixed phpdoc and code style 2014-08-16 18:15:41 +04:00
1bf6843d08 Removed db module from basic app, renamed _helpers to _support and _logs to _output 2014-08-16 17:16:05 +04:00
9ea933933a Fixed templates and fixtures paths for advanced application 2014-08-15 19:24:43 +04:00
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
dfffea9af3 Use config variables instead constants. Cleanup redundant constants 2014-08-11 12:46:28 +04:00
71adca60ee Add namespaces to all tests 2014-08-11 12:43:50 +04:00
545a908b53 Add runner for all tests 2014-08-11 12:43:49 +04:00
359ae98f9c Fixes #4622: Simplified the way of creating a Faker fixture template file 2014-08-07 21:23:53 -04:00
b927d36f7d Removed index-test from codeception instructions since it's used automatically 2014-08-07 19:56:11 +04:00
6dd2203a5c Fixes #4566: Added client validation support for image validator 2014-08-02 22:36:22 -04:00
066989f0b0 Fixes #4425: generate cookie validation keys in local config files. 2014-08-01 15:00:15 -04:00
017572d8a5 Fix signature validation 2014-07-31 10:11:55 +04:00
2c5c2c101b Fixes #4131: Security adjustments 2014-07-26 03:29:30 +04:00
28c691362d Double quotes don't work in some environments
https://getcomposer.org/doc/03-cli.md#require
2014-07-24 15:13:55 +07:00
4ac6777ce0 Very draft testing docs 2014-07-24 01:35:39 +04:00
4e4e76e883 Request::cookieValidationKey must be explicitly specified now. 2014-07-19 15:39:03 -04:00
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
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
98d3a8c050 Fixes #4252, Fixes #3171 Fixed Codeception 2014-07-11 01:27:28 +04:00
9c2e7661bc Initial migration code must match code generated by console migration controller.
Minor consistency issue. See the following files for more details:
1. framework/views/migration.php
2. framework/console/controllers/MigrateController.php
2014-07-10 17:31:32 +06:00
46591248b8 Fix invalid indentation. 2014-07-10 17:29:51 +06:00
e306394d51 Advanced app User model code style fixes 2014-07-10 15:19:36 +04:00
d2370fe5eb added common tier config 2014-07-10 10:39:29 +04:00
6ec0b60a69 IdentityInterface::findIdentity should return active users
```
interface IdentityInterface
{
    /**
     * Finds an identity by the given ID.
     * @param string|integer $id the ID to be looked for
     * @return IdentityInterface the identity object that matches the given ID.
     * Null should be returned if such an identity cannot be found
     * or the identity is not in an active state (disabled, deleted, etc.)
     */
    public static function findIdentity($id);
```
2014-07-08 07:09:03 +04:00
00e2540c5f typo 2014-07-02 17:05:00 +02:00
a8df859bbf Fixes #4177 2014-07-02 17:26:33 +03:00
2f19030e37 Switched to Codeception 2.0.* for application template tests 2014-07-02 14:44:31 +03:00
a2a6028253 Fixes #3992
Fixes #4147
2014-07-01 14:45:44 -04:00
fed61f7d96 Advanced app User model code style fixes 2014-06-30 08:41:36 +04:00
044fe3633e Advanced app User model code style fixes 2014-06-30 08:24:48 +04:00
8df51a7ec0 made mcrypt a framework requirement 2014-06-29 15:26:32 +02:00