Feature #2209
MIME type support for repository Entries
Status: | New | Start date: | 2008-11-17 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 70% | ||
Category: | SCM | ||||
Target version: | - | ||||
Resolution: |
Description
I didn't like that images didn't just load in the browser that were in a repository, and felt there should be some MIME support, so I gave it a shot. I think it works for any files (with MIME type or not, which just defaults to the old behavior). I don't know the Redmine code base well, and I'm not a Ruby programmer, so it was a quick attempt.
Related issues
History
#1
Updated by Vincent Castellano about 12 years ago
- File MimeType.patch
added
#2
Updated by Chris Cummer about 12 years ago
A slight fix: I think line #125 should read:
send_data @content, :filename => fn, :type => type, :disposition => 'inline'
rather than:
send_data @content, :filename => fn, :type => type, => 'inline'
#3
Updated by Patrick Hurrelmann about 12 years ago
+1, I like it very much. It keeps annoying me that files won't open in the browser even if the mime-type in the repository are set properly.
#4
Updated by Ammler _ over 11 years ago
+1
#5
Updated by Chris Grieger over 11 years ago
- File dl_repo_files_with_MimeType_r2823.patch
added
Patch for the current #2823 revision.
#6
Updated by Toshi MARUYAMA almost 10 years ago
- Category set to SCM
#7
Updated by Toshi MARUYAMA almost 10 years ago
- Status changed from New to 7
- Assignee set to Toshi MARUYAMA
#8
Updated by Toshi MARUYAMA almost 10 years ago
- Tracker changed from Patch to Feature
#9
Updated by Toshi MARUYAMA almost 10 years ago
- % Done changed from 0 to 70
#10
Updated by Jean-Philippe Lang about 8 years ago
- Status changed from 7 to New
#11
Updated by Toshi MARUYAMA about 8 years ago
- Assignee deleted (
Toshi MARUYAMA)