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 Allow adding collaborators with (fullname) (#3103) 2017-12-07 15:00:09 +08:00
home.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
init.go Set session and indexers' data files rel to AppDataPath (#2192) 2017-11-03 10:56:20 +02:00
install.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00