mirror of
1
Fork 0
forgejo/modules/setting
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
..
config
actions.go [CI] DEFAULT_ACTIONS_URL = https://code.forgejo.org 2024-01-28 07:47:32 +01:00
actions_test.go [CI] DEFAULT_ACTIONS_URL = https://code.forgejo.org 2024-01-28 07:47:32 +01:00
admin.go [GITEA] notifies admins on new user registration 2024-01-28 10:47:53 +01:00
api.go
asset_dynamic.go
asset_static.go
attachment.go
attachment_test.go
cache.go Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
camo.go
config.go
config_env.go
config_env_test.go
config_provider.go [GITEA] add GetFile to config provider 2024-01-28 08:19:25 +01:00
config_provider_test.go
cors.go Refactor CORS handler (#28587) 2023-12-25 20:13:18 +08:00
cron.go
cron_test.go
database.go [GITEA] Add slow SQL query warning 2024-01-28 09:22:15 +01:00
database_sqlite.go
database_test.go Fix incorrect PostgreSQL connection string for Unix sockets (#28865) 2024-01-20 16:04:47 +00:00
federation.go
forgejo_storage_test.go [TESTS] verify facts for the admin storage documentation 2024-01-28 08:19:25 +01:00
git.go
git_test.go
highlight.go
i18n.go
incoming_email.go
indexer.go Allow skipping forks and mirrors from being indexed (#23187) 2023-05-25 16:13:47 +08:00
indexer_test.go
lfs.go
lfs_test.go
log.go
log_test.go
mailer.go
mailer_test.go
markup.go
metrics.go
migrations.go
mime_type_map.go
mirror.go
oauth2.go Normalize oauth email username (#28561) 2024-01-03 18:48:20 -06:00
other.go
packages.go
packages_test.go
path.go
path_test.go
picture.go Fix all possible setting error related storages and added some tests (#23911) 2023-06-14 11:42:38 +08:00
project.go
proxy.go
queue.go
repository.go [GITEA] Configurable clone methods 2024-01-28 10:55:00 +01:00
repository_archive.go
repository_archive_test.go
security.go Warn that `DISABLE_QUERY_AUTH_TOKEN` is false only if it's explicitly defined (#28783) 2024-01-14 21:20:18 +01:00
server.go Avoid cycle-redirecting user/login page (#28636) 2023-12-30 08:48:34 +00:00
service.go [GITEA] add option for banning dots in usernames 2024-01-28 09:22:15 +01:00
service_test.go
session.go
setting.go [SEMVER] store SemVer in ForgejoSemVer after a database upgrade 2024-01-28 08:19:25 +01:00
setting_test.go
ssh.go
storage.go
storage_test.go
task.go
time.go
ui.go Add global setting how timestamps should be rendered (#28657) 2024-01-02 09:25:30 +08:00
webhook.go