Pēteris Caune
d2c701fb77
Add {% spaceless %} tags to reduce uncompressed email size
If the email body is above a certain size, Gmail trims it
and displays "[Message clipped] View entire message" at
the end. The spaceless tag is a quick fix to reduce
HTML size a bit and allow more table rows to fit before
clipping.
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
5979204691
Fix downtime summary to handle months when the check didn't exist
Fixes : #472
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
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
9cbd3bfc5a
In monthly reports, no downtime stats for the current month (month has just started)
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
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
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
c57a9dcbc4
Omit "Details..." link (testing if it's triggering Gmail warnings)
6 years ago
Pēteris Caune
78aca869c5
"Details..." instead of "Show Log..." 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
882933668a
Natural sort for check names, fixes #136 .
Apply the user's chosen sort order in emails also.
7 years ago
Pēteris Caune
f611a23f0b
Email reports list checks from all teams the user has access to.
7 years ago
Pēteris Caune
8d956b3365
email template from Litmus. CSS already inlined, so dropping premailer dependency.
8 years ago
Pēteris Caune
4f3365e235
Cleanup, handle "paused" state in email alerts and reports
8 years ago
Pēteris Caune
aba0c0ebf0
Summary table tweaks
9 years ago
Pēteris Caune
abd19ac901
Nicer alert email template, and plain text versions for all emails.
9 years ago
Pēteris Caune
2df92c9c9e
Nicer html report
9 years ago
Pēteris Caune
ce23d65ebf
Check.get_status() returns "up" also during grace period
9 years ago
Pēteris Caune
1f70f56819
Check model gets "in_grace_period" method. It replaces the transient "grace" status. Also, remove references of the obsolete "paused" status.
9 years ago
Pēteris Caune
da613963e9
Email alerts and monthly reports have links to Log pages.
Don't show ping URLs -- gmail converts them to clickable links, and people click on them.
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
c1840a92bd
Checks now have a new status: "paused". sendalerts management command will mark checks as paused if sending a notification throws exception. This should avoid potential infinite loops of sendalerts crashes/respawns.
9 years ago
Pēteris Caune
cee2b52d3e
More tests.
9 years ago
Pēteris Caune
f0089e2cd2
Send emails using djmail, can verify email addresses in /channels/
9 years ago
Pēteris Caune
d8828b2d25
Frequency -> Period, messaging on welcome page.
9 years ago
Pēteris Caune
4ccbac7e4a
Formatting of durations
9 years ago
Pēteris Caune
fe78275d3f
Display "late" status in My Checks page and in alerts.
9 years ago
Pēteris Caune
2abec6ff6a
Nicer emails
9 years ago
Pēteris Caune
c54cb6469d
Send emails using djrill (Mandrill)
9 years ago