0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 02:22:46 +01:00
gitea/routers/api/v1
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 Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
misc Remove dependent on session auth for api/v1 routers (#19321) 2022-04-08 06:22:10 +02:00
notify Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
org Fix panic in teams API when requesting members (#19360) 2022-04-11 20:49:49 +08:00
packages Add Helm Chart registry (#19406) 2022-04-19 12:55:35 -04:00
repo When updating mirror repo intervals by API reschedule next update too (#19429) 2022-04-20 09:20:53 +01:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
swagger Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
user Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
utils Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
api.go Remove dependent on session auth for api/v1 routers (#19321) 2022-04-08 06:22:10 +02: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