gitea/modules/setting
wxiaoguang 54ef658861
Refactor SSH init code, fix directory creation for TrustedUserCAKeys file (#20299) (#20306)
Backport #20299. Follow #20298. Only the `GlobalInitInstalled` function should prepare the SSH files for external server or starts the builtin server.
* `trustedUserCaKeys` is removed, use `SSH.TrustedUserCAKeys` directly
* introduce `ssh.Init`, move the SSH init code from `routers/init.go` to it
* `ssh.Init` will start builtin SSH server or prepare external SSH server files
2022-07-11 23:27:51 +08:00
..
attachment.go Update default allowed attachment types (#20193) 2022-07-01 19:37:52 +08:00
cache.go
cors.go
cron_test.go
cron.go Allow extended config on cron settings (#12939) 2020-09-25 09:58:09 +01:00
database_sqlite.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
database_test.go
database.go Add deprecated log when using MySQL with utf8 charset (#19952) 2022-06-13 20:55:08 +08:00
directory.go
federation.go Disable federation by default (#20045) (#20046) 2022-06-20 14:44:55 +08:00
git.go Use git.HOME_PATH for Git HOME directory (#20114) (#20293) 2022-07-08 21:44:36 +08:00
i18n.go Uppercase first languages letters (#19965) 2022-06-15 12:08:49 +02:00
indexer_test.go
indexer.go
lfs.go
log.go Update go tool dependencies (#19676) 2022-05-10 23:55:54 +02:00
mailer.go
markup.go Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
migrations.go
mime_type_map.go
mirror.go
oauth2_client.go
packages.go Fixed registry host value. (#19363) 2022-04-10 19:57:36 +08:00
picture.go
project.go
proxy.go
queue.go
repository.go Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
service.go
session.go
setting_test.go
setting.go Refactor SSH init code, fix directory creation for TrustedUserCAKeys file (#20299) (#20306) 2022-07-11 23:27:51 +08:00
storage_test.go
storage.go
task.go
webhook.go