gitea/cmd
Lunny Xiao 1bfb0a24d8
Refactor routers directory ()
* refactor routers directory

* move func used for web and api to common

* make corsHandler a function to prohibit side efects

* rm unused func

Co-authored-by: 6543 <6543@obermui.de>
..
admin.go Fix missing storage init ()
admin_auth_ldap.go Add restricted user filter to LDAP authentication ()
admin_auth_ldap_test.go Add restricted user filter to LDAP authentication ()
cert.go Add golangci ()
cmd.go Sendmail command ()
convert.go Move database settings from models to setting ()
docs.go Add docs command ()
doctor.go Refactor doctor ()
dump.go dump: Add option to skip LFS/attachment files ()
dump_repo.go Dump github/gitlab/gitea repository data to a local directory and restore to gitea ()
embedded.go Implement "embedded" command to extract static resources ()
embedded_stub.go Implement "embedded" command to extract static resources ()
generate.go TrimSpace when reading InternalToken from a file ()
hook.go Code Formats, Nits & Unused Func/Var deletions ()
keys.go Add debug option to serv to help debug problems ()
mailer.go Fix send mail ()
manager.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line ()
migrate.go Graceful: Xorm, RepoIndexer, Cron and Others ()
migrate_storage.go Avatars and Repo avatars support storing in minio ()
restore_repo.go Move restore repo to internal router and invoke from command to avoid open the same db file or queues files ()
serv.go add a new internal hook to save ssh log ()
web.go Refactor routers directory ()
web_graceful.go Move FCGI req.URL.Path fix-up to the FCGI listener ()
web_letsencrypt.go Fix bound address/port for caddy's certmagic library (see ) ()