0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 09:24:07 -05:00
forgejo/routers/api
Gergely Nagy 0ea021c8c9
Allow instance-wide disabling of forking
For small, personal self-hosted instances with no user signups, the fork
button is just a noise. This patch allows disabling them like stars can
be disabled too.

Disabling forks does not only remove the buttons from the web UI, it
also disables the routes that could be used to create forks.

Fixes #2441.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-02-25 12:00:17 +01:00
..
actions Add support for action artifact serve direct (#29120) 2024-02-17 23:24:31 +01:00
forgejo/v1 [CLEANUP] Reuse ForgejoVersion variable 2024-02-05 14:45:11 +01:00
packages Fix Alpine Registry packages with noarch not being found (#2285) 2024-02-11 18:02:56 +00:00
v1 Allow instance-wide disabling of forking 2024-02-25 12:00:17 +01:00