]> source.dussan.org Git - gitea.git/commit
Add attachments for PR reviews (#16075)
authorKN4CK3R <admin@oldschoolhack.me>
Tue, 15 Jun 2021 01:12:33 +0000 (03:12 +0200)
committerGitHub <noreply@github.com>
Tue, 15 Jun 2021 01:12:33 +0000 (21:12 -0400)
commitebf253b841d56c5cb1e57cb1e5e50c06d315bdee
tree703f8c4d0302e578d402d6aa42635852303026df
parent0adcea9ba6946e9479314e188afe53dcb39da6b0
Add attachments for PR reviews (#16075)

* First step for multiple dropzones per page.

* Allow attachments on review comments.

* Lint.

* Fixed accidental initialize of the review textarea.

* Initialize SimpleMDE textarea.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
15 files changed:
models/issue_comment.go
models/review.go
routers/api/v1/repo/pull_review.go
routers/web/repo/pull.go
routers/web/repo/pull_review.go
services/forms/repo_form.go
services/pull/review.go
templates/repo/diff/new_review.tmpl
templates/repo/editor/upload.tmpl
templates/repo/issue/comment_tab.tmpl
templates/repo/issue/view_content.tmpl
templates/repo/issue/view_content/comments.tmpl
templates/repo/release/new.tmpl
templates/repo/upload.tmpl
web_src/js/index.js