forgejo/routers/api/v1/repo
David Svantesson 90ab3056eb Api: advanced settings for repository (external wiki, issue tracker etc.) (#7756)
* Add API for Repo Advanced Settings of wiki and issue tracker

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Add some integration tests for tracker and wiki settings through API

* Should return StatusUnprocessableEntity in case of invalid API values.

* Add tests for invalid URLs for external tracker and wiki.

* Do not set inital values if they are default of type

* Make issue tracker and wiki units separate structures in Repository API structure.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Fix comment of structures

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Rewrite API to use struct for setting tracker and wiki settings.

* LetOnlyContributorsTrackTime -> AllowOnlyContributorsToTrackTime
2019-10-02 17:30:41 +08:00
..
blob.go
branch.go
collaborators.go
commits.go
file.go
fork.go
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go Extract actions on new issue from models to services (#8217) 2019-09-30 21:50:44 +08:00
issue_comment.go Move create issue comment to comments package (#8212) 2019-09-24 13:39:50 -04:00
issue_label.go
issue_tracked_time.go
key.go
label.go
main_test.go
milestone.go
pull.go Extract actions on new pull request from models to pulls service and move code.gitea.io/gitea/modules/pull to code.gitea.io/gitea/services/pull (#8218) 2019-09-27 08:22:36 +08:00
release.go Extract actions on deletereleasebyid from models to release service (#8219) 2019-10-01 00:10:00 +08:00
release_attachment.go Fix API for edit and delete release attachment (#8285) 2019-09-27 10:24:06 +08:00
repo.go Api: advanced settings for repository (external wiki, issue tracker etc.) (#7756) 2019-10-02 17:30:41 +08:00
repo_test.go
star.go
status.go
subscriber.go
tag.go
topic.go
tree.go