Commit Graph

22 Commits

Author SHA1 Message Date
Toshi MARUYAMA 30919aa490 replace tabs to spaces at app/views/attachments/_form.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 01:12:17 +00:00
Toshi MARUYAMA 3b6cd02f1e rename .rhtml to .html.erb of app/views/attachments/diff.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@6577 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 05:07:42 +00:00
Toshi MARUYAMA d6531caffe rename .rhtml to .html.erb of app/views/attachments/file.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@6576 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 05:07:12 +00:00
Toshi MARUYAMA d04a210a8f rename .rhtml to .html.erb of app/views/attachments/_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@6575 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 05:06:50 +00:00
Toshi MARUYAMA a8985e8ac4 rename .rhtml to .html.erb of app/views/attachments/_links.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@6574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 05:06:22 +00:00
Toshi MARUYAMA 7d2098bc22 HTML escape at app/views/attachments/file.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:57:38 +00:00
Toshi MARUYAMA 500b29d84c HTML escape at app/views/attachments/diff.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:56:45 +00:00
Toshi MARUYAMA b94b7b9383 HTML escape at app/views/attachments/_links.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:54:18 +00:00
Jean-Philippe Lang f89483a206 REST API for reading attachments (#7671).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-18 20:53:10 +00:00
Jean-Philippe Lang e63f0c615c Adds a button to remove a file upload before submission (#5670).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 20:11:18 +00:00
Jean-Philippe Lang 73d9368039 Fixed: Add Another file to ticket doesn't work in IE (broken by r3750).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-07-25 10:34:55 +00:00
Eric Davis e320017cf0 Convert the file attachment's description to a label.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-05-25 00:11:58 +00:00
Jean-Philippe Lang 8887b6f3d3 Adds the filename to the html title of attachment view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-25 09:35:14 +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 9b579de9e2 Appends the filename to the attachment url so that clients that ignore content-disposition http header get the real filename (#1649).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-22 17:55:19 +00:00
Jean-Philippe Lang 80a7486f95 File viewer for attached text files.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-09 18:40:59 +00:00
Jean-Philippe Lang d77c1d2829 Unified diff viewer for attached files with .patch or .diff extension (#1403).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-08 18:26:39 +00:00
Jean-Philippe Lang cab300e650 Prevent page reloading if something goes wrong in the 'add more file' javascript.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-16 21:41:36 +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 24b000fb24 Slight change to issues/show.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-24 19:26:09 +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 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