gitea/cmd
Clar Fon 3d10193be2
Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI ()
Only load SECRET_KEY and INTERNAL_TOKEN if they exist.
Never write the config file if the keys do not exist, which was only a fallback for Gitea upgraded from < 1.5

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
..
admin.go Move some files into models' sub packages ()
admin_auth_ldap.go Allow enable LDAP source and disable user sync via CLI ()
admin_auth_ldap_test.go Allow enable LDAP source and disable user sync via CLI ()
cert.go format with gofumpt ()
cmd.go fix: some typos ()
convert.go Improve install code to avoid low-level mistakes. ()
docs.go Fix offBy1 errors ()
doctor.go Disable doctor logging on panic ()
dump.go Add Tar ZSTD support ()
dump_repo.go Make sure `repo_dir` is an empty directory or doesn't exist before 'dump-repo' ()
embedded.go Share HTML template renderers and create a watcher framework ()
embedded_stub.go Remove legacy `+build:` constraint ()
generate.go Add asymmetric JWT signing ()
hook.go Add more linters to improve code readability ()
hook_test.go Add agit flow support in gitea ()
keys.go Second attempt at preventing zombies ()
mailer.go Improve install code to avoid low-level mistakes. ()
main_test.go Add migrate repo archiver and packages storage support on command line ()
manager.go Fix various typos ()
manager_logging.go Allow manager logging to set SQL ()
migrate.go Improve install code to avoid low-level mistakes. ()
migrate_storage.go fix hard-coded timeout and error panic in API archive download endpoint ()
migrate_storage_test.go test: use `T.TempDir` to create temporary test directory ()
restore_repo.go Fix cli command restore-repo: "units" should be splitted to string slice, to match the old behavior and match the dump-repo's behavior ()
serv.go Fix typo ()
web.go Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI ()
web_acme.go Support Proxy protocol ()
web_graceful.go Support Proxy protocol ()
web_https.go Support Proxy protocol ()