1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/routers/api/v1
Kyle Evans cad70599a6
Refactor the fork service slightly to take ForkRepoOptions (#16744)
* Refactor the fork service slightly to take ForkRepoOptions

This reduces the number of places we need to change if we want to add other
options during fork time.

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>

* Fix integrations and tests after ForkRepository refactor

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>

* Update OldRepo -> BaseRepo

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>

* gofmt pass

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
2021-08-28 16:37:14 +08:00
..
admin [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
misc Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
notify [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
org [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
repo Refactor the fork service slightly to take ForkRepoOptions (#16744) 2021-08-28 16:37:14 +08:00
settings Add custom emoji support (#16004) 2021-06-29 16:28:38 +02:00
swagger Add an api endpoint to fetch git notes (#15373) (#16649) 2021-08-11 03:01:40 +02:00
user [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
utils Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
api.go Add an api endpoint to fetch git notes (#15373) (#16649) 2021-08-11 03:01:40 +02:00