Commit graph

309 commits

Author SHA1 Message Date
Michal Bryc
9b4c4482cb Always use "Pager Team" and use more descriptive tagline 2019-03-15 16:23:37 -07:00
Michal Bryc
073bcb1f6f Add migration (autogenerated via manage.py makemigrations) 2019-03-14 11:03:52 -07:00
Michal Bryc
5d368eb24e Clean migration 2019-03-13 22:05:49 -07:00
Michal Bryc
6f1ade98e2 Add more views 2019-03-13 22:03:24 -07:00
Pēteris Caune
945a66ab0a
Management command for sending inactive account notifications 2019-03-13 00:38:34 +02:00
Pēteris Caune
cb1b792d6c
smtpd: get a new db connection for every incoming email. cc: #213 2019-02-27 16:44:03 +02: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
3c4027b788
Quicker admin. 2019-02-04 22:28:04 +02:00
Pēteris Caune
c60a33874f
Quicker admin. 2019-02-04 20:11:45 +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
7ecd0b606d
Quicker prunenotifications, skip checks with low n_pings values. 2019-01-22 11:09:41 +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
e1b999e83a
Prepare for the removal of Check.user_id 2019-01-18 14:59:01 +02:00
Pēteris Caune
c08f02ab7f
Drop Profile.api_key and Profile.api_key_readonly (both are stored with Project now) 2019-01-17 16:26:45 +02:00
Pēteris Caune
fba8806e97
Prepare for the removal of Member.team_id 2019-01-14 22:33:28 +02:00
Pēteris Caune
f357cd3305
Prepare for removing Check.user_id, Channel.user_id, Profile.current_team_id 2019-01-14 21:13:57 +02:00
Pēteris Caune
82b644ae0a
Project.num_checks_available() method. 2019-01-14 12:55:54 +02:00
Pēteris Caune
965998df18
Fix tests. 2019-01-14 11:28:10 +02:00
Pēteris Caune
34e54cca42
project_id must be not null. 2019-01-14 11:00:14 +02:00
Pēteris Caune
46c00e31a6
Use Project.badge_key in api.views.badge 2019-01-12 22:28:23 +02:00
Pēteris Caune
6b7f212c8a
Use the api keys from project, not user profile 2019-01-12 21:34:45 +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
5067014a19
Prefetch Channel objects, avoid running a query per check. 2018-12-26 00:21:56 +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
cc40793fc7
Clear Check.alert_after when pausing a check. 2018-12-21 11:31: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
11f65ff7aa
Optimize db query in sendalerts 2018-12-12 19:04:37 +02:00
Pēteris Caune
828bc52f80
Admin tweaks 2018-12-12 18:16:28 +02:00
Pēteris Caune
58a34ae061
Admin tweaks 2018-12-12 18:12:04 +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
440a143dd6
Add CORS support to API endpoints. Fixes #208 2018-12-06 17:36:20 +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