0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 08:54:17 -05:00
forgejo/modules/web/middleware
Gergely Nagy bee88f6a83
[GITEA] Configurable clone methods
Adds `[repository].DOWNLOAD_OR_CLONE_METHODS` (defaulting to
"download-zip,download-targz,download-bundle,vscode-clone"), which lets
an instance administrator override the additional clone methods
displayed on the repository home view.

This is purely display-only, the clone methods not listed here are still
available, unless disabled elsewhere. They're just not displayed.

Fixes #710.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit 2aadcf4946)
(cherry picked from commit 42ac34fbf9)
(cherry picked from commit bd231b0245)
(cherry picked from commit 3d3366dbbe)
(cherry picked from commit 0157fb9b88)
2024-01-28 10:55:00 +01:00
..
binding.go [GITEA] add option for banning dots in usernames 2024-01-28 09:22:15 +01:00
cookie.go
data.go [GITEA] Configurable clone methods 2024-01-28 10:55:00 +01:00
flash.go Fix "Flash" message usage (#25895) 2023-07-15 11:52:03 +03:00
locale.go
request.go