You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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
5 years ago
..
admin Move all mail related codes from models to services/mailer (#7200) 5 years ago
api/v1 Api: advanced settings for repository (external wiki, issue tracker etc.) (#7756) 5 years ago
dev Display ui time with customize time location (#7792) 5 years ago
org Fix repo_admin_change_team_access always checked in org settings (#8319) 5 years ago
private Use gitea forked macaron (#7933) 5 years ago
repo Move mirror to a standalone package from models (#7486) 5 years ago
routes Alwaywas return local url for users avatar (#8245) 5 years ago
user Alwaywas return local url for users avatar (#8245) 5 years ago
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 6 years ago
home.go Include description in repository search. (#7942) 5 years ago
init.go Move mirror to a standalone package from models (#7486) 5 years ago
install.go Move database settings from models to setting (#7806) 5 years ago
metrics.go Use gitea forked macaron (#7933) 5 years ago
swagger_json.go Swagger.v1.json template (#3572) 6 years ago