]> source.dussan.org Git - gitea.git/commit
Improve notification (#8835)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 12 Nov 2019 08:33:34 +0000 (16:33 +0800)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2019 08:33:34 +0000 (16:33 +0800)
commitbb6879d339d83e598a3d9f0974734cd591394369
treebc2f40210a5c7a7f30b620fb7fd1efc6ca7ffc07
parent555b1f658198449670c77839bccf010e33ca74db
Improve notification (#8835)

* Improve notifications

* batch load user

* Update notification only when read

* Fix reorder

* fix lint

* fix test

* fix lint

* make function meaningful

* fix comment
models/migrations/migrations.go
models/migrations/v108.go [new file with mode: 0644]
models/notification.go
models/notification_test.go
modules/notification/ui/ui.go
routers/user/notification.go
templates/user/notification/notification.tmpl