6543 c97494a4f4
API: Add pull review endpoints (#11224)
* API: Added pull review read only endpoints

* Update Structs, move Conversion, Refactor

* refactor

* lint & co

* fix lint + refactor

* add new Review state, rm unessesary, refacotr loadAttributes, convert patch to diff

* add DeletePullReview

* add paggination

* draft1: Create & submit review

* fix lint

* fix lint

* impruve test

* DONT use GhostUser for loadReviewer

* expose comments_count of a PullReview

* infent GetCodeCommentsCount()

* fixes

* fix+impruve

* some nits

* Handle Ghosts 👻

* add TEST for GET apis

* complete TESTS

* add HTMLURL to PullReview responce

* code format as per @lafriks

* update swagger definition

* Update routers/api/v1/repo/pull_review.go

Co-authored-by: David Svantesson <davidsvantesson@gmail.com>

* add comments

Co-authored-by: Thomas Berger <loki@lokis-chaos.de>
Co-authored-by: David Svantesson <davidsvantesson@gmail.com>
2020-05-02 03:20:51 +03:00
..
2020-03-22 11:12:55 -04:00
2020-04-05 07:20:50 +01:00
2020-02-27 20:10:27 -03:00
2019-08-23 12:40:29 -04:00
2020-02-27 20:10:27 -03:00
2017-05-04 13:54:56 +08:00
2020-04-05 07:20:50 +01:00
2019-12-15 16:57:34 -05:00
2020-04-05 07:20:50 +01:00
2020-03-22 11:12:55 -04:00
2020-04-05 07:20:50 +01:00
2020-03-27 16:12:39 +02:00
2020-04-14 09:53:34 -04:00
2020-03-22 11:12:55 -04:00
2020-01-24 14:00:29 -05:00
2020-04-05 07:20:50 +01:00
2020-03-22 11:12:55 -04:00
2020-03-02 00:05:44 +02:00
2019-08-23 12:40:29 -04:00
2020-04-05 07:20:50 +01:00
2020-01-13 18:33:46 +01:00
2019-06-12 15:41:28 -04:00
2018-10-20 18:19:21 -04:00
2020-03-28 15:09:55 +02:00