Revisions for agora/lib/Agora.php

Location: [ Horde ] / agora / lib / Agora.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.108 (+2 -2 lines) 01/02/2008 06:11 AM Jan Schneider jan

Happy New Year

1.107 (+2 -16 lines) 11/28/2007 03:51 AM Duck duck

Agora::getForumId() is not used any more

1.106 (+3 -1 lines) 11/25/2007 11:55 PM Michael Rubinsky mrubinsk

First round of reverts to fix incorrect Horde_Loader usage.

1.105 (+2 -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.104 (+5 -5 lines) 06/27/2007 11:18 AM Chuck Hagenbuch chuck

Some cleanups, error checking, fixes for using sqlite.

1.103 (+12 -7 lines) 06/09/2007 02:12 PM Duck duck

Morde scope preservation, no reason for div around pager

1.102 (+2 -2 lines) 01/15/2007 03:26 AM Duck duck

Check for delete permission

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

Happy New Year

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

Standardize copyright wrapping and spacing.

1.98 (+9 -4 lines) 12/21/2006 10:29 AM Duck duck

Add moderator management page

1.97 (+3 -3 lines) 12/21/2006 01:40 AM Michael Rubinsky mrubinsk

Take a shot at fixing some parameter mis-matches / missing forum_id values.
Also, fix small typo. ( $message_id -> $message['message_id'] )

1.96 (+5 -7 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.95 (+3 -2 lines) 12/08/2006 12:29 PM Duck duck

Add a space between the sorter icon an the column name.

Change the phorm2agora script to allow different db connections and clean forum cache after migration.

1.94 (+11 -2 lines) 11/23/2006 08:47 AM Jan Schneider jan

BC check.

1.93 (+7 -2 lines) 11/01/2006 08:34 AM Duck duck

Add per scope or forum permissions

1.92 (+1 -2 lines) 10/31/2006 02:32 AM Duck duck

- Set default number of attachment to ?0?, to not use null and follow data logic.
- Remove forum::exits() calls from. getForumID() as an DB call already returns null if the object doesn't exists so is really not needed to access the DB twice.

1.91 (+2 -2 lines) 10/29/2006 01:17 PM Chuck Hagenbuch chuck

"Message and flat view had nearly the same functionality. The only difference
was that the flat view shows bodies, and flat view didn't allow the to
directly post a replay. I combined the two to not have a code duplication,
and allow posting a replay directly in flat view. The thread_view_bodies
preference is extended to allow not just thread or flat view, but event flat
view with indents.

Other changes:
- Produce a query less by allowing replyMessage() to accept an message array
already retrieved in thread view.
- add pager in thread view
- add pref option to sort threads by number of posts
- allow to post a message directly even from flat view
- Fix sql syntax in agora_forum::search()
- Fix page titles in message view
- Don't even load identities if avantars are disabled in message view"
Submitted by: Duck <duck@obala.net>

1.90 (+8 -8 lines) 10/26/2006 01:10 PM Chuck Hagenbuch chuck

[cjh] Migrate from DataTree to local SQL usage (Duck <duck@obala.net>).

1.89 (+9 -5 lines) 05/16/2006 05:52 AM Jan Schneider jan

Lots of fixes to make managing application comments working again. This whole app needs to be cleaned up one day.

1.88 (+20 -1 lines) 03/10/2006 05:32 PM Chuck Hagenbuch chuck

Make sure CAPTCHA text changes on each page load.

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

Happy new year\!

1.86 (+6 -6 lines) 12/21/2005 12:38 PM Chuck Hagenbuch chuck

access keys

1.85 (+2 -2 lines) 12/10/2005 03:38 PM Chuck Hagenbuch chuck

Short circuit out of validateAvatar() if avatars are disabled.
Bug: Duck <duck@obala.net>

1.84 (+1 -15 lines) 06/30/2005 10:52 PM Matt Selsky selsky

Remove redundant "@access" in phpdoc.

1.83 (+1 -0 lines) 05/26/2005 07:53 AM Jan Schneider jan

Left align column headers.

1.82 (+3 -1 lines) 05/19/2005 07:41 PM eraserhd

Implement agora search.

1.81 (+1 -1 lines) 05/18/2005 06:38 AM Jan Schneider jan

Fix viral method name typo.

1.80 (+4 -4 lines) 04/29/2005 12:57 PM Chuck Hagenbuch chuck

use <small> instead of inline style

1.79 (+2 -2 lines) 04/13/2005 11:56 AM Chuck Hagenbuch chuck

"- html clean up
- Agora_Forums::getForms() now don't count the messages in the messages
on-the-fly but uses its own message_seq which was alredy updated after
Agora_Messages::saveMessage().
- fixed a bug in updating thread message count (was always 1)
- adds the post form direct from the thread view. So the user is not forced to
click to post a message but can directly post a message while reading. As is
done in other forums apps.
- the form list is changed to be more compact (less colls, maybe phorum like)
- the thread template is changed to render the bodies in a separete row. So
long messages are displayed screen wide"

Submitted by: duck@obala.net

1.78 (+104 -2 lines) 03/27/2005 11:38 PM Chuck Hagenbuch chuck

[cjh] Add avatar support (Andrew Hosie <ahosie@gmail.com>).

A few pieces still to come after some discussion.

1.77 (+2 -2 lines) 03/05/2005 03:43 PM Chuck Hagenbuch chuck

don't highlight New Forum when editing an existing forum.

1.76 (+2 -3 lines) 02/02/2005 10:39 AM Chuck Hagenbuch chuck

Some tweaks and UI improvements. The IE thread problems are really bizarre; they occur at random window sizes - i.e., 300px wide might work fine, but 305 doesn't. I can make it occur or not occur at a given width by adding left/right padding to the thread view. There must be a rounding error somewhere (in IE, not our code) that gets triggered based on window width.

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

Happy New Year

1.74 (+11 -13 lines) 12/07/2004 11:09 AM Chuck Hagenbuch chuck

Instead of hardcoding '-1' in tons of places, use a new constant: DATATREE_ROOT. Much more readable, etc. At the same time, make this an int (-1) instead of the string value ('-1') which was inconsistent with all other datatree ids, buggy, etc.

1.73 (+8 -6 lines) 12/06/2004 09:35 PM Chuck Hagenbuch chuck

This foreach loop was turning '-1' into -1, which meant top-level
forums couldn't be created. You have no idea how annoying this was to
track down.

1.72 (+17 -12 lines) 11/03/2004 10:24 PM Chuck Hagenbuch chuck

Use the <ul> menu.

1.71 (+8 -8 lines) 10/19/2004 11:21 AM mdjukic

Change all references to *.gif images to the new *.png.

1.70 (+7 -2 lines) 10/19/2004 01:21 AM Michael M Slusarz slusarz

Add VFS_AGORA_PATH constant.
Add GPL information to view.php.

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

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

1.68 (+8 -8 lines) 10/18/2004 05:58 AM mdjukic

change getParam('graphics') to getImageDir()

1.67 (+18 -2 lines) 10/07/2004 05:32 PM mdjukic

add forum name column

1.66 (+5 -8 lines) 10/07/2004 01:54 PM mdjukic

add ability to moderate messages by admin, still working on this...

1.65 (+3 -3 lines) 09/01/2004 09:41 AM Jan Schneider jan

Don't highlight Forums icon if on a index.php page of a subdirectory.

1.64 (+5 -4 lines) 08/30/2004 12:48 PM Jan Schneider jan

Render threaded views with Horde_Tree.

1.63 (+4 -4 lines) 08/27/2004 10:29 AM Jan Schneider jan

Highlight menu item when accessing forum list through index.php.

1.62 (+19 -2 lines) 08/14/2004 05:53 AM mdjukic

- add better sorting of forum names in forum list view, either flat by specific forum name or as part of the tree
- start adding attachment handling for messages
- clean up some templates

1.61 (+5 -4 lines) 05/31/2004 12:13 AM Chuck Hagenbuch chuck

- fix the forums/list API call.
- add the ability to specify a seperate datatree group for forums - will be useful
for tracking comments for other applications.

1.60 (+3 -3 lines) 05/20/2004 11:21 AM Jan Schneider jan

Fix package names.

1.59 (+3 -3 lines) 03/24/2004 06:22 AM mdjukic

move message editing/deleting to own directory, fix paths

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

Happy new year everyone.

1.57 (+3 -3 lines) 11/24/2003 05:08 PM Chuck Hagenbuch chuck

Consistenly allow someone with 'agora:admin' permissions to administer Agora.

1.56 (+3 -3 lines) 11/24/2003 03:39 PM Chuck Hagenbuch chuck

use different graphic for threads and forums.

1.55 (+9 -6 lines) 11/04/2003 11:38 AM Chuck Hagenbuch chuck

Return entries for the item class of the header, too. (selected or not)

1.54 (+12 -12 lines) 09/16/2003 07:03 PM Jan Schneider jan

Use the new Util:: class.

1.53 (+3 -3 lines) 09/09/2003 09:37 PM Chuck Hagenbuch chuck

correct argument order

1.52 (+8 -3 lines) 09/09/2003 09:25 PM Chuck Hagenbuch chuck

Trap for some errors cases.

1.51 (+30 -6 lines) 09/09/2003 07:48 AM Jan Schneider jan

Add sorting by thread

1.50 (+2 -10 lines) 07/21/2003 10:49 PM mdjukic

no need for caching here too

1.49 (+39 -3 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.48 (+4 -6 lines) 07/17/2003 02:35 PM Chuck Hagenbuch chuck

- set the forum id in a few more places
- part of the point of this is to use shorter variables.

1.47 (+4 -4 lines) 07/17/2003 01:51 PM mdjukic

typo

1.46 (+44 -2 lines) 07/17/2003 01:47 PM mdjukic

use a agora id to codify forum and message id in a single var

1.45 (+62 -1 lines) 07/12/2003 11:00 AM mdjukic

add comments

1.44 (+1 -18 lines) 07/12/2003 10:37 AM mdjukic

move arraySort() to Horde.php

1.43 (+3 -3 lines) 07/10/2003 11:30 PM Chuck Hagenbuch chuck

- use shorter GET variables ('f' and 'm')
- tweak a few bits of display, use reply graphic

1.42 (+1 -7 lines) 07/10/2003 12:37 PM Chuck Hagenbuch chuck

Various cleanups; don't do inlining of forums.php inside the forums block.

1.41 (+2 -2 lines) 07/10/2003 11:18 AM Chuck Hagenbuch chuck

maintain key-value associations

1.40 (+15 -31 lines) 07/09/2003 12:07 AM Chuck Hagenbuch chuck

Clean up sorting, store preferences, nuke session-based sort
variables, and sort thread list in message view.

1.39 (+3 -4 lines) 07/07/2003 02:40 PM mdjukic

typo

1.38 (+59 -5 lines) 07/07/2003 02:02 PM mdjukic

sorting functions

1.37 (+1 -8 lines) 07/06/2003 02:15 PM Chuck Hagenbuch chuck

Start cleaning up and fixing some functionality; remove unused config
settings. Hope I'm not stepping on anything here.

1.36 (+10 -1 lines) 06/09/2003 05:31 PM mdjukic

missing function to format a category tree

1.35 (+14 -457 lines) 06/09/2003 10:36 AM mdjukic

separate out the drivers from this central file and keep here only some general utility functions

1.34 (+8 -8 lines) 03/24/2003 05:29 PM Jan Schneider jan

ZE2 fixes.

1.33 (+19 -21 lines) 03/21/2003 08:08 AM mdjukic

clean up, use just block api

1.32 (+3 -5 lines) 03/19/2003 12:11 PM mdjukic

my mistake we use unix epoch for time stamps, revert back to strftime()

1.31 (+3 -2 lines) 03/19/2003 07:02 AM mdjukic

fix the threads listing to use the PEAR date class

1.30 (+3 -2 lines) 03/19/2003 06:49 AM mdjukic

better date formatting

1.29 (+27 -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.28 (+11 -25 lines) 02/21/2003 10:09 PM Chuck Hagenbuch chuck

[cjh] Fix permissions checking semantics.

A filter is something that modifies or removes items from a set. This
was not a filter. Please try to name functions according to their
actions.

1.27 (+2 -2 lines) 02/07/2003 08:37 AM Chuck Hagenbuch chuck

fix syntax of Horde::fatal() call.

1.26 (+2 -1 lines) 01/28/2003 06:07 AM mdjukic

small cleaning up

1.25 (+70 -41 lines) 01/14/2003 10:23 PM mdjukic

- Start a major rewrite of these classes
- Adapt to the new use of Horde_Form and Horde_Template
- Style rewrites, adding some extra support functions and variables

1.24 (+31 -1 lines) 01/14/2003 09:45 AM mdjukic

clean up the formatted forums tree that is being returned, and put in the first steps for a permissions filter

1.23 (+26 -27 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.22 (+12 -3 lines) 01/13/2003 04:52 PM mdjukic

Start tracking of various ids within the class.

1.21 (+27 -10 lines) 12/27/2002 09:47 AM mdjukic

lots of fixes and cleans, thread view within a message works (changed the table column type) expanded the variables in the forums and messagelist templates, counts the number of posts in a forum and shows the last message submitted to a forum

1.20 (+73 -90 lines) 12/14/2002 11:52 PM Chuck Hagenbuch chuck

Start cleaning up, removing unused files; remove references to fields
in SQL that aren't there, fix javascript errors (calling functions
that aren't there), etc.

I now seem to have some basic functionality. Marko, do you have a set
of more useful templates available? The default ones seem to have
everything there, but are *really* sparse; it'd be nice to have a
default set of graphics, a Horde-like layout, etc.

1.19 (+36 -31 lines) 12/09/2002 04:16 AM mdjukic

shifted structure around, added moderated fields/functions

1.18 (+11 -13 lines) 12/08/2002 11:11 AM mdjukic

more cleaning, reverting back to storing message thread root in agora_messages

1.17 (+24 -10 lines) 12/08/2002 10:32 AM mdjukic

some cleans, changing the way message_id is used

1.16 (+11 -4 lines) 12/08/2002 05:02 AM mdjukic

some shuffling around of agora, still a bit broken

1.15 (+8 -4 lines) 12/06/2002 07:43 AM mdjukic

clean up the conf.xml

1.14 (+123 -146 lines) 12/05/2002 02:41 AM mdjukic

cleaning, restructuring

1.13 (+43 -6 lines) 12/02/2002 07:57 PM spiker

all in arrays

1.12 (+106 -75 lines) 12/02/2002 01:40 PM spiker

Agora.php fixed

1.11 (+75 -114 lines) 12/02/2002 12:34 PM Chuck Hagenbuch chuck

alright, this *was* cleaned up. now it's a mess again.

1.10 (+131 -53 lines) 12/02/2002 11:49 AM spiker

fixing Agora.php

1.9 (+145 -173 lines) 12/02/2002 11:25 AM Chuck Hagenbuch chuck

stab at CODING_STANDARDS cleanup

1.8 (+2 -3 lines) 12/02/2002 11:04 AM Chuck Hagenbuch chuck

Fix missing &.

1.7 (+8 -4 lines) 12/02/2002 07:53 AM mdjukic

clean up a bit the config of backends

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