Commit graph

1955 commits

Author SHA1 Message Date
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
99d46a0ca8
Use Ping.kind instead of Ping.start and Ping.fail when displaying logs and ping details. 2019-01-04 12:07:27 +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
da399e71b7
Remove unused bits. 2018-12-25 23:13:02 +02:00
Pēteris Caune
eb4e579a71
Update docs with the "/start" endpoint. 2018-12-25 17:39:40 +02:00
Pēteris Caune
b3e290b284
Show elapsed times in ping log 2018-12-25 13:01:49 +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
25e48f1b9f
croniter.is_valid() throws exceptions for some bad inputs, so must use try ... except 2018-12-14 18:58:35 +02:00
Pēteris Caune
a402dce293
Validate and reject cron schedules with six components 2018-12-14 15:21:02 +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
e21801f44e
Admin tweaks. 2018-12-14 11:12:13 +02:00
Pēteris Caune
1a9f7e17f8
Cancelling a plan clears out Subscription.plan_name 2018-12-14 11:05:57 +02:00
Pēteris Caune
a8c102f799
test_update_timeout: test if a Flip object gets created 2018-12-14 10:46:22 +02:00
Pēteris Caune
925d34daad
Update Check.status field when user edits timeout & grace settings 2018-12-13 16:53:26 +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
19ef8b3f7b
Allow simultaneous access to dashboards from different teams 2018-11-29 15:00:01 +02:00
Pēteris Caune
c2f200fa02
Allow simultaneous access to checks from different teams 2018-11-29 13:51:25 +02:00
Pēteris Caune
d36d4fb543
Additional python usage examples 2018-11-29 11:11:44 +02:00
Pēteris Caune
5aba9d6196
Fix after-login redirects to "Check Details" and other pages. 2018-11-28 22:06:12 +02:00
Pēteris Caune
b081631e90
Fix after-login redirects for users landing in the "Add Pushover" page 2018-11-28 21:45:54 +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
bf1395801f
Fix after-login redirects for users landing in the "Add Slack" page 2018-11-26 17:32:23 +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
01d94176dd
Tweak HTML and CSS in alert emails. 2018-11-14 11:04:48 +02:00
Pēteris Caune
66bc5cd7c2
Validate channel identifiers as UUIDs 2018-11-10 11:42:31 +02:00
Pēteris Caune
b3c22dcfd2
A workaround for some email agents automatically opening "Unsubscribe" links 2018-11-09 22:12:11 +02:00
Pēteris Caune
5f59d97d21
Fix tests. 2018-11-08 12:27:24 +02:00
Pēteris Caune
8889cfe993
Add "channels" attribute to the Check API resource 2018-11-08 12:13:18 +02:00