Commit Graph

573 Commits

Author SHA1 Message Date
resurtm
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
resurtm
46591248b8 Fix invalid indentation. 2014-07-10 17:29:51 +06:00
Alexander Kochetov
e306394d51 Advanced app User model code style fixes 2014-07-10 15:19:36 +04:00
London
d2370fe5eb added common tier config 2014-07-10 10:39:29 +04:00
Serge Postrash
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
Carsten Brandt
0b60e7c69c typo 2014-07-02 17:08:18 +02:00
Carsten Brandt
00e2540c5f typo 2014-07-02 17:05:00 +02:00
Alexander Makarov
a8df859bbf Fixes #4177 2014-07-02 17:26:33 +03: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
Alexander Kochetov
fed61f7d96 Advanced app User model code style fixes 2014-06-30 08:41:36 +04:00
Alexander Kochetov
044fe3633e Advanced app User model code style fixes 2014-06-30 08:24:48 +04:00
Carsten Brandt
8df51a7ec0 made mcrypt a framework requirement 2014-06-29 15:26:32 +02:00
Klimov Paul
2bab6259d1 'Security' helper usage switched to 'security' application component. 2014-06-27 14:31:08 +03: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
c8299697d0 Correct fix for #4060 2014-06-25 21:03:58 +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 Makarov
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
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
3c8cdd997b fixed reset password token test 2014-06-09 16:59:26 +04:00
Mark
9949acbdd2 tabs to spaces unacceptable fix 2014-06-09 16:41:24 +04:00
Mark
a7eb306da3 README info update 2014-06-09 16:37:07 +04:00
Mark
01ddac64ec basic application template fixtures added 2014-06-09 16:33:36 +04:00
Mark
588b8fef16 fixtures folders added 2014-06-09 16:32:48 +04:00
Mark
f17982683b application advanced template tests fixed 2014-06-09 16:31:49 +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
mbman
a63d7a7939 Advanced app's common tests codeception generated files gitignored 2014-05-16 14:01:26 +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
Alexander Makarov
0b7f649148 Fixed setting defaults in User model of advanced app, see bb145f5067 2014-05-04 19:42:35 +04:00
Alexander Kochetov
c19035a874 Advanced app init usage example typo fix 2014-05-04 10:44:02 +04:00
Alexander Makarov
bb145f5067 Fixes #3179: removed duplicate validation rules from User model in advanced app, removed User::create() 2014-04-30 02:16:28 +04:00
Paul Kofmann
a0d9641fa2 removed unnecessary lines regarding writable dirs 2014-04-24 20:52:56 +02:00
Paul Kofmann
85a56f548f no need to set writable folders for console 2014-04-24 20:42:53 +02:00
Paul Kofmann
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
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
Alexander Makarov
7295540c72 Code style and phpdoc fixes 2014-04-17 15:33:07 +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