You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1
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>
4 years ago
..
admin [API] List limited and private orgs if authentificated (#16866) 4 years ago
misc Refactor renders (#15175) 4 years ago
notify [API] generalize list header (#16551) 4 years ago
org [API] List limited and private orgs if authentificated (#16866) 4 years ago
repo Make mirror feature more configurable (#16957) 4 years ago
settings Make mirror feature more configurable (#16957) 4 years ago
swagger Add an api endpoint to fetch git notes (#15373) (#16649) 4 years ago
user [API] List limited and private orgs if authentificated (#16866) 4 years ago
utils Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 4 years ago
api.go Add an api endpoint to fetch git notes (#15373) (#16649) 4 years ago