Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 12:46:09 +01:00
forgejo/routers/api/v1
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
..
admin Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
convert Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
misc Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
org API endpoint for searching teams. (#8108) 2019-10-01 13:32:28 +08:00
repo Api: advanced settings for repository (external wiki, issue tracker etc.) (#7756) 2019-10-02 17:30:41 +08:00
swagger Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
user Remove legacy handling of drone token (#8191) 2019-09-17 15:13:24 +03:00
utils Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
api.go API endpoint for searching teams. (#8108) 2019-10-01 13:32:28 +08:00