Daniel García
afd9f4e278
Allow the smtp mechanism to be provided without quotes and all lowercase
5 years ago
Samuel Leweke
5d3b765a23
Use opportunistic TLS in SMTP connections
...
If SSL is disabled, the SMTP ClientSecurity of the lettre crate
defaults to None, that is, an insecure connection. This is changed to
Opportunistic, which uses TLS if available. If TLS is not available,
the insecure connection is used (i.e., this change is backward
compatible).
5 years ago
BlackDex
5a974c7b94
Added SMTP test button in the admin gui
...
- Added a test button for checking the e-mail settings.
- Fixed a bug with the _post JavaScript function:
A function was overwriten with a variable and errors were not handled
correctly like a 500 for example.
5 years ago
Daniel García
f5916ec396
Fix backwards indices
5 years ago
Daniel García
def174a517
Convert email domains to punycode
5 years ago
Daniel García
ff7b4a3d38
Update handlebars to 3.0 which included performance improvements.
...
Updated lettre to newer git revision, which should give better error messages now.
5 years ago
Daniel García
a0ece3754b
Formatting
5 years ago
tomuta
bd1e8be328
Implement change-email, email-verification, account-recovery, and welcome notifications
5 years ago
BlackDex
c52adef919
Added configurable smtp timeout.
...
- Added config option for smtp timeout
- Lowered default timeout to 15 seconds instead of default 60.
5 years ago
Daniel García
d29b6bee28
Remove unnecessary clones and other clippy fixes
5 years ago
Daniel García
df8114f8be
Updated client kdf iterations to 100000 and fixed some lints
5 years ago
Daniel García
c07c9995ea
Merge pull request #555 from vverst/email-codes
...
Add Email 2FA login
5 years ago
ViViDboarder
672a245548
Remove unecessary clone
5 years ago
ViViDboarder
2d2745195e
Allow explicitly defined smtp auth mechansim
5 years ago
vpl
0b60f20eb3
Add email message for twofactor email codes
5 years ago
Daniel García
c9c3f07171
Updated dependencies and fixed panic getting icons
5 years ago
vpl
60e39a9dd1
Move retrieve/new device from connData to separate function
5 years ago
vpl
bc6a53b847
Add new device email when user logs in
5 years ago
Nick Fox
2e300da057
Fix #468 - Percent-encode the email address in invite link
5 years ago
Daniel García
874f5c34bd
Formatting
6 years ago
BlackDex
6b686c18f7
Fixed long e-mail message extending 1000 lines.
...
- Added quoted_printable crate to encode the e-mail messages.
- Change the way the e-mail gets build to use custom part headers.
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.
...
Improved some two factor methods.
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.
...
In the future, maybe we can do the same with the `find_by_id` methods that return an Option.
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