gitea/routers/api/v1/repo
6543 63d7cbcef1
Make mirror feature more configurable (#16957)
Rename`[repository]` `DISABLE_MIRRORS` to `[mirror]` `DISABLE_NEW_PULL`  and add `ENABLED` and `DISABLE_NEW_PUSH` with the below meanings:

- `ENABLED`: **true**: Enables the mirror functionality. Set to **false** to disable all mirrors.
- `DISABLE_NEW_PULL`: **false**: Disable the creation of **new** mirrors. Pre-existing mirrors remain valid.
- `DISABLE_NEW_PUSH`: **false**: Disable the creation of **new** push mirrors. Pre-existing mirrors remain valid.


Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: delvh <dev.lh@web.de>
2021-09-07 17:49:36 +02:00
..
blob.go
branch.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
collaborators.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
commits.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
file.go Rename context.Query to context.Form (#16562) 2021-07-29 03:42:15 +02:00
fork.go Refactor the fork service slightly to take ForkRepoOptions (#16744) 2021-08-28 16:37:14 +08:00
git_hook.go
git_ref.go Let branch/tag name be a valid ref to get CI status (#16400) 2021-07-13 08:14:14 +01:00
hook.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
hook_test.go
issue.go Add filter by owner and team to issue/pulls search endpoint (#16662) 2021-08-13 22:47:25 +02:00
issue_comment.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
issue_label.go
issue_reaction.go [refactor] Unify the export of user data via API (#15144) 2021-03-27 17:45:26 +01:00
issue_stopwatch.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
issue_subscription.go [refactor] Unify the export of user data via API (#15144) 2021-03-27 17:45:26 +01:00
issue_tracked_time.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
key.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
label.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
language.go
main_test.go
migrate.go Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
milestone.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
mirror.go Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
notes.go Add an api endpoint to fetch git notes (#15373) (#16649) 2021-08-11 03:01:40 +02:00
pull.go Ensure that rebase conflicts are handled in updates (#16952) 2021-09-05 10:30:40 +01:00
pull_review.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
release.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
release_attachment.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
release_tags.go
repo.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
repo_test.go
star.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
status.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
subscriber.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
tag.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
teams.go
topic.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
transfer.go Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 2021-03-01 01:47:30 +01:00
tree.go Rename context.Query to context.Form (#16562) 2021-07-29 03:42:15 +02:00