Commit graph

1081 commits

Author SHA1 Message Date
Pēteris Caune
46c00e31a6
Use Project.badge_key in api.views.badge 2019-01-12 22:28:23 +02:00
Pēteris Caune
b5df5b3c6e
Project.badge_key must be not null and unique. 2019-01-12 22:08:43 +02:00
Pēteris Caune
d102f10a2d
Add Project.badge_key so we can preserve the current badge URLs 2019-01-12 21:56:56 +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
b4635c69e7
Django 2.1.5 2019-01-07 11:03:46 +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
0bdb0213e6
Resize and pngquant the integration icons 2018-12-29 20:25:03 +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
5dc4a879e4
Add MyPropertyOffice/node-hchk to docs - resources. 2018-12-25 21:20:21 +02:00
Pēteris Caune
67d72758be
v1.4.0 2018-12-25 17:51:40 +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
b803d877d0
Fix formatting. 2018-12-18 23:05:37 +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
a3ddf0ddef
Use email instead of team name in "<user> invites you to their account" emails. Unfortunately the team name is being abused for spam. 2018-12-12 18:09:41 +02:00
Pēteris Caune
837cac300d
Use email instead of team name in "<user> invites you to their account" emails. Unfortunately the team name is being abused for spam. 2018-12-12 16:35:31 +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