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
54bb145c76
Removed permissions logic from view.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 12:21:45 +00:00
Jean-Philippe Lang
0a8b35718a
Pass the message id when previewing in edit mode ( #10275 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 15:17:13 +00:00
Jean-Philippe Lang
3762a92a35
Pass the topic objet to #textilizable ( #10275 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 15:11:17 +00:00
Jean-Philippe Lang
435a634ac7
Preserve uploaded files when creating a forum topic.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 13:02:35 +00:00
Toshi MARUYAMA
413b0cc324
code layout clean up app/views/messages/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 08:04:57 +00:00
Toshi MARUYAMA
50a2a1321d
code layout clean up app/views/messages/edit.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 12:55:07 +00:00
Toshi MARUYAMA
f25aa90490
Rails3: view: use explicit post method at messages/edit.html.erb
...
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/boards/1/topics/1/edit"' error raises.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 12:54:24 +00:00
Jean-Philippe Lang
2967023a0e
Resourcified boards.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 21:14:09 +00:00
Toshi MARUYAMA
e76e7fd6ea
[ #9489 ] set id for message_subject and linked it to label, added invisible label
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:16:48 +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
0ba4548e6c
replace tabs to spaces at app/views/messages/_form.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 02:44:48 +00:00
Toshi MARUYAMA
72777ebb7e
replace tabs to spaces at app/views/messages/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 02:44:04 +00:00
Toshi MARUYAMA
2a352a86b1
remove trailing white-spaces from app/views/messages/edit.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 10:00:26 +00:00
Toshi MARUYAMA
338b42378e
remove trailing white-spaces from app/views/messages/new.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 09:59:57 +00:00
Toshi MARUYAMA
4fc27737dc
remove trailing white-spaces from app/views/messages/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 09:59:30 +00:00
Toshi MARUYAMA
225795f062
rename .rhtml to .html.erb of app/views/messages/_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@6597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 07:53:22 +00:00
Toshi MARUYAMA
3206bec673
rename .rhtml to .html.erb of app/views/messages/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@6596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 07:52:40 +00:00
Toshi MARUYAMA
1d970cfbfb
rename .rhtml to .html.erb of app/views/messages/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@6595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 07:51:58 +00:00
Toshi MARUYAMA
392d66713d
rename .rhtml to .html.erb of app/views/messages/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@6594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 07:51:13 +00:00
Jean-Philippe Lang
58f5d3ab09
Fixed: Syntax highlighting unavailable from board new topic or topic edit preview ( #7625 ).
...
Contributed by Etienne Massip.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-20 13:11:10 +00:00
Jean-Philippe Lang
91f7cbb79d
Fixed: Forum message permalinks don't take pagination into account ( #5945 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-07-25 10:02:12 +00:00
Jean-Philippe Lang
88339fd98b
Do not show 'Quote' links on locked topics ( #4749 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-06 14:15:52 +00:00
Jean-Philippe Lang
8fb29d4d21
Adds pagination to forum messages ( #4664 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-06 12:54:13 +00:00
Azamat Hackimov
d1c90d9abf
New strings to translate ( #4647 ):
...
* label_board_sticky: Sticky
* label_board_locked: Locked
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-01-25 17:26:02 +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
9c8daee045
Adds permalinks to message replies ( #3587 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-07-05 19:52:09 +00:00
Jean-Philippe Lang
ca166b30e1
Adds the ability to move threads between project forums ( #2452 ). 'Edit message' permission is required.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-05 10:08:11 +00:00
Jean-Philippe Lang
c83b41611a
Fixed: Contextual divs after attachments are placed incorrectly in FireFox ( #2633 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-01 14:36:38 +00:00
Jean-Philippe Lang
5d2899ee1b
AttachmentsController now handles attachments deletion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-09 16:54:46 +00:00
Jean-Philippe Lang
7a05f8ed66
Adds permissions to let users edit and/or delete their messages ( #854 , patch by Markus Knittig with slight changes).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2019 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-11 15:07:55 +00:00
Jean-Philippe Lang
16e09bfd77
Adds watch/unwatch functionality at forum topic level ( #1912 ).
...
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
2008-09-19 15:32:52 +00:00
Jean-Philippe Lang
bfd0fb067a
Adds posts quoting functionality ( #1825 ).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-28 18:56:47 +00:00
Jean-Philippe Lang
a40add57de
Adds HTML titles to forums related views.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-29 09:08:58 +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
a0f83e42e4
Hides the "Replies" heading below a message if there is no reply ( #1350 ).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-06 15:14:09 +00:00
Jean-Philippe Lang
1b8c5d4058
Fixed: can not display attached images inline in message replies.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-29 22:35:04 +00:00
Jean-Philippe Lang
b9e380c9fe
Add breadcrumb nav for the forums ( #892 ).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-27 18:41:42 +00:00
Jean-Philippe Lang
a4c6c62c8b
Added preview for forum messages.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-07 17:49:44 +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
9daf39ec52
Adds an optional description to attachments.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-29 19:46:58 +00:00
Jean-Philippe Lang
8b710cf9de
Do not show sticky and locked checkboxes when replying to a message.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-13 18:33:55 +00:00
Jean-Philippe Lang
29b3614bcb
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
2007-11-24 12:25:07 +00:00
Jean-Philippe Lang
7704e2d919
Forums: attachments can now be added to replies.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@923 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-22 19:19:47 +00:00
Jean-Philippe Lang
19f2853a2a
Boards: new message form displayed with no additional request.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-24 19:54:48 +00:00
Jean-Philippe Lang
603e11d7a5
Merged 0.6 branch into trunk.
...
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
2007-08-29 16:52:35 +00:00
Jean-Philippe Lang
70374d084e
Slight views refactoring
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-27 12:38:29 +00:00
Jean-Philippe Lang
f8ef65e8f6
Attachments can now be added to wiki pages (original patch by Pavol Murin). 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
2007-05-26 15:42:37 +00:00
Jean-Philippe Lang
b11dd1f213
Reply form on the message view is displayed only if user is logged in.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-14 17:07:40 +00:00