On Jul 31, 2010, at 4:33 PM, Mitar wrote:

> Hi!
> 
> I would like to turn your attention to those two tickets:
> 
> http://trac.edgewall.org/ticket/2141
> http://trac.edgewall.org/ticket/6014
> 
> Would it be possible to include this in the 0.13 release? Currently
> attachment system is really old-fashioned and it is hard to attach
> multiple files (like multiple images for a gallery) at the same time.
> Also preprocessing would be great to allow attaching compressed file
> which would be extracted on the server and postprocessing to allow for
> example images to be scaled or thumbnails automatically created.
> 
> I would propose that only hooks for pre/post processing would be made
> so that plugins would then be possible for things I described above
> and much more other will develop. Also current "replace existing file"
> could be then implemented using such hooks.
> 
> For multi-file attachments HTML5 features could be used so that it
> would be possible to select multiple files in a dialog box. Also
> drag&drop would be useful. But I do not know how can this coexists
> with Trac's strict XHTML.
> 
> This would greatly improve usefulness and user friendliness of the
> attachment system.

At the very least the encode/decode handler stuff seems like it could be 
flushed out in a plugin. I'm not really sure how generally useful the extension 
point would be beyond this rather contrived use case (there are also file 
systems that automatically compress their contents that you could use instead). 
Mutli-file upload via HTML5 isn't useful for wide deployment yet, and the JS 
based solutions seem unfortunately messy. It does seem like a nice feature, so 
maybe if the grossness can be scaled back a bit it would be more palatable to 
me. Also, if you want it in a release, are you volunteering to write it? ;-)

--Noah

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to