Commit Graph

37 Commits

Author SHA1 Message Date
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
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 bf107f000d Adds a 'box' div around news comment form (#2632).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-02 17:34:12 +00:00
Jean-Philippe Lang 93201e7386 Fixed: Wiki Linking Fails on News Item Preview (#1661).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-19 07:29:05 +00:00
Jean-Philippe Lang af734b1b38 Enable syntax highlight on issues, messages and news (#1473, #1466).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-18 16:49:40 +00:00
Jean-Philippe Lang 5ccbeba5c2 Use #blank? instead of #empty? in news/show view.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-29 20:03:20 +00:00
Jean-Philippe Lang e951d84584 Add a user preference to choose how comments/replies are displayed: in chronological or reverse chronological order (#589, #776).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-05 15:41:54 +00:00
Jean-Philippe Lang 1ecef3a95a ProjectsController#add_news moved to NewsController#new.
Preview added when adding/editing a news (#590).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-03 14:38:04 +00:00
Jean-Philippe Lang df30e18a8c Added missing wiki div on news/index and news/show.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-12 16:26:37 +00:00
Jean-Philippe Lang 3e0acc0b7e Slight improvements to the browser views.
ApplicationHelper#set_html_title replaced by html_title with arguments and can be called several times in views to append elements to the title.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1032 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-02 22:41:53 +00:00
Jean-Philippe Lang 86d756d22d News comments are now textilized.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-12 22:57:20 +00:00
Jean-Philippe Lang f58db70bde More detailed html title on several views.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-07 18:42:40 +00:00
Jean-Philippe Lang a79cf8d574 Fixed a parenthesis warning in news/show.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-07 10:27:52 +00:00
Jean-Philippe Lang 987a5aa221 Anonymous users can now be allowed to create, edit, comment issues, comment 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
2007-11-20 15:40:16 +00:00
Jean-Philippe Lang e8971e5f83 Added some accesskeys:
* e => edit
* r => preview
* f => quick search
* 4 => search


git-svn-id: http://redmine.rubyforge.org/svn/trunk@804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-05 18:05:41 +00:00
Jean-Philippe Lang 2b77964468 The news list now shows the full news contents.
News add/edit forms are now accessible with no additional request.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-22 17:52:43 +00:00
Jean-Philippe Lang 3c6ddc9cec Changed author display on issues, news and document files.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-15 15:20:08 +00:00
Jean-Philippe Lang 6edfcd83c1 Removed a line break on news/show
git-svn-id: http://redmine.rubyforge.org/svn/trunk@594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-07-18 17:22:19 +00:00
Jean-Philippe Lang 65be9d3c86 Removed User#display_name (replaced by User#name).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-29 17:27:27 +00:00
Jean-Philippe Lang 52547466f0 Fixed: 10342 Creation of Schema in Oracle
Comment is a reserved keyword for Oracle. The five 'Comment' columns are renamed to 'Commments'.
Migration scripts were modified to let oracle users create the database. For the others, migration 41 will rename the columns (only if columns have the 'old' name).
Fixed also a few oracle specific issues.

Note: currently (in Rails 1.2.3), there's bug in Rails oracle adapter. See: http://dev.rubyonrails.org/ticket/7344
Attached patch is required for redMine to work properly.


git-svn-id: http://redmine.rubyforge.org/svn/trunk@479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-25 15:06:20 +00:00
Jean-Philippe Lang 5d8200b9fc Added missing parentheses on news/show and removed useless call to auto_link
git-svn-id: http://redmine.rubyforge.org/svn/trunk@455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-21 12:10:50 +00:00
Jean-Philippe Lang 30734ba8e8 Added toggle_link helper.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-07 18:56:12 +00:00
Jean-Philippe Lang 027bf93849 added svn:eol-style native property on /app files
git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-03-12 17:59:02 +00:00
Jean-Philippe Lang 486b4e9ea2 deprecated ":post => true" replaced
git-svn-id: http://redmine.rubyforge.org/svn/trunk@191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-01-26 21:09:27 +00:00
Jean-Philippe Lang 845460b165 deprecated start_form_tag replaced by form_tag
git-svn-id: http://redmine.rubyforge.org/svn/trunk@184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-01-26 19:56:25 +00:00
Jean-Philippe Lang 220641909c * all icons replaced (new icons are based on GPL icon set: "KDE Crystal Diamond 2.5" -by paolino- and "kNeu! Alpha v0.1" -by Pablo Fabregat-)
* fixed: subprojects count is always 0 on projects list

git-svn-id: http://redmine.rubyforge.org/svn/trunk@157 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-01-08 19:21:59 +00:00
Jean-Philippe Lang d7c015a884 removed "add a comment" h3
git-svn-id: http://redmine.rubyforge.org/svn/trunk@153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-01-06 12:47:20 +00:00
Jean-Philippe Lang 2dc3850798 added an icon on news comments
git-svn-id: http://redmine.rubyforge.org/svn/trunk@142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-01-02 15:27:10 +00:00
Jean-Philippe Lang 2b86ef8e28 various modifications to prevent xss
- validation of names and labels against /^[\w\s\'\-]*$/i
- html entities encoding

git-svn-id: http://redmine.rubyforge.org/svn/trunk@99 e93f8b46-1217-0410-a6f0-8f06a7374b81
2006-12-17 08:10:18 +00:00
Jean-Philippe Lang 236c735d08 contextual links redesign
git-svn-id: http://redmine.rubyforge.org/svn/trunk@93 e93f8b46-1217-0410-a6f0-8f06a7374b81
2006-12-16 12:15:31 +00:00
Jean-Philippe Lang 55ed70529a added model Comment.
comments can now be added on news.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@81 e93f8b46-1217-0410-a6f0-8f06a7374b81
2006-12-10 18:35:48 +00:00
Jean-Philippe Lang 96f83cc8f0 trunk moved from /trunk/redmine to /trunk
git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81
2006-12-05 20:45:04 +00:00