forgejo/routers
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
..
api Only show Followers that current user can access (#20220) (#20252) 2022-07-06 22:03:23 +01:00
common Fix raw endpoint PDF file headers (#19825) 2022-05-28 18:10:14 +03:00
install feat: add DEFAULT_MERGE_STYLE to repository.pull-request section for repo init (#19751) 2022-06-02 23:45:54 -04:00
private move agit dependcy (#19998) 2022-06-17 20:17:12 +02:00
utils A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Only show Followers that current user can access (#20220) (#20252) 2022-07-06 22:03:23 +01:00
init.go Refactor SSH init code, fix directory creation for TrustedUserCAKeys file (#20299) (#20306) 2022-07-11 23:27:51 +08:00