Commit graph

164 commits

Author SHA1 Message Date
Pēteris Caune
1dea8b6050
Add support for OpsGenie EU region. Fixes #294 2019-10-14 20:31:25 +03:00
Pēteris Caune
0d924f4627
Add the "Last Duration" field in the "My Checks" page. Add "last_duration" attribute to the Check API resource. Fixes #257 2019-09-03 13:46:41 +03:00
Pēteris Caune
862bafc331
Mattermost integration WIP cc: #276 2019-08-20 22:59:11 +03:00
Chris Caron
c2b1d00422 Apprise Integration 2019-08-07 19:36:06 -04:00
Pēteris Caune
033d0ab197
Partial indexes for api_check.alert_after and api_flip.processed fields. 2019-07-20 16:58:41 +03:00
Pēteris Caune
b37d908879
Optimization: don't instantiate Flip objects in Check.downtimes() 2019-07-20 12:17:00 +03:00
Pēteris Caune
b2ebce6cf9
Show the number of downtimes and total downtime minutes in "Check Details" page. 2019-07-20 11:42:16 +03:00
Pēteris Caune
b7320b1b69
In monthly report, show months in ascending order. Cleanup. 2019-07-20 10:17:00 +03:00
Pēteris Caune
cb2e763e98
Cleanup in Check.outages_by_month() and tests. 2019-07-19 19:42:37 +03:00
Pēteris Caune
b74e56a273
Experimental: show the number of outages and total downtime in monthly reports. (#104) 2019-07-19 17:32:39 +03:00
Pēteris Caune
77fd0d00e0
Add "desc" back in the readonly API responses, and add "unique_key" field, derived from code. 2019-07-04 19:33:26 +03:00
Pēteris Caune
1f1b1aedca
Don't include ping URLs in API responses when the read-only key is used 2019-07-04 09:36:27 +03:00
Pēteris Caune
40f4adf78b
Add WhatsApp integration (uses Twilio same as the SMS integration) 2019-05-31 13:01:01 +03:00
Pēteris Caune
d054970b02
Webhooks support PUT method.
.Webhooks can have different request bodies and headers for "up" and "events".
2019-05-28 14:25:29 +03:00
Pēteris Caune
cdfc9840a7
Source formatted with Black 2019-05-15 14:27:50 +03:00
Pēteris Caune
dd9fbc9e8c
Fixing a too low rate limit I had used while debugging. 2019-05-07 12:26:08 +03:00
Pēteris Caune
afaa8767cd
Rate limit login-with-password attempts. 2019-04-26 15:51:10 +03:00
Pēteris Caune
beae8e62b4
Rate limit team invites to 20/day 2019-04-26 09:04:51 +03:00
Pēteris Caune
d299feb420
Salt the ip address before hashing 2019-04-25 21:55:30 +03:00
Pēteris Caune
aaa3b2748e
Rate limiting for the "Log In" emails 2019-04-25 21:28:40 +03:00
Pēteris Caune
a4fde44e3a
Can configure the email integration to only report the "down" events. Fixes #231 2019-04-10 17:54:19 +03:00
Michal Bryc
9b4c4482cb Always use "Pager Team" and use more descriptive tagline 2019-03-15 16:23:37 -07:00
Michal Bryc
6f1ade98e2 Add more views 2019-03-13 22:03:24 -07:00
Pēteris Caune
f8c0c20d34
Retire HipChat. 2019-02-25 22:31:27 +02:00
Pēteris Caune
f539e99652
Matrix integration WIP. cc: #175 2019-02-22 18:23:36 +02:00
Pēteris Caune
5cbd99cb5c
Add the "desc" field (check's description) to API responses 2019-02-15 12:20:19 +02:00
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