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!

Viewing Issue Advanced Details Jump to Notes ] Wiki ]  Related Changesets ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000964 [In-Portal CMS] Data Management feature request always 2011-01-11 10:27 2012-07-25 05:33
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.2.0-B1 Product Version 5.1.1
  Target Version 5.2.0 Product Build
Time EstimateNo estimate
Summary 0000964: Improvements to user Login field
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
Steps To Reproduce
Additional Information Without patch from 0001104 task Login field will always appear as required (even in "Email As Login" mode), when "simple" interface preset is used.
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/_zXDBTcrRiw/discussion
Change Log Message Improved validation of user Login field
Estimate Points 2
Attached Files patch file icon improvements_to_email_as_login.patch [^] (12,077 bytes) 2011-07-08 10:34 [Show Content]
patch file icon improvements_to_email_as_login_themes.patch [^] (2,183 bytes) 2011-07-13 06:28 [Show Content]
patch file icon improvements_to_email_as_login_modules.patch [^] (573 bytes) 2011-07-27 10:13 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
parent of 0001363resolved (5.2.1)alex User selector not working 
related to 0001014closed (5.1.3)alex Unable to select user, that has ' in it's username 
related to 0001107closed (5.2.0)alex Logical changes on user registration/my profile/forgot password forms 
related to 0001104closed (5.1.3)alex Impossible to use OnAfterConfigRead event, when there is a system preset for a given unit config 
related to 0001201closed (5.2.0)alex Fatal error during Installation on States import with MySQL in Strict Mode 
child of 0000778closed (5.2.0)alex Improvements to Create User & Admin form in Admin 

-  Notes
User avatar (0003612)
alex (manager)
2011-07-08 10:35

Also method UsersItem::generatePassword added.
User avatar (0003613)
alex (manager)
2011-07-08 10:37

Will test later, but commit right now to ease merge process from 5.1.x branch.
User avatar (0003614)
alex (manager)
2011-07-08 10:43

Fix committed to 5.2.x branch. Commit Message:

Fixes 0000964: Improvements to user Login field
User avatar (0003628)
alex (manager)
2011-07-13 06:29

Theme patch additionally replaces <inp2:m_if check="conf_ConfigValue" name="Email_As_Login"> tag with <inp2:m_if check="u_UseUsernames"> tag to enhance developer understanding of template contents.
User avatar (0005078)
alex (manager)
2012-07-25 05:33

Since 5.2.0 version was released.

- Related Changesets
Modules :: In-Commerce: 5.2.x r14475
Timestamp: 2011-07-27 10:14:26
Author: alex
Details ] Diff ]
Bug 0000964: Improvements to user Login field
1. forgot to commit 3rd patch
mod - /w/in-commerce/branches/5.2.x/units/affiliates/affiliates_event_handler.php Diff ] File ]
Themes :: Advanced: 1.2.x r14470
Timestamp: 2011-07-13 06:30:05
Author: alex
Details ] Diff ]
Bug 0000964: Improvements to user Login field
1. forgot to commit 2nd patch
mod - /themes/advanced/branches/1.2.x/platform/login/forgot_password.tpl Diff ] File ]
mod - /themes/advanced/branches/1.2.x/platform/my_account/my_profile.tpl Diff ] File ]
In-Portal CMS: 5.2.x r14447
Timestamp: 2011-07-08 10:43:19
Author: alex
Details ] Diff ]
Fixes 0000964: Improvements to user Login field
mod - /in-portal/branches/5.2.x/core Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/install_schema.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/upgrades.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/managers/cache_manager.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/users/users_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/users/users_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/users/users_item.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:33 alex Note Added: 0005078
2012-07-25 05:33 alex Status resolved => closed
2012-07-22 07:27 alex Relationship added parent of 0001363
2012-02-06 04:04 alex Relationship added related to 0001201
2011-10-22 05:40 alex Estimate Points => 2
2011-09-02 07:31 alex Additional Information Updated View Revisions
2011-09-02 07:30 alex Relationship added related to 0001104
2011-08-24 03:28 alex Relationship added related to 0001107
2011-07-27 10:14 alex Changeset attached 5.2.x r14475
2011-07-27 10:13 alex File Added: improvements_to_email_as_login_modules.patch
2011-07-13 06:30 alex Changeset attached 1.2.x r14470
2011-07-13 06:29 alex Note Added: 0003628
2011-07-13 06:28 alex File Added: improvements_to_email_as_login_themes.patch
2011-07-11 07:21 alex Relationship added child of 0000778
2011-07-08 10:43 alex Target Version Icebox => 5.2.0
2011-07-08 10:43 alex Note Added: 0003614
2011-07-08 10:43 alex Status reviewed and tested => resolved
2011-07-08 10:43 alex Fixed in Version => 5.2.0-B1
2011-07-08 10:43 alex Resolution open => fixed
2011-07-08 10:43 alex Assigned To !COMMUNITY => alex
2011-07-08 10:43 alex Changeset attached 5.2.x r14447
2011-07-08 10:37 alex Note Added: 0003613
2011-07-08 10:37 alex Status needs testing => reviewed and tested
2011-07-08 10:35 alex Note Added: 0003612
2011-07-08 10:35 alex Assigned To => !COMMUNITY
2011-07-08 10:35 alex Developer => alex
2011-07-08 10:35 alex Status active => needs testing
2011-07-08 10:34 alex File Added: improvements_to_email_as_login.patch
2011-07-08 08:43 alex Description Updated View Revisions
2011-03-13 06:47 alex Relationship added related to 0001014
2011-01-11 10:41 Dmitry Description Updated View Revisions
2011-01-11 10:28 Dmitry Description Updated View Revisions
2011-01-11 10:27 Dmitry New Issue
2011-01-11 10:27 Dmitry Reference => https://groups.google.com/d/topic/in-portal-dev/_zXDBTcrRiw/discussion
2011-01-11 10:27 Dmitry Change Log Message => Improved validation of user Login field



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

Powered by Mantis Bugtracker