forgejo-federation/docs/content/doc/advanced
zeripath f6fd501841
Correct the fallbacks for mailer configuration (#21945)
Unfortunately the fallback configuration code for [mailer] that were
added in #18982 are incorrect. When you read a value from an ini section
that key is added. This leads to a failure of the fallback mechanism.
Further there is also a spelling mistake in the startTLS configuration.

This PR restructures the mailer code to first map the deprecated
settings on to the new ones - and then use ini.MapTo to map those on to
the struct with additional validation as necessary.

Ref #21744

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-11-27 10:08:40 +00:00
..
adding-legal-pages.en-us.md Fix various typos of software names (#18083) 2021-12-24 11:56:57 +08:00
clone-filter.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
cmd-embedded.en-us.md Fix various typos of software names (#18083) 2021-12-24 11:56:57 +08:00
config-cheat-sheet.en-us.md Correct the fallbacks for mailer configuration (#21945) 2022-11-27 10:08:40 +00:00
config-cheat-sheet.zh-cn.md Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
customizing-gitea.en-us.md Fix PlantUML example in document (#21142) 2022-09-11 22:14:46 +08:00
customizing-gitea.zh-cn.md Update documentation to reflect #15219 (#16442) 2021-07-15 20:49:12 +01:00
environment-variables.en-us.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
environment-variables.zh-cn.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
external-renderers.en-us.md Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
logging-documentation.en-us.md Clarify logging documentation (#21665) 2022-11-22 09:04:29 +08:00
mail-templates.en-us.md Refactor docs (#21627) 2022-10-31 23:16:19 +00:00
protected-tags.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
repo-indexer.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
repo-mirror.en-us.md Improve pull/ push mirror documentation (especially for GitHub) (#21801) 2022-11-14 21:17:39 +00:00
search-engines-indexation.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
signing.en-us.md Add hint to GNUPGHOME environment variable (#20134) 2022-07-10 17:04:46 +08:00