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
database_sqlite.go
database_test.go
database.go
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
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
picture.go
project.go
proxy.go
queue.go
repository.go
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