0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 12:35:08 +01:00
gitea/models/issues
qwerty287 3cab9c6b0c
Add API to manage issue dependencies (#17935)
Adds API endpoints to manage issue/PR dependencies
* `GET /repos/{owner}/{repo}/issues/{index}/blocks` List issues that are
blocked by this issue
* `POST /repos/{owner}/{repo}/issues/{index}/blocks` Block the issue
given in the body by the issue in path
* `DELETE /repos/{owner}/{repo}/issues/{index}/blocks` Unblock the issue
given in the body by the issue in path
* `GET /repos/{owner}/{repo}/issues/{index}/dependencies` List an
issue's dependencies
* `POST /repos/{owner}/{repo}/issues/{index}/dependencies` Create a new
issue dependencies
* `DELETE /repos/{owner}/{repo}/issues/{index}/dependencies` Remove an
issue dependency

Closes https://github.com/go-gitea/gitea/issues/15393
Closes #22115

Co-authored-by: Andrew Thornton <art27@cantab.net>
2023-03-28 13:23:25 -04:00
..
assignees_test.go
assignees.go
comment_code.go
comment_list.go
comment_test.go
comment.go
content_history_test.go
content_history.go
dependency_test.go
dependency.go Add API to manage issue dependencies (#17935) 2023-03-28 13:23:25 -04:00
issue_index.go
issue_list_test.go
issue_list.go
issue_lock.go
issue_project.go
issue_test.go
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref_test.go
issue_xref.go
issue.go Add API to manage issue dependencies (#17935) 2023-03-28 13:23:25 -04:00
label_test.go Add loading yaml label template files (#22976) 2023-03-02 01:44:23 +02:00
label.go Add loading yaml label template files (#22976) 2023-03-02 01:44:23 +02:00
main_test.go
milestone_test.go
milestone.go
pull_list.go Fix cannot reopen after pushing commits to a closed PR (#23189) 2023-03-03 21:16:58 +08:00
pull_test.go Fix cannot reopen after pushing commits to a closed PR (#23189) 2023-03-03 21:16:58 +08:00
pull.go add user rename endpoint to admin api (#22789) 2023-03-14 03:45:21 -04:00
reaction_test.go
reaction.go
review_test.go
review.go
stopwatch_test.go Speed up HasUserStopwatch & GetActiveStopwatch (#23051) 2023-02-27 13:46:00 -05:00
stopwatch.go Speed up HasUserStopwatch & GetActiveStopwatch (#23051) 2023-02-27 13:46:00 -05:00
tracked_time_test.go
tracked_time.go