summaryrefslogtreecommitdiffstats
path: root/app/controllers/news_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Preserve uploaded files when on news.Jean-Philippe Lang2012-02-231-2/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8943 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preserve uploaded files when on news.Jean-Philippe Lang2012-02-231-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8942 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not check the request http method.Jean-Philippe Lang2012-02-231-11/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8941 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows attachments on news (#1972).Jean-Philippe Lang2012-01-291-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8728 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed object name from form_for arguments.Jean-Philippe Lang2011-11-231-1/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7904 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/controllers/news_controller.rb.Toshi MARUYAMA2011-08-301-11/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6809 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Separation of RSS/API auth actions.Jean-Philippe Lang2011-07-091-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds email notifications support for news comments (#2074).Jean-Philippe Lang2011-03-041-2/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5003 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor and add tests for News #index API (#7072).Jean-Philippe Lang2010-12-121-7/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4505 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: move NewsController#preview to PreviewsController#newsEric Davis2010-09-241-9/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4174 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: move #destroy_comment method to CommentsController#destroyEric Davis2010-09-231-5/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4172 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: move NewsController#add_comment to CommentsController#createEric Davis2010-09-221-12/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4170 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: split NewsController#edit into #edit and #updateEric Davis2010-09-211-3/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4168 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: split NewsController#new into #new and #create methods.Eric Davis2010-09-201-3/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4163 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Change the different find_object filters to share a common method.Eric Davis2010-03-171-7/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3597 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Split the find_object methods to prep for a larger refactoring.Eric Davis2010-03-161-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3591 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow authenticating with an API token via XML or JSON. (#3920)Eric Davis2009-12-231-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3218 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: News from a project with 'news' module disabled, are still diplayed ↵Jean-Philippe Lang2009-12-031-1/+1
| | | | | | in the cross-project news list (#4333). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3120 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
* Fixed: error raised when trying to add an empty comment to a news (#3615).Jean-Philippe Lang2009-07-181-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2820 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added observers to watch model objects for mail delivery instead of calling ↵Eric Davis2009-03-281-1/+0
| | | | | | | | | | | | | | | | | | | Mailer. * Added an IssueObserver to watch when Issues are created * Added a JournalObserver to watch when Journals are created (Issue updates) * Added a NewsObserver for News items. * Added a DocumentObserver for Document notifications. * Setup IssuesController#new to use the IssueObserver. * Setup IssuesController#edit to use the IssueObserver. * Setup IssuesController#bulk_edit to use the JournalObserver. * Removed the Mailer call in Changeset#scan_commit_for_issue_ids, the JournalObserver will handle it. * Removed Mailer calls in MailHandler in favor of the Observers. #2659 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2637 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
* Fixed: Wiki Linking Fails on News Item Preview (#1661).Jean-Philippe Lang2008-07-191-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1677 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
* ProjectsController#add_news moved to NewsController#new.Jean-Philippe Lang2008-02-031-2/+27
| | | | | | Preview added when adding/editing a news (#590). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1111 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Anonymous users can now be allowed to create, edit, comment issues, comment ↵Jean-Philippe Lang2007-11-201-1/+1
| | | | | | | | 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
* Moved ProjectsController#list_news to NewsController#index.Jean-Philippe Lang2007-11-051-4/+26
| | | | | | Removed FeedsController, issues and news feeds are now handled by issues and news controllers. git-svn-id: http://redmine.rubyforge.org/svn/trunk@888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added svn:eol-style native property on /app filesJean-Philippe Lang2007-03-121-44/+44
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* indentation correctionsJean-Philippe Lang2007-01-281-6/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@201 e93f8b46-1217-0410-a6f0-8f06a7374b81
* ActiveRecord::RecordNotFound exceptions handled more gracefullyJean-Philippe Lang2007-01-021-3/+5
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@133 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added model Comment.Jean-Philippe Lang2006-12-101-0/+16
| | | | | | comments can now be added on news. git-svn-id: http://redmine.rubyforge.org/svn/trunk@81 e93f8b46-1217-0410-a6f0-8f06a7374b81
* trunk moved from /trunk/redmine to /trunkJean-Philippe Lang2006-12-051-0/+42
git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81