Pēteris Caune
67560c96e1
Change icon CSS class prefix to work around Fanboy's filter list
...
Problem: if you use uBlock Origin, and enable the
"Fanboy's Social" filter list, Healthchecks does not show
Telegram or WhatsApp icons. This is because the filter list
contains "##.icon-telegram" and "##.icon-whatsapp" entries.
This commit changes the CSS class prefix to "ic-". So we're
now using icon classes like "ic-telegram" and "ic-whatsapp".
As a bonus, we save 2 bytes in HTML per displayed icon :-)
2021-02-03 10:44:35 +02:00
Pēteris Caune
65ace8238a
Add the ZULIP_ENABLED setting
2021-02-03 09:11:32 +02:00
Pēteris Caune
e2c90c05b8
Add the VICTOROPS_ENABLED setting
2021-02-03 09:00:28 +02:00
Pēteris Caune
205f1ccce6
Upgrade croniter to 1.0.6
2021-02-02 08:50:25 +02:00
Pēteris Caune
8811640d45
Add the SPIKE_ENABLED setting
2021-01-29 15:21:38 +02:00
Pēteris Caune
725be65bdd
Add the PROMETHEUS_ENABLED setting
2021-01-29 15:05:42 +02:00
Pēteris Caune
419d96da7a
Add the PAGERTREE_ENABLED setting
2021-01-29 14:21:02 +02:00
Pēteris Caune
28150e85fa
Add the PD_ENABLED setting
2021-01-29 14:06:40 +02:00
Pēteris Caune
8d5890d883
Add the OPSGENIE_ENABLED setting, rename OpsGenie -> Opsgenie
2021-01-29 13:47:13 +02:00
Pēteris Caune
5f31b8b873
Add the MSTEAMS_ENABLED setting
2021-01-29 13:20:44 +02:00
Pēteris Caune
6c3debaf11
Add the MATTERMOST_ENABLED setting
2021-01-29 12:36:47 +02:00
Pēteris Caune
52435a9a0c
Add the SLACK_ENABLED setting
2021-01-29 11:59:33 +02:00
Pēteris Caune
67ff8a9bee
Add the WEBHOOKS_ENABLED setting
2021-01-29 11:16:11 +02:00
Pēteris Caune
45078e6566
Set the SECRET_KEY default value back to "---"
...
Previously, I had changed the default value to "", to force
users to set the SECRET_KEY value (the app refuses to start
if SECRET_KEY is empty).
The problem with that is, out of the box, with the default
configuration, the tests also don't run and complain about the
empty SECRET_KEY.
So, a compromise: revert back to the default value "---".
At runtime, if SECRET_KEY has the default value, show a warning
at the top of every page.
2021-01-28 15:38:14 +02:00
Pēteris Caune
ae976a38b6
Fix a crash when adding an integration for an empty Trello account
2021-01-28 12:57:08 +02:00
Pēteris Caune
b9997137a6
Bump croniter version to 1.0.2
2021-01-27 09:46:33 +02:00
Pēteris Caune
d45dc2f6a3
Change Zulip onboarding, ask for the zuliprc file
...
Fixes : #202
2021-01-19 11:04:38 +02:00
Pēteris Caune
ce7e32ac03
Fix tests
2021-01-13 11:57:19 +02:00
Pēteris Caune
74ed15e0aa
Update the signal integration to use DBus
...
The initial implementation was just calling signal-cli directly
using `subprocess.run`.
Going with DBus makes it easier to shield signal-cli from the
rest of the system. It also makes sure the signal-cli daemon is
running in the background and receiving messages. This is important
when a recipient does the "Reset secure connection" from the app. We
must receive their new keys, otherwise our future messages will
appear as "bad encrypted message" for them.
2021-01-13 11:52:42 +02:00
Pēteris Caune
55a22e5043
Split AddSmsForm into PhoneNumberForm and PhoneUpDownForm
...
The PhoneNumberForm is used in "Add SMS" and "Add Phone Call" pages.
The PhoneUpDownForm is a subclass of PhoneNumberForm and
adds "up" and "down" boolean fields. It is used in "Add Signal"
and "Add WhatsApp" pages.
2021-01-10 15:52:33 +02:00
Pēteris Caune
cd99af14ba
Add Signal integration
...
Fixes : #428
2021-01-09 11:58:18 +02:00
Pēteris Caune
599f35e4f0
Improve the crontab snippet in the "Check Details" page
...
Fixes : #465
2020-12-30 13:49:33 +02:00
Pēteris Caune
823b3dbc7b
Fix tests
2020-12-16 14:11:36 +02:00
Pēteris Caune
0f1abd3498
Add tighter parameter checks in hc.front.views.serve_doc
2020-12-14 19:08:36 +02:00
Pēteris Caune
5d650f07fb
Fix db field overflow when copying a check with a long name
2020-12-03 13:01:53 +02:00
Pēteris Caune
617bd92434
Add Ping.exitstatus field, store received exit status values in db
...
Fixes #455
2020-11-29 12:12:44 +02:00
Pēteris Caune
155a1f132b
Simplify super() calls in tests
2020-11-16 11:20:01 +02:00
Pēteris Caune
f7e004b2ea
Improve phone number sanitization: remove spaces and hyphens
2020-10-30 11:32:09 +02:00
Pēteris Caune
a37e83aca8
Update AddSmsForm to remove any invisible unicode characers
2020-10-20 15:53:27 +03:00
Pēteris Caune
bd98174d4c
Fix missing Resume button. Fixes #421
2020-09-04 13:17:54 +03:00
Pēteris Caune
5ebb5958ea
Remove unused "project" parameter in Pushbullet tests.
2020-09-01 12:18:24 +03:00
Pēteris Caune
4f53325730
THe LINE Notify integration uses OAuth2 flow.
2020-09-01 11:37:54 +03:00
Pēteris Caune
39198c827a
Read-only users cannot edit or remove channels.
2020-08-26 14:48:31 +03:00
Pēteris Caune
24c34430ac
Read-only users cannot resume checks.
2020-08-26 14:12:52 +03:00
Pēteris Caune
bdf99e0ea7
The "Add Integration" pages require read-write access.
2020-08-26 14:06:51 +03:00
Pēteris Caune
c9baa2d8eb
Read-only users cannot toggle channels on and off.
2020-08-26 12:50:02 +03:00
Pēteris Caune
024d0adb9c
Read-only users cannot copy, transfer or remove checks.
2020-08-26 12:44:55 +03:00
Pēteris Caune
cbd7ffbffb
Read-only users cannot edit filtering rules.
2020-08-26 12:36:05 +03:00
Pēteris Caune
11d8e6197c
Read-only users cannot add checks.
...
Read-only users cannot pause checks.
2020-08-26 12:29:03 +03:00
Pēteris Caune
00790dc33c
Member.rw flag. Read-only users cannot edit check's name/desc/tags or schedule
2020-08-26 12:16:43 +03:00
Pēteris Caune
84cc33412a
When copying a check, copy all fields from the "Filtering Rules" dialog
2020-08-26 10:08:37 +03:00
Pēteris Caune
40f95d5a56
When copying a check, also copy the "failure keyword" field Fixes #417
2020-08-26 10:00:49 +03:00
carson.wang
74668551a7
Add tests & Doesn't get LineNotify token using setting
2020-08-20 10:42:04 +03:00
carson.wang
65b65188d1
Test LineNotify integration with healthcheck
2020-08-20 10:42:00 +03:00
Pēteris Caune
8ea510cda6
Removing unused /api/v1/notifications/{uuid}/bounce endpoint
2020-08-17 13:18:39 +03:00
Pēteris Caune
2ed9a8fd30
Rename Channel.sms_number property to Channel.phone_number. It is now used for SMS, WhatsApp and phone call notifications, so "sms_number" is not accurate any more.
2020-08-04 16:26:13 +03:00
Pēteris Caune
ee9ac0ffef
New integration: phone calls. Fixes #403
2020-07-29 18:30:50 +03:00
Pēteris Caune
0d03e3f00b
Add "Failure Keyword" filtering for inbound emails (cc: #396 )
2020-07-21 14:57:48 +03:00
Pēteris Caune
f789cad2af
Handle HTTP 429 responses from Matrix server when joining a Matrix room
2020-07-10 16:44:49 +03:00
Pēteris Caune
1f978ff80e
Fix tests.
2020-07-09 10:48:51 +03:00