]> source.dussan.org Git - gitea.git/commit
Add notification interface and refactor UI notifications (#5085)
authorLunny Xiao <xiaolunwen@gmail.com>
Thu, 18 Oct 2018 11:23:05 +0000 (19:23 +0800)
committerGitHub <noreply@github.com>
Thu, 18 Oct 2018 11:23:05 +0000 (19:23 +0800)
commitea619b39b2f2a3c1fb5ad28ebd4a269b2f822111
treeef101ad2b39dc5be1744e4488bcdd5beab16e45d
parentdd62ca7ba9b49e799a8bea896cff1b209f813b7e
Add notification interface and refactor UI notifications (#5085)

* add notification interface and refactor UI notifications

* add missing methods on notification interface and notifiy only issue status really changed

* implement NotifyPullRequestReview for ui notification
models/issue.go
models/review.go
modules/notification/base/base.go [new file with mode: 0644]
modules/notification/notification.go
modules/notification/ui/ui.go [new file with mode: 0644]
routers/api/v1/repo/issue.go
routers/api/v1/repo/issue_comment.go
routers/api/v1/repo/pull.go
routers/repo/issue.go
routers/repo/pull.go
routers/repo/pull_review.go