Commit graph

138 commits

Author SHA1 Message Date
Pēteris Caune
c4c657f5d4
Add "Transfer to Another Project" dialog in check's Details page. 2019-01-31 22:09:46 +02:00
Pēteris Caune
0994006603
Drop Check.user_id and Channel.user_id (obsolete, using project_id now) 2019-01-18 17:24:02 +02:00
Pēteris Caune
caf6668478
Prepare for the removal of Check.user_id and Channel.user_id 2019-01-18 16:44:09 +02:00
Pēteris Caune
34e54cca42
project_id must be not null. 2019-01-14 11:00:14 +02:00
Pēteris Caune
1c69cf7f89
Project model. cc: #183 2019-01-12 16:40:21 +02:00
Pēteris Caune
5edcd42033
Add the "Email Settings..." dialog and the "Subject Must Contain" setting 2019-01-04 16:07:11 +02:00
Pēteris Caune
4f2930bb05
Remove Ping.start and Ping.fail fields 2019-01-04 13:25:58 +02:00
Pēteris Caune
20df5843e3
Don't update Ping.start and Ping.fail fields (use Ping.kind instead) 2019-01-04 12:57:29 +02:00
Pēteris Caune
7480eca2a5
Add Ping.kind field 2019-01-04 11:24:53 +02:00
Pēteris Caune
be4c4f7a26
set Check.user to not null, add uniqueness constraint to Check.code 2019-01-02 09:58:54 +02:00
Pēteris Caune
179b085df4
Move Check.send_alert() to Flip.send_alerts() 2018-12-30 11:55:09 +02:00
Pēteris Caune
c225a67a3a
Index Channel.code 2018-12-26 01:16:09 +02:00
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