1
0
Fork 0
forgejo/modules
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
..
auth Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
avatar Improve handling of non-square avatars (#7025) 2019-05-25 14:46:14 +03:00
base Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
cache Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
charset Fix utf8 tests (#8192) 2019-09-21 13:01:34 -04:00
context Do only show teams access for organization repositories, not for personal repositories (#8265) 2019-09-24 09:30:40 +08:00
cron Move mirror to a standalone package from models (#7486) 2019-10-01 21:40:17 +08:00
generate Integrate OAuth2 Provider (#5378) 2019-03-08 11:42:50 -05:00
git Adds side-by-side diff for images (#6784) 2019-09-16 17:03:22 +08:00
gzip Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 2019-08-05 23:48:31 +08:00
httplib Add golangci (#6418) 2019-06-12 15:41:28 -04:00
indexer Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
lfs Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
log Fix data race (#8204) 2019-09-17 12:39:37 +03:00
markup Make link last commit massages in repository home page and commit tables (#8006) 2019-09-10 12:03:30 +03:00
metrics Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
migrations fix bug when migrating a private repository (#7917) 2019-08-20 21:21:07 +01:00
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 2017-03-09 09:27:43 +08:00
notification Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
options Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
pprof Add golangci (#6418) 2019-06-12 15:41:28 -04:00
private Attempt to fix hook problem (#7854) 2019-08-14 12:25:05 +03:00
process Fix run command race (#1470) 2017-11-13 22:51:45 +08:00
public Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
recaptcha Allow Recaptcha service url to be configured (#6820) 2019-05-02 16:09:39 +03:00
repofiles Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
search Global code search support (#3664) 2018-03-16 22:04:33 +08:00
secret Integrate OAuth2 Provider (#5378) 2019-03-08 11:42:50 -05:00
session Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
setting Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
ssh Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
structs Api: advanced settings for repository (external wiki, issue tracker etc.) (#7756) 2019-10-02 17:30:41 +08:00
sync Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
templates Move mirror to a standalone package from models (#7486) 2019-10-01 21:40:17 +08:00
test Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
timeutil Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
upload Fix upload file type check (#7890) 2019-08-17 13:10:17 +03:00
user Add golangci (#6418) 2019-06-12 15:41:28 -04:00
util Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
validation Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00