forgejo/routers/web
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
..
admin [REFACTOR] Simplify converting struct to map in admin stats 2024-02-22 22:25:19 +01:00
auth Refactor more code in templates (#29236) 2024-02-19 22:58:32 +01:00
devtest
events
explore
feed Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
healthcheck
misc
org Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
repo Merge pull request '[FEAT] Enable ambiguous character detection in configured contexts' (#2427) from gusted/forgejo-ambigious-characters into forgejo 2024-02-24 12:25:31 +00:00
shared Refactor more code in templates (#29236) 2024-02-19 22:58:32 +01:00
user Fix missing template for follow button in organization (#29215) 2024-02-17 23:24:31 +01:00
base.go
githttp.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go Refactor more code in templates (#29236) 2024-02-19 22:58:32 +01:00
web.go Allow instance-wide disabling of forking 2024-02-25 12:00:17 +01:00
webfinger.go