6.0.0-beta1
8/9/25

[#6312] Redirect to correct view on direct access
Summary Redirect to correct view on direct access
Queue IMP
Queue Version Git master
Type Enhancement
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester jan (at) horde (dot) org
Created 02/24/2008 (6376 days ago)
Due
Updated 08/13/2009 (5840 days ago)
Assigned 06/01/2009 (5913 days ago)
Resolved 08/13/2009 (5840 days ago)
Milestone
Patch No

History
08/13/2009 06:02:49 PM Michael Slusarz Comment #13
State ⇒ Resolved
Reply to this comment
This should be fixed by the new login/auth code.
06/01/2009 07:51:49 PM Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
Version ⇒ Git master
 
04/03/2009 10:20:17 PM Jan Schneider Comment #12
State ⇒ Feedback
Reply to this comment
This is not what this ticket was about. You only redirected to view if 
you access IMP's index.php, you still get the old interface if you go 
to a mailbox, e.g. by clicking on a folder in the sidebar.
04/01/2009 06:55:31 PM Chuck Hagenbuch Comment #11
State ⇒ Resolved
Reply to this comment
Works for me.
04/01/2009 05:42:03 PM Michael Slusarz Comment #10 Reply to this comment
What happens currently in IMP 5?
You are redirected to the view they logged in with.  If not logged in, 
they should be redirected to the login page.  This properly takes into 
account the users' view preference (which is stored in a cookie, not 
in a preference).
03/31/2009 01:01:12 AM Chuck Hagenbuch Comment #9 Reply to this comment
What happens currently in IMP 5?
03/30/2009 11:16:38 PM Michael Slusarz Comment #8
State ⇒ Feedback
Reply to this comment
Can this ticket be dismissed?  Theoretically, this kind of code could 
be added to IMP 4.x, but it isn't coming from this guy ever. :)
12/14/2008 02:24:57 PM Chuck Hagenbuch State ⇒ Accepted
Priority ⇒ 1. Low
 
11/06/2008 08:56:38 AM Jan Schneider Comment #7 Reply to this comment
This could easily be added to IMP 4.2.x if someone feels like it, so 
I'd keep it as an option for a pre-5.0 release.
11/06/2008 02:57:51 AM Chuck Hagenbuch Comment #6
State ⇒ Feedback
Reply to this comment
Given other changes, do we still want to do anything here before IMP 5 
and folding the other views directly into the IMP code?
04/03/2008 08:44:43 AM Jan Schneider Comment #5
Milestone ⇒
Reply to this comment
I agree.
04/03/2008 05:53:04 AM Michael Slusarz Comment #4 Reply to this comment
I don't see this as a showstopper.  We already have the code that will 
redirect to the correct view at login/first access.  While it might be 
nice (in certain cases) to enforce restrictions, the only way to 
access the other views is to manually change the URL as far as I can 
tell.  I don't think this is critical to get 4.2 out the door.  The 
major issue - making sure we access the correct view after login 
whether dealing with maintenance or not - has previously been fixed.
04/02/2008 08:29:19 AM Jan Schneider Comment #3 Reply to this comment
I have some concerns about this.  From what is described here, does
this prevent any switching between modes once you are authenticated?
That is unacceptable if yes.
Yes, that was the intention. But I see how this might not be a good 
idea. It should be limited to cases where the admin disallowed the 
users to select the view.
04/02/2008 05:19:58 AM Michael Slusarz Comment #2 Reply to this comment
I have some concerns about this.  From what is described here, does 
this prevent any switching between modes once you are authenticated?   
That is unacceptable if yes.



Also, we already auto-detect the current view for purposes of compose 
link handling - at this point in 4.2, what else do we need?
04/01/2008 03:32:45 PM Jan Schneider Milestone ⇒ 4.2
 
02/24/2008 12:44:05 PM Jan Schneider Comment #1
Priority ⇒ 2. Medium
State ⇒ Accepted
Queue ⇒ IMP
Summary ⇒ Redirect to correct view on direct access
Type ⇒ Enhancement
Reply to this comment
When users (or admins) have chosen a certain UI (DIMP or MIMP), all 
access directly to one of IMP's controller scripts should redirect to 
the correct url of the initially selected UI.

I envision an API method like 'getViewUrl' that takes the requested 
view (mailbox, message, etc) and additional parameters as arguments 
and returns the correct url to redirect to.

Saved Queries