Pēteris Caune
2a63d24812
Add a "Subject" field in the "Ping Details" dialog
2021-02-26 11:19:44 +02:00
Pēteris Caune
1bc89f0d5d
Implement email body decoding in the "Ping Details" dialog
2021-02-23 17:34:33 +02:00
Pēteris Caune
44a677f327
Fix hc.api.views.notification_status to always return 200
...
If the notification does not exist, or is more than a hour
old, return HTTP 200 (instead of 400 or 404) so the other
party doesn't retry over and over again.
2021-02-09 14:25:26 +02:00
Pēteris Caune
1e84cac37d
Relax cron expression validation
...
Accept all expressions that croniter accepts.
If cron-descriptor throws an exception, don't show the
description to the user.
2021-02-09 11:34:53 +02:00
Pēteris Caune
c1f433bb71
Rename VictorOps -> Splunk On-Call
2021-02-03 16:09:24 +02:00
Pēteris Caune
5979204691
Fix downtime summary to handle months when the check didn't exist
...
Fixes : #472
2021-02-03 14:27:06 +02:00
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
b7c769fc0e
Add a section in Docs about running self-hosted instances
...
Fixes : #467
2021-01-21 11:35:09 +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
847a610af9
Sort hc-add-* routes
2021-01-09 16:52:48 +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
8fe8e0f605
Update alert email template: more information, less styling
...
Fixes : #348
2020-12-26 18:11:36 +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
524d1a7375
Implement badge mode (up/down vs up/late/down) selector
...
Fixes #282
2020-11-27 12:57:25 +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
ad720af242
Rename "hc-p-channels" to "hc-channels"
2020-09-01 12:56:35 +03:00
Pēteris Caune
5ebb5958ea
Remove unused "project" parameter in Pushbullet tests.
2020-09-01 12:18:24 +03:00
Pēteris Caune
9ba9032389
Cleaner OAuth redirect_uri generation
2020-09-01 12:07:13 +03:00
Pēteris Caune
d1b1a6c02e
The LINE Notify integration uses OAuth2 flow.
2020-09-01 11:38:08 +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