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
9c5ee74c20
Improve tests
2024-03-21 14:34:50 +02:00
Pēteris Caune
3026162a85
Fix date bounds check in log_events
...
log_events was using Check.created as the lower bound.
If a check has many pings, we need to use the oldest
visible ping's date as the lower bound, otherwise
we may return notifications older than the oldest visible
ping.
2024-03-21 11:37:46 +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
1322bb1123
Add support for per-check status badges
...
Fixes : #853
2024-02-27 12:55:51 +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
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
39a21861ba
Improve type hints
2023-12-15 14:31:30 +02:00
Pēteris Caune
0abfe58cef
Implement OnCalendar schedules in the "Add Check" dialog
2023-12-08 12:02:01 +02:00
Pēteris Caune
c1a3ae6f48
Rename CronExpressionValidator -> CronValidator
2023-12-06 16:05:50 +02:00
Pēteris Caune
d65f41d192
Add support for systemd's OnCalendar schedules
...
(work-in-progress)
cc: #919
2023-12-06 15:42:57 +02:00
Pēteris Caune
7e503d9c33
Move the "join Matrix room" code to hc.lib.matrix
2023-10-23 09:32:03 +03:00
Pēteris Caune
1004ca776a
Switch to using Pydantic for validating Matrix join responses
2023-10-23 08:53:15 +03:00
Pēteris Caune
52ab8c4703
Improve type hints in hc.lib.curl and hc.api.transports
...
This results in changes in other places too:
* curl.post() does not accept `data` as positional arg,
it must now be a keyword argument
* we need asserts and if clauses in a few places to make sure
we are not passing `None` in the arguments to hc.lib.curl.request
2023-10-20 19:11:08 +03:00
Pēteris Caune
3d5850d2da
Improve type hints, use pydantic for parsing Zulip configurations
2023-10-17 16:58:57 +03:00
Pēteris Caune
37caa94ff5
Improve channel rendering in the group form
...
* Use the custom-styled checkbox
* Use PNG instead of icon font for channel kind logos
* Show channel's description the same way as in the channels list
(using a reusable template, templates/front/channel_description.html)
2023-10-12 14:37:00 +03:00
Florian Apolloner
7057f6d3a5
Notification groups. Fixes #894 ( #901 )
...
* MVP for notification groups.
* Addressed review comments.
* Push notification group to the front.
* Updated icons.
* Reduce code duplication.
* Show groups at the top.
* Add label to group forms.
* Add checkboxes for integration selection.
* CSS for checkboxes.
* Added tests for group notify.
2023-10-06 17:02:41 +03:00
Pēteris Caune
d79069f669
Fix type warnings, improve type hints in hc.front.views
2023-09-06 11:18:47 +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
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
64f13d1219
Update Trello onboarding form to allow tokens up to 256 chars long
...
cc: #806
2023-03-29 15:19:45 +03:00
Pēteris Caune
bea84b744a
Update Trello onboarding form to allow longer Trello auth tokens
...
Trello token length change announcement:
https://community.developer.atlassian.com/t/trello-tokens-are-getting-longer/62964
Fixes : #806
2023-03-29 14:21:06 +03:00
Pēteris Caune
114faf1d42
Improve type hints
2023-01-30 13:07:03 +02:00
Pēteris Caune
f4bd1d69f2
Fix URL validation to allow hostnames with no TLD
...
Fixes : #782
2023-01-30 11:19:51 +02:00
Pēteris Caune
a9b084ec9a
Add "Start Keyword" filtering for inbound emails
...
Fixes : #716
2023-01-16 13:19:35 +02:00
Pēteris Caune
d2810d62d8
Simplify AddPushoverForm
2022-11-24 13:43:26 +02:00
Pēteris Caune
3dcc7d60a2
Add ntfy integration
...
Fixes : #728
2022-11-24 12:09:53 +02:00
Pēteris Caune
161430fb10
Sort imports and add "from __future__ import annotations"
2022-10-17 16:52:15 +03:00
Pēteris Caune
963f1758de
Improve type hints
2022-10-09 11:51:13 +03:00
Pēteris Caune
4d69ff937e
Add support for custom topics in Zulip notifications
...
Fixes : #583
2022-10-09 11:23:14 +03:00
Pēteris Caune
5b4073374e
Clean up hc.front.views.log
2022-09-09 16:43:21 +03:00
Pēteris Caune
37bbe5a9c7
Add date filters in the Log page
2022-09-09 14:16:17 +03:00
Pēteris Caune
5d5e469347
Implement documentation search
2022-08-22 11:56:02 +03:00
Pēteris Caune
3a50396806
Switch from requests to pycurl in integration onboarding views
2022-08-17 12:02:06 +03:00
Pēteris Caune
426d6d07b3
Update API to use success_kw and failure_kw fields
...
cc: #653
2022-07-13 11:05:13 +03:00
Pēteris Caune
003d35d431
Add "Filter by keywords in the message body" feature
...
cc: #653
2022-07-12 15:46:15 +03:00
Pēteris Caune
0c6223ffa5
Implement the "Add Check" dialog
2022-06-29 10:35:12 +03:00
Pēteris Caune
9e578f6dfc
Add "Disabled" priority for Pushover notifications
...
Fixes : #663
2022-06-10 18:19:12 +03:00
Pēteris Caune
b19ddab1bd
Add Gotify integration
...
Fixes : #270
2022-06-01 16:13:41 +03:00
Pēteris Caune
e0d2f36928
Improve period and grace controls, allow up to 365 day periods
...
Fixes : #281
2021-11-04 15:44:51 +02:00
Pēteris Caune
a127ab0f0c
Add handling for HTTP 502 response from Matrix server
2021-11-03 11:23:01 +02:00
Pēteris Caune
6f5a22fd98
Improve up/down flag validation
...
In SMS, Signal and WhatsApp forms, reject the form if
user unchecks both "alert when check goes DOWN" and
"alert when check goes UP".
2021-08-26 10:35:05 +03:00
Pēteris Caune
a27652d762
Combine the add_webhook and edit_webhook views
2021-08-25 20:29:46 +03:00
Pēteris Caune
2a9a544ddf
Add ability to edit existing email integrations
2021-08-25 18:04:54 +03:00
Pēteris Caune
544ec7ea69
Add handling for non-latin-1 characters in webhook headers
2021-08-10 10:36:58 +03:00
Pēteris Caune
64f2e86051
Increase "Success / Failure Keywords" field lengths to 200
2021-05-06 11:00:36 +03:00
Pēteris Caune
8d5890d883
Add the OPSGENIE_ENABLED setting, rename OpsGenie -> Opsgenie
2021-01-29 13:47:13 +02:00