In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

View Revisions: Issue #964 All Revisions ] Back to Issue ]
Summary 0000964: Improvements to user Login field
Revision 2011-07-08 08:43:05 by alex
Description 1. Add Validation of user Login field by Regular Expression

a. Validate Login field by Regular Expiration hard-coded in users_config.php (allow alpha-numeric symbols and "_", "-", "." symbols ONLY - that all symbols won't break url, when used in mod-rewrite).

b. To prevent issues with Login for all existing users - add OldStyleLogin field to PortalUser table and set it to 1 for users, whose Login field doesn't match new style logins.

For users, who have OldStyleLogin field set don't perform Login field validation. Perform Login field validation for new user registrations.

Based on OldStyleLogin field make Login field editable on my profile page.

All mentioned above should happen, when "email as login" option is enabled.


2. Remove copying of Email into Login field when EmailAsLogin is selected

We have 2 login modes:
- by email
- by login

In case, when "EmailAsLogin" configuration is enabled, then email is copied into login field.

Since we add validation to login field (described above), then we shouldn't validate it when email is copied there. Also email coping seems a bit odd, so we should NOT copy email into Login field at all.

Make sure to check all themes and corresponding places in the code
Revision 2011-01-11 10:41:33 by Dmitry
Description 1. Add Validation of user Login field by Regular Expression

a. Validate Login field by Regular Expiration hard-coded in users_config.php (allow alpha-numeric symbols ONLY).

b. To prevent issues with Login for all existing users - add OldStyleLogin field to PortalUser table and set it to 1 for users, whose Login field doesn't match new style logins.

For users, who have OldStyleLogin field set don't perform Login field validation. Perform Login field validation for new user registrations.

Based on OldStyleLogin field make Login field editable on my profile page.

All mentioned above should happen, when "email as login" option is enabled.


2. Remove copying of Email into Login field when EmailAsLogin is selected

We have 2 login modes:
- by email
- by login

In case, when "EmailAsLogin" configuration is enabled, then email is copied into login field.

Since we add validation to login field (described above), then we shouldn't validate it when email is copied there. Also email coping seems a bit odd, so we should NOT copy email into Login field at all.

Make sure to check all themes and corresponding places in the code
Revision 2011-01-11 10:28:10 by Dmitry
Description 1. Add Validation of user Login field by Regular Expiration

a. Validate Login field by Regular Expiration hard-coded in users_config.php (allow alpha-numeric symbols ONLY).

b. To prevent issues with Login for all existing users - add OldStyleLogin field to PortalUser table and set it to 1 for users, whose Login field doesn't match new style logins.

For users, who have OldStyleLogin field set don't perform Login field validation. Perform Login field validation for new user registrations.

Based on OldStyleLogin field make Login field editable on my profile page.

All mentioned above should happen, when "email as login" option is enabled.


2. Remove copying of Email into Login field when EmailAsLogin is selected

We have 2 login modes:
- by email
- by login

In case, when "EmailAsLogin" configuration is enabled, then email is copied into login field.

Since we add validation to login field (described above), then we shouldn't validate it when email is copied there. Also email coping seems a bit odd, so we should NOT copy email into Login field at all.

Make sure to check all themes and corresponding places in the code
Revision 2011-01-11 10:27:22 by Dmitry
Description Improvements to User Login field:


1. Add Validation of user Login field by Regular Expiration

a. Validate Login field by Regular Expiration hard-coded in users_config.php (allow alpha-numeric symbols ONLY).

b. To prevent issues with Login for all existing users - add OldStyleLogin field to PortalUser table and set it to 1 for users, whose Login field doesn't match new style logins.

For users, who have OldStyleLogin field set don't perform Login field validation. Perform Login field validation for new user registrations.

Based on OldStyleLogin field make Login field editable on my profile page.

All mentioned above should happen, when "email as login" option is enabled.


2. Remove copying of Email into Login field when EmailAsLogin is selected.

We have 2 login modes:
- by email
- by login

In case, when "EmailAsLogin" configuration is enabled, then email is copied into login field.

Since we add validation to login field (described above), then we shouldn't validate it when email is copied there. Also email coping seems a bit odd, so we should NOT copy email into Login field at all.

Make sure to check all themes and corresponding places in the code



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker