summaryrefslogtreecommitdiffstats
path: root/app/controllers/messages_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Display notice on forum updates (#2635).Go MAEDA2018-12-151-0/+3
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17738 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds preview option to the wiki toolbar (#27758).Jean-Philippe Lang2018-09-261-1/+1
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17521 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .before_action instead of .before_filter.Jean-Philippe Lang2016-07-141-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed flawed regexp for removing pre blocks when quoting messages (#16353).Jean-Philippe Lang2014-03-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated passing options to find at MessagesControllerToshi MARUYAMA2014-01-081-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12520 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleanup of finders with :conditions option.Jean-Philippe Lang2013-06-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that requesting a message from an invalid forum should respond with ↵Jean-Philippe Lang2013-02-201-1/+2
| | | | | | 404 (#13232). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11446 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #per_page instead of #items_per_page.Jean-Philippe Lang2013-02-171-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11425 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecation warnings (#12774).Jean-Philippe Lang2013-01-081-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11139 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged ajax_upload branch (#3957).Jean-Philippe Lang2012-12-101-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces find(:all) calls.Jean-Philippe Lang2012-12-021-4/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10914 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set @previewed for rendering preview partial.Jean-Philippe Lang2012-07-311-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10145 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for subforums (#3831).Jean-Philippe Lang2012-07-311-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10142 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes RJS from MessagesController.Jean-Philippe Lang2012-07-191-14/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10053 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use named routes.Jean-Philippe Lang2012-07-151-6/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10003 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-3.2 branch.Jean-Philippe Lang2012-04-251-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent mass-assignment when adding/updating a forum message (#10390).Jean-Philippe Lang2012-03-061-11/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9133 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes all #verify calls in controllers. Verification is handled at routing ↵Jean-Philippe Lang2012-03-031-3/+0
| | | | | | level now that the default route is removed. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9061 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preserve uploaded files when creating a forum topic.Jean-Philippe Lang2012-02-231-5/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8940 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update MessagesController#quote to match the input id changed in r7682 (#9672).Jean-Philippe Lang2011-11-271-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7961 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/controllers/messages_controller.rb.Toshi MARUYAMA2011-08-311-14/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6895 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Decouple failed attachments and the flash messagesEric Davis2010-03-031-3/+3
| | | | | | | | | | | Attachment#attach_files will no longer need to return a flash message, instead it will put unsaved attachments into object#unsaved_attachments where the calling object can access them. A utility method #render_attachment_warning_if_needed is included for setting the standard flash warning. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Moved ApplicationController#attach_files to the Attachment modelEric Davis2010-03-021-3/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3523 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds pagination to forum messages (#4664).Jean-Philippe Lang2010-02-061-5/+19
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3373 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes "xxx and return" calls (#4446).Jean-Philippe Lang2009-12-181-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3185 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that "RE:" prefix is added to the subject each time the message is ↵Jean-Philippe Lang2009-11-131-1/+2
| | | | | | quoted (#4215). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3038 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Quoting in forums does not take the subject from the message being ↵Jean-Philippe Lang2009-11-131-0/+2
| | | | | | quoted (#4215). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3035 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Contextual quick search (#3263).Jean-Philippe Lang2009-10-211-0/+1
| | | | | | Eg. when viewing issues, the quick search will search issues only. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2943 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added more plugin hooks:Eric Davis2009-05-301-0/+2
| | | | | | | | | | * :controller_messages_new_after_save * :controller_messages_reply_after_save * :controller_wiki_edit_after_save #3306 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2774 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds the ability to move threads between project forums (#2452). 'Edit ↵Jean-Philippe Lang2009-04-051-1/+2
| | | | | | message' permission is required. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2649 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds permissions to let users edit and/or delete their messages (#854, patch ↵Jean-Philippe Lang2008-11-111-3/+5
| | | | | | by Markus Knittig with slight changes). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2019 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds watch/unwatch functionality at forum topic level (#1912).Jean-Philippe Lang2008-09-191-1/+1
| | | | | | Users who create/reply a topic are automatically added as watchers but are now able to unwatch the topic. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1878 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds posts quoting functionality (#1825).Jean-Philippe Lang2008-08-281-0/+16
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1772 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves @layout 'base'@ to ApplicationController.Jean-Philippe Lang2008-08-101-1/+0
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1727 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added preview for forum messages.Jean-Philippe Lang2008-03-071-3/+10
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1205 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a user preference to choose how comments/replies are displayed: in ↵Jean-Philippe Lang2008-03-051-0/+2
| | | | | | chronological or reverse chronological order (#589, #776). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Highlight the current item of the main menu.Jean-Philippe Lang2008-01-191-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1076 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added ApplicationController#attach_files as a common method to attach files ↵Jean-Philippe Lang2007-12-141-9/+3
| | | | | | in all actions. git-svn-id: http://redmine.rubyforge.org/svn/trunk@990 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Forums enhancements:Jean-Philippe Lang2007-11-241-6/+45
| | | | | | | | * 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
* Forums: attachments can now be added to replies.Jean-Philippe Lang2007-11-221-2/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@923 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Anonymous users can now be allowed to create, edit, comment issues, comment ↵Jean-Philippe Lang2007-11-201-3/+3
| | | | | | | | news and post messages in the forums. These permissions need to be explicitly given to the Anonymous role (Admin -> Roles & Permissions -> Anonymous). git-svn-id: http://redmine.rubyforge.org/svn/trunk@919 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 0.6 branch into trunk.Jean-Philippe Lang2007-08-291-2/+1
| | | | | | | | | Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Attachments can now be added to wiki pages (original patch by Pavol Murin). ↵Jean-Philippe Lang2007-05-261-7/+3
| | | | | | | | Only authorized users can add/delete attachments. Attached images can be displayed inline, using textile image tag (for wiki pages, issue descriptions and forum messages). git-svn-id: http://redmine.rubyforge.org/svn/trunk@541 e93f8b46-1217-0410-a6f0-8f06a7374b81