Commit graph

1358 commits

Author SHA1 Message Date
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
Pēteris Caune
ebcb060ece
Update slug validation rules to disallow uppercase 2023-06-15 09:05:26 +03:00
Pēteris Caune
002bc9b083
Decouple check's name from slug, allow users to set hand-picked slugs 2023-06-14 15:06:37 +03:00
Pēteris Caune
132873826a
Remove healthchecks/hchk from the resources page as it's unmaintained 2023-06-13 14:25:04 +03:00
Pēteris Caune
91a7e3d29e
Fix base_project to not include project modal for unauthenticated users 2023-06-12 09:33:37 +03:00
Pēteris Caune
4bd305f4fe
Fix docs to display the ping body limit defined in settings 2023-06-04 19:32:11 +03:00
Pēteris Caune
4afb1cfe23
Move MS Teams message preparation from template to Python
Also, remove Markdown escaping for the description field.
This is for consistency with Slack, Mattermost, Discord, and
Rocket.Chat -- none of them attempt to escape Markdown syntax.
2023-06-04 14:39:22 +03:00
Pēteris Caune
564d5cda31
Move Discord message preparation from template to Python 2023-06-04 11:16:48 +03:00
Pēteris Caune
0ecbe1bd1d
Move Rocket.Chat message preparation from template to Python
cc: #463
2023-06-03 18:15:29 +03:00
Pēteris Caune
da4be28003
Fix the Rocket.Chat template to use concrete color codes 2023-06-03 10:11:20 +03:00
Pēteris Caune
0f8c459987
Improve Rocket.Chat notification template
* Move the text field outside of the attachment object
* Rename "username" to "alias"
* Rename "icon_url" to "avatar"
* Remove unused, Slack-specific fields
* Add "Last Ping Body" field with a link to view full body

cc: #463
2023-06-03 09:58:34 +03:00
Pēteris Caune
eb7dfe5c63
Add Rocket.Chat integration
cc: #463
2023-05-30 12:30:29 +03:00
Pēteris Caune
554f6cba68
Replace bootstrap-select with the native <select> element 2023-05-26 13:44:24 +03:00
Pēteris Caune
4314e21b61
Switch from bootstrap-select to selectize in pushover and ntfy forms 2023-05-26 13:06:34 +03:00
Pēteris Caune
1e6f4cfd9f
Fix bottom padding in webhook and shell forms 2023-05-26 11:43:40 +03:00
Pēteris Caune
cd0404d257
In the "Add/Edit Webhook" form, replace selectpicker with regular select 2023-05-26 11:25:23 +03:00
Pēteris Caune
45c9f837ad
Remove debug 2023-05-09 10:36:25 +03:00
Pēteris Caune
56636e5e08
Fix sorting 2023-05-09 10:34:23 +03:00
Pēteris Caune
d0216a861c
Fix the checks list to preserve filters when changing sort order
Fixes: #828
2023-05-09 10:14:30 +03:00
Pēteris Caune
db1b75e966
Add support for specifying MessagingServiceSid in Twilio API requests 2023-05-03 13:06:08 +03:00
Nikolai T. Jensen
ca18da5d62
Add last ping body in MS Teams notifications (#817)
* Include body in msteams template if exists.

Support it like it does in https://github.com/healthchecks/healthchecks/blob/master/templates/integrations/slack_message.json
The markdown codeblock works well in teams also.

* Move body to a separate section, fix transport class, add tests

---------

Co-authored-by: Pēteris Caune <cuu508@gmail.com>
2023-04-28 17:51:39 +03:00
Pēteris Caune
c3b80b06cf
Add Profile.deletion_scheduled_deleted field and UI banner when it's set 2023-04-28 15:03:04 +03:00
Pēteris Caune
cb6bdf0dd3
Update Signal notification template to include more data 2023-04-28 13:11:33 +03:00
Pēteris Caune
c0a5bedb0c
Tweak wording and CSS in Cron Expression Cheatsheet 2023-04-27 11:37:57 +03:00
Pēteris Caune
b9996e63c8
Fix django-compressor warning with github_actions.html
HTML files in /templates/docs/ are not Django templates,
they contain HTML content to be used verbatim in
hc.front.views.serve_doc view.

Some of these files contain "{{ ... }}" syntax. When
we run "./manage.py compress", django-compressor trips
up on this syntax because it treats them as Django templates.

The fix is to change file extension for these files
from .html to something else (I picked .html-fragment)
so django-compressor would ignore them.
2023-04-11 20:34:31 +03:00
Pēteris Caune
7a06f01fca
Update links to Django docs 2023-04-07 12:50:09 +03:00
Pēteris Caune
80b6aa89ea
Add cron expression tester and samples in the cron cheatsheet page 2023-04-04 13:54:24 +03:00
Pēteris Caune
a5324ac13c
Make warnings about no backup second factor more assertive 2023-04-04 11:53:34 +03:00
Pēteris Caune
eab52ed73c
Add email fallback for Signal notifications that hit rate limit 2023-04-04 10:21:35 +03:00
Pēteris Caune
c4ebd4e6ba
Render code samples with newer Pygments 2023-04-04 09:23:06 +03:00
Pēteris Caune
beaad419f6
Add the "Email Delivery Delays" section 2023-04-04 09:20:38 +03:00