1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/templates
a1012112796 b9850375fc
Add review request api (#11355)
* Add review request api

* add : POST /repos/{owner}/{repo}/pulls/{index}/requested_reviewers
* Remove : DELET /repos/{owner}/{repo}/pulls/{index}/requested_reviewers
* fix some request review bug
* block delet request review by models/DeleteReview()

Signed-off-by: a1012112796 <1012112796@qq.com>

* make fmt

* fix bug

* fix test code

* fix typo

* Apply suggestion from code review @jonasfranz

* fix swagger ref

* fix typo

Co-authored-by: Lauris BH <lauris@nix.lv>

* fix comment

* Change response message

* chang response so some simplfy

* Add ErrIllLegalReviewRequest
fix some nits

* make fmt

* Apply suggestions from code review

Co-authored-by: silverwind <me@silverwind.io>

* * Add team support
* fix test
* fix an known bug

* fix nit

* fix test

* Apply suggestions from code review

Co-authored-by: zeripath <art27@cantab.net>

* update get api and add test

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: zeripath <art27@cantab.net>
2020-10-20 14:18:25 -04:00
..
admin Add ssh certificate support (#12281) 2020-10-10 20:38:09 -04:00
base hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Make SVG size argument optional (#12814) 2020-09-11 16:19:00 -04:00
mail Add email notify for new release (#12463) 2020-08-23 16:03:18 +01:00
org Set appropriate autocomplete attributes on password fields (#13078) 2020-10-09 10:32:30 +03:00
pwa Move serviceworker to workbox and fix SSE interference (#11538) 2020-05-21 21:45:34 -04:00
repo Show stale label for stale code comment which is marked as resolved (#13213) 2020-10-20 00:48:04 -04:00
status Make error pages translatable (#11163) 2020-04-27 18:03:15 -05:00
swagger Add review request api (#11355) 2020-10-20 14:18:25 -04:00
user Add ssh certificate support (#12281) 2020-10-10 20:38:09 -04:00
home.tmpl Make SVG size argument optional (#12814) 2020-09-11 16:19:00 -04:00
install.tmpl Move install pages out of main macaron routes (#13195) 2020-10-19 17:03:08 -04:00
post-install.tmpl Move install pages out of main macaron routes (#13195) 2020-10-19 17:03:08 -04:00