]> source.dussan.org Git - gitea.git/commit
Add dismiss review feature (#12674)
authora1012112796 <1012112796@qq.com>
Thu, 11 Feb 2021 17:32:25 +0000 (01:32 +0800)
committerGitHub <noreply@github.com>
Thu, 11 Feb 2021 17:32:25 +0000 (18:32 +0100)
commitac701637b42d2d6bb5fe9b258f3f54959b6a505e
tree3020b45f25405036036c7d0cc0a7fc5007b5ab60
parentc69c01d2b6b08a89448b5596fd2233fa4e802ac3
Add dismiss review feature (#12674)

* Add dismiss review feature

refs:
    https://github.blog/2016-10-12-dismissing-reviews-on-pull-requests/
    https://developer.github.com/v3/pulls/reviews/#dismiss-a-review-for-a-pull-request

* change modal ui and error message

* Add unDismissReview api

Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
36 files changed:
integrations/api_pull_review_test.go
models/action.go
models/branches.go
models/fixtures/review.yml
models/issue_comment.go
models/issue_list.go
models/migrations/migrations.go
models/migrations/v170.go [new file with mode: 0644]
models/pull.go
models/review.go
models/review_test.go
modules/convert/pull_review.go
modules/forms/repo_form.go
modules/notification/action/action.go
modules/notification/base/notifier.go
modules/notification/base/null.go
modules/notification/mail/mail.go
modules/notification/notification.go
modules/notification/ui/ui.go
modules/structs/pull_review.go
modules/templates/helper.go
options/locale/locale_en-US.ini
routers/api/v1/api.go
routers/api/v1/repo/pull_review.go
routers/api/v1/swagger/options.go
routers/repo/issue.go
routers/repo/pull_review.go
routers/routes/web.go
services/mailer/mail.go
services/pull/review.go
templates/mail/issue/default.tmpl
templates/repo/issue/view_content/comments.tmpl
templates/repo/issue/view_content/pull.tmpl
templates/swagger/v1_json.tmpl
templates/user/dashboard/feeds.tmpl
web_src/js/index.js