You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/docs/content/doc/advanced
zeripath 888384a631
Correct the fallbacks for mailer configuration (#21945) (#21953)
Backport #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>
2 years ago
..
adding-legal-pages.en-us.md
clone-filter.en-us.md Add markdownlint (#20512) 3 years ago
cmd-embedded.en-us.md
config-cheat-sheet.en-us.md Correct the fallbacks for mailer configuration (#21945) (#21953) 2 years ago
config-cheat-sheet.zh-cn.md Clarify that `ENABLE_SWAGGER` only influences the API docs, not the routes (#21215) 2 years ago
customizing-gitea.en-us.md Fix PlantUML example in document (#21142) 2 years ago
customizing-gitea.zh-cn.md
environment-variables.en-us.md
environment-variables.zh-cn.md Add markdownlint (#20512) 3 years ago
external-renderers.en-us.md Add KaTeX rendering to Markdown. (#20571) 2 years ago
hacking-on-gitea.zh-cn.md
logging-documentation.en-us.md Upgrade the document about how to collect logs for systemd and docker (#21101) 3 years ago
mail-templates-us.md Add markdownlint (#20512) 3 years ago
make.fr-fr.md
make.zh-cn.md
protected-tags.en-us.md Add markdownlint (#20512) 3 years ago
repo-indexer.en-us.md
repo-mirror.en-us.md Add markdownlint (#20512) 3 years ago
search-engines-indexation.en-us.md Add markdownlint (#20512) 3 years ago
signing.en-us.md
third-party-tools.zh-cn.md Add markdownlint (#20512) 3 years ago