gitea/modules/structs
6543 c97494a4f4
API: Add pull review endpoints ()
* 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>
..
admin_user.go Move sdk structs to modules/structs ()
attachment.go Fix wrong hint when status checking is running on pull request view ()
commit_status.go Fix wrong hint when status checking is running on pull request view ()
doc.go
fork.go
git_blob.go Move sdk structs to modules/structs ()
git_hook.go Move sdk structs to modules/structs ()
hook.go Granular webhook events ()
issue.go [API] expose RepoOwner on Issue responce ()
issue_comment.go Display original author and URL information when showing migrated issues/comments ()
issue_label.go [API] Fix inconsistent label color format ()
issue_milestone.go Move sdk structs to modules/structs ()
issue_reaction.go [API] Fix 9544 | return 200 when reaction already exist ()
issue_stopwatch.go [API] extend StopWatch ()
issue_tracked_time.go [API] Extend times API ()
lfs_lock.go
miscellaneous.go API method to list all commits of a repository ()
notifications.go [API] add endpoint to check notifications [Extend ] ()
org.go Add teams to repo on collaboration page. ()
org_member.go Move sdk structs to modules/structs ()
org_team.go [API] orgEditTeam make Fields optional ()
org_type.go
pull.go Fix API deadline removal ()
pull_review.go API: Add pull review endpoints ()
release.go Add single release page and latest redirect ()
repo.go Add support for migrating from Gitlab ()
repo_branch.go Prevent merge of outdated PRs on protected branches ()
repo_collaborator.go
repo_commit.go [API] Extend contents with dates ()
repo_file.go [API] Extend contents with dates ()
repo_key.go
repo_refs.go
repo_tag.go Fixes - Adds the /git/tags API endpoint ()
repo_topic.go Add API endpoint for accessing repo topics ()
repo_tree.go
repo_watch.go
status.go Move sdk structs to modules/structs ()
task.go Move migrating repository from frontend to backend ()
user.go Add LastLogin to the User API ()
user_app.go Remove Unused Functions ()
user_email.go Move sdk structs to modules/structs ()
user_gpgkey.go Move sdk structs to modules/structs ()
user_key.go Move sdk structs to modules/structs ()