Commit Graph

33 Commits (874f5c34bdb2272f3cac1ceef13edea22b6e263d)

Author SHA1 Message Date
Daniel García 874f5c34bd
Formatting
6 years ago
BlackDex 6b686c18f7 Fixed long e-mail message extending 1000 lines.
6 years ago
Daniel García e93538cea9
Add option to use wrapped TLS in email, instead of STARTTLS upgrade
6 years ago
Daniel García 9e1f030a80
Explicitly close SMTP connection in case of error.
6 years ago
Daniel García 04922f6aa0
Some formatting and dependency updates
6 years ago
Daniel García 79fdfd6524
Add missing url parameter
6 years ago
Daniel García d086a99e5b
Implemented HTML emails with text alternative
6 years ago
Daniel García 8b4a6f2a64
Fixed some clippy lints and changed update_uuid_revision to only use one db query
6 years ago
Daniel García 86ed75bf7c
Config can now be serialized / deserialized
6 years ago
Daniel García 700e084101
Add 2FA icon to admin panel
6 years ago
Daniel García a1dc47b826
Change config to thread-safe system, needed for a future config panel.
6 years ago
Daniel García bfd93e5b13
Show organizations in admin panel, implement reload templates option
6 years ago
Daniel García 97aa407fe4
Move email templates to subfolder
6 years ago
Daniel García 0e4a746eeb
Added SMTP_FROM_NAME
6 years ago
Daniel García 19b6bb0fd6
Initial stab at templates
6 years ago
Daniel García 50eeb4f651
Remove whitespace before processing tokens
6 years ago
Nick Fox 0a74e79cea
Refactor generate_invite_claims, make org_name and org_id optional
6 years ago
Nick Fox 2f5bdc23f6
Fix formatting and add vault link to notification emails
6 years ago
Nick Fox cec28a85ac
Update admin page to work with new invitation flow
6 years ago
Nick Fox 43eb064351
Replace invite/reinvite email functions with generic send_email
6 years ago
Daniel García 30e768613b
Start using rustfmt and some style changes to make some lines shorter
6 years ago
Daniel García 250a2b340f
Use new Errors in latest changes
6 years ago
Daniel García 6a99849a1e
Implemented proper error handling, now we can do `user.save($conn)?;` and it works.
6 years ago
Nick Fox 26bf7bc12f
Use upstream jslib invite/registration workflow
6 years ago
Nick Fox e2907f4250
Add invite email functionality
6 years ago
Daniel García 94810c106a
Migrate to rust 2018 edition
6 years ago
Daniel García 7112c86471
Updated dependencies, removed valid mail check (now done by lettre), and updated global domains file
6 years ago
Daniel García 3df31e3464
Temp fix for OpenSSL 1.1.1 compatibility
6 years ago
Jean-Christophe BEGUE 1c641d7635 Special messages when user has no password hint
6 years ago
Jean-Christophe BEGUE 9e63985b28 Check email validity before using it for password hint sending
6 years ago
Jean-Christophe BEGUE 401aa7c699 make SMTP authentication optionnal, let lettre pick the better auth mechanism
6 years ago
Jean-Christophe BEGUE 19e0605d30 Better message into the password hint email
6 years ago
Jean-Christophe BEGUE 812387e586 SMTP integration, send password hint by email.
6 years ago