]> source.dussan.org Git - redmine.git/commit
Forums enhancements:
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 24 Nov 2007 12:25:07 +0000 (12:25 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 24 Nov 2007 12:25:07 +0000 (12:25 +0000)
commit29b3614bcb759214bb1aba77c27ac11c8ef6b15b
tree1783bd1f65552a4e2cea332bda9f42b1831d4e78
parent866e9e2503713c67fd33b389d4e840c04ce1562d
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
19 files changed:
app/controllers/boards_controller.rb
app/controllers/messages_controller.rb
app/helpers/application_helper.rb
app/models/message.rb
app/views/boards/index.rhtml
app/views/boards/show.rhtml
app/views/messages/_form.rhtml
app/views/messages/edit.rhtml [new file with mode: 0644]
app/views/messages/show.rhtml
db/migrate/082_add_messages_locked.rb [new file with mode: 0644]
db/migrate/083_add_messages_sticky.rb [new file with mode: 0644]
lib/redmine.rb
public/images/sticky.png [new file with mode: 0644]
public/stylesheets/application.css
test/fixtures/boards.yml
test/fixtures/messages.yml
test/functional/boards_controller_test.rb [new file with mode: 0644]
test/functional/messages_controller_test.rb [new file with mode: 0644]
test/unit/message_test.rb