Pēteris Caune
e3aedd3b03
Add require_sudo_mode decorator
Planning to use it for sensitive operations (add/remove security keys),
change email, change password, close account.
The decorator sends a six-digit confirmation code to user's email
and renders a form for entering it back. If the user enters the
correct code, the decorators sets a sudo=active marker in
user's session, valid for 30 minutes.
4 years ago
Pēteris Caune
d5502c50ca
Add retries to the the email sending logic
When sending email using Django's default email
backend (SMTP), and if there is a network issue, the backend
can throw SMTPServerDisconnected.
This commit adds a retry logic which retries sending the
email two times when SMTPServerDisconnected is thrown.
4 years ago
Pēteris Caune
d05691f86f
SMS and phone calls now have separate "limit reached" email templates.
4 years ago
Pēteris Caune
6ede17d93f
Cleanup and comments.
5 years ago
Pēteris Caune
57da17b8e2
Send an "Ownership Transfer Request" email notification.
5 years ago
Pēteris Caune
66a6de70c0
Send email notification when monthly SMS sending limit is reached. Fixes #292
5 years ago
Pēteris Caune
cdfc9840a7
Source formatted with Black
6 years ago
Pēteris Caune
945a66ab0a
Management command for sending inactive account notifications
6 years ago
Pēteris Caune
b9a81ad382
Add "List-Unsubscribe" header to alert and report emails
6 years ago
Pēteris Caune
39bc12e351
Invoices to email.
7 years ago
Pēteris Caune
2393dad09e
Users can update their email addresses. Fixes #105
7 years ago
Pēteris Caune
0d24d650f2
"X-Bounce-Url" header in email messages. An API endpoint to handle bounce notifications. ( #112 )
8 years ago
Pēteris Caune
f767cf59aa
ctx can contain database query objects, evaluate them before passing off to a thread
8 years ago
Pēteris Caune
b63f19f415
Simplify: remove djmail and django-ses-backend dependencies.
8 years ago
Pēteris Caune
8d956b3365
email template from Litmus. CSS already inlined, so dropping premailer dependency.
8 years ago
Pēteris Caune
2df92c9c9e
Nicer html report
9 years ago
Pēteris Caune
1dacc8b797
Users can add passwords to their accounts. Fixes #6
9 years ago
Pēteris Caune
91e6f80d9a
Code to send monthly reports (but no management command yet to actually send them)
9 years ago
Pēteris Caune
f0089e2cd2
Send emails using djmail, can verify email addresses in /channels/
9 years ago
Pēteris Caune
c54cb6469d
Send emails using djrill (Mandrill)
9 years ago
Pēteris Caune
8628be8584
email_from setting, don't send alerts about checks without associated user
9 years ago
Pēteris Caune
aad4bd2ffb
Background worker to send notifications
10 years ago