Revisions for agora/lib/base.php

Location: [ Horde ] / agora / 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.55 (+7 -7 lines) 01/05/2008 06:37 AM Duck duck

- Do not silence define().
- Get the cache prefix entry only once

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

Happy New Year

1.48.2.1 FRAMEWORK_3 (+2 -3 lines) 01/01/2008 11:10 PM Chuck Hagenbuch chuck

[cjh] Merge Horde_Template_Compiling to stable Agora branch as Agora_Template.

1.53 (+4 -1 lines) 11/26/2007 12:20 AM Michael Rubinsky mrubinsk

Rest of the fixes for improper Horde_Loader usage.
Fairly certain this is all of them for Agora.
Duck, there are still loads of them in the incubator apps.

1.52 (+1 -4 lines) 11/23/2007 03:38 PM Duck duck

Move getForumId() into subclass to avoid scope check when we already know it.
As having autoload loaded, use it.

1.51 (+3 -2 lines) 11/02/2007 02:11 PM Chuck Hagenbuch chuck

this code should be using autoloading if it's going to use Horde_View, etc.

1.50 (+2 -2 lines) 09/23/2007 05:53 AM Duck duck

Replace Horde_Template with Horde_View

1.49 (+2 -2 lines) 09/23/2007 05:16 AM Duck duck

Replace deprecated is_a with instanceof

1.48 (+3 -2 lines) 01/11/2007 06:34 AM Duck duck

Remove agora_template and use the new template code from framework directly.
Show use enum type if adding a moderator and the forums list is not too long.

Tags: FRAMEWORK_3

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

Happy New Year

1.46 (+2 -2 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.45 (+3 -3 lines) 12/30/2006 03:24 PM Jan Schneider jan

Standardize copyright wrapping and spacing.

1.44 (+3 -3 lines) 12/21/2006 03:22 AM Duck duck

Agora is a big loop. So use the new template code like in gollem, imp etc.

1.43 (+2 -1 lines) 12/16/2006 10:26 AM Duck duck

Merged Agora_Forums to agora_Mesasges. For all my test seems to work even with comments in turba.

Move all forums sorting to sql.

Get all last messages in one SQL query instead of each counting.

Clean the mess with naming message_author/message_from. Now every where use message_author like is named the SQL column.

Search is performed by only one query. Instead of performing a query pear each search. I must still implement pagination and result sorting.

1.42 (+1 -2 lines) 11/07/2006 09:24 AM Duck duck

DataTree is not used anymore here

1.41 (+1 -1 lines) 01/01/2006 04:09 PM Jan Schneider jan

Happy new year\!

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

ws

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

Happy New Year

1.38 (+1 -5 lines) 11/03/2004 10:24 PM Chuck Hagenbuch chuck

Use the <ul> menu.

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

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

1.36 (+1 -4 lines) 04/08/2004 05:59 PM Michael M Slusarz slusarz

Don't need this call here.

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

No more HORDE_LIBS.

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

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

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

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

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

Browser:: is now a framework package.

1.31 (+2 -2 lines) 02/11/2004 05:17 PM Chuck Hagenbuch chuck

move Menu.php to a framework package.

1.30 (+6 -7 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.29 (+3 -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.28 (+2 -3 lines) 01/16/2004 05:27 PM Jan Schneider jan

Instantiate a global  object in core.php.

1.27 (+3 -3 lines) 01/15/2004 06:23 PM Jan Schneider jan

Move Horde_Perms to framework.

1.26 (+3 -3 lines) 01/13/2004 08:36 PM Chuck Hagenbuch chuck

- Move Category into the framework.
- At the same time, rename the API to DataTree.
- shorten some method names while we're at it.

1.25 (+3 -3 lines) 01/01/2004 10:13 AM Jan Schneider jan

Happy new year everyone.

1.24 (+3 -3 lines) 12/14/2003 06:24 AM Jan Schneider jan

Use new framework paths (Robert Clemens).

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

prevent errors with transparent authentication.

1.22 (+23 -18 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.21 (+5 -4 lines) 07/21/2003 10:16 PM mdjukic

get rid of the separate Menu.php lib, move a few functions over to the main Menu.php lib and the app's menu construction to the app'sgeneral lib file

1.20 (+2 -6 lines) 07/14/2003 11:05 AM mdjukic

don't always require the Horde_Form libs, only in the scripts where they are needed.

1.19 (+12 -1 lines) 07/12/2003 11:09 AM mdjukic

file comment headers

1.18 (+1 -4 lines) 07/10/2003 12:22 AM Chuck Hagenbuch chuck

- add message deletion by admins
- clean up template objects a bit (not globaling in base.php should help)
- clean up blocks a bit

1.17 (+2 -2 lines) 07/09/2003 06:50 PM mdjukic

- fix threads in a horde block
- use just the regular threads.php script with a bit of a tweak

1.16 (+2 -2 lines) 06/12/2003 10:12 AM Chuck Hagenbuch chuck

- fix blocks listing
- use Browser::singleton().

1.15 (+6 -5 lines) 06/09/2003 11:28 AM mdjukic

clean up, add compression

1.14 (+3 -4 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.13 (+1 -4 lines) 03/19/2003 01:09 PM Chuck Hagenbuch chuck

Don't include code that isn't needed.

1.12 (+12 -11 lines) 03/19/2003 06:49 AM mdjukic

style, require the PEAR date class

1.11 (+2 -3 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.10 (+14 -9 lines) 01/14/2003 10:18 PM mdjukic

start tidying up, add a few more requires

1.9 (+2 -2 lines) 01/14/2003 01:55 PM mdjukic

typo

1.8 (+4 -9 lines) 01/14/2003 01:54 PM mdjukic

requires for horde_form, we don't need identities

1.7 (+3 -3 lines) 01/13/2003 11:01 PM Chuck Hagenbuch chuck

- add some placeholder graphics
- fix some paths/links in the menu stuff
- lots and lots of style cleanup
- fix a bunch of duplicate includes/defines/other work
- don't parse templates twice
- etc.

Lots of this still seems to be missing or not to work, and the
templates are kind of a mess - can we please get all of the .dist
files out of templates/ (config/templates is fine, though).

1.6 (+4 -1 lines) 01/13/2003 04:50 PM mdjukic

Require the new agora menu class.

1.5 (+13 -4 lines) 01/05/2003 01:35 PM Jan Schneider jan

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

1.4 (+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.3 (+2 -5 lines) 12/05/2002 02:41 AM mdjukic

cleaning, restructuring

1.2 (+2 -1 lines) 12/01/2002 11:48 AM spiker

cleaning up, splitting message text into a separate table

1.1 11/11/2002 01:45 PM spiker

Initial revision

1.1.1.1 (+0 -0 lines) 11/11/2002 01:45 PM spiker

importing agora

Tags: start