View Issue Details

IDProjectCategoryView StatusLast Update
0016416mantisbtinstallationpublic2014-02-07 18:24
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.2.15 
Target Version1.2.16Fixed in Version1.2.16 
Summary0016416: Improve first login experience by auto-redirecting to create project page
Description

At the moment the installer redirects to create project page. However, if MantisBT is pre-installed, the user lands in My View Page without knowing what to do. We should handle the "first login" experience in MantisBT itself rather than the installation and provide a helpful getting started over time. For now, we should start with auto-redirecting to create project page if user is administrator and there aren't at least 1 project in the database.

TagsNo tags attached.

Relationships

related to 0016420 closeddregad Editing user preferences when no project exists triggers application error 20 
related to 0016421 closedvboctor log in page does unnecessary db query following 0016416 

Activities

dregad

dregad

2013-09-28 11:51

developer   ~0038126

Reopening, because this was pushed to a feature branch, not to one of the main branches (master-1.2.x or master) so it can't be considered as resolved.

See Victor's PR https://github.com/mantisbt/mantisbt/pull/94

To avoid confusion, I'll detach the changeset for FirstLogin branch.

dregad

dregad

2013-09-29 06:42

developer   ~0038132

Fixed the mess in source integration tables ;-)

Related Changesets

MantisBT: master fb121e83

2013-09-28 16:13

vboctor


Details Diff
Fixes 0016416: Improve first login experience by auto-redirecting to create project page.

If MantisBT is pre-installed, the user lands in My View Page without knowing what to do.
We should handle the "first login" experience in MantisBT itself rather than the installation
and provide a helpful getting started over time. For now, we should start with auto-redirecting
to create project page if user is administrator and there aren't at least 1 project in the database.

The cost of this check is one cheap query on the projects table that returns 0 or 1 entries
which is only run at login of an administrator.
Affected Issues
0016416, 0016421
mod - admin/install.php Diff File
mod - core/project_api.php Diff File
mod - login_cookie_test.php Diff File

MantisBT: master-1.2.x 930c6c3e

2013-09-28 22:13

vboctor


Details Diff
Fixes 0016416: Improve first login experience by auto-redirecting to create project page.

If MantisBT is pre-installed, the user lands in My View Page without knowing what to do.
We should handle the "first login" experience in MantisBT itself rather than the installation
and provide a helpful getting started over time. For now, we should start with auto-redirecting
to create project page if user is administrator and there aren't at least 1 project in the database.

The cost of this check is one cheap query on the projects table that returns 0 or 1 entries
which is only run at login of an administrator.
Affected Issues
0016416
mod - login_cookie_test.php Diff File
mod - core/project_api.php Diff File
mod - admin/install.php Diff File