Revisions for imp/redirect.php

Location: [ Horde ] / imp / redirect.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.159 (+1 -12 lines) 06/25/2008 02:51 PM Michael M Slusarz slusarz

The old way of handling compose messages when the session timed out was
kludgy, never worked properly for me, isn't usable unless the user logs
back in, and doesn't work if using a custom login page
Rewrite using VFS to store the draft, which will be accessible on the next
login.

1.116.2.25 FRAMEWORK_3 (+2 -3 lines) 06/15/2008 01:05 PM Chuck Hagenbuch chuck

MFH:
2.288     +2 -3      imp/login.php
1.158     +2 -3      imp/redirect.php

1.158 (+2 -3 lines) 06/15/2008 01:02 PM Chuck Hagenbuch chuck

IMP_BASE is often already defined in these two scripts

1.116.2.24 FRAMEWORK_3 (+2 -11 lines) 05/12/2008 10:32 PM Michael M Slusarz slusarz

MFH: IMP.php - 1.686; redirect.php - 1.157; javascript_defs.php - 2.7

Tags: IMP_4_2

1.157 (+2 -11 lines) 05/12/2008 10:29 PM Michael M Slusarz slusarz

Add IMP::wrapInlineScript() and IMP::redirect().

1.116.2.23 FRAMEWORK_3 (+14 -13 lines) 04/02/2008 01:33 AM Michael M Slusarz slusarz

Bug: 6179
MFH: redirect.php - 1.156; CHANGES - 1.1112; Session.php - 1.164

Tags: IMP_4_2_RC4

1.156 (+14 -13 lines) 04/02/2008 01:23 AM Michael M Slusarz slusarz

Bug: 6179
Redirect after doing maintenance to the proper view.

1.155 (+9 -2 lines) 03/24/2008 10:18 AM Jan Schneider jan

MFB:
[jan] Support vhosts setting when loading header.php, servers.php,
spelling.php and trailer.txt configuration files.

1.116.2.22 FRAMEWORK_3 (+9 -2 lines) 03/24/2008 09:11 AM Jan Schneider jan

[jan] Support vhosts setting when loading header.php, servers.php,
spelling.php and trailer.txt configuration files.

1.116.2.21 FRAMEWORK_3 (+21 -8 lines) 03/18/2008 01:52 PM Jan Schneider jan

MFH:
Allow users to specify server name and login credentials for IMP in Horde's
preferences. Too late in the game to get thoroughly tested, thus the weird
version numbers.

1.116.2.20 FRAMEWORK_3 (+7 -4 lines) 02/22/2008 01:21 PM Jan Schneider jan

MFH: Add configuration option to force users to a certain view.

Tags: IMP_4_2_RC3

1.154 (+7 -4 lines) 02/22/2008 01:11 PM Jan Schneider jan

Add configuration option to force users to a certain view.

1.153 (+21 -8 lines) 02/18/2008 01:10 PM Jan Schneider jan

Allow users to specify server name and login credentials for IMP in Horde's
preferences. Too late in the game to get thoroughly tested, thus the weird
version numbers.

1.116.2.19 FRAMEWORK_3 (+6 -5 lines) 01/03/2008 12:38 PM Michael M Slusarz slusarz

MFH: login.php - 2.279; redirect.php - 1.152

Tags: IMP_4_2_RC2

1.152 (+6 -5 lines) 01/03/2008 02:57 AM Michael M Slusarz slusarz

This setcookie() call is not in the right place - there is no way to switch
back to imp.
Make cookie name a bit clearer.

1.116.2.18 FRAMEWORK_3 (+2 -2 lines) 01/02/2008 06:31 AM Jan Schneider jan

Happy New Year

1.151 (+2 -2 lines) 01/02/2008 06:12 AM Jan Schneider jan

Happy New Year

1.116.2.17 FRAMEWORK_3 (+71 -16 lines) 12/20/2007 08:59 AM Jan Schneider jan

Merge from HEAD.

1.150 (+4 -1 lines) 12/11/2007 12:50 PM Jan Schneider jan

Remember webmail mode selected on the last login.

Tags: BEFORE_MERGE_3_2

1.149 (+2 -2 lines) 09/10/2007 06:28 PM Jan Schneider jan

Move application-specific hook examples to the application's config directories.

Tags: IMP_4_2_RC1

1.148 (+1 -2 lines) 08/01/2007 12:11 AM Chuck Hagenbuch chuck

Jon has assigned his copyrights to The Horde Project.

Tags: IMP_4_2_ALPHA

1.147 (+2 -2 lines) 06/27/2007 01:23 PM Jan Schneider jan

Bump year, looks like a missed a few last time.

1.146 (+2 -3 lines) 04/16/2007 07:59 PM Michael M Slusarz slusarz

not sure where i was going with this comment.

1.145 (+41 -14 lines) 04/16/2007 07:01 AM Michael M Slusarz slusarz

More improvements to anchor redirection.  Don't add anchor until end or else
we may append parameters after it.  When redirecting, always send anchor even
if it was part of an original URL parameter (we will let the called function
worry about dealing with it).

1.144 (+10 -13 lines) 04/12/2007 12:38 PM Michael M Slusarz slusarz

Need to add anchor at the very end since we may be adding parameters
to URL part.

1.143 (+14 -4 lines) 04/12/2007 11:08 AM Michael M Slusarz slusarz

Preserve URL anchor information when performing login.

1.142 (+4 -2 lines) 04/06/2007 05:34 PM Michael M Slusarz slusarz

Bug: 5218
Don't load frameset if logging into either MIMP or DIMP.

1.141 (+5 -1 lines) 03/12/2007 02:30 AM Michael M Slusarz slusarz

[mms] Add option to login screen to allow user to select the application mode
if either DIMP or MIMP is also installed.

1.116.2.16 FRAMEWORK_3 (+3 -3 lines) 01/02/2007 08:54 AM Jan Schneider jan

Happy New Year

Tags: IMP_4_1_6, IMP_4_1_5, IMP_4_1_4, IMP_4_1_4_RC1

1.140 (+2 -2 lines) 01/02/2007 07:47 AM Jan Schneider jan

Happy New Year

1.139 (+5 -3 lines) 01/01/2007 07:41 PM Jan Schneider jan

Assign copyright to The Horde Project for those copyright holders that already agreed to it.

1.116.2.15 FRAMEWORK_3 (+4 -2 lines) 12/20/2006 10:48 PM Michael M Slusarz slusarz

Bug: 4793
MFH: redirect.php - 1.138; Imp.reg - 1.8

1.138 (+4 -2 lines) 12/20/2006 10:46 PM Michael M Slusarz slusarz

Bug: 4793
Revert URL change and fix the actual issue.

1.137 (+2 -2 lines) 09/04/2006 06:43 PM Michael M Slusarz slusarz

coding standards: don't use is_null().

1.116.2.14 FRAMEWORK_3 (+2 -2 lines) 08/20/2006 02:11 AM Michael M Slusarz slusarz

MFH 1.136

1.136 (+2 -2 lines) 08/20/2006 02:09 AM Michael M Slusarz slusarz

'folders' no longer exists.

1.135 (+1 -4 lines) 06/03/2006 02:19 AM Michael M Slusarz slusarz

log successful login attempts in a single place in the code.
consolidate some duplicate code in api.php

1.116.2.13 FRAMEWORK_3 (+3 -3 lines) 04/22/2006 11:08 PM Chuck Hagenbuch chuck

MFH 1.134

Tags: IMP_4_1_3, IMP_4_1_2

1.134 (+3 -3 lines) 04/22/2006 11:08 PM Chuck Hagenbuch chuck

Last try definitely wasn't right, this seems good.

1.116.2.12 FRAMEWORK_3 (+3 -3 lines) 04/22/2006 09:12 PM Chuck Hagenbuch chuck

MFH 1.133
Bug: 3807

1.133 (+3 -3 lines) 04/22/2006 09:11 PM Chuck Hagenbuch chuck

Allow username not to be submitted at all with an existing session.
Bug: 3807

1.132 (+3 -3 lines) 04/14/2006 07:30 PM Chuck Hagenbuch chuck

postlogin hook might need to run before maintenance, and can always
run maintenance later by re-calling redirect.php with url= wherever it
wants you to go next.

1.131 (+5 -1 lines) 03/10/2006 12:36 AM Chuck Hagenbuch chuck

[cjh] Add a hook for post-login actions, after the session is established
but before redirection.

1.116.2.11 FRAMEWORK_3 (+5 -4 lines) 02/03/2006 02:20 PM Michael M Slusarz slusarz

MFH 1.130

Tags: IMP_4_1_1, IMP_4_1, IMP_4_1_RC3

1.130 (+5 -4 lines) 02/03/2006 02:19 PM Michael M Slusarz slusarz

Looks like this was throwing an error if hordeauth was true and not 'full'.

1.116.2.10 FRAMEWORK_3 (+26 -29 lines) 01/05/2006 04:27 PM Chuck Hagenbuch chuck

MFH: Fix redirection to initial_application preference after running
Maintenance tasks.

Tags: IMP_4_1_RC2

1.129 (+26 -29 lines) 01/05/2006 04:26 PM Chuck Hagenbuch chuck

[cjh] Fix redirection to initial_application preference after running
Maintenance tasks.

1.116.2.9 FRAMEWORK_3 (+3 -3 lines) 01/01/2006 04:28 PM Jan Schneider jan

Happy new year

Tags: IMP_4_1_RC1

1.128 (+3 -3 lines) 01/01/2006 04:10 PM Jan Schneider jan

Happy new year\!

1.127 (+2 -2 lines) 01/01/2006 02:53 PM Michael M Slusarz slusarz

Clean up handling of recompose form data.  Ensure we remain in recompose mode
even if we have to reload the login screen.

1.126 (+2 -2 lines) 01/01/2006 07:06 AM Michael M Slusarz slusarz

Add IMP::recomposeLogin().
recompose mode now works properly on non imp-authenticated setups.

1.125 (+12 -1 lines) 01/01/2006 04:42 AM Michael M Slusarz slusarz

really no need to try to replicate both login.php and redirect.php for the
recompose functionality - just insert the recompose code into those files.
Move recompose template to login/ since it fits better there.

1.116.2.8 FRAMEWORK_3 (+4 -4 lines) 11/17/2005 11:46 PM Michael M Slusarz slusarz

MFH: login.php - 2.230; redirect.php - 1.124; IMP.php - 1.520;
Session.php - 1.110

1.124 (+4 -4 lines) 11/17/2005 11:40 PM Michael M Slusarz slusarz

Move getInitialUrl() to IMP_Session:: as it is only used in the login/redirect
scripts.

1.116.2.7 FRAMEWORK_3 (+4 -2 lines) 10/18/2005 08:13 AM Jan Schneider jan

Merged from HEAD

1.123 (+2 -2 lines) 09/11/2005 04:09 PM eraserhd

* Add ability to change SMTP server/port on IMP login.
Bug: #327

Tags: BEFORE_MERGE_3_1

1.116.2.6 FRAMEWORK_3 (+2 -2 lines) 09/01/2005 08:06 AM Jan Schneider jan

MFH: 1.122

Tags: IMP_4_0_5, IMP_4_0_4, IMP_4_0_4_RC2

1.122 (+2 -2 lines) 09/01/2005 07:01 AM Jan Schneider jan

Fix endless redirection loop with failed hordeauth authentication.

1.116.2.5 FRAMEWORK_3 (+2 -2 lines) 06/14/2005 10:22 PM Chuck Hagenbuch chuck

MFH 1.121

Tags: IMP_4_0_4_RC1

1.121 (+2 -2 lines) 06/14/2005 10:21 PM Chuck Hagenbuch chuck

Allow people to log in again.

1.116.2.4 FRAMEWORK_3 (+19 -23 lines) 05/17/2005 11:24 AM Michael M Slusarz slusarz

Bug: 1883
MFH: redirect.php - 1.120; login.inc - 2.185; CHANGES - 1.794

1.120 (+21 -23 lines) 05/16/2005 12:58 AM Michael M Slusarz slusarz

Bug: 1883
Do not pass any more information than is required via form data for security
purposes.

1.116.2.3 FRAMEWORK_3 (+17 -14 lines) 04/11/2005 11:42 AM Chuck Hagenbuch chuck

MFH redirect.php 1.119

1.119 (+17 -14 lines) 04/11/2005 11:42 AM Chuck Hagenbuch chuck

[cjh] Only use a Refresh: header if we need to, and if the URL is under 160
characters, to prevent triggering browser bugs that cause hangs
(Bug #1728).

1.118 (+3 -3 lines) 01/03/2005 09:34 AM Jan Schneider jan

Happy New Year

1.116.2.2 FRAMEWORK_3 (+3 -3 lines) 01/03/2005 07:25 AM Jan Schneider jan

Happy New Year

Tags: IMP_4_0_3, IMP_4_0_3_RC1, IMP_4_0_2, IMP_4_0_2_RC1, IMP_4_0_1

1.23.2.21 RELENG_3 (+3 -3 lines) 01/03/2005 06:25 AM Jan Schneider jan

Happy New Year! :-)

Tags: IMP_3_2_8, IMP_3_2_7

1.116.2.1 FRAMEWORK_3 (+2 -2 lines) 12/26/2004 04:56 PM Chuck Hagenbuch chuck

MFH 1.117

Bug: 892

1.117 (+2 -2 lines) 12/26/2004 04:54 PM Chuck Hagenbuch chuck

need to pass $actionID through here.

1.116 (+3 -3 lines) 12/21/2004 09:05 PM Michael M Slusarz slusarz

Don't want to run loginTasks twice.

Tags: FRAMEWORK_3, IMP_4_0

1.115 (+18 -17 lines) 12/20/2004 11:40 PM Michael M Slusarz slusarz

Bug: 993
Move maintenance finished if block further up the logic chain to prevent
undefined index errors.

1.114 (+4 -3 lines) 12/20/2004 04:29 AM Jan Schneider jan

Log the invalid server key and avoid undefined variable warning.

1.113 (+56 -35 lines) 12/19/2004 10:04 PM Michael M Slusarz slusarz

Bug: 993
Fix frameset and initial_application pref handling after maintenance tasks
are run.

1.112 (+2 -2 lines) 12/08/2004 11:46 AM Chuck Hagenbuch chuck

Put back handling of action=compose for BC.

1.111 (+9 -11 lines) 12/08/2004 11:40 AM Chuck Hagenbuch chuck

Fix some logic that was resulting in encoded (&) urls being used for header redirects. This should finally close #892.

1.110 (+3 -3 lines) 12/04/2004 06:25 PM Chuck Hagenbuch chuck

... and one more piece of it comes back to avoid loading the frameset
multiple times.

Tags: IMP_4_0_RC3

1.109 (+11 -1 lines) 12/04/2004 05:54 PM Chuck Hagenbuch chuck

Still need a variant of the frameset parameter in IMP to tell
redirect.php whether to go through Horde's index.php or straight to
the IMP initial page.

Bug: 814

1.108 (+1 -19 lines) 12/04/2004 05:42 PM Chuck Hagenbuch chuck

I need to test this on a few other installs, but I think this will
work and is much simpler - testing for the existance of the frameset
and if it's there, modifying the login form target, instead of passing
a GET parameter around. This way Horde logins always reload the full
frameset, which is good from a security standpoint, and also fixes
#814.

Bug: 814

1.107 (+13 -6 lines) 12/02/2004 11:27 AM Chuck Hagenbuch chuck

Always honor the login_compose action. I've done this by forcing the
intial app to IMP (instead of the preference) if this is specified -
any objectsions to this or better ideas? I think it's probably
necessary to support the non-popup compose window case, and much
simpler even with it. Also reasonable, if the user expects to be
writing mail.

Bug: #892

1.106 (+3 -3 lines) 11/18/2004 04:07 PM Chuck Hagenbuch chuck

Remove unnecessary parens.

Tags: IMP_4_0_RC2

1.105 (+6 -1 lines) 11/10/2004 02:15 AM Michael M Slusarz slusarz

Insert code in the login screen to auto-detect the exact version of IE (version
5.0 +).  This allows us to only turn off page compression for the exact
versions of IE that are affected.  I am still not sure if I am embarassed at
how hackish this is or excited by how hackish this is :)

Tags: IMP_4_0_RC1

1.104 (+4 -3 lines) 11/09/2004 04:11 PM Jan Schneider jan

Fix URL generation.

1.103 (+4 -3 lines) 10/21/2004 07:41 AM Jan Schneider jan

Don't encode separator in REFRESH header.

Tags: IMP_4_0_BETA

1.102 (+2 -2 lines) 10/19/2004 06:01 PM Chuck Hagenbuch chuck

Fix typo (Jan Kuipers <jrkuipers@lauwerscollege.nl>).

1.101 (+4 -4 lines) 10/18/2004 08:45 PM Chuck Hagenbuch chuck

Registry::getParam() -> Registry::get().

1.100 (+15 -27 lines) 10/18/2004 01:02 AM Michael M Slusarz slusarz

Optimizations.

1.99 (+2 -2 lines) 09/01/2004 01:40 AM Michael M Slusarz slusarz

I have no idea if what I am doing here is correct or not (I will be honest -
I am not really sure what is going on with the whole 'encoded' parameter
thing), but I needed to make these changes or else IMP would go into an
infinite loop when logging in.

1.98 (+9 -11 lines) 07/22/2004 11:26 AM Chuck Hagenbuch chuck

Use Refresh: instead of Location: when we may be going from an SSL url
to a regular http url (with use_ssl = 3).

Bug: 405

1.97 (+2 -2 lines) 04/15/2004 06:49 PM Michael M Slusarz slusarz

The last of the array_key_exists() should be gone now for IMP.
While I'm at it, clean up some phpdoc and a few unnecessary global calls.

1.23.2.20 RELENG_3 (+3 -3 lines) 03/26/2004 05:43 PM Jan Schneider jan

Lots and lots of copyright and license updates and fixes. Someone will have to that for the HEAD branches too.

Tags: IMP_3_2_7_RC1, IMP_3_2_6, IMP_3_2_5, IMP_3_2_4

1.96 (+10 -1 lines) 03/07/2004 04:54 PM Jan Schneider jan

Redirect to frameset, if the frameset parameter is set but empty and the user is already authenticated.

Tags: IMP_4_0_ALPHA

1.95 (+3 -4 lines) 01/28/2004 02:28 PM Michael M Slusarz slusarz

Store authentication error reason/messages in a global array ($__autherrors).
This is a bit messy but necessary since we a) use Auth:: both statically and
via objects all over the place so there is no guarantee that
storing something in an object/static variable will be able to be accessed
elsewhere, and b) since we use Horde::authenticationErrorRedirect() to redirect
on most authentication problems (like session timeouts), or our logout
redirects are disjointed in code a long way from the actual authentication
failures, it starts to get really messy if we were to start explicitly
explicitly passing around specific Auth object variables all over the place.
This change has the additional benefit of allowing us to call
Auth::addLogoutParameters() with just the URL argument and having that
function automatically generate the correct parameters necessary to output
the error message on the login page. That function will still allow a
specific reason to be passed in if the calling code knows exactly what kind
of error it wants to throw.

1.23.2.19 RELENG_3 (+1 -7 lines) 01/28/2004 03:38 AM Jan Schneider jan

Set direct_access in IMP::createSession() instead of redirect.php to make
sure it is REALLY set. This at last fixes the last occurences of the
"undefined index 'direct_access'" errors that still might have happened if
someone "overlooked" a fatal error.

Tags: IMP_3_2_3, IMP_3_2_3_RC1

1.94 (+5 -3 lines) 01/28/2004 03:10 AM Michael M Slusarz slusarz

Simplify logoutUrl().
Try to pass along any error messages received during authentication.

1.93 (+3 -3 lines) 01/27/2004 04:57 PM Michael M Slusarz slusarz

Standardize logout messages by collecting them in Auth:: and using
Auth::addLogoutParameters() to generated the standardized parameters for logout
screens.
Goal: This allows us to add a new logout reason ('message') that will be
handled uniformly across our different login screens.  This reason will allow
us to (finally) use Auth's ability to output a customized error message (e.g.
the server is not responding) to the user instead of being restricted to
'failed', 'session', etc. preset messages.

1.92 (+21 -21 lines) 01/26/2004 12:04 AM Chuck Hagenbuch chuck

I obviously spoke way too soon on the frameset/login issues. This
commit gets us closer. Not gonna promise anything this time. :)

1.91 (+33 -33 lines) 01/25/2004 06:48 PM Chuck Hagenbuch chuck

Take a shot at detecting the presence of the frameset with javascript
and a form variable, and act accordingly in index.php.

1.90 (+2 -1 lines) 01/24/2004 03:04 PM Chuck Hagenbuch chuck

[cjh] Various $no_auth and $self_contained_auth flags have been standardized
into an AUTH_HANDLER constant, which if defined signals the application
that it should not check permissions upon calling $registry->pushApp(),
as the calling script will handle that itself, or is a system-level cron
job/script/etc.
[cjh] Add an option to $registry->pushApp() to specify whether or not to check
application permissions.

1.89 (+3 -3 lines) 01/01/2004 10:15 AM Jan Schneider jan

Happy new year everyone.

1.88 (+2 -3 lines) 12/30/2003 11:26 PM Chuck Hagenbuch chuck

whitespace

1.87 (+7 -9 lines) 11/30/2003 08:08 PM Chuck Hagenbuch chuck

Add $conf['menu']['always'] from Ben Chavet <ben@chavet.net>.

1.86 (+24 -24 lines) 09/16/2003 07:05 PM Jan Schneider jan

Use the new Util:: class.

Only showing the 100 latest revisions. Show all revisions? (may take a while).