208 Commits

Author SHA1 Message Date
Pēteris Caune
f352efdd5f
Experimental Zulip integration. Fixes #202 2020-03-11 16:38:29 +02:00
Pēteris Caune
dd3820c0d5
_get_check_for_user and _get_channel_for_user are always be used with an authenticated user, so don't need to handle the unauthenticated case. 2020-03-01 22:45:33 +02:00
Pēteris Caune
4bcfba728e
Use unittest.mock 2020-03-01 22:30:12 +02:00
Pēteris Caune
dab15c3b8c
Link integration setup instructions from the welcome page (only the ones that don't require authentication: Slack, Pushover, PagerDuty Connect, Telegram) 2020-02-27 16:32:31 +02:00
Pēteris Caune
29e016d0fc
Update Telegram instructions. Fix redirect after login when adding Telegram integration. 2020-02-27 15:52:00 +02:00
Pēteris Caune
0c9c453ea0
Profile.current_project not used any more, remove last remaining references. cc: #336 2020-02-27 12:34:21 +02:00
Pēteris Caune
93b48ce720
In setup instructions, show an additional "log ina adn go to the Integrations" page for logged-out users 2020-02-27 12:16:42 +02:00
Pēteris Caune
9389408cbc
The "require_setting" decorator and more tests. 2020-02-27 11:35:18 +02:00
Pēteris Caune
b5b5c58d77
Split "Add Pagerduty Connect" in three views for clarity. 2020-02-27 10:28:14 +02:00
Pēteris Caune
157711bc95
Reduce usage of Profile.current_project cc: #336 2020-02-26 10:56:17 +02:00
Pēteris Caune
bb808852d9
Reduce usage of request.project cc: #336 2020-02-25 15:39:54 +02:00
Pēteris Caune
318934697f
Remove last references of the hc-channels route. 2020-02-25 15:26:33 +02:00
Pēteris Caune
f2375f9f45
Don't redirect to /integrations/, redirect to /project/<uuid>/integrations/ 2020-02-25 15:19:20 +02:00
Pēteris Caune
7060d49306
The "Add Telegram" page shows a project picker. cc: #336 2020-02-25 14:51:39 +02:00
Pēteris Caune
acce0808ce
Project code in URL for the "Add Slack" page. cc: #336 2020-02-25 14:22:34 +02:00
Pēteris Caune
dee189be33
Project code in URL for the "Add Trello" page. cc: #336 2020-02-25 11:24:32 +02:00
Pēteris Caune
f6f2b18c5d
Project code in URL for the "Add Pushover" page. cc: #336 2020-02-25 10:48:58 +02:00
Pēteris Caune
ea333f7ac1
Project code in URL for the "Add PagerDuty (Connect)" page. cc: #336 2020-02-25 10:14:42 +02:00
Pēteris Caune
f13ad875a1
Project code in URL for the "Add Discord" page. cc: #336 2020-02-25 09:57:11 +02:00
Pēteris Caune
38bd84cc91
Project code in URL for the "Add Pushbullet" page. cc: #336 2020-02-21 17:31:17 +02:00
Pēteris Caune
44819cb555
Project code in URL for the "Add PagerDuty" page. cc: #336 2020-02-21 15:47:45 +02:00
Pēteris Caune
81f9a604e1
Project code in URL for the "Add Shell" page. cc: #336 2020-02-21 15:44:55 +02:00
Pēteris Caune
88f2a01182
Project code in URL for the "Add Apprise" page. cc: #336 2020-02-21 15:40:56 +02:00
Pēteris Caune
056134f2de
Project code in URL for the "Add WhatsApp" page. cc: #336 2020-02-21 15:33:42 +02:00
Pēteris Caune
9f5c133719
Project code in URL for the "Add VictorOps" page. cc: #336 2020-02-21 15:30:01 +02:00
Pēteris Caune
250935006d
Project code in URL for the "Add SMS" page. cc: #336 2020-02-21 15:26:06 +02:00
Pēteris Caune
5fb5b05f2e
Project code in URL for the "Add Pagertree" page. cc: #336 2020-02-21 15:18:15 +02:00
Pēteris Caune
1f950feee1
Fix Matrix test case. 2020-02-21 15:14:24 +02:00
Pēteris Caune
0ea2369dc0
Project code in URL for the "Add Pagerteam" page. cc: #336 2020-02-21 15:08:53 +02:00
Pēteris Caune
a6d497b21e
Project code in URL for the "Add OpsGenie" page. cc: #336 2020-02-21 15:03:26 +02:00
Pēteris Caune
d0b77febbc
Project code in URL for the "Add MS Teams" page. cc: #336 2020-02-21 14:58:22 +02:00
Pēteris Caune
70ff6c53e4
Project code in URL for the "Add Mattermost" page. cc: #336 2020-02-21 14:54:17 +02:00
Pēteris Caune
f8758e39ea
Project code in URL for the "Add Matrix" page. cc: #336 2020-02-21 14:44:44 +02:00
Pēteris Caune
59f5b7a5f5
Project code in URL for the "Add Webhook" page. cc: #336 2020-02-21 14:29:05 +02:00
Pēteris Caune
ea423e5420
Project code in URL for the "Integrations" and the "Add Email" pages. cc: #336 2020-02-21 14:15:13 +02:00
Pēteris Caune
e52ac9af91
Put API key in the path (not query string) cc: #300 2020-02-14 16:39:31 +02:00
Pēteris Caune
12b946acf3
Experimental Prometheus metrics endpoint. cc: #300 2020-02-14 16:12:13 +02:00
Pēteris Caune
15b9611c5a
Show a warning in project's top navigation if the project has no configured integrations. Fixes #327 2020-02-13 10:29:01 +02:00
Pēteris Caune
c8ccd89af2
In hc.front.views.ping_details, if a ping does not exist, return a friendly message 2020-02-11 09:55:30 +02:00
Pēteris Caune
b0b6ee3149
In hc.front.views.ping_details, if a ping does not exist, return 404 instead of 500 2020-02-11 09:44:02 +02:00
Pēteris Caune
ccd30ac239
Stricter cron validation, reject schedules like "At midnight of February 31" 2020-02-07 11:38:50 +02:00
Pēteris Caune
5d9944873c
Don't trigger "down" notifications when changing schedule interactively in web UI 2020-02-05 10:31:20 +02:00
Pēteris Caune
7cf324872c
Replace the gear icon with three horizontal dots icon. Fixes #322.
Add a Pause button in the checks list. Fixes #312
2020-01-21 11:57:17 +02:00
Pēteris Caune
4ee2646539
Show a red "!" in project's top navigation if any integration is not working 2020-01-03 13:15:24 +02:00
Pēteris Caune
3649c500d2
Don't allow adding email integrations with both "up" and "down" unchecked 2019-12-27 17:25:37 +02:00
Pēteris Caune
38ed309a3c
Don't allow adding webhook integrations with both URLs blank 2019-12-27 17:13:44 +02:00
Pēteris Caune
84a4de32cc
Remove legacy webhook formats (newline-separated fields and the post_data key) from the Channel model 2019-12-27 15:07:15 +02:00
Pēteris Caune
6ebae33579
Fix "Send Test Notification" for webhooks that only fire on checks going up 2019-12-27 14:36:32 +02:00
Pēteris Caune
be286518b7
For webhook integration, validate each header line separately 2019-12-27 13:56:33 +02:00
Pēteris Caune
0d2c6217d3
Auto-submit the unsubscribe confirmation form only if signature is more than 5 minutes old. Idea from https://stackoverflow.com/questions/59281750/strategies-to-prevent-email-scanners-from-activating-unsubscribe-links/59381066#59381066 2019-12-18 16:10:30 +02:00