Commit Graph

93 Commits

Author SHA1 Message Date
Jean-Philippe Lang ca4f2c59b6 Attachments should be available to the text formatter when previewing an existing news.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 14:18:43 +00:00
Jean-Philippe Lang ba9f1c0388 html5 compliance.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10114 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-29 10:53:02 +00:00
Jean-Philippe Lang 6a2ca5e034 JQuery in, Prototype/Scriptaculous out (#11445).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-22 13:29:26 +00:00
Jean-Philippe Lang ff68fff80e Adds a helper for preview links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-18 17:47:19 +00:00
Jean-Philippe Lang 7b40767428 Deprecated :confirm => 'Text' option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 14:36:49 +00:00
Jean-Philippe Lang 5e57a1a9d9 Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Jean-Philippe Lang 7c568cccaf Adds a helper for displaying validation error messages.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-26 18:07:13 +00:00
Jean-Philippe Lang 707ce0beef Preserve uploaded files when on news.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 13:07:27 +00:00
Jean-Philippe Lang 8ddcc4caf5 Adds a News#commentable? method to easily specific additional rules.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 17:14:56 +00:00
Toshi MARUYAMA 2c6edb9f3c remove trailing tabs from app/views/news/_form.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 01:38:58 +00:00
Jean-Philippe Lang e8cfa65155 Enable attached images to be displayed inline on the news list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 22:42:12 +00:00
Jean-Philippe Lang 24138187eb Allows attachments on news (#1972).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 22:39:06 +00:00
Toshi MARUYAMA 4e5490ddef replace tabs to spaces at app/views/news/new.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 05:13:19 +00:00
Jean-Philippe Lang 9636882c1e Use #labelled_form_for instead of #labelled_tabular_form_for.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:15:55 +00:00
Jean-Philippe Lang 3e0936606e Removed object name from form_for arguments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 20:09:57 +00:00
Jean-Philippe Lang 8b7de1e400 error_messages_for removed in Rails 3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:58:21 +00:00
Toshi MARUYAMA 856b777362 show avatars on the news list (#9470)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 23:43:27 +00:00
Etienne Massip 8f96f0c40d Refactor : convert queries to REST resources (also fixes #9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 20:19:26 +00:00
Etienne Massip 4ecd65c465 Remove unecessary page title HTML escaping from views (#9252).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 18:45:17 +00:00
Toshi MARUYAMA 5d973f110e replace tabs to spaces at app/views/news/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 23:01:23 +00:00
Toshi MARUYAMA 4f1635c27a remove trailing white-spaces from app/views/news/edit.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 08:07:49 +00:00
Toshi MARUYAMA 0dbc7fb192 remove trailing white-spaces from app/views/news/new.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 08:07:14 +00:00
Toshi MARUYAMA 2a902fcb71 remove trailing white-spaces from app/views/news/show.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 08:06:37 +00:00
Toshi MARUYAMA da8a2ea4bc replace tabs to spaces at app/views/news/index.api.rsb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 04:07:59 +00:00
Toshi MARUYAMA a15dfb5f59 remove trailing white-spaces from app/views/news/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 02:52:10 +00:00
Toshi MARUYAMA aec51a36bd remove trailing white-spaces from app/views/news/index.api.rsb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 15:17:05 +00:00
Toshi MARUYAMA c459649b52 rename .rhtml to .html.erb of app/views/news/_news.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:18:17 +00:00
Toshi MARUYAMA 2b609121bc rename .rhtml to .html.erb of app/views/news/index.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:17:28 +00:00
Toshi MARUYAMA bf923116c2 rename .rhtml to .html.erb of app/views/news/_form.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:16:46 +00:00
Toshi MARUYAMA dd4b2aa3b3 rename .rhtml to .html.erb of app/views/news/show.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:16:05 +00:00
Toshi MARUYAMA d57608858c rename .rhtml to .html.erb of app/views/news/edit.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:15:22 +00:00
Toshi MARUYAMA ad9f7f4eeb rename .rhtml to .html.erb of app/views/news/new.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:14:37 +00:00
Toshi MARUYAMA 2b3726bdc0 HTML escape at app/views/news/show.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:10:19 +00:00
Jean-Philippe Lang 36009de154 Adds email notifications support for news comments (#2074).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 14:32:58 +00:00
Jean-Philippe Lang ac60fc9c1c Refactor and add tests for News #index API (#7072).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 17:00:52 +00:00
Jean-Philippe Lang 0f55adf31a Fixed: links to edit/delete a news broken by r4214 (#6944).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-20 09:38:54 +00:00
Jean-Philippe Lang b26ba17184 Fixed: "Add news" link broken by recent refactoring (#6650).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-22 14:42:38 +00:00
Eric Davis 79e30e7087 Refactor: convert News to a REST resource
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-27 16:51:12 +00:00
Eric Davis deed1b949d Refactor: move NewsController#preview to PreviewsController#news
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-24 16:26:46 +00:00
Eric Davis 401197a895 Refactor: move #destroy_comment method to CommentsController#destroy
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-23 15:20:19 +00:00
Eric Davis 1f2f953687 Refactor: move NewsController#add_comment to CommentsController#create
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-22 16:25:09 +00:00
Eric Davis 01d1a02df4 Refactor: split NewsController#edit into #edit and #update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-21 15:20:37 +00:00
Eric Davis 3bc29e29e0 Refactor: split NewsController#new into #new and #create methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-20 15:13:48 +00:00
Eric Davis 1a4f5e87f2 Add scm.css to news pages to allow proper syntax highlighting. #6270
Contributed by Holger Just.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-20 02:55:37 +00:00
Jean-Baptiste Barth a1b607480a Refactor: added link_to_project helper to handle links to projects
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-08 07:07:20 +00:00
Jean-Philippe Lang 00cec500c6 Do not include news author in emphasis tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3425 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-14 11:49:29 +00:00
Jean-Philippe Lang 99956ec248 Avatars added in news (#3941) and forums (#4468) + cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-01-07 21:28:45 +00:00
Jean-Philippe Lang 91a493e2c7 Removes large icons.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-17 18:52:28 +00:00
Jean-Philippe Lang 04ae25f6b0 Do not render hidden news edit form if user is not allowed to edit (closes #4068).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-22 17:42:17 +00:00
Jean-Philippe Lang fe28193e4e Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 11:04:50 +00:00