gitea/routers
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
api/v1 Api: advanced settings for repository (external wiki, issue tracker etc.) (#7756) 2019-10-02 17:30:41 +08:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Fix repo_admin_change_team_access always checked in org settings (#8319) 2019-09-30 02:20:27 +03:00
private Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo Move mirror to a standalone package from models (#7486) 2019-10-01 21:40:17 +08:00
routes Alwaywas return local url for users avatar (#8245) 2019-09-26 12:21:23 -04:00
user Alwaywas return local url for users avatar (#8245) 2019-09-26 12:21:23 -04:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
init.go Move mirror to a standalone package from models (#7486) 2019-10-01 21:40:17 +08:00
install.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00