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/web
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 Improve SMTP authentication and Fix user creation bugs (#16612) 4 years ago
dev Refactor routers directory (#15800) 4 years ago
events Add an abstract json layout to make it's easier to change json library (#16528) 4 years ago
explore Related refactors to ctx.FormX functions (#16567) 4 years ago
org Make mirror feature more configurable (#16957) 4 years ago
repo Make mirror feature more configurable (#16957) 4 years ago
user Add Cache-Control to avatar redirects (#16973) 4 years ago
base.go Allow setting X-FRAME-OPTIONS (#16643) 4 years ago
goget.go Related refactors to ctx.FormX functions (#16567) 4 years ago
home.go Refactor routers directory (#15800) 4 years ago
metrics.go Refactor routers directory (#15800) 4 years ago
swagger_json.go Refactor routers directory (#15800) 4 years ago
web.go Fix wiki raw commit diff/patch view (#16891) 4 years ago