0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 13:35:04 +01:00
gitea/routers/web
zeripath 409ff55a29
When updating mirror repo intervals by API reschedule next update too (#19429)
When a mirror repo interval is updated by the UI it is rescheduled with that interval
however the API does not do this. The API also lacks the enable_prune option.

This PR adds this functionality in to the API Edit Repo endpoint.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-04-20 09:20:53 +01:00
..
admin Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
auth Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
dev
events
explore Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
feed Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
misc Remove dependent on session auth for api/v1 routers (#19321) 2022-04-08 06:22:10 +02:00
org Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
repo When updating mirror repo intervals by API reschedule next update too (#19429) 2022-04-20 09:20:53 +01:00
user Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
auth.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
auth_windows.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
base.go
goget.go Refactor legacy unknwon/com package, improve golangci lint (#19284) 2022-04-01 16:47:50 +08:00
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Fix middleware function's placements for some /user/... (#19377) 2022-04-12 10:02:58 +08:00