Commit Graph

57 Commits

Author SHA1 Message Date
Alexander Makarov
dd26d39dd8 Removed unused namespace imports 2014-02-07 13:26:00 +04:00
Alexander Makarov
f226ee5610 password_reset_token is now null when reset 2014-02-06 00:22:01 +04:00
Alexander Makarov
d13ed43212 Fixed signup/restore password flow 2014-02-06 00:14:23 +04:00
Alexander Makarov
9da28421ee Use fileTransport for email in debug mode by default 2014-02-06 00:14:01 +04:00
Alexander Makarov
6cac7c61e5 Removed Yii::$app->getParam usage 2014-02-05 23:21:57 +04:00
Alexander Makarov
b8235c717d Added password reset token expiration 2014-02-05 18:23:59 +04:00
Alexander Makarov
a1497ca01c Removed extra \models\forms namespace, moved all models to just \models 2014-02-05 17:41:47 +04:00
Alexander Makarov
5d7e7f4d91 Moved creating user to static method of the model 2014-02-04 13:31:26 +04:00
Alexander Makarov
c2e0b5beb5 Optimized forms code a bit 2014-02-01 23:08:39 +04:00
Alexander Makarov
a43be083e8 Moved forms used in frontend only to frontend 2014-02-01 22:23:29 +04:00
Alexander Makarov
d98ec80cd1 Used setter as field 2014-02-01 20:32:07 +04:00
Alexander Makarov
e4c98f0fa3 Fixed constructor overriding to allow array configuration 2014-02-01 17:47:18 +04:00
Alexander Makarov
6ad0d72a48 Extracted password-related code into User model methods 2014-01-31 23:44:26 +04:00
Alexander Makarov
71fba07700 Moved most of the user-related logic into form models 2014-01-31 23:18:07 +04:00
Johnny Theill
84f408e85e Update .gitignore
Local files should not be committed to version control
2014-01-31 18:39:10 +01:00
Alexander Kochetov
86747e89ef Aliases moved to aliases.php 2014-01-28 22:19:00 +04:00
Alexander Kochetov
4e77105277 Rollback $params variable 2014-01-28 22:18:37 +04:00
Alexander Kochetov
a4c8617f42 Cleaner environments for yii2-advanced-app 2014-01-22 12:24:15 +04:00
Alexander Kochetov
ddb0e9b0e6 Advanced app User model updated 2014-01-19 13:49:29 +04:00
Alexander Makarov
69eebffad9 Used dirname instead of realpath to avoid extra FS operations 2014-01-12 22:40:50 +04:00
Alexander Makarov
1f47d94eca Fixes #1846 2014-01-09 02:41:12 +04:00
Alexander Makarov
8e013aacd0 Fixes #1633: fixed scenarios for User model in advanced application allowing setting default values for User model 2014-01-09 00:49:03 +04:00
Alexander Makarov
0f87c990f9 Advanced app template: moved database connection DSN, login and password to -local config not to expose it to VCS 2014-01-08 22:44:39 +04:00
Alexander Makarov
515095bbf7 Fixes #1633: Advanced application template now works with MongoDB by default 2013-12-29 23:26:20 +01:00
Alexander Makarov
286571185b Fixed phpdoc 2013-11-28 02:51:03 +04:00
Alexander Makarov
58c02b49de Fixes #1342 2013-11-28 02:23:19 +04:00
Alexander Makarov
2643de1db8 Updated advanced application mail layout to contain layout markers 2013-11-28 01:19:28 +04:00
Alexander Makarov
157ddc78cd Fixes #1342: added missing layout for mail in advanced app template 2013-11-28 01:04:19 +04:00
Alexander Makarov
e3292c959a Advanced application template now uses mailer component instead of mail() function 2013-11-27 03:48:20 +04:00
Alexander Makarov
65be184344 Fixes #1324: added missing @console alias to advanced app 2013-11-26 14:44:33 +04:00
Qiang Xue
83ab0f0655 minor refactoring 2013-11-16 20:39:51 -05:00
Alexander Makarov
ad6411cae2 Fixed LoginForm::getUserByUsername 2013-11-17 02:19:05 +04:00
Alexander Makarov
5795522fc2 Use Yii::$app->user->login result in LoginForm 2013-11-16 22:16:24 +04:00
Alexander Makarov
5b36503ca8 One less SQL query for login sequence in basic and advanced apps 2013-11-16 19:39:11 +04:00
slavcodev
f57b3536a2 Fixed apps rules 2013-11-13 11:41:25 +02:00
slavcodev
ecc557ef92 Refactor all models to new rules format 2013-11-12 16:39:23 +02:00
Qiang Xue
998cf7e675 updated apps to use the mail component. 2013-11-07 23:01:13 -05:00
Alexander Makarov
91b61692c5 Better alias paths for advanced application 2013-11-01 03:16:34 +04:00
Yakir Sitbon
dfb6e1f404 Convert to short syntax [2]. 2013-10-18 12:03:36 +00:00
Alexander Makarov
e19d0dacf9 Fixes #823: consistent interface naming 2013-09-24 15:45:09 +04:00
Alexander Makarov
4d901acd8e Advanced application template: removed unused scenario from User model 2013-09-23 18:01:13 +04:00
Alexander Makarov
b02f01f6be More on advanced app template:
- Unified way to use Alert
- Added link to restore password to login form
- Refactored restore password
2013-07-21 22:10:31 +04:00
Alexander Makarov
5284e5856d added some phpdoc to advanced app 2013-07-21 19:13:00 +04:00
Alexander Makarov
b28e6b90e6 added charset 2013-07-18 12:56:20 +04:00
Qiang Xue
a6cd7b72bb refactored helper organization. 2013-07-17 20:45:36 -04:00
Alexander Makarov
90ed776296 implemented password reset 2013-07-18 03:09:41 +04:00
Alexander Makarov
b8ff2cc569 Added authkey generation 2013-07-18 02:08:19 +04:00
resurtm
29c593d526 Fix CS issues. 2013-07-03 09:32:44 +06:00
FrediL
6249b89932 Change validators from 'length' to 'string' 2013-06-21 03:15:56 +02:00
resurtm
729446edf9 Fixes #554. Incorrect alias setup. 2013-06-19 17:28:27 +06:00