Commit graph

1323 commits

Author SHA1 Message Date
Pēteris Caune
1aa068553d
Fix the Gotify integration to use Flip.new_status 2024-04-12 14:39:08 +03:00
Pēteris Caune
fe9bb0d1e5
Fix the Apprise integration to use Flip.new_status 2024-04-12 14:17:12 +03:00
Pēteris Caune
8372abf019
Fix the email integration to use Flip.new_status 2024-04-12 14:05:44 +03:00
Pēteris Caune
28fdfd1362
Change Channel.notify() signature to take Flip object as an argument
... and pass it to Transport.notify_flip().

This allows us to pass flip-specific information (the flip timestamp,
the new status) to transport classes.
2024-04-12 13:54:16 +03:00
Pēteris Caune
9bb5656d40
Implement dynamic favicon in the projects overview page
cc: #971
2024-04-10 14:36:42 +03:00
Pēteris Caune
71e8112c95
Clean up CSS 2024-04-10 09:52:58 +03:00
Pēteris Caune
27c065230a
Switch back to using integer timestamps in the log page
The live-updating code still needs float timestamps, but
we only need them for the most recent event (so we know
the lower threshold for fetching new events). We now send
the float timestamp separately:

* in the `/log/` view, we put it in HTML content, in a <script> tag
* in the `/log_events/` view we put it in response header

The main benefit of this is smaller response sizes for the
`/log/` and `/log_events/` views.
2024-04-09 14:24:43 +03:00
Pēteris Caune
d7948d9939
Show status changes (flips) in check's log page
Fixes: #447
2024-04-09 12:39:42 +03:00
Pēteris Caune
ab639e6cfd
Fix templates to output correct favicon tag 2024-03-26 17:27:32 +02:00
Prince Khunt
249b9e163d
Proposing addition of a visual indication to favicon on down (#977)
Implement dynamic favicon in the "Checks" and "Details" pages

Fixes: #971
2024-03-26 17:05:23 +02:00
Pēteris Caune
f313e17678
Remove whitespace to avoid +1 empty tbody on every refresh 2024-03-21 15:24:37 +02:00
Pēteris Caune
855fac0973
Implement filtering by event type in the Log page
Fixes: #873
2024-03-21 11:04:45 +02:00
Pēteris Caune
df6895ed1f
Fix regression in log auto-updating code
Also switch back to using integers for the slider min and max
values, and for the hc.front.forms.LogFilterForm.
2024-03-19 19:11:46 +02:00
Pēteris Caune
47894f6add
Rearrange the log page to make room for more filters
* Switch from nouislider to simpler <input type="range">
* Move it to a sidebar

Also, fix a bug in _get_events where the "start" local variable
got clobbered, and made the date range for the Notification
query wrong.
2024-03-19 18:47:13 +02:00
Pēteris Caune
a0545b875e
Add "Last ping subject" field in email notifications 2024-03-13 15:45:27 +02:00
Pēteris Caune
e57e3185ad
Fix typo 2024-03-12 18:30:40 +02:00
Pēteris Caune
30b30d6af5
Add id attributes for addressing 2024-03-12 18:25:21 +02:00
Pēteris Caune
4485c8bd6e
Improve docs about check and project transfers 2024-03-12 17:54:24 +02:00
Pēteris Caune
d7b683e9d1
Update more notification templates to handle Check.last_ping == None 2024-03-01 16:25:05 +02:00
Pēteris Caune
4d2a3227f3
Update more notification templates to handle Check.last_ping == None 2024-03-01 16:07:13 +02:00
Pēteris Caune
4c97068776
Update notification templates to handle Check.last_ping == None 2024-02-29 14:38:35 +02:00
Pēteris Caune
8955c1d7cd
Remove "Last ping was <time interval> ago." from WhatsApp messages
In some rare cases the last ping can be None (i.e., there was no
last ping). In these cases we would need to omit the
"Last ping was <time interval> ago." part from the message.
To avoid creating a *third* WhatsApp content template, remove
the "Last ping was <time interval> ago." part from the message
altogether.

What are the cases when last ping could be None? Here's one:

* User creates a check
* User sends a "/start" signal
* The grace time passes, the check goes down. There's no
  previous "success" or "fail" signal, so the check's
  "last_ping" field will be None.
2024-02-29 11:42:44 +02:00
Pēteris Caune
dbc8ebb73a
Tweak the badges page 2024-02-27 13:06:31 +02:00
Pēteris Caune
1322bb1123
Add support for per-check status badges
Fixes: #853
2024-02-27 12:55:51 +02:00
Pēteris Caune
5eb21a6919
Fix HTML snippet in the Status Badges page 2024-02-26 17:47:43 +02:00
Pēteris Caune
4959856e58
Redesign the "Status Badges" page 2024-02-26 12:34:26 +02:00
Michael Boateng
9770bc1ea0
Add auto-refresh functionality to log page (#963)
Add auto-refresh functionality to log page

Fixes: #957

---------

Co-authored-by: Pēteris Caune <cuu508@gmail.com>
2024-02-23 11:36:31 +02:00
Pēteris Caune
86930d1fba
Update MS Teams onboarding instructions 2024-02-20 12:49:40 +02:00
Pēteris Caune
ec0791b4ee
Update the WhatsApp integration to use Twilio Content Templates 2024-02-16 12:37:11 +02:00
Pēteris Caune
0d5c139348
Tweak wording 2024-02-15 13:22:35 +02:00
Pēteris Caune
aefc0d36c6
Improve email docs 2024-02-15 13:17:24 +02:00
Pēteris Caune
1ec4fbc0c9
Add a note about flip retention in docs 2024-02-15 11:16:01 +02:00
Pēteris Caune
1250195e3e
Add support for $NAME_JSON and $BODY_JSON placeholders 2024-02-14 11:52:35 +02:00
mmomjian
3728231132
Update filtering_rules_modal.html (#956)
whoops!
2024-02-12 11:17:29 +02:00
Michael Boateng
6bfd9c901c
Make grace time editable when job is created (#953)
Fixes: #945
2024-02-08 15:34:52 +02:00
Pēteris Caune
6919202a8f
Add missing space 2024-02-06 15:26:43 +02:00
Pēteris Caune
2ea7ff5950
Improve copy in email.md 2024-02-06 10:09:25 +02:00
mmomjian
00c5b767d4
Update filtering rules to specify that they are case sensitive (#944)
* Update filtering_rules_modal.html

We should specify that the keywords are case sensitive - this isn't obvious to the user.

* Update filtering_rules_modal.html

* Update email.html-fragment

* Update email.md
2024-02-06 09:48:47 +02:00
Pēteris Caune
7ba2374616
Add API docs for /api/v3/status/
Fixes #949
2024-01-29 11:31:05 +02:00
Pēteris Caune
16450a66c7
Add tooltips to tag buttons in the checks list screen
Fixes: #911
2024-01-22 15:20:09 +02:00
Pēteris Caune
42f88f4fb0
Add S3_SECURE setting
It controls whether to use secure (TLS) connection to S3 or not.
2024-01-10 12:19:45 +02:00
Pēteris Caune
492d031341
Update Third-Party Resources page
* remove projects that have not been updated in years
* add hc-monitor and danidelvalle/healthchecks-decorator
2024-01-04 15:15:51 +02:00
Pēteris Caune
9562e48329
Improve PING_ENDPOINT docs
Fixes: #933
2023-12-22 14:06:38 +02:00
Pēteris Caune
6172a0bbaa
Update Spike.sh instructions 2023-12-14 12:20:36 +02:00
Pēteris Caune
be004c3e0d
Update Opsgenie instructions 2023-12-14 11:41:23 +02:00
Pēteris Caune
86e3a38239
Fix capitalization 2023-12-13 14:44:32 +02:00
Pēteris Caune
734d146283
Add "Auto provisioning" page under Docs > Guides 2023-12-13 14:26:28 +02:00
Pēteris Caune
5d07645823
Update the "Configuring Checks" docs page with OnCalendar schedules 2023-12-12 13:39:00 +02:00
Pēteris Caune
bb76bf42ac
Fix cron and oncalendar preview when timezone changes 2023-12-12 13:33:51 +02:00
Pēteris Caune
0abfe58cef
Implement OnCalendar schedules in the "Add Check" dialog 2023-12-08 12:02:01 +02:00