1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers/web/admin
Clar Fon 036dd8a788
Rework mailer settings (#18982)
* `PROTOCOL`: can be smtp, smtps, smtp+startls, smtp+unix, sendmail, dummy
* `SMTP_ADDR`: domain for SMTP, or path to unix socket
* `SMTP_PORT`: port for SMTP; defaults to 25 for `smtp`, 465 for `smtps`, and 587 for `smtp+startls`
* `ENABLE_HELO`, `HELO_HOSTNAME`: reverse `DISABLE_HELO` to `ENABLE_HELO`; default to false + system hostname
* `FORCE_TRUST_SERVER_CERT`: replace the unclear `SKIP_VERIFY`
* `CLIENT_CERT_FILE`, `CLIENT_KEY_FILE`, `USE_CLIENT_CERT`: clarify client certificates here

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-08-02 13:24:18 +08:00
..
admin_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
admin.go Make better use of i18n (#20096) 2022-06-26 22:19:22 +08:00
auths.go Rework mailer settings (#18982) 2022-08-02 13:24:18 +08:00
emails.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
hooks.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
main_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
notice.go Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
orgs.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
packages.go Hide internal package versions (#20492) 2022-07-27 09:59:10 +08:00
repos.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
users_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
users.go Add option to purge users (#18064) 2022-07-14 08:22:09 +01:00