forgejo/routers/api/v1/repo
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
..
blob.go
branch.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
collaborators.go
commits.go
file.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
fork.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go Move milestone to models/issues/ (#19278) 2022-04-08 17:11:15 +08:00
issue_comment.go Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
issue_label.go
issue_reaction.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
key.go
label.go Move init repository related functions to modules (#19159) 2022-03-29 15:23:45 +08:00
language.go
main_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
migrate.go Document 409 error returned by repos/migrate api (#19376) 2022-04-12 16:13:07 +08:00
milestone.go Move milestone to models/issues/ (#19278) 2022-04-08 17:11:15 +08:00
mirror.go An attempt to sync a non-mirror repo must give 400 (Bad Request) (#19300) 2022-04-01 14:29:57 -04:00
notes.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
patch.go
pull.go Move milestone to models/issues/ (#19278) 2022-04-08 17:11:15 +08:00
pull_review.go Move milestone to models/issues/ (#19278) 2022-04-08 17:11:15 +08:00
release.go
release_attachment.go
release_tags.go
repo.go When updating mirror repo intervals by API reschedule next update too (#19429) 2022-04-20 09:20:53 +01:00
repo_test.go
star.go
status.go
subscriber.go
tag.go
teams.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
topic.go
transfer.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
tree.go
wiki.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00