Revisions for sam/lib/base.php

Location: [ Horde ] / sam / 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.
 
  Revision Date Author Log Message
1.34 (+5 -2 lines) 06/04/2008 01:50 PM Jan Schneider jan

Copyrights assigned by Chris.

1.33 (+5 -3 lines) 08/03/2007 03:53 PM Chuck Hagenbuch chuck

[cjh] Allow setting default values in config/attributes.php (Request #5597).

Also move forms to lib/Forms/.

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

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

1.31 (+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.30 (+4 -4 lines) 03/22/2006 01:45 PM Jan Schneider jan

SAM -> Sam

1.29 (+2 -2 lines) 01/01/2006 04:11 PM Jan Schneider jan

Happy new year\!

1.28 (+2 -2 lines) 01/03/2005 09:35 AM Jan Schneider jan

Happy New Year

1.27 (+2 -2 lines) 10/18/2004 08:46 PM Chuck Hagenbuch chuck

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

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

No more HORDE_LIBS.

1.25 (+2 -2 lines) 02/18/2004 09:33 PM Chuck Hagenbuch chuck

minor style tweaks

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

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

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

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

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

Browser:: is now a framework package.

1.21 (+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.20 (+2 -2 lines) 01/01/2004 10:16 AM Jan Schneider jan

Happy new year everyone.

1.19 (+5 -5 lines) 09/24/2003 04:43 PM Chuck Hagenbuch chuck

prevent errors with transparent authentication.

1.18 (+28 -24 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.17 (+1 -1 lines) 08/28/2003 04:06 PM max

fix $Horde: $ tags

1.16 (+15 -9 lines) 08/28/2003 04:02 PM max

Here she be! The things that aren't listed in the changelog are:

- rename spamassassin.php to spam.php (for consistency with the
registry name).
- blow away the now-unneeded template files.
- standardize on SAM (instead of Sam).
- the horde_id field in the sql driver is no longer needed --
just use the mapped username for everything.

Hopefully I didn't forget anything.  Still need to write up the
help for all the known attributes and add the amavissql driver.

1.15 (+2 -2 lines) 08/22/2003 09:19 PM Jan Schneider jan

No hardcoded params anymore.

1.14 (+2 -2 lines) 04/20/2003 04:51 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.13 (+2 -2 lines) 04/11/2003 02:54 PM Michael M Slusarz slusarz

Use Browser::singleton().

1.12 (+2 -1 lines) 03/03/2003 02:10 PM Chuck Hagenbuch chuck

Nuke a lot of constants.php files.

Specific Reason: constants should be defined in the application's base
class file UNLESS constants are needed in one of the configuration
files (the case for all those remaining). Only then should you break
things out to a seperate file (and even then, we may want to just
include the app's library file).

General Reason: Including files is *very* expensive. Short files are
pointless if we can avoid them; it's much cheaper to have slightly
longer files than multiple short ones (especially when we're going to
include all the short files anyways).

1.11 (+3 -3 lines) 02/21/2003 08:22 PM Chuck Hagenbuch chuck

Fix viral typo.

1.10 (+14 -5 lines) 01/05/2003 01:34 PM Jan Schneider jan

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

1.9 (+6 -15 lines) 01/04/2003 10:58 PM Jan Schneider jan

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

1.8 (+2 -2 lines) 01/02/2003 09:20 PM Jan Schneider jan

Bump year.

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

Missed some Horde::authenticationFailureRedirect() conversions.

1.6 (+4 -5 lines) 10/15/2002 12:08 PM Chuck Hagenbuch chuck

Sam now has registry methods for adding to and showing the blacklist.
These can be used from within IMP so that clicking "blacklist" in IMP
adds to a user's SpamAssassin preferences.

1.5 (+4 -1 lines) 07/03/2002 12:59 AM Chuck Hagenbuch chuck

use Horde::compressOutput()

1.4 (+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.3 (+3 -3 lines) 06/09/2002 03:25 PM excalibur

Several new features added to the spamassassin.php screen, a new help
system is working has been implemented (using the horde functions).

A bug was fixed with the database tables. Horde uses the full email address
as the username, whereas spam assassin only using the prefix of the email address.

I have added a field to the table to correct this problem.

1.2 (+3 -3 lines) 06/05/2002 03:23 PM Chuck Hagenbuch chuck

some line wrapping, cleanup, fix typos, and fix spelling of
SpamAssassin (one word).

1.1 06/04/2002 12:41 AM Chuck Hagenbuch chuck

initial SpamAssassin module commit.

Submitted by: Chris Bowlby <excalibur@hub.org>