forgejo/routers/api/v1/repo
Gusted 029bcd361a [FEAT] Configure if protected branch rule should apply to admins
- Currently protected branch rules do not apply to admins, however in
some cases (like in the case of Forgejo project) you might also want to
apply these rules to admins to avoid accidental merges.
- Add new option to configure this on a per-rule basis.
- Adds integration tests.
- Resolves #65
2024-04-01 19:31:43 +00:00
..
action.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
avatar.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
blob.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
branch.go [FEAT] Configure if protected branch rule should apply to admins 2024-04-01 19:31:43 +00:00
collaborators.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
commits.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
file.go Remove repetitive words (#30091) 2024-03-30 07:17:30 +01:00
flags.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
fork.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
git_hook.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
git_ref.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
hook.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
hook_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue.go Performance improvements for pull request list page (#29900) 2024-03-26 19:04:26 +01:00
issue_attachment.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_comment.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
issue_comment_attachment.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_dependency.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_label.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_pin.go Performance improvements for pull request list page (#29900) 2024-03-26 19:04:26 +01:00
issue_reaction.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_stopwatch.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_subscription.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_tracked_time.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
key.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
label.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
language.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
migrate.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
milestone.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
mirror.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
notes.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
patch.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
pull.go Refactor StringsToInt64s (#29967) 2024-03-26 19:04:26 +01:00
pull_review.go Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 2024-03-30 07:17:32 +01:00
release.go Fix 500 when pushing release to an empty repo (#29554) 2024-03-06 12:10:47 +08:00
release_attachment.go Add support for API blob upload of release attachments (#29507) 2024-03-06 12:10:46 +08:00
release_tags.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
repo.go Fix schedule tasks bugs (#28691) 2024-03-25 16:25:02 +01:00
repo_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
runners.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
star.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
status.go Cache repository default branch commit status to reduce query on commit status table (#29444) 2024-03-11 23:36:58 +07:00
subscriber.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
tag.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
teams.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
topic.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
transfer.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
tree.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
wiki.go Fix an actions schedule bug (#28942) 2024-03-25 16:27:32 +01:00