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 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
Alexander Makarov
75154d351d
Refactored AR find
2014-04-07 09:43:03 +04:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
Carsten Brandt
a8ef7bab9e
Merge branch 'code-style'
...
* code-style:
fix php5.4 array syntax
many phpcs fixes
fix phpDoc LuaScriptBuilder build @throws
returned back formatting language files
code style. WHILE
code style. FOR
code style. FOREACH
code style. operator IF
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
short echo tags
short array syntax
2014-03-07 21:56:40 +01:00
Carsten Brandt
1b7e1cd027
Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
...
* 'feature' of https://github.com/mongosoft/yii2 :
returned back formatting language files
code style. WHILE
code style. FOR
code style. FOREACH
code style. operator IF
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
short echo tags
short array syntax
Conflicts:
extensions/apidoc/commands/RenderController.php
extensions/apidoc/models/BaseDoc.php
extensions/apidoc/models/Context.php
extensions/apidoc/templates/bootstrap/Renderer.php
extensions/apidoc/templates/bootstrap/layouts/guide.php
extensions/apidoc/templates/bootstrap/layouts/main.php
extensions/apidoc/templates/bootstrap/views/index.php
extensions/apidoc/templates/html/Renderer.php
extensions/apidoc/templates/offline/views/index.php
extensions/apidoc/templates/offline/views/offline.php
extensions/apidoc/templates/online/views/index.php
extensions/elasticsearch/Connection.php
extensions/redis/ActiveQuery.php
framework/base/ErrorException.php
framework/helpers/BaseFileHelper.php
tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
Johnny Theill
a5e6e2d43b
username should be unique
2014-03-07 21:50:04 +01:00
Alexander Mohorev
c7e8d8b900
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
2014-03-03 20:50:44 +03:00
Qiang Xue
7a04dbaae1
Support for other auth types.
2014-03-03 10:18:39 -05:00
Qiang Xue
48a12559b2
rest api WIP
2014-03-01 23:14:16 -05:00
Alexander Makarov
a687e6f58c
Validate login data only of there are no other errors
2014-02-21 00:57:29 +04:00
Carsten Brandt
72145098a1
updated timestamp behavior in advanced app to renaming
2014-02-20 13:18:33 +01:00
Mark
942462a5cf
visibility fix
2014-02-18 18:30:29 +04:00
Johnny Theill
f42af951e1
Fix newlines and missing parameter description
2014-02-16 03:14:28 +01:00
Johnny Theill
63272f4166
Update doc-blocks and small fixes according to coding standards
2014-02-15 17:53:57 +01:00
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
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
Alexander Kochetov
ddb0e9b0e6
Advanced app User model updated
2014-01-19 13:49:29 +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
515095bbf7
Fixes #1633 : Advanced application template now works with MongoDB by default
2013-12-29 23:26:20 +01: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
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
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
Carsten Brandt
c8e73b42e7
fixed AutoTimestamp example in advanced app
...
fixes #429
2013-05-27 23:45:13 +02:00
Alexander Makarov
75917e2cb1
User and LoginForm are now common models, User is AR and Identity
2013-05-25 03:23:09 +04:00