GoToSocial/internal
tobi 2aaec82732
smtp + email confirmation (#285)
* add smtp configuration

* add email confirm + reset templates

* add email sender to testrig

* flesh out the email sender interface

* go fmt

* golint

* update from field with more clarity

* tidy up the email formatting

* fix tests

* add email sender to processor

* tidy client api processing a bit

* further tidying in fromClientAPI

* pin new account to user

* send msg to processor on new account creation

* generate confirm email uri

* remove emailer from account processor again

* add processCreateAccountFromClientAPI

* move emailer accountprocessor => userprocessor

* add email sender to user processor

* SendConfirmEmail function

* add noop email sender

* use noop email sender in tests

* only assemble message if callback is not nil

* use noop email sender if no smtp host is defined

* minify email html before sending

* fix wrong email address

* email confirm test

* fmt

* serve web hndler

* add email confirm handler

* init test log properly on testrig

* log emails that *would* have been sent

* go fmt ./...

* unexport confirm email handler

* updatedAt

* test confirm email function

* don't allow tokens older than 7 days

* change error message a bit

* add basic smtp docs

* add a few more snippets

* typo

* add email sender to outbox tests

* don't use dutch wikipedia link

* don't minify email html
2021-10-31 15:46:23 +01:00
..
ap fix mention extracting when no domain exists (usually intra-instance mentions) (#272) 2021-10-17 14:19:49 +02:00
api smtp + email confirmation (#285) 2021-10-31 15:46:23 +01:00
cache Golint (#255) 2021-09-30 11:16:23 +02:00
cliactions smtp + email confirmation (#285) 2021-10-31 15:46:23 +01:00
config smtp + email confirmation (#285) 2021-10-31 15:46:23 +01:00
db smtp + email confirmation (#285) 2021-10-31 15:46:23 +01:00
email smtp + email confirmation (#285) 2021-10-31 15:46:23 +01:00
federation Serve `outbox` for Actor (#289) 2021-10-24 11:57:39 +02:00
gotosocial Move a lot of stuff + tidy stuff (#37) 2021-05-30 13:12:00 +02:00
gtserror Swagger (#124) 2021-07-31 17:49:59 +02:00
gtsmodel Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
id change muchos things 2021-09-01 11:11:26 +02:00
log reference global logrus (#274) 2021-10-11 14:37:33 +02:00
media reference global logrus (#274) 2021-10-11 14:37:33 +02:00
messages Handle forwarded messages (#273) 2021-10-10 12:39:25 +02:00
oauth go fmt (#278) 2021-10-13 13:50:24 +02:00
oidc reference global logrus (#274) 2021-10-11 14:37:33 +02:00
processing smtp + email confirmation (#285) 2021-10-31 15:46:23 +01:00
regexes fix mention extracting when no domain exists (usually intra-instance mentions) (#272) 2021-10-17 14:19:49 +02:00
router reference global logrus (#274) 2021-10-11 14:37:33 +02:00
stream Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
text smtp + email confirmation (#285) 2021-10-31 15:46:23 +01:00
timeline reference global logrus (#274) 2021-10-11 14:37:33 +02:00
trans go fmt (#278) 2021-10-13 13:50:24 +02:00
transport reference global logrus (#274) 2021-10-11 14:37:33 +02:00
typeutils Serve `outbox` for Actor (#289) 2021-10-24 11:57:39 +02:00
util smtp + email confirmation (#285) 2021-10-31 15:46:23 +01:00
validate kim is a reply guy (#208) 2021-09-11 13:19:06 +02:00
visibility Serve `outbox` for Actor (#289) 2021-10-24 11:57:39 +02:00
web smtp + email confirmation (#285) 2021-10-31 15:46:23 +01:00