sourcefabric/Newscoop — pull request #186 by petrjasek (2013-02-01 15:22:50+00:00)
Title: [WIP] Assets

We need a mechanism to deliver static assets from themes/plugins which won't be stored in web server document root. Asset handler will generate static asset from given file or glob under `/static` url. Later there will be option to use specific domain to optimize server load.

Based on kriswallsmith/assetic lib.

usage:

``````
merges all css files under `_css` folder and create single file

``````
generates single file based on path and mtime

``````
generates file with given filename e.g. `/static/logo.png`

todo:
* [x] Handle file/glob assets,
* [ ] Support for css filters - less/sass,
* [ ] Support for image filters,
* [ ] Support for js filters - min/closure,
* [ ] Add type specific template tags - `js/css/less/sass`,
* [ ] Support for `STATIC_URL` setting.