Revisions for gollem/lib/base.php

Location: [ Horde ] / gollem / lib / base.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.69 (+8 -8 lines) 04/03/2008 01:48 AM Michael M Slusarz slusarz

Bug: 6309
Fix undefined error.

1.68 (+6 -4 lines) 01/02/2008 11:48 AM Chuck Hagenbuch chuck

Avoid using @ to silence define and isset errors.

1.67 (+1 -2 lines) 11/27/2007 06:48 PM Michael M Slusarz slusarz

Only need to load Help.php here.

1.66 (+2 -1 lines) 05/07/2007 07:14 PM Ben Klang bklang

Add comment

1.60.2.3 FRAMEWORK_3 (+7 -7 lines) 02/16/2007 04:12 AM Michael M Slusarz slusarz

Bug: 4799
MFH 1.65

Tags: GOLLEM_1_0_3

1.65 (+7 -7 lines) 02/16/2007 04:11 AM Michael M Slusarz slusarz

Bug: 4799
Fix login w/hordeauth.

1.64 (+2 -2 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.63 (+4 -3 lines) 12/18/2006 03:33 PM Chuck Hagenbuch chuck

[cjh] Use optimized Horde_Template code as Gollem_Template.

1.60.2.2 FRAMEWORK_3 (+4 -2 lines) 07/12/2006 06:06 PM Michael M Slusarz slusarz

MFH 1.62

1.62 (+4 -2 lines) 07/12/2006 06:05 PM Michael M Slusarz slusarz

Correctly redirect to redirect.php to avoid errors with uninitialized globals.

1.60.2.1 FRAMEWORK_3 (+29 -21 lines) 05/19/2006 01:14 PM Michael M Slusarz slusarz

MFH: Gollem.php - 1.198; base.php - 1.61

1.61 (+29 -21 lines) 05/19/2006 01:03 PM Michael M Slusarz slusarz

Adapt some IMP code to hopefully make gollem authentication work a bit better.
Might help fix Bug #3851.

1.60 (+2 -1 lines) 03/22/2005 01:37 AM Michael M Slusarz slusarz

Global VFS object is now referred to as 'gollem_vfs' instead of just 'vfs'.

Tags: FRAMEWORK_3, GOLLEM_1_0_2, GOLLEM_1_0_2_RC2, GOLLEM_1_0_2_RC1, GOLLEM_1_0_1, GOLLEM_1_0_1_RC1, GOLLEM_1_0, GOLLEM_1_0_RC2, GOLLEM_1_0_RC1, GOLLEM_1_0_BETA, GOLLEM_1_0_ALPHA1

1.59 (+3 -4 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.58 (+2 -4 lines) 03/17/2005 08:00 AM Jan Schneider jan

Fix $authentication detection.

1.57 (+1 -2 lines) 03/17/2005 01:04 AM Michael M Slusarz slusarz

Bug: 852
Add backend selection to the left tree sidebar.  You still can't switch
between the different backends since that code has not been written yet, but
this is a start.

1.56 (+13 -1 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.55 (+10 -5 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.54 (+2 -2 lines) 10/18/2004 08:45 PM Chuck Hagenbuch chuck

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

1.53 (+11 -1 lines) 10/14/2004 02:51 AM Michael M Slusarz slusarz

Convert Gollem authentication to use the Auth:: framework.

1.52 (+14 -8 lines) 08/07/2004 12:18 PM Chuck Hagenbuch chuck

Don't compress viewed/downloaded parts or files; apparently IE at
least has trouble with this. If this works well, we can consider
adding compression back in for cases that IE handles, or for browsers
that handle it okay.

1.51 (+4 -4 lines) 04/07/2004 10:43 AM Chuck Hagenbuch chuck

No more HORDE_LIBS.

1.50 (+2 -2 lines) 02/14/2004 06:12 PM Chuck Hagenbuch chuck

[cjh] Enforce all permissions for backends if they are set
(Amith Varghese <amith@xalan.com>).

1.49 (+1 -5 lines) 02/13/2004 11:02 PM Chuck Hagenbuch chuck

Remove includes of Browser.php that are no longer needed.

1.48 (+2 -2 lines) 02/13/2004 08:36 PM Chuck Hagenbuch chuck

Config:: and Help:: moved to framework packages.

1.47 (+2 -1 lines) 02/13/2004 12:35 AM Chuck Hagenbuch chuck

[cjh] Enforce PERMS_READ for backends if it is set
(Amith Varghese <amith@xalan.com>).

1.46 (+2 -2 lines) 02/12/2004 03:49 PM Chuck Hagenbuch chuck

Browser:: is now a framework package.

1.45 (+6 -3 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.44 (+1 -9 lines) 01/24/2004 12:15 AM Chuck Hagenbuch chuck

[cjh] The 'allow_guests' setting, and $registry->allowGuests(), have been
removed in favor of Horde_Perms application permissions.

1.43 (+2 -2 lines) 12/23/2003 07:48 PM Michael M Slusarz slusarz

Horde_Secret:: package moved to framework.

1.42 (+1 -2 lines) 11/19/2003 06:56 PM Michael M Slusarz slusarz

Superfluous call

1.41 (+2 -2 lines) 11/17/2003 03:57 PM Michael M Slusarz slusarz

This function has moved to Util::.

1.40 (+6 -1 lines) 11/17/2003 09:18 AM Chuck Hagenbuch chuck

Add a bunch of support for readonly sessions and some sesson_write_close()
calls to try and avoid blocking any session activity while larger files are downloading.

1.39 (+2 -1 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.38 (+6 -4 lines) 10/02/2003 01:39 PM Chuck Hagenbuch chuck

allow no_auth page parameter in Gollem

1.37 (+6 -6 lines) 09/24/2003 04:42 PM Chuck Hagenbuch chuck

prevent errors with transparent authentication.

1.36 (+7 -5 lines) 09/20/2003 04:40 PM Chuck Hagenbuch chuck

VFS is now in the framework CVS module
(http://cvs.horde.org/cvs.php/framework/VFS/) and should be installed
via PEAR.

1.35 (+27 -23 lines) 09/20/2003 04:10 PM Chuck Hagenbuch chuck

Use horde/lib/core.php in all applications. For now, I've commented
out the HORDE_LIBS-based includes in core.php and we're still using
the old HORDE_BASE . '/lib/' includes everywhere. But the HORDE_LIBS
constant is now available everywhere and core.php is included to
properly set up the base framework.

I also hit a bunch of other base.php things while I was at it:

- always check the results of $registry->pushApp() and display an
error if it fails.

- removed old cache_ssl code which is handled by
Browser::downloadHeaders() now.

- make sure all base.php files check authentication (you may need to
specify allow_guests = true on some applications that were open
beforehand).

- move the auth check up as soon as possible so as not to do
unnecessary work.

- remove libraries and code that aren't used.

- try and organize files consistently.

- probably a few other minor things.

Please test out everything as you can and report problems or syntax
errors; I'm sure I missed a thing or two.

1.34 (+5 -3 lines) 06/18/2003 02:19 PM Michael M Slusarz slusarz

Various cleanups/phpdoc.

1.33 (+2 -2 lines) 04/20/2003 04:50 PM Chuck Hagenbuch chuck

[cjh] Add a new API call, Auth::isAuthenticated($realm = null), for
determining whether or not a user is logged in to the current
realm (by default null). Auth::getAuth() is still used to get
the current user, but now you don't need to know the auth realm
to get the current user - just to check authentication.

This commit replaces Auth::getAuth() with Auth::isAuthenticated()
where appropriate. Hopefully I didn't miss anywhere or cause any
problems; let me know if you find anything.

1.32 (+2 -6 lines) 04/11/2003 02:54 PM Michael M Slusarz slusarz

Use Browser::singleton().

1.31 (+2 -1 lines) 02/21/2003 11:23 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.30 (+3 -3 lines) 02/21/2003 08:21 PM Chuck Hagenbuch chuck

Fix viral typo.

1.29 (+22 -7 lines) 01/05/2003 01:35 PM Jan Schneider jan

Revert the mess. I hope I got all files and correct rollback positions.

1.28 (+2 -2 lines) 01/05/2003 12:37 AM mikec

revert last commit on apps that don't have registry calls.

1.27 (+2 -2 lines) 01/04/2003 11:51 PM mikec

require_once => require on standard.php so registry calls work.

1.26 (+7 -22 lines) 01/04/2003 10:58 PM Jan Schneider jan

Condense some code from the applications' base.php files into standard.php.

1.25 (+2 -3 lines) 01/02/2003 05:48 PM Michael M Slusarz slusarz

Added Horde::authenticationFailureRedirect().

1.24 (+4 -5 lines) 12/18/2002 06:22 PM Chuck Hagenbuch chuck

More cleanup; remove all of the bogus echo "\n"; lines after header()
calls that at one point seemed to be needed for mobile devices, but
all of my emulators work without them now.

1.23 (+2 -4 lines) 08/04/2002 12:05 AM Chuck Hagenbuch chuck

Alright, letting Gollem do Horde auth is just too complicated for now, but
you _can_ now turn on allow_guests, if you like. I'm not guaranteeing the results,
though.

1.22 (+1 -13 lines) 08/01/2002 12:43 PM Chuck Hagenbuch chuck

remove now-unnecessary code

1.21 (+4 -1 lines) 07/03/2002 01:00 AM Chuck Hagenbuch chuck

use Horde::compressOutput()

1.20 (+3 -2 lines) 06/27/2002 02:54 PM Chuck Hagenbuch chuck

include VFS library; Gollem no longer can perform Horde authentication.

1.19 (+1 -12 lines) 06/18/2002 10:31 PM Chuck Hagenbuch chuck

- Make sure to silence warnings in safe_mode
- Consolidate a whole bunch of code. Yay simplicity.

1.18 (+3 -3 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.17 (+13 -2 lines) 01/24/2002 05:40 PM Chuck Hagenbuch chuck

use $registry->getParam()
use GOLLEM_TEMPLATES
use the new Notification system.
prefix all application constants with GOLLEM_

1.16 (+10 -1 lines) 10/26/2001 03:33 PM Chuck Hagenbuch chuck

enforce that you need to be logged into Horde, or using Gollem for Horde auth

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

take framework changes into account

1.14 (+1 -8 lines) 06/11/2001 04:49 PM Chuck Hagenbuch chuck

let the Registry do language selection (and cookie-setting) once.

1.13 (+3 -2 lines) 06/04/2001 07:32 PM jon

Revert the last registry change.  It would break things under certain
circumstances.

1.12 (+2 -3 lines) 06/04/2001 07:14 PM jon

Pass the current application name to the Registry constructor instead of
explicitly calling $registry->pushApp().

1.11 (+1 -3 lines) 05/28/2001 01:08 PM Chuck Hagenbuch chuck

call bindtextdomain()/textdomain() from Registry::pushApp() and
Registry::popApp() so that they stay correct during and after registry calls.

1.10 (+3 -2 lines) 05/21/2001 12:10 PM Chuck Hagenbuch chuck

use &Registry::singleton() to get the registry object.

1.9 (+6 -10 lines) 05/20/2001 06:33 PM jon

Allow the registry to handle Gollem's configuration values.

1.8 (+6 -2 lines) 05/20/2001 04:42 PM jon

HORDE_BASE is now defined in lib/base.php instead of config/conf.php.

1.7 (+8 -11 lines) 04/25/2001 12:09 PM Chuck Hagenbuch chuck

define and use HORDE_BASE.

You must track this change to conf.php.dist.

1.6 (+6 -1 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 (+1 -4 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 (+2 -2 lines) 01/21/2001 11:52 PM Chuck Hagenbuch chuck

make sure we're using the new setlocale() constants.

1.3 (+17 -14 lines) 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

1.2 (+4 -2 lines) 01/12/2001 12:46 PM Chuck Hagenbuch chuck

Woof:

- break core Horde classes (Lang, Secret, ObjectStore (renamed from
  SessionCache), etc. out into their own files.
- include them where necessary, usually in an app's lib/base.php file.
- core package names are all now lowercase.
- a bit more documentation work, but that's mostly to come.
- classes all now follow a convention of capitalizing words and acronyms
- documentation is updated accordingly
- logic is built in to the factory() methods to account for case in driver
  names.

1.1 01/11/2001 12:05 AM max

Initial commit of the gollem revamp.  The file manager has the basic
functionality with much more on the way when I get back from Alaska.
This is just to get it into cvs.  The brave can try it out.