Feature #6374

File raw view mode

Added by Ammler _ over 1 year ago. Updated about 1 year ago.

Status:Closed Start date:2010-09-12
Priority:Normal Due date:
Assignee:Toshi MARUYAMA % Done:

0%

Category:SCM
Target version:-
Resolution:

Description

in the repository view, you need to download a file to view the raw file. Would be nice to have this as option so you can view non binary files directly with browser.


Related issues

related to Feature #2209: MIME type support for repository Entries Assigned 2008-11-17
related to Defect #6256: Redmine considers non ASCII and UTF-16 text files as bina... Closed 2010-08-31

History

#1 Updated by Felix Schäfer over 1 year ago

Is there something wrong with the "view" link up in the repository single file view, like here?

#2 Updated by Ammler _ over 1 year ago

try to copy & paste a snippet from there

#3 Updated by Ammler _ over 1 year ago

it should be basically the Download but without forcing Download

#4 Updated by Toshi MARUYAMA about 1 year ago

  • Category set to SCM

#5 Updated by Toshi MARUYAMA about 1 year ago

  • Status changed from New to Assigned
  • Assignee set to Toshi MARUYAMA

#6 Updated by Toshi MARUYAMA about 1 year ago

  • Status changed from Assigned to Closed

I implemented this feature in #6256.
Detecting text or binary is very difficult.
UTF-16 has '\0'.
So, I use file extension.

#7 Updated by Ammler _ about 1 year ago

thanks, I need to update my redmine :-)

Also available in: Atom PDF