1
0
Fork 0
forked from NYANDEV/forgejo
forgejo/routers
techknowlogick 779d1185e7
Prevent NPE on avatar direct rendering if federated avatars disabled () ()
 assumed that direct avatar urls would always be libravatar urls - this leads
to NPEs if federated avatar service is disabled.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: zeripath <art27@cantab.net>
2021-04-12 22:50:07 -04:00
..
admin Migrate to use jsoniter instead of encoding/json () 2021-03-01 22:08:10 +01:00
api/v1 Fix delete nonexist oauth application 500 and prevent deadlock () () 2021-04-11 04:57:44 +02:00
dev Display ui time with customize time location () 2019-08-15 22:46:21 +08:00
events Drop the event source if we are unauthorized () () 2021-04-04 20:39:22 -04:00
org Organization removal confirmation using name not password () 2021-03-01 16:33:05 +02:00
private Migrate to use jsoniter instead of encoding/json () 2021-03-01 22:08:10 +01:00
repo Fix CanCreateRepo check () () 2021-04-07 22:14:11 +02:00
routes Turn RepoRef and RepoAssignment back into func(*Context) () () 2021-04-09 22:24:40 -04:00
user Prevent NPE on avatar direct rendering if federated avatars disabled () () 2021-04-12 22:50:07 -04:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL () 2021-02-19 22:36:43 +01:00
home.go Add ui.explore settings to control view of explore pages (2) () 2021-03-11 13:40:54 +00:00
init.go Print usefull error if SQLite is used in settings but not supported () 2021-01-27 04:57:18 +01:00
install.go Add SameSite setting for cookies () 2021-03-07 08:12:43 +00:00
metrics.go Move metrics from macaron to chi () 2020-11-17 15:50:06 -05:00
swagger_json.go Move macaron to chi () 2021-01-26 16:36:53 +01:00