forgejo/routers
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
..
api/v1 Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
common Rename context.Query to context.Form (#16562) 2021-07-29 03:42:15 +02:00
install Allow setting X-FRAME-OPTIONS (#16643) 2021-08-06 16:47:10 -04:00
private Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
utils just add some unit tests (#16291) 2021-06-29 22:00:02 +01:00
web Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
init.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00