Commit graph

126 commits

Author SHA1 Message Date
Pēteris Caune
e76329a364
Admin tweaks 2018-12-24 19:50:09 +02:00
Pēteris Caune
eee6fc12f4
Overwrite Check.last_start value 2018-12-21 14:02:25 +02:00
Pēteris Caune
fe04429fad
Don't update last_ping_was_fail, it is not read anywhere anymore. 2018-12-21 13:17:00 +02:00
Pēteris Caune
2f4b373e12
More test cases. Check.is_down() is redundant, removing. 2018-12-21 11:25:49 +02:00
Pēteris Caune
93405cc286
Tag labels in "My Checks" page and SVG badges should ignore the "started" state. 2018-12-20 19:19:46 +02:00
Pēteris Caune
5f9ebb178c
Rename "Check.get_alert_after" to a now more fitting "Check.going_down_after" 2018-12-19 21:57:48 +02:00
Pēteris Caune
0b6c317956
Fix Check.is_down(), add tests. 2018-12-19 18:27:58 +02:00
Pēteris Caune
481848a749
Add "/ping/<code>/start" API endpoint 2018-12-18 22:57:12 +02:00
Pēteris Caune
cf08f54c30
Use timezone-aware datetimes with croniter, avoid conversions to and from naive datetimes. This avoids ambiguities around DST transitions and properly solves #196 2018-12-14 12:24:12 +02:00
Pēteris Caune
5be6c403a4
Flip model, for tracking status changes of the Check objects. 2018-12-10 17:51:42 +02:00
Pēteris Caune
b9a24a21e7
Remove the Zendesk integration (unfinished, could not get it to work acceptably) 2018-11-30 22:07:37 +02:00
Pēteris Caune
fb45b67892
Set Pushover alert priorities for "down" and "up" events separately. Fixes #204 2018-11-28 21:40:46 +02:00
Pēteris Caune
a7061fe6a5
Add "Get a List of Existing Integrations" API call 2018-11-21 20:21:04 +02:00
Pēteris Caune
21de50d84e
Add Channel.name field, users can now name integrations. 2018-11-20 23:31:15 +02:00
Pēteris Caune
8889cfe993
Add "channels" attribute to the Check API resource 2018-11-08 12:13:18 +02:00
Pēteris Caune
df86fd29b3
During DST transition, handle ambiguous dates as pre-transition. Fixes #196 2018-10-23 12:35:07 +03:00
Pēteris Caune
e4d0103544
Trello integration WIP 2018-10-18 12:20:33 +03:00
Pēteris Caune
78aca869c5
"Details..." instead of "Show Log..." in emails. 2018-08-20 19:30:36 +03:00
Pēteris Caune
7046e2410c
Checks have a "Description" field. Fixes #182 2018-08-20 18:16:00 +03:00
Pēteris Caune
5cf6f1b51e
Merge Check.get_status() and Check.in_grace_period() into one.
This avoids duplicate calls to Check.get_grace_start() in several places.
2018-06-11 19:05:18 +03:00
Pēteris Caune
67363abe4f
Use icon font for channel icons. 2018-06-11 15:54:24 +03:00
Pēteris Caune
422de02ca9
oops 2018-06-11 11:30:05 +03:00
Pēteris Caune
83a2ff17e6
Toggle integrations on/off on "My Checks" page. 2018-06-10 23:19:25 +03:00
Pēteris Caune
dfcf7aafbe
Check.in_grace_period() looks at last_ping_was_fail flag. 2018-05-31 11:55:29 +03:00
Pēteris Caune
cdf39a88eb
Cleanup. 2018-05-17 19:43:39 +03:00
Pēteris Caune
3fc84ca0ff
Foundation for "fail" pings (cc: #151) 2018-05-17 19:41:13 +03:00
Pēteris Caune
ef6e1870d9
Preliminary Django 2 support 2018-04-24 22:38:02 +03:00
Pēteris Caune
218d0c6873 Remove Check.last_ping_body field. CSS tweaks for the "Ping Details" modal. 2018-03-18 15:54:57 +02:00
Pēteris Caune
282412f4ba Allow body to be null for easier db migration. 2018-03-18 15:10:08 +02:00
Pēteris Caune
02f6853d4c Save request body for every ping, not just the last one. 2018-03-18 14:55:41 +02:00
Pēteris Caune
cf6882edd3 SMS numbers can be annotated with labels. Fixes #155 2018-03-13 16:31:58 +02:00
Pēteris Caune
c126f7d0a2 Converting api_ping.id from integer to bigint. 2018-01-27 14:37:36 +02:00
Pēteris Caune
1392226538 sendalerts was not using the api_check (status, user_id, alert_after) index so removing it. The index was not selective enough. 2018-01-17 00:49:03 +02:00
Pēteris Caune
a869906fde Zendesk integration (experimental and hidden from Integrations page for now) 2017-12-29 22:53:09 +02:00
Austin
cb1eac50d9 Adds PagerTree Integration 2017-12-14 11:10:08 -08:00
Pēteris Caune
620d8523d7 GET webhooks support custom headers too. Can override the User-Agent header. 2017-11-10 12:16:11 +02:00
someposer
05c84d7976 Add support for arbitrary headers using a JSON body for webhooks. 2017-11-03 19:40:43 -05:00
someposer
0ea5927b6a Adding Content-Type header to Webhook integrations to work correctly with
services like https://ifttt.com/maker_webhooks which require a
specific content type, like application/json.
2017-11-03 13:41:36 -05:00
Pēteris Caune
f2a2241b6b Email listener: "./manage.py smtpd" 2017-11-01 19:20:12 +02:00
Pēteris Caune
7c1c20b07e Don't create new checks in the docs page. For examples, use a dummy "your-uuid-here" value. 2017-09-20 20:02:24 +03:00
Pēteris Caune
acbc1f0b23 Tweaks to filtering-by-tag, and to its documentation. 2017-09-12 12:51:31 +03:00
Pēteris Caune
8d0a2f2eaf Remove startup check for update_alert_after trigger, remove drop_triggers command. 2017-09-12 12:05:58 +03:00
Pēteris Caune
012a86495f Use client-side installation flow for installing HipChat integration. 2017-08-31 12:16:54 +03:00
Pēteris Caune
ef591b03ae Fetch HipChat's capabilities document 2017-08-30 17:25:13 +03:00
Pēteris Caune
96e00df0ab Use PagerDuty Connect. 2017-08-29 22:23:24 +03:00
Pēteris Caune
bef71c0acc For HipChat integration, use HipChat's server-side installation flow. 2017-08-25 19:11:41 +03:00
Pēteris Caune
25fb11bb3e Alerts to SMS, work in progress. 2017-07-13 23:47:54 +03:00
Pēteris Caune
a62350cdad In the "List checks" API response, the "next_ping" date was incorrect for checks using cron syntax. Fixed. 2017-06-29 14:41:13 +03:00
Tomasz Wójcik
27f917ce02 Return consistent date formats in API 2017-06-28 13:02:11 +02:00
Pēteris Caune
74f7c50a65 Fix deprecation warnings. 2017-06-02 22:39:53 +03:00