forgejo/routers
Morgan Bazalgette 17655cdf1b Enable caching on assets and avatars (#3376)
* Enable caching on assets and avatars

Fixes #3323

* 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
2018-02-04 00:37:05 +02:00
..
admin Cleanup models.User.HashPassword (#3334) 2018-01-12 00:19:38 +02:00
api/v1 Fix API-Endpoint release (#3012) 2018-01-16 10:54:13 +02:00
dev
org Address issues pointed out by @lunny in #3339 (#3352) 2018-01-12 08:37:30 -06:00
private
repo Fix branch deletion for squash or rebase merged pull requests (#3425) 2018-01-30 14:29:39 +02:00
routes Enable caching on assets and avatars (#3376) 2018-02-04 00:37:05 +02:00
user Cleanup models.User.HashPassword (#3334) 2018-01-12 00:19:38 +02:00
utils
home.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
init.go
install.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00