Revisions for gollem/redirect.php

Location: [ Horde ] / gollem / 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.72 (+2 -2 lines) 01/02/2008 06:12 AM Jan Schneider jan

Happy New Year

1.71 (+2 -2 lines) 11/07/2007 12:45 PM Jan Schneider jan

Copyright assignments from Max.

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

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

1.69 (+7 -2 lines) 05/07/2007 05:21 PM Ben Klang bklang

* Unify the creation of VFS objects into Gollem::getVFSOb()
* Make sure we assign a logger object to VFS
* Always check for PEAR_Error returns
Thanks slusarz for the advice

1.68 (+34 -13 lines) 04/16/2007 08:04 PM Michael M Slusarz slusarz

mirror changes from imp/redirect.php

1.67 (+14 -5 lines) 04/12/2007 11:34 AM Michael M Slusarz slusarz

[mms] Preserve URL anchor information when performing login.

1.66 (+6 -2 lines) 02/02/2007 01:02 AM Chuck Hagenbuch chuck

Don't throw an error if there aren't any requested loginparams.

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

Happy New Year

Tags: GOLLEM_1_0_3

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

Happy New Year

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

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

1.63 (+4 -4 lines) 09/04/2006 06:57 PM Michael M Slusarz slusarz

coding standards: don't use is_null().

1.62 (+2 -2 lines) 05/01/2006 04:15 PM Karsten Fourmont karsten

The invisible commit: remove stray whitespace at end of line.

1.55.2.6 FRAMEWORK_3 (+7 -2 lines) 01/18/2006 09:47 PM Michael M Slusarz slusarz

Bug: 3299
Submitted by: jpolansky@lsit.ucsb.edu
MFH: redirect.php - 1.61; Gollem.php - 1.194; CHANGES - 1.134

Tags: GOLLEM_1_0_2, GOLLEM_1_0_2_RC2

1.61 (+7 -2 lines) 01/18/2006 09:43 PM Michael M Slusarz slusarz

Bug: 3299
Submitted by: jpolansky@lsit.ucsub.edu
Allow direct autologin from login page if there are no additional login
parameters available.

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

Happy new year

Tags: GOLLEM_1_0_2_RC1

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

Happy new year\!

1.55.2.4 FRAMEWORK_3 (+8 -1 lines) 12/05/2005 11:08 PM Michael M Slusarz slusarz

Bug: 3078
MFH: CHANGES - 1.126; redirect.php - 1.59

Tags: GOLLEM_1_0_1

1.59 (+8 -1 lines) 12/05/2005 11:04 PM Michael M Slusarz slusarz

Bug: 3078
Don't try to login using Horde auth credentials if hordeauth is off.

1.55.2.3 FRAMEWORK_3 (+2 -2 lines) 11/11/2005 06:06 PM Jan Schneider jan

MFH: 1.58

1.58 (+2 -2 lines) 10/13/2005 01:47 AM Matt Selsky selsky

ws

1.55.2.2 FRAMEWORK_3 (+5 -1 lines) 09/08/2005 12:23 AM Michael M Slusarz slusarz

MFH: CHANGES - 1.118; login.php - 1.97; manager.php - 1.148;
redirect.php - 1.57; login.inc - 1.88

Tags: GOLLEM_1_0_1_RC1

1.57 (+5 -1 lines) 09/08/2005 12:20 AM Michael M Slusarz slusarz

[mms] Add language selection to login screen if using gollem as the
authentication driver.

1.55.2.1 FRAMEWORK_3 (+2 -2 lines) 08/24/2005 11:22 PM Michael M Slusarz slusarz

Bug: 2491
Submitted by: martin@mein-horde.de
MFH: login.php - 1.95; redirect.php - 1.56

1.56 (+2 -2 lines) 08/24/2005 11:21 PM Michael M Slusarz slusarz

Bug: 2491
Submitted by: martin@mein-horde.de
logging message tweaks to be more similar to other Horde apps.

1.55 (+2 -2 lines) 07/15/2005 02:44 AM Michael M Slusarz slusarz

On bad login, return to the same backend screen that we tried to login to.

Tags: FRAMEWORK_3, GOLLEM_1_0, GOLLEM_1_0_RC2

1.54 (+4 -1 lines) 07/12/2005 02:47 AM Michael M Slusarz slusarz

Start to do a better job of exiting login procedure if autologin fails.

Tags: GOLLEM_1_0_RC1

1.53 (+2 -2 lines) 06/28/2005 12:33 AM Michael M Slusarz slusarz

Allow us to switch drivers via view.php.

1.52 (+7 -6 lines) 04/27/2005 02:38 AM Michael M Slusarz slusarz

[mms] Remove 'change_server' and 'change_port' configuration parameters and
instead allow admin to choose which VFS parameters can be overriden
by the user at login time via the backend configuration.

Tags: GOLLEM_1_0_BETA, GOLLEM_1_0_ALPHA1

1.51 (+2 -2 lines) 03/24/2005 07:04 PM Michael M Slusarz slusarz

Fix autologins when 'hordeauth' => 'full'.

1.50 (+4 -5 lines) 03/22/2005 10:59 PM Michael M Slusarz slusarz

Bug: 1607
A couple more $vfs -> $GLOBALS['gollem_vfs'] missed conversions.
Make sure directory is set correctly when logging in.

1.49 (+2 -3 lines) 03/22/2005 01:15 AM Michael M Slusarz slusarz

Consolidate loading of the backend configuration file into centralized code.
Change backend variable name to 'gollem_backends' to avoid confusion.

1.48 (+2 -2 lines) 03/18/2005 01:44 AM Michael M Slusarz slusarz

Use the backend label rather than the backend description.

1.47 (+6 -5 lines) 03/18/2005 01:42 AM Michael M Slusarz slusarz

Bug: 735
Allow user to switch between multiple backends during a single session.

1.46 (+4 -4 lines) 03/17/2005 12:39 AM Michael M Slusarz slusarz

Add the ability to store multiple backend states in the current session.  This
is the first step to allowing a user to be logged in to more than 1 backend
per Horde session at a time.

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

Happy New Year

1.44 (+5 -10 lines) 12/06/2004 01:57 AM Michael M Slusarz slusarz

Track Chuck's login/frameset changes with the gollem login code.

1.43 (+2 -2 lines) 11/18/2004 02:12 AM Michael M Slusarz slusarz

Allow the user to login via the selectlist window if they have not logged
into Gollem previously.

1.42 (+4 -2 lines) 11/11/2004 08:12 PM Michael M Slusarz slusarz

Bug: 785
Fix login rejection for backends that don't require credentials.

1.41 (+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 :)

1.40 (+3 -2 lines) 11/10/2004 12:40 AM Michael M Slusarz slusarz

Bug: 785
Allow logins with empty credentials.

1.39 (+5 -4 lines) 10/31/2004 04:14 PM Michael M Slusarz slusarz

Login fixes for gollem.

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

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

1.37 (+77 -26 lines) 10/14/2004 02:51 AM Michael M Slusarz slusarz

Convert Gollem authentication to use the Auth:: framework.

1.36 (+3 -3 lines) 08/29/2004 07:10 PM Jan Schneider jan

Fix URL generation.
Submitted by: Roel Gloudemans <roel@gloudemans.info>

1.35 (+15 -36 lines) 04/09/2004 03:48 PM Michael M Slusarz slusarz

Only support viewing one backend at a time now.  This is more consistent
with the rest of the Horde applications, and makes the code a whole heck
of a lot easier to read.
While cleaning out, clean up a lot of other stuff too (i.e. unused functions).
Lots of phpdoc/phpdoc stubs added.

1.34 (+9 -10 lines) 04/08/2004 08:20 PM Michael M Slusarz slusarz

Update copyright years.
As far as I can tell, $_SESSION['gollem']['username'] is never created so there is no way this code block in redirect.php is ever run.  Look instead inside
the current backend_key to determine the credentials.

1.33 (+4 -3 lines) 04/07/2004 07:36 PM Michael M Slusarz slusarz

[mms] Encrypt passwords in session.
[mms] Moved all session creation code to Gollem_Session::.

1.32 (+4 -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.31 (+7 -7 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.30 (+1 -2 lines) 10/04/2003 11:07 AM Chuck Hagenbuch chuck

backends.php is needed by the menu now, so make sure it's included in
base.php so it's available in all scripts.

1.29 (+2 -2 lines) 10/02/2003 04:48 PM Chuck Hagenbuch chuck

a few minor tweaks while I'm in here.

1.28 (+8 -8 lines) 09/16/2003 07:04 PM Jan Schneider jan

Use the new Util:: class.

1.27 (+6 -10 lines) 06/20/2003 07:25 PM Chuck Hagenbuch chuck

- fix logins
- streamline a few bits of code

1.26 (+3 -3 lines) 06/19/2003 02:47 PM Chuck Hagenbuch chuck

LOG_* constants -> PEAR_LOG_*

1.25 (+35 -13 lines) 02/21/2003 11:22 PM Chuck Hagenbuch chuck

[cjh] Add ability to view different backends side-by-side
(j.huinink@wanadoo.nl).

Still some issues, UI is pretty unintuitive, but I think I've ironed
out all the serious errors.

1.24 (+2 -5 lines) 02/20/2003 11:10 AM Chuck Hagenbuch chuck

- more login screen cleanups
- fix a few typos/cleanup

1.23 (+2 -5 lines) 08/03/2002 05:43 PM Chuck Hagenbuch chuck

Make the server list more dynamic; automatically log users in when
they select a server that doesn't require any more credentials, and
reload the form when they change servers to make sure the fields are
accurate.

1.22 (+9 -15 lines) 08/02/2002 02:31 PM Chuck Hagenbuch chuck

conf.xml and server list.

Submitted by: Michael Cochrane <mike@graftonhall.co.nz>

1.21 (+29 -23 lines) 07/12/2002 12:48 PM Chuck Hagenbuch chuck

Cleanups, check the credentials that the backend requires, fix logging
issues, and check for PEAR_Error objects, not false.

1.20 (+5 -2 lines) 07/12/2002 12:18 AM Chuck Hagenbuch chuck

Apply some of Michael's changes - this isn't complete.

1.19 (+5 -2 lines) 07/11/2002 04:31 PM Chuck Hagenbuch chuck

Clean up some variables, use $_GOLLEM['session'], use
Horde::getPost(), and make sure we're always using 'username', not
'imapuser', 'user', or 'ftpuser'.

1.18 (+12 -12 lines) 07/11/2002 04:15 PM Chuck Hagenbuch chuck

style

1.17 (+3 -3 lines) 07/05/2002 02:21 PM Chuck Hagenbuch chuck

cleanup and fix a few errors.

1.16 (+6 -10 lines) 07/03/2002 04:20 PM Chuck Hagenbuch chuck

Gollem is now completely based on the VFS backend system. Things should be
functional now, for FTP at least.

Submitted by: Michael Varghese <mike.varghese@ascellatech.com>

1.15 (+13 -15 lines) 07/03/2002 01:00 AM Chuck Hagenbuch chuck

use Horde::compressOutput()

1.14 (+2 -3 lines) 06/23/2002 03:27 PM Chuck Hagenbuch chuck

Last bits of $_SESSION cleanup.

1.13 (+9 -9 lines) 04/15/2002 04:59 PM Jan Schneider jan

Next shot of superglobals patch. After MFH is completed I'll commit Horde,
IMP and Nag.

Submitted by: Nuno Loureiro <nuno@eth.pt>

1.12 (+3 -3 lines) 02/05/2002 03:05 PM Chuck Hagenbuch chuck

be consistent in using 'url' instead of 'redirect_url'

1.11 (+4 -8 lines) 11/07/2001 04:14 AM Chuck Hagenbuch chuck

some references cleanup/optimization, and make this work with windows ftp
servers that return a dos-style file listing.

1.10 (+1 -4 lines) 10/21/2001 05:26 PM Chuck Hagenbuch chuck

take framework changes into account

1.9 (+3 -4 lines) 10/16/2001 05:06 PM Chuck Hagenbuch chuck

fix for updated Auth:: api

1.8 (+13 -1 lines) 05/20/2001 02:45 AM max

Another two-parter, updating to keep in sync with IMP:

- add realms support to gollem (to keep auth and prefs unique on multi
server setups).

- add support to be Horde auth controller.

1.7 (+2 -3 lines) 03/15/2001 11:27 PM max

Following IMP's example:

- remove HTTP_SESSION_VARS[] check in favor of Gollem::setupSession()
- use Gollem::authenticate() return value
- be consistant about Gollem::logoutUrl()
- use reason=failed instead of reason=logout when setupSession() or
  authenticate() fail

1.6 (+9 -5 lines) 02/17/2001 09:39 PM max

Making it work...

- update for the new prefs (still needs UI work)
- update for the new registry
- fix renaming multiple files (UI is not final)
- move help js to the menu
- fix problem reporting menu item
- add 'show_dotfiles' server setting
- many misc fixes

1.5 (+2 -2 lines) 02/09/2001 04:55 PM Chuck Hagenbuch chuck

The configuration array is now simply $conf. Any settings that must be
accessible unchanged (not overridden) should be put into $conf['horde'].
Everything else is fair game for applications to override.

1.4 (+16 -4 lines) 01/25/2001 01:34 AM max

(trying desperately to keep up)

- Move authentication and session creating from manager to redirect
- Get login form to submit to redirect finally
- Fix a few copy/paste problems in index

1.3 (+2 -2 lines) 01/24/2001 01:46 PM Chuck Hagenbuch chuck

have imp and gollem specify their own password key names, and convert a few
other calls.

1.2 (+4 -4 lines) 01/21/2001 07:00 PM max

- get rid of Gollem_util:: class in favor of Gollem::
- add Gollem::setLabel()
- format dates and number (getting ready to put this in conf)
- document constants
- many other additions and fixes

1.1 01/20/2001 02:56 AM max

Here we go:

- Move login submission to redirect.php
- Add GOLEM_BASE (works the same as IMP_BASE)
- Add file downloading
- Add a couple directory icons
- Allow creating folders in empty directories
- Fix all directory navigation problems (I hope)
- Fix files with spaces
- Fix default server selection (copy/paste oops)
- A few dozen cleanups