Summary | Enhance vinfo hook |
Queue | IMP |
Queue Version | 4.3.2 |
Type | Enhancement |
State | Rejected |
Priority | 1. Low |
Owners | |
Requester | manuel (at) mausz (dot) at |
Created | 01/25/2009 (6002 days ago) |
Due | |
Updated | 02/10/2009 (5986 days ago) |
Assigned | |
Resolved | 02/10/2009 (5986 days ago) |
Milestone | |
Patch | Yes |
State ⇒ Rejected
we'll enhance the pre/post hooks.
Webspace customers are uniquely identifiable while dedicated customers
are not. Thus they have to select their own server in the server list.
Webspace customers just use a dummy entry "autodetection" which
triggers the hook.
I'm fully with you in expanding the pre-/post-hooks. I just wanted to
point out why I used the vhook for now.
the selected server? And, like I said, I'd really prefer to make it
easier to do things with the pre- and post-auth hooks instead of
extending the vinfo hook, even if it would be harder *now*.
but it would've required more work (e.g. a lot of session variables
will be set before authenticate()-call). Also there's currently no way
to get the value of the selected server in any session variable before
login.
State ⇒ Feedback
currently possible - it might not be, though it might just require
mucking with $_SESSION data directly - then let's work towards making
it possible. I think the pre/post authenticate hooks are a much
cleaner way to do this sort of thing than the vinfo hook, which I'd
like to phase out.
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Enhance vinfo hook
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ Yes
New Attachment: horde_vinfo.patch
State ⇒ New
useful changes to the vinfo hook:
#1adds the possibility to modify the selected mailserver duringlogin. This allows us to select the correct mailserver by parsing the
login username. I have also created a simple example in hooks.php.dist.
#2passes the value of $_SESSION['imp']['user'] as an array item. Soyou don't have to get the value from the session. This is just a api
correction for the $value-param needed for
#1.If necessary I can create a patch for HEAD aswell.