580 Commits

Author SHA1 Message Date
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
0b60e7c69c typo 2014-07-02 17:08:18 +02: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
2bab6259d1 'Security' helper usage switched to 'security' application component. 2014-06-27 14:31:08 +03:00
0ff0f9d32e Missing files for #4071 2014-06-26 18:28:57 +04:00
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
c8299697d0 Correct fix for #4060 2014-06-25 21:03:58 +04:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
cca349512e Fixes #3979: Alert widget in advanced app is now able to display multiple flash messages of the same type 2014-06-20 14:43:36 +04:00
e4a6e9cda8 Application templates refactoring 2014-06-16 18:57:09 +04:00
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
464af49e9c Fix .gitignore for basic and advanced application templates 2014-06-10 02:19:11 +04:00
3c8cdd997b fixed reset password token test 2014-06-09 16:59:26 +04:00
9949acbdd2 tabs to spaces unacceptable fix 2014-06-09 16:41:24 +04:00
a7eb306da3 README info update 2014-06-09 16:37:07 +04:00
01ddac64ec basic application template fixtures added 2014-06-09 16:33:36 +04:00
588b8fef16 fixtures folders added 2014-06-09 16:32:48 +04:00
f17982683b application advanced template tests fixed 2014-06-09 16:31:49 +04:00
4498ccd417 basic application template tests adjusted 2014-06-09 16:10:16 +04:00
df65a0f9de added explicit comment about file transport to mail config
fixes #3694
2014-06-04 17:43:09 +02:00
617941e009 Missing $message var reference removed from mail layouts 2014-05-29 17:41:10 +03:00
124c7e8448 Mail layout charset specification fixed 2014-05-29 17:11:45 +03:00
07f30cb04c Fixes #3542: Removed requirement to specify extensions in application config 2014-05-24 18:11:59 +04:00
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
a63d7a7939 Advanced app's common tests codeception generated files gitignored 2014-05-16 14:01:26 +02:00
25ba0e0d80 finished quick start about database [skip ci] 2014-05-10 14:07:34 -04:00
af7530663d Fixes #3383: Added $type parameter to IdentityInterface::findIdentityByAccessToken() 2014-05-06 18:45:18 -04:00
0b7f649148 Fixed setting defaults in User model of advanced app, see bb145f50672d35d62edede906255a8fe9a9c1f5f 2014-05-04 19:42:35 +04:00
c19035a874 Advanced app init usage example typo fix 2014-05-04 10:44:02 +04:00
bb145f5067 Fixes #3179: removed duplicate validation rules from User model in advanced app, removed User::create() 2014-04-30 02:16:28 +04:00
a0d9641fa2 removed unnecessary lines regarding writable dirs 2014-04-24 20:52:56 +02:00
85a56f548f no need to set writable folders for console 2014-04-24 20:42:53 +02:00
38cea05b55 setting writable folders in init-script
It is said, that these folders are handled already by composer.json, what is definitely true. But if I can't (or don't want to) call composer create-project command, I have to run post-create-project-cmd manually like `composer run-script post-create-project-cmd`. IMHO, it's consistent to make such preparations in init script.
2014-04-24 16:44:21 +02:00