mirror of
1
Fork 0
forgejo/templates/repo/settings
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
..
webhook Add support for corporate WeChat webhooks (#15910) 2021-07-23 12:41:27 +08:00
branches.tmpl Use a special name for update default branch on repository setting (#15893) 2021-05-16 14:24:47 -04:00
collaboration.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
deploy_keys.tmpl Add placeholder text to deploy key textarea (#15575) 2021-04-21 16:19:32 -04:00
githook_edit.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
githooks.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
lfs.tmpl fix(settings): misaligned buttons (#15656) 2021-04-29 13:05:07 -04:00
lfs_file.tmpl Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
lfs_file_find.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
lfs_locks.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
lfs_pointers.tmpl Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
nav.tmpl Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
navbar.tmpl Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
options.tmpl Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
protected_branch.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
tags.tmpl Add tag protection (#15629) 2021-06-25 16:28:55 +02:00