Pēteris Caune
484c0befbc
Fix email template to use SITE_LOGO_URL (with img/logo.png fallback)
Fixes : #550
3 years ago
Pēteris Caune
d243f502d3
Fix off-by-one-month error in monthly reports, downtime columns
Fixes : #539
3 years ago
Pēteris Caune
a0cd2c63e9
Update report templates for weekly reports
4 years ago
cocide
e66725e23f
Added formatting on ping.body in emails
Not all email clients are formatting the `ping.body` contents uniformly. Even using different applications from the same email provider results in a different display of the `ping.body` contents. There are two basic issues:
* Not all email clients are honoring the fixed-width font that should be used inside `<pre>` tags. Using fixed-width font is listed in the definition on https://www.w3schools.com/tags/tag_pre.asp
* Not all email clients are displaying the text with a 1em line height. This was a recent change to the healthchecks WebUI in 9fd9c8e4ef
but is not part of the definition of the `<pre>` tag. I'd like to add this to the emails to make Healthchecks more uniform between the website and the email notification.
Gmail Webmail:
- [x] Is using fixed-width font
- [ ] Line height is set by the webmail client to 18px
Gmail Android App:
- [ ] Text is not fixed-width
- [ ] Line height has extra padding
ProtonMail Webmail:
- [x] Is using fixed-width font
- [x] Line height is correct
ProtonMail Android:
- [ ] Text is not fixed width
- [ ] Line height has extra padding
The testing I performed is not extensive, but it does show how multiple clients are displaying the contents differently. To make the display of the `ping.body` more uniform I'd like to add a bit of formatting information to the `<pre>` tag.
4 years ago
Pēteris Caune
2bfea987e9
Replace details_url with cloaked_url in email and chat notifications
4 years ago
Pēteris Caune
5979204691
Fix downtime summary to handle months when the check didn't exist
Fixes : #472
4 years ago
Pēteris Caune
17a404f04b
Fix email template to always show the current year in the footer
4 years ago
Pēteris Caune
bf3df906f7
Tweak email CSS for nicer display in dark mode
4 years ago
Pēteris Caune
54081208c5
Add doctype declaration in the alert email template
Need it to escape quirks mode in email clients.
4 years ago
Pēteris Caune
efc44fd47c
Update report template to use same font size for all check names
Fixes : #347
4 years ago
Pēteris Caune
ca3d1d3a3b
Add the "Last Ping Type" field in the email notification template
4 years ago
Pēteris Caune
ce0f84a112
Fix styling
4 years ago
Pēteris Caune
8fe8e0f605
Update alert email template: more information, less styling
Fixes : #348
4 years ago
Pēteris Caune
fb79948759
Update the "Change Email" function to use confirmation codes
4 years ago
Pēteris Caune
ed6b15bfa9
Update the "Set Password" function to use confirmation codes
4 years ago
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
d05691f86f
SMS and phone calls now have separate "limit reached" email templates.
4 years ago
Pēteris Caune
ee9ac0ffef
New integration: phone calls. Fixes #403
4 years ago
Pēteris Caune
a18eb134f5
Refactor: change Check.get_status(with_started=...) default value from True to False (with_started=False is or will be useful in more places)
4 years ago
Pēteris Caune
57da17b8e2
Send an "Ownership Transfer Request" email notification.
5 years ago
Pēteris Caune
9d2cf4f008
Don't escape HTML in the subject line of notification emails
5 years ago
Pēteris Caune
52a178242b
2019 -> 2020. Cheers!
5 years ago
Pēteris Caune
0addbac7ba
Remove unused ask=1 parameters.
5 years ago
Pēteris Caune
9cbd3bfc5a
In monthly reports, no downtime stats for the current month (month has just started)
5 years ago
Pēteris Caune
c13ec18a27
5 SMS & WhatsApp sends/mo for free plans
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
93507fcc47
Cleanup in report-body-html.html.
Add a "Send Nag" admin command for easier testing.
5 years ago
Pēteris Caune
b2ebce6cf9
Show the number of downtimes and total downtime minutes in "Check Details" page.
5 years ago
Pēteris Caune
cb2e763e98
Cleanup in `Check.outages_by_month()` and tests.
5 years ago
Pēteris Caune
1de0ef16f6
Style tweaks.
5 years ago
Pēteris Caune
b74e56a273
Experimental: show the number of outages and total downtime in monthly reports. ( #104 )
5 years ago
Pēteris Caune
0da7b12f55
Show description in text emails only for the "going down" notifications, and only if the description is not empty.
6 years ago
Pēteris Caune
14f504bd22
Updated plain-text alert body. cc: #252
6 years ago
Pēteris Caune
44bac9dd12
Include the description in email alerts. Fixes #247
6 years ago
Pēteris Caune
3b3ae8a82c
2018 -> 2019 in email footer
6 years ago
Pēteris Caune
945a66ab0a
Management command for sending inactive account notifications
6 years ago
Pēteris Caune
b013a92c43
Move project-specific settings to a new "Project Settings" page
6 years ago
Pēteris Caune
e2d2665edf
Prepare for the removal of Check.user_id
6 years ago
Pēteris Caune
481848a749
Add "/ping/<code>/start" API endpoint
6 years ago
Pēteris Caune
a3ddf0ddef
Use email instead of team name in "<user> invites you to their account" emails. Unfortunately the team name is being abused for spam.
6 years ago
Pēteris Caune
837cac300d
Use email instead of team name in "<user> invites you to their account" emails. Unfortunately the team name is being abused for spam.
6 years ago
Pēteris Caune
eaba39d99b
Tweak HTML markup in alert emails for Gmail
6 years ago
Pēteris Caune
01d94176dd
Tweak HTML and CSS in alert emails.
6 years ago
Pēteris Caune
b3c22dcfd2
A workaround for some email agents automatically opening "Unsubscribe" links
6 years ago
Pēteris Caune
c57a9dcbc4
Omit "Details..." link (testing if it's triggering Gmail warnings)
6 years ago
Pēteris Caune
b9a81ad382
Add "List-Unsubscribe" header to alert and report emails
6 years ago
Pēteris Caune
78aca869c5
"Details..." instead of "Show Log..." in emails.
6 years ago
Pēteris Caune
1b664a6b54
Wider content area in emails
6 years ago
Pēteris Caune
5cf6f1b51e
Merge Check.get_status() and Check.in_grace_period() into one.
This avoids duplicate calls to Check.get_grace_start() in several places.
7 years ago
Pēteris Caune
c4b316003d
Replace healthchecks.io branding with generic branding.
7 years ago