Commit graph

94 commits

Author SHA1 Message Date
Pēteris Caune
5dafc07c29 Return 403 when API key is wrong. Return 404 when resource not found. Return 405 when request method is wrong. Return 400 when request syntax is wrong. 2017-03-10 10:35:21 +02:00
Pēteris Caune
965accaedb REGISTRATION_OPEN setting. superuser accounts by default have team access enabled. Fixes #97 and #113 2017-02-24 15:58:11 +02:00
Pēteris Caune
6a1c5dd3b7 "Unsubscribe" link in alert emails. Fixes #111 2017-01-28 12:17:22 +02:00
Pēteris Caune
c16eeda004 Webhooks support POST, cleanup. 2017-01-21 18:29:55 +02:00
Pēteris Caune
17bf0d109e Fix CSRF in Slack, Pushbullet and Discord callbacks 2016-12-30 18:28:32 +02:00
Pēteris Caune
e5126925ec Discord integration 2016-12-30 14:26:54 +02:00
Pēteris Caune
aabfd55f7c Cleanup and tests for cron preview. 2016-12-26 10:27:19 +02:00
Pēteris Caune
1163364989 Improved "Update Timeout" form with dynamic preview for cron mode 2016-12-23 20:19:06 +02:00
Pēteris Caune
5a533441b5 When client GETs instead of POSTs, return HTTP 400 2016-12-21 17:22:48 +02:00
Pēteris Caune
fdc1bfcd57 Log page now lists sent notifications. Slack notification handles simple/cron check kinds. 2016-12-14 11:15:45 +02:00
Pēteris Caune
c8b1c482ea Populate timezones, use selectize. 2016-12-13 17:01:41 +02:00
Pēteris Caune
6ada656df4 UI for entering cron expression and setting timezone. 2016-12-13 13:09:53 +02:00
Pēteris Caune
ce57a1cc8b Calculate alert_after in Python code instead of a database trigger. This will allow complex calculations down the road. 2016-11-04 16:30:19 +02:00
Pēteris Caune
3456dd9f6e OpsGenie integration. Fixes #93 2016-10-17 13:25:14 +03:00
Pēteris Caune
ac4ba079d3 Validate channel values. Don't allow ftp addresses, http://localhost addresses, invalid email addresses 2016-10-02 17:52:48 +03:00
Pēteris Caune
965e32884b Django 1.10 2016-08-29 17:54:53 +03:00
Pēteris Caune
4f3365e235 Cleanup, handle "paused" state in email alerts and reports 2016-08-02 09:48:17 +03:00
Pēteris Caune
51cda31449 New feature: pause monitoring of an individual check. Fixes #67 2016-08-01 21:57:11 +03:00
Pēteris Caune
bff4eb4f80 Group testcases by view functions 2016-07-30 19:32:33 +03:00
Pēteris Caune
468c4b4b2c Pushbullet integration. Fixes #24 2016-07-30 18:01:47 +03:00
Pēteris Caune
fdb5aa5c98 /integrations/add_slack/ acts as a landing page if Slack button is configured. 2016-07-09 18:55:37 +03:00
Pēteris Caune
a97f23190e More data in API responses. 2016-07-09 17:06:00 +03:00
Pēteris Caune
760b5b4fdb Support for "Add to Slack" button 2016-07-08 00:05:05 +03:00
Pēteris Caune
1f70f56819 Check model gets "in_grace_period" method. It replaces the transient "grace" status. Also, remove references of the obsolete "paused" status. 2016-06-20 20:35:02 +03:00
Pēteris Caune
820c7b1352 "show usage" button next to each check 2016-06-06 17:14:43 +03:00
Pēteris Caune
742e7f992e Add "Terms" to footer. 2016-06-03 19:09:59 +03:00
Pēteris Caune
00d18e86bd Reduce query count for team lookups 2016-05-09 16:51:22 +03:00
Pēteris Caune
fdf9c607e5 Team Access, test cleanup 2016-05-09 15:35:13 +03:00
Pēteris Caune
47f2105562 Variables in webhook URLs. Fixes #52 2016-04-16 01:14:28 +03:00
Pēteris Caune
f78fb95d5e API documentation. 2016-02-18 00:07:10 +02:00
Pēteris Caune
7d305e216c List Pushover and VictorOps on welcome page. 2016-02-04 09:54:06 +02:00
Spencer Sun
0ff2f1a9c7 Add VictorOps integration 2016-02-03 17:35:29 -05:00
Pēteris Caune
2c04a42a57 Display last notification in Integrations page. 2016-01-31 20:29:49 +02:00
Di Wu
625d2cf298 comment 2016-01-19 07:37:26 -08:00
Di Wu
01a9505cc7 remove channel doesn't crash 2016-01-19 06:07:44 -08:00
Di Wu
10fafd1e84 fix docs page 2016-01-13 19:59:20 -08:00
Pēteris Caune
57b813677a Log page shows notice about reached ping log limit. 2016-01-11 12:27:57 +02:00
Di Wu
79b7327c9e fix tests and optimize authentication and fix some unclosed markup 2016-01-04 23:47:32 -05:00
Pēteris Caune
8e8d9abe3b Limit the number of inserted placeholders.
Otherwise, if period=1m and grace=1m then we can end up generating huge useless tables.
2016-01-03 18:24:46 +02:00
Pēteris Caune
1e3285423f Ping objects get "n" field, their serial numbers, used in "log page". "fillnpings" management command initially populates this field (it touches every ping so it takes time to complete).
Check.n_pings now stores the total number of pings the check has ever received. Running "prunepings" command doesn't affect this field. +a new "prunepingsslow" command which works in smaller chunks so is appropriate for initial pruning of a huge api_ping table.
2016-01-03 18:11:12 +02:00
Pēteris Caune
f178981334 Log: instead of timeline, show placeholders for "expected but not received" pings. 2016-01-03 02:43:56 +02:00
Pēteris Caune
7b98cf23a4 Adding tests to hc.payments 2016-01-02 17:07:48 +02:00
Pēteris Caune
31c10d357e Updated pricing page, added billing history and invoices. 2015-12-28 18:55:46 +02:00
Pēteris Caune
9c41258328 Privacy policy, updated content in About page, links in footer. 2015-12-27 00:42:40 +02:00
Pēteris Caune
35aed93b7f New feature: attaching tags to checks, and filtering checks list by their tags. 2015-12-14 12:52:42 +02:00
Pēteris Caune
53edb555dc I'll put this back. This works and uses single transaction, clear()/add() uses 2 transactions. 2015-12-07 21:09:54 +02:00
Di Wu
7158e340de fix and optimize checks channel view 2015-12-05 02:23:19 -08:00
Pēteris Caune
d68b9510bb request.build_absolute_uri() behind a reverse proxy doesn't build https links. Construct URLs using settings.SITE_ROOT instead. 2015-12-02 16:17:07 +02:00
Pēteris Caune
6812f4a5c6 More tests for PushOver integration 2015-12-02 15:18:11 +02:00
Pēteris Caune
3ba47b1a67 Style tweaks for PushOver integration 2015-12-02 14:46:41 +02:00