Forums enhancements:

* messages can now be edited/deleted (explicit permissions need to be given)
* topics can be locked so that no reply can be added (only by users allowed to edit messages)
* topics can be marked as sticky so that they always appear at the top of the list (only by users allowed to edit messages)

git-svn-id: http://redmine.rubyforge.org/svn/trunk@926 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-11-24 12:25:07 +00:00
parent 866e9e2503
commit 29b3614bcb
19 changed files with 294 additions and 36 deletions
+3 -3
View File
@@ -2,12 +2,12 @@
boards_001:
name: Help
project_id: 1
topics_count: 1
topics_count: 2
id: 1
description: Help board
position: 1
last_message_id: 2
messages_count: 2
last_message_id: 5
messages_count: 5
boards_002:
name: Discussion
project_id: 1
+35 -3
View File
@@ -4,8 +4,8 @@ messages_001:
updated_on: 2007-05-12 17:15:32 +02:00
subject: First post
id: 1
replies_count: 1
last_reply_id: 2
replies_count: 2
last_reply_id: 3
content: "This is the very first post\n\
in the forum"
author_id: 1
@@ -22,4 +22,36 @@ messages_002:
author_id: 1
parent_id: 1
board_id: 1
messages_003:
created_on: 2007-05-12 17:18:02 +02:00
updated_on: 2007-05-12 17:18:02 +02:00
subject: "RE: First post"
id: 3
replies_count: 0
last_reply_id:
content: "An other reply"
author_id:
parent_id: 1
board_id: 1
messages_004:
created_on: 2007-08-12 17:15:32 +02:00
updated_on: 2007-08-12 17:15:32 +02:00
subject: Post 2
id: 4
replies_count: 1
last_reply_id: 5
content: "This is an other post"
author_id:
parent_id:
board_id: 1
messages_005:
created_on: 2007-09-12 17:18:00 +02:00
updated_on: 2007-09-12 17:18:00 +02:00
subject: 'RE: post 2'
id: 5
replies_count: 0
last_reply_id:
content: "Reply to the second post"
author_id: 1
parent_id: 4
board_id: 1