Commit graph

1338 commits

Author SHA1 Message Date
Pēteris Caune
2a0ae809a7
Add DowntimeRecord.no_data field 2023-09-27 17:43:18 +03:00
Pēteris Caune
f7af738c76
Add monthly uptime percentage display in Check Details page
Fixes: #773
2023-09-27 13:44:35 +03:00
Pēteris Caune
46dbaff2c3
Update Check.downtimes() to return records in descending datetime order
This way we can avoid one sort operation in Check.downtimes()
and one reverse operation in the "details_downtimes.html" template.
2023-09-27 10:42:05 +03:00
Pēteris Caune
f0085933c3
Update Check.downtimes() to return a list of namedtuples
This way it should be easier to add extra fields like uptime
to the returned data structure.
2023-09-27 10:18:52 +03:00
Pēteris Caune
dcf9f327f6
Add Channel.email property
It replaces:

* Channel.email_value
* Channel.email_notify_up
* Channel.email_notify_down
2023-09-11 11:45:25 +03:00
Pēteris Caune
cf4498eca2
Add Channel.phone property
It has typed fields: value, notify_up, notify_down.
It replaces:

* Channel.phone_number
* Channel.sms_notify_up
* Channel.sms_notify_down
* Channel.whatsapp_notify_up
* Channel.whatsapp_notify_down
* Channel.signal_notify_up
* Channel.signal_notify_down
2023-09-09 11:09:52 +03:00
Pēteris Caune
f1d1ccd281
Add Channel.shell and Channel.pd properties 2023-09-08 16:33:12 +03:00
Pēteris Caune
e17f555fb1
Replace Channel.telegram_* properties with a Channel.telegram property
The Channel.telegram property has typed fields:
id, thread_id, type, name.

Usage sites change from `channel.telegram_id` to `channel.telegram.id`
2023-09-08 16:02:26 +03:00
Pēteris Caune
3c19d51836
Drop Python 3.8 and Python 3.9 support 2023-09-06 10:31:13 +03:00
Pēteris Caune
8472bd5d1e
Update Channel.webhook_spec to return an object instead of a dict
This simplifies type annotations, as object's fields
can be type-annotated easily, and JSON->object parsing can be handled
by Pydantic.
2023-09-03 16:20:22 +03:00
Pēteris Caune
26725b9f4e
Add an "Account closed." confirmation message after closing an account 2023-08-24 09:07:41 +03:00
Pēteris Caune
42edc0c308
Improve wording in the email report footer 2023-08-23 15:41:14 +03:00
Pēteris Caune
bc192df0b3
Improve ntfy notifications (include tags, period, last ping type etc.) 2023-08-23 15:32:06 +03:00
Pēteris Caune
bbb06ff358
Add support for ntfy access tokens
Fixes: #879
2023-08-23 14:52:50 +03:00
Pēteris Caune
d57ea3309a
Split report and reminder (nag) templates 2023-08-23 11:20:50 +03:00
Pēteris Caune
70a5429ae3
Remove unused bits 2023-08-22 15:21:14 +03:00
Pēteris Caune
646f79c54e
Update email reminders to only show checks in the "down" state
Fixes: #881
2023-08-22 15:04:14 +03:00
Pēteris Caune
f8d8ca56b2
Fix slug validation regex 2023-08-17 11:51:57 +03:00
Pēteris Caune
8f4936e2e8
Improve grammar 2023-08-14 10:57:48 +03:00
Pēteris Caune
af682bae0c
Improve grammar 2023-08-11 11:18:49 +03:00
Pēteris Caune
897cf0088b
Add bold and monospace text formatting in Signal notifications 2023-08-04 12:38:34 +03:00
Tony F
200a2d1dd7
Replace healtchecks with healthchecks (#872) 2023-08-04 09:56:55 +03:00
Pēteris Caune
d164e12de3
Add "Time Zone" field in Trello notifications
Also, fix the escaping of "*" symbols in Trello notifications.
2023-08-03 14:58:57 +03:00
Pēteris Caune
0456b3d5c4
Add "Time Zone" field in Telegram notifications 2023-08-03 14:36:42 +03:00
Pēteris Caune
dd523c53e5
Add "Time Zone" field in Signal notifications 2023-08-03 14:32:54 +03:00
Pēteris Caune
97dc6e73c5
Add "Time Zone" field in email notifications 2023-08-03 11:29:41 +03:00
Pēteris Caune
05742f42f9
Update the senddeletionscheduled command to notify team members too 2023-07-14 09:51:36 +03:00
Pēteris Caune
4a0ddb989e
Reformat bad markdown->HTML conversion 2023-07-12 12:22:51 +03:00
Pēteris Caune
39682d900f
Update screenshots in docs to show the slug field 2023-07-07 10:22:35 +03:00
Pēteris Caune
c69c1f5ec4
Add management command for sending "scheduled for deletion" warnings 2023-07-04 12:50:50 +03:00
Viktor Szépe
dedb17feb9
Fix JS name and remove references to .map files (#854) 2023-07-02 15:25:04 +03:00
Viktor Szépe
573b76a082
Fix typos (#855) 2023-07-02 15:14:13 +03:00
Pēteris Caune
a2fdb5dc52
Update CHANGELOG for v2.10 release 2023-07-02 10:07:02 +03:00
Pēteris Caune
dba356c5d4
For cron checks, change default display timezone to check's timezone
In the "Details" and "Log" pages Healthchecks displays a list
of events (incoming pings and sent alerts). At the top of the
events list is a two- or three-way selector for selecting
the timezone for formatting event dates and times. The selector
options are "UTC", check's configured timezone, and "Browser's
time zone". The "Browser's time zone" used to be default, initial
selection for all checks.

With this change, for checks that use cron schedule, the default
selected timezone will be the check's configured timezone.
The "Browser's time zone" option is of course still there and the
user can switch to it to see dates and times in their local time.

Rationale: I semi-regularly get support requests about unexpected
or missing alerts, where the problem boil downs to a timezone
mismatch between the client and the Healthchecks server. Sometimes
the confusion seems to be caused by the user seeing ping arrival
times in  their local time zone, comparing them to their cron
expression, and not realizing their server may be using a different
timezone. By switching the default display timezone to the check's
configured timezone, I hope users will be more likely to notice
discrepancies between ping arrival times, the cron schedule,
and their local clock.

For checks using simple schedules (timeout and grace), we still
default to browser's timezone for display.
2023-06-29 12:12:54 +03:00
Pēteris Caune
b2c43a57db
Update Telegram onboarding instructions 2023-06-28 15:47:52 +03:00
Pēteris Caune
68c42db58c
Add support for Telegram topics
Fixes: #852
2023-06-28 15:22:59 +03:00
Pēteris Caune
931876a737
Upgrade selectize.js to v0.15.2, fix CSS issues
Fixed CSS issues:

* In the tag input element, when entering a new tag,
  the "Add ..." item was missing padding. Padding added.
* In the timezone selects the caret was hidden, so it was
  hard to discover that timezone options can be filtered by typing.
  Caret in timezone selects is now visible and blinking.
2023-06-28 11:42:00 +03:00
Pēteris Caune
68cbcf9039
Fix syntax highlighting in docs 2023-06-27 15:25:06 +03:00
Pēteris Caune
a53e79cc49
Add a note about pre-built images in docs/docker 2023-06-27 15:20:53 +03:00
Pēteris Caune
651aec4ac7
Add API support for filtering checks by slug
Fixes: #844
2023-06-27 12:41:31 +03:00
Pēteris Caune
58d317adc7
Make check auto-provisioning opt-in
cc: #849, #626
2023-06-27 09:45:38 +03:00
Pēteris Caune
730d448c76
Fix pinging by slug to return 201 when a check is auto-created
cc: #849, #626
2023-06-26 13:06:20 +03:00
Pēteris Caune
b062caa2eb
Add support for the $EXITSTATUS placeholder in webhook payloads
Fixes: #826
2023-06-22 17:53:03 +03:00
Pēteris Caune
db07a4d796
Update docs with notes about auto-provisioning
cc: #626
2023-06-22 14:48:06 +03:00
Pēteris Caune
1ffb9ed18f
Highlight the number of checks in the over-limit notice 2023-06-16 15:16:58 +03:00
Pēteris Caune
2677c052c8
Fix plan name lookup 2023-06-16 15:04:34 +03:00
Pēteris Caune
928f82e220
Add "Your account is currently over its check limit" notice 2023-06-16 15:00:33 +03:00
Pēteris Caune
228516b4a2
Add samarpan-rai/healthchecks_wrapper to the 3rd-party resouces page 2023-06-16 13:12:07 +03:00
Pēteris Caune
20e8408f24
Update v2->v3 2023-06-15 10:29:25 +03:00
Pēteris Caune
9172e8de62
Add API v3 docs 2023-06-15 10:22:49 +03:00