forgejo/routers/user
zeripath d01763ee14
Protect against NPEs in notifications list (#10879)
Unfortunately there appears to be potential race with notifications
being set before the associated issue has been committed.

This PR adds protection in to the notifications list to log any failures
and remove these notifications from the display.

References #10815 - and prevents the panic but does not completely fix
this.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-03-29 20:51:14 +01:00
..
setting Use ErrKeyUnableToVerify if fail to calc fingerprint in ssh-keygen (#10863) 2020-03-28 19:24:55 +02:00
auth.go
auth_openid.go
avatar.go make avatar lookup occur at image request (#10540) 2020-03-27 14:34:39 +02:00
home.go Add Approval Counts to pulls list (#10238) 2020-03-06 03:44:06 +00:00
home_test.go Only serve attachments when linked to issue/release and if accessible by user (#9340) 2020-01-05 01:20:08 +02:00
main_test.go
notification.go Protect against NPEs in notifications list (#10879) 2020-03-29 20:51:14 +01:00
oauth.go
profile.go