Project

General

Profile

Actions

Feature #2209

closed

MIME type support for repository Entries

Added by Vincent Castellano over 15 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-11-17
Due date:
% Done:

70%

Estimated time:
Resolution:
Fixed

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.


Files

MimeType.patch (1.02 KB) MimeType.patch Vincent Castellano, 2008-11-17 20:56
MimeType.patch (1016 Bytes) MimeType.patch Cleaned up a bit. Vincent Castellano, 2008-11-17 20:57
dl_repo_files_with_MimeType_r2823.patch (944 Bytes) dl_repo_files_with_MimeType_r2823.patch Chris Grieger, 2009-07-18 18:16

Related issues

Related to Redmine - Feature #4477: Use mime types in downloading from repositoryClosed2009-12-23

Actions
Related to Redmine - Defect #6256: Redmine considers non ASCII and UTF-16 text files as binary in SCMClosedToshi MARUYAMA2010-08-31

Actions
Related to Redmine - Patch #3770: text/html documents force currently firefox to open download dialogClosed2009-08-23

Actions
Related to Redmine - Feature #6374: File raw view modeClosedToshi MARUYAMA2010-09-12

Actions
Related to Redmine - Feature #5055: Set mime-type in response when downloading repository filesClosedToshi MARUYAMA2010-03-11

Actions
Related to Redmine - Defect #6370: UTF-8 BOM only partially hiddenClosed2010-09-12

Actions
Related to Redmine - Feature #4577: convert text file attached an issue to utf-8.Closed2010-01-14

Actions
Actions

Also available in: Atom PDF