1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers/web/org
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
..
home.go Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
members.go Add modals to Organization and Team remove/leave (#16471) 2021-08-26 22:57:40 -04:00
org_labels.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
org.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
setting.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
teams.go Add modals to Organization and Team remove/leave (#16471) 2021-08-26 22:57:40 -04:00