gitea/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_openid.go Various fixes in login sources (#10428) 2020-02-23 13:52:05 -06:00
auth.go Admin page for managing user e-mail activation (#10557) 2020-03-02 15:25:36 -03:00
avatar.go make avatar lookup occur at image request (#10540) 2020-03-27 14:34:39 +02: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
home.go Add Approval Counts to pulls list (#10238) 2020-03-06 03:44:06 +00:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
notification.go Protect against NPEs in notifications list (#10879) 2020-03-29 20:51:14 +01:00
oauth.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
profile.go Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00