List Info

Thread: Disable html output




Disable html output
user name
2007-12-21 04:34:11
Hi,

Is it possible to disable html output for certain file types or force Trac to consider some file types as having binary contents?

Typically I don't want my change set view to expand  (large) "hex" files. 

(Trac 0.10.4)

Regards,

Johan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users"; group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Re: Disable html output
user name
2007-12-21 05:27:26
> Is it possible to disable html output for certain file
types or force Trac
> to consider some file types as having binary contents?

You can use the svn MIME property for this. Trac won't
render binary files.
see svn:mime-type

I don't think this feature is really documented, though.

> Typically I don't want my change set view to expand 
(large) "hex" files.

There's also an option to tell Trac the maximum file size it
should render.
http://trac.edgewall.org/wiki/TracIni#changeset-section

HTH,
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Users" group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to
trac-users-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )