forgejo/docs/content/doc
zeripath f6fd501841
Correct the fallbacks for mailer configuration ()
Unfortunately the fallback configuration code for [mailer] that were
added in  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 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-11-27 10:08:40 +00:00
..
advanced Correct the fallbacks for mailer configuration () 2022-11-27 10:08:40 +00:00
developers Refactor docs () 2022-10-31 23:16:19 +00:00
features Improve documentation for PAM and static deployment () 2022-11-20 20:14:03 +00:00
help Attempt clarify AppWorkPath etc. () 2022-11-09 20:22:31 -05:00
installation Improve docker rootless documentation () 2022-11-23 13:01:38 -05:00
packages Fix typo in sidebar () 2022-11-25 17:52:23 +08:00
translation Add plural definitions for German translations () 2022-11-13 11:58:21 -05:00
upgrade Add redirect of /upgrade/ to /upgrade-from-gitea/ on docs site () 2022-10-06 21:53:02 +01:00
usage Refactor docs () 2022-10-31 23:16:19 +00:00
advanced.en-us.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
advanced.fr-fr.md General documentation cleanup () 2018-01-08 23:48:42 +01:00
advanced.zh-cn.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
advanced.zh-tw.md [docs] Add zh-tw Translations () 2021-01-29 01:57:58 +01:00
developers.en-us.md Add Package Registry () 2022-03-30 16:42:47 +08:00
developers.zh-cn.md Refactor docs () 2022-10-31 23:16:19 +00:00
developers.zh-tw.md Add Package Registry () 2022-03-30 16:42:47 +08:00
features.en-us.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
features.zh-cn.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
features.zh-tw.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
help.en-us.md Implement documentation search () 2019-11-13 18:03:18 +00:00
help.fr-fr.md Implement documentation search () 2019-11-13 18:03:18 +00:00
help.zh-cn.md Implement documentation search () 2019-11-13 18:03:18 +00:00
help.zh-tw.md [docs] Add zh-tw Translations () 2021-01-29 01:57:58 +01:00
installation.en-us.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
installation.fr-fr.md General documentation cleanup () 2018-01-08 23:48:42 +01:00
installation.zh-cn.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
installation.zh-tw.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
packages.en-us.md Add Package Registry () 2022-03-30 16:42:47 +08:00
translation.de-de.md Add Package Registry () 2022-03-30 16:42:47 +08:00
translation.en-us.md Add Package Registry () 2022-03-30 16:42:47 +08:00
translation.zh-tw.md Add Package Registry () 2022-03-30 16:42:47 +08:00
upgrade.en-us.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
upgrade.fr-fr.md General documentation cleanup () 2018-01-08 23:48:42 +01:00
upgrade.zh-cn.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
upgrade.zh-tw.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
usage.en-us.md Import docs into main repository () 2017-11-26 23:44:32 +02:00
usage.zh-cn.md ZH-CN translation of Usage part () 2018-10-17 14:19:04 -04:00
usage.zh-tw.md [docs] Add zh-tw Translations () 2021-01-29 01:57:58 +01:00