Revisions for agora/lib/Messages.php

Location: [ Horde ] / agora / lib / Messages.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.303 (+11 -11 lines) 09/23/2008 03:45 AM Duck duck

forum_attachments is an integer, actually a boolen forum value

1.266.2.2 FRAMEWORK_3 (+2 -2 lines) 05/13/2008 05:39 PM Jan Schneider jan

Doc typo.

1.302 (+3 -3 lines) 04/15/2008 03:23 PM Chuck Hagenbuch chuck

View naming - .html.php, some flattening of directories

1.301 (+2 -2 lines) 04/08/2008 02:47 AM Chuck Hagenbuch chuck

Use Horde_Permission

1.300 (+11 -12 lines) 03/05/2008 08:37 AM Duck duck

phpdoc

1.299 (+3 -3 lines) 01/07/2008 04:32 PM Michael Rubinsky mrubinsk

Fix undefined variable error. Duck, is this what was intended here?

1.298 (+17 -13 lines) 01/05/2008 06:37 AM Duck duck

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

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

Happy New Year

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

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

1.296 (+88 -110 lines) 01/01/2008 02:32 PM Duck duck

Expiring thread cache is wasteful as we must expire every view combination. Avoid expiration large cache items list by prefix the cache keys. The prefix increments when a new message is posted.

1.295 (+64 -64 lines) 12/30/2007 09:44 AM Duck duck

I get at lest 4k less memory usage with references - testing with 10 messages displayed per page

1.294 (+1 -2 lines) 12/22/2007 06:40 AM Duck duck

Add RSS link to comments renderer.
Allow to pass forum id to rss even from other scopes.
Assign my remaining copyrights to horde

1.293 (+8 -3 lines) 12/17/2007 05:30 AM Duck duck

Fix forum delete

1.292 (+11 -5 lines) 12/16/2007 04:25 PM Duck duck

Use extract insted of list as results is an associative array.

1.291 (+1 -21 lines) 11/28/2007 03:47 AM Duck duck

getForumId is implemented in subclasses now

1.290 (+3 -3 lines) 11/27/2007 05:48 AM Duck duck

Use one loop less - don't get the result array from db layer, but process the query directly.

1.289 (+3 -2 lines) 11/23/2007 03:45 PM Duck duck

Lock all messages in thread not just the root message

1.288 (+3 -7 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.287 (+12 -7 lines) 10/08/2007 06:05 AM Duck duck

Fix save attachment

1.286 (+3 -2 lines) 10/08/2007 05:20 AM Duck duck

Fix vfs error check

1.285 (+13 -3 lines) 10/02/2007 09:56 AM Duck duck

Fix message and thread deletition.
Fix warnings with last messages if there are no messages in thread/forum

1.284 (+2 -2 lines) 10/02/2007 09:44 AM Duck duck

Fix MDB2 search call

1.283 (+2 -2 lines) 10/01/2007 03:22 PM Michael Rubinsky mrubinsk

Fix Horde_Tree subclass name

1.282 (+3 -5 lines) 09/24/2007 12:59 PM Duck duck

Fix last message date display

1.281 (+2 -2 lines) 09/24/2007 12:48 PM Duck duck

Fix moderators display

1.280 (+5 -3 lines) 09/24/2007 12:20 PM Duck duck

Avoid warning when no thread root is selected

1.279 (+4 -1 lines) 09/24/2007 12:15 PM Duck duck

Handle charset.

1.278 (+3 -2 lines) 09/24/2007 12:05 PM Duck duck

Message id is now always set.

1.277 (+3 -3 lines) 09/24/2007 09:04 AM Duck duck

We already know the number of threads, so do not re-count them

1.276 (+2 -2 lines) 09/24/2007 08:54 AM Duck duck

Get even message_count when selecting a forum, so we save one sql query in comments api

1.275 (+3 -3 lines) 09/24/2007 06:34 AM Duck duck

Fix comments

1.274 (+3 -2 lines) 09/24/2007 06:21 AM Duck duck

Disable empty to null.

1.273 (+5 -3 lines) 09/23/2007 08:02 AM Duck duck

Check attachment counter before retrive or not the attachment link

1.272 (+2 -2 lines) 09/23/2007 07:57 AM Duck duck

Template to view fix

1.271 (+21 -3 lines) 09/23/2007 07:13 AM Duck duck

Update last messages in threads.

Now I am going to debug and cleanup the code.

1.270 (+80 -23 lines) 09/23/2007 06:44 AM Duck duck

Use DB sequence.
Update last message in forum.

1.269 (+8 -9 lines) 09/23/2007 05:53 AM Duck duck

Replace Horde_Template with Horde_View

1.268 (+53 -53 lines) 09/23/2007 05:16 AM Duck duck

Replace deprecated is_a with instanceof

1.267 (+194 -223 lines) 09/23/2007 05:03 AM Duck duck

- DB to MDB2. Seems to work. The only problem is the thread list. Seems that MDB2 has problems where parents are empty. I must debug this, as I guess is only an usage problem combined empty to null conversion.

- Start working on moving the last message in the thread data to reduce queries on thread and forums list.

1.266 (+23 -23 lines) 09/04/2007 12:25 AM Chuck Hagenbuch chuck

Fix typos and spelling
Bug: 5688
Submitted by: tinu@humbapa.ch

Tags: FRAMEWORK_3

1.265 (+6 -3 lines) 08/30/2007 09:25 AM Jan Schneider jan

Fix reply message formatting.

1.264 (+6 -10 lines) 08/23/2007 01:06 PM Duck duck

Use scope for cache keys, to avid overlaping in different scopes

1.263 (+2 -3 lines) 08/01/2007 06:46 AM Jan Schneider jan

Missed a few copyrights from Marko and me.

1.262 (+28 -10 lines) 07/06/2007 06:12 AM Duck duck

Add bad words replacement and static remember rule settings.

1.261 (+4 -4 lines) 06/27/2007 01:22 PM Jan Schneider jan

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

1.260 (+12 -10 lines) 06/27/2007 11:18 AM Chuck Hagenbuch chuck

Some cleanups, error checking, fixes for using sqlite.

1.259 (+31 -65 lines) 06/09/2007 01:26 PM Duck duck

Split even the forums per scope.

Don't show the forums list selection in search form for scopes other than agora ? having thousends of forms for comments is not usefull.

Use getBareForums for forms for search forum selection.

1.258 (+17 -2 lines) 06/09/2007 11:40 AM Duck duck

Add getBareForums to avoid all data manipulation for the permission tree.

1.257 (+30 -108 lines) 06/09/2007 11:19 AM Duck duck

Initial split_sql driver, it should already solve the problem of showing the last messages in the normal sql driver from the api calls.

1.256 (+5 -3 lines) 05/27/2007 08:59 AM Duck duck

Add scope to search result

1.255 (+2 -2 lines) 04/23/2007 12:43 PM Michael Rubinsky mrubinsk

- Allow other applications to delete entire forums through the api.  Necessary for removing comments after images with comments, for example, are deleted.
- Minor logic tweaks

1.254 (+2 -2 lines) 04/08/2007 02:17 PM Duck duck

Fix warning (bug #5183)

1.253 (+6 -5 lines) 03/27/2007 08:24 AM Duck duck

Detect bbcode. If used dont parse links with text2html.

1.252 (+36 -23 lines) 03/26/2007 10:11 AM Duck duck

Use nl2br instead of text2html since conflicts with bbcode.
Fix moderation with splitting tables. Now you can moderate comments only for the current scope or the forums you own.
Consolidate the app/scope naming in the API methods declaration.
Add moderation todo for th comment API.
Comments are pushed inside one forum, so allow to count all the messages not just threads.
As all handling is done inside the doComments so we never know when an reply is posted or a data owner deleted a messages, return a count of all messages to the calling app.

1.251 (+10 -10 lines) 03/10/2007 09:18 AM Duck duck

When creating a new forum set description to data title and author to data owner, to allow him to edit comments under his data.

1.250 (+31 -23 lines) 03/08/2007 06:47 AM Duck duck

Don't require forum_id o thread root to select messages. This allows to select messages on the scope level ( like last messages or threads in a scope ).

1.249 (+15 -6 lines) 03/07/2007 02:25 PM Duck duck

Allow forum administration permission to forum creator

1.248 (+4 -1 lines) 03/05/2007 04:10 AM Duck duck

Fix parents creation when merging two main thread messages.

1.247 (+8 -4 lines) 03/04/2007 05:34 PM Duck duck

Check if we are marging to the top of a thread

1.246 (+47 -17 lines) 02/25/2007 02:11 PM Duck duck

Remember when we read a thread.
Mark threads with new posts from our last view.
If we open a already read thread go to the last page, otherwise stay on the first page.

1.245 (+15 -18 lines) 02/25/2007 10:14 AM Duck duck

Fix comments  cache expiration.

1.244 (+3 -1 lines) 02/25/2007 09:54 AM Duck duck

Fix parent_id in _agora_postMessage api call

1.243 (+5 -3 lines) 02/25/2007 09:31 AM Duck duck

If thread is locked we have no reply link.

1.242 (+4 -2 lines) 02/25/2007 08:06 AM Duck duck

Return thead_id in deleteMessage(). Notify and redirect according to what was deleted (an entire thread or a single message).

1.241 (+3 -3 lines) 02/04/2007 12:36 PM Duck duck

Fix searching by author and pagination.

1.240 (+12 -10 lines) 02/04/2007 11:37 AM Duck duck

Add message_modifystamp to track when a message was last edited or a thread replied. Fixes sorting by the last message.

1.239 (+11 -11 lines) 01/25/2007 12:48 PM Duck duck

Mark hot only threads with posts younger then one day.

1.238 (+2 -2 lines) 01/20/2007 01:24 PM Duck duck

Show the hot thread icon near the thread subject.

1.237 (+20 -7 lines) 01/20/2007 01:19 PM Duck duck

Track view of on a thread level not on the message level and show views count in the threads list.

1.236 (+3 -3 lines) 01/18/2007 09:19 AM Duck duck

Delete replies if the message is a thread root

1.235 (+8 -1 lines) 01/18/2007 09:07 AM Duck duck

Report abuse per message not per thread

1.234 (+2 -2 lines) 01/15/2007 05:44 AM Duck duck

Missing gettext of thread pages

1.233 (+2 -2 lines) 01/15/2007 02:08 AM Duck duck

Should be thread_per_page no threadS_per_page.

1.232 (+18 -5 lines) 01/15/2007 02:00 AM Duck duck

Add links to sub-pages to threads list in flat view

1.231 (+9 -10 lines) 01/14/2007 03:30 PM Duck duck

Message form present on every message reading page. So set the reply link to the view url and not transfer the user to the editing page. Focus to the message form when replying.

1.230 (+6 -3 lines) 01/14/2007 02:05 PM Duck duck

Get message thread to expire after message update

1.229 (+2 -2 lines) 01/14/2007 12:46 PM Duck duck

Load vhost prefs even in cleanFormcache.

1.228 (+8 -18 lines) 01/13/2007 11:18 AM Duck duck

Add author and post date when quoting.

1.227 (+2 -2 lines) 01/13/2007 07:57 AM Duck duck

Horde::loadConfiguration instead of require

1.226 (+2 -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.

1.225 (+2 -2 lines) 01/10/2007 04:56 AM Duck duck

Select even the forum ID

1.224 (+2 -2 lines) 01/10/2007 04:48 AM Duck duck

Return the new forum ID

1.223 (+2 -2 lines) 01/08/2007 06:12 PM Chuck Hagenbuch chuck

Fix order of check.
Bug: 4853
Submitted by: vilius (at) lnk (dot) lt

1.222 (+46 -75 lines) 01/03/2007 08:07 AM Duck duck

getLastMessage is not used
fix last message threads tag
fix cache cleaning, should solve bug #4824

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

Happy New Year

1.220 (+2 -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.219 (+1 -1 lines) 12/29/2006 02:15 PM Duck duck

Return false if checking DELETE and the permission don't exits.

1.218 (+64 -43 lines) 12/28/2006 01:03 PM Duck duck

Allow to split threads into scope dedicated tables.

1.217 (+28 -21 lines) 12/28/2006 01:39 AM Chuck Hagenbuch chuck

Make this work in databases other than MySQL

1.216 (+76 -8 lines) 12/27/2006 06:08 AM Duck duck

Ban support.

1.215 (+1 -2 lines) 12/23/2006 01:30 PM Duck duck

Avoid having empty actions array

1.214 (+3 -2 lines) 12/23/2006 01:20 PM Duck duck

Activate gettext in getThreadsUI().

1.213 (+83 -33 lines) 12/22/2006 06:59 AM Jan Schneider jan

Convert charsets and fix searching.

1.212 (+62 -43 lines) 12/22/2006 06:18 AM Jan Schneider jan

Add charset conversion methods, move hasPermission().

1.211 (+180 -171 lines) 12/22/2006 06:12 AM Jan Schneider jan

Style.
Duck, please try to take more attention to coding styles and spelling in the
future, it's double work for the one who has to clean it up.

1.210 (+2 -2 lines) 12/21/2006 03:15 PM Michael Rubinsky mrubinsk

Revert.

1.209 (+2 -2 lines) 12/21/2006 01:18 PM Michael Rubinsky mrubinsk

References...do these make sense?

1.208 (+25 -1 lines) 12/21/2006 11:48 AM Duck duck

When managing moderators, update forum permission. So is not needed to set them twice.

1.207 (+32 -1 lines) 12/21/2006 10:29 AM Duck duck

Add moderator management page

1.206 (+3 -3 lines) 12/21/2006 10:02 AM Michael Rubinsky mrubinsk

Existence checking / get rid of undefined variable warning.

1.205 (+41 -10 lines) 12/21/2006 06:04 AM Duck duck

Mark moderators at in thread view.
Use a central function to format body.

1.204 (+2 -2 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.

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