Commit Graph

8 Commits (f04f7c91a32ef5b31907bd7f78e7fa9d3667b7ee)

Author SHA1 Message Date
Tamal Saha 171b359877 Use gitea forked macaron ()
Signed-off-by: Tamal Saha <tamal@appscode.com>
Lunny Xiao e503794371 remove unnecessary fmt on generate bindata ()
Lunny Xiao 83b90e4199 Use vfsgen instead of go-bindata ()
* use vfsgen instead of go-bindata

* fix templates

* fix fmt

* vendor vsfgen
zeripath dd13327382 When redirecting clean the path to avoid redirecting to //www.othersite.com ()
Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
Morgan Bazalgette 17655cdf1b Enable caching on assets and avatars ()
* Enable caching on assets and avatars

Fixes 

* Only set avatar in user BeforeUpdate when there is no avatar set

* add error checking after stat

* gofmt

* Change cache time for avatars to an hour
Thomas Boerger 78535fb08e Allow custom public files ()
* Allow custom public files

* Gofmt code, lots of places not related to this pr
Thomas Boerger 83ed234472 Integrate templates into bindata optionally ()
Integrated optional bindata for the templates
Thomas Boerger b6a95a8cb3 Integrate public as bindata optionally ()
* Dropped unused codekit config

* Integrated dynamic and static bindata for public

* Ignore public bindata

* Add a general generate make task

* Integrated flexible public assets into web command

* Updated vendoring, added all missiong govendor deps

* Made the linter happy with the bindata and dynamic code

* Moved public bindata definition to modules directory

* Ignoring the new bindata path now

* Updated to the new public modules import path

* Updated public bindata command and drop the new prefix