forgejo/services
zeripath e29e163737
Improve SMTP authentication and Fix user creation bugs (#16612)
* Improve SMTP authentication, Fix user creation bugs and add LDAP cert/key options

This PR has two parts:

Improvements for SMTP authentication:

* Default to use SMTPS if port is 465, and allow setting of force SMTPS.
* Always use STARTTLS if available
* Provide CRAM-MD5 mechanism
* Add options for HELO hostname disabling
* Add options for providing certificates and keys
* Handle application specific password response as a failed user login
instead of as a 500.

Close #16104

Fix creation of new users:

* A bug was introduced when allowing users to change usernames which
prevents the creation of external users.
* The LoginSource refactor also broke this page.

Close #16104

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-08-11 21:42:58 +01:00
..
agit Add agit flow support in gitea (#14295) 2021-07-28 17:42:56 +08:00
archiver Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
auth Improve SMTP authentication and Fix user creation bugs (#16612) 2021-08-11 21:42:58 +01:00
comments Enhance Ghost comment mitigation Settings (#14392) 2021-01-21 21:56:19 -05:00
externalaccount Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
forms Improve SMTP authentication and Fix user creation bugs (#16612) 2021-08-11 21:42:58 +01:00
gitdiff Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
issue Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
lfs Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
mailer Use TrN helper for email templates (#16425) 2021-07-14 15:06:09 +02:00
mirror Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
pull Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
release Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
repository Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
webhook Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
wiki Fix 500 on first wiki page (#16586) 2021-08-01 19:04:32 +02:00