forgejo/routers
zeripath 08eecba32b
When updating mirror repo intervals by API reschedule next update too (#19429) (#19433)
Backport #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 16:04:26 +02:00
..
api/v1 When updating mirror repo intervals by API reschedule next update too (#19429) (#19433) 2022-04-20 16:04:26 +02:00
common Instead of using routerCtx just escape the url before routing (#18086) 2021-12-25 00:50:49 +08:00
install Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
private Fix the bug: deploy key with write access can not push (#19010) (#19182) 2022-03-23 13:44:41 +00:00
utils A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web When updating mirror repo intervals by API reschedule next update too (#19429) (#19433) 2022-04-20 16:04:26 +02:00
init.go Handle email address not exist (#19089) (#19121) 2022-03-19 11:35:23 +00:00