208 Commits

Author SHA1 Message Date
Pēteris Caune
fbf28e4038
Merge pull request #140 from someposer/master
Adding Content-Type header to Webhook integrations
2017-11-10 11:39:40 +02:00
someposer
5781ddfe4d Created an improved interface for arbitrary headers and simplified
header storage.
2017-11-05 19:10:19 -06:00
Pēteris Caune
363f219671 Don't log delivery notifications for unverified email addresses. 2017-11-04 17:52:11 +02:00
Pēteris Caune
ddd940688e Disable channel (mark as email_verified=False) when email bounces. 2017-11-04 17:35:14 +02:00
someposer
05c84d7976 Add support for arbitrary headers using a JSON body for webhooks. 2017-11-03 19:40:43 -05:00
someposer
ee0df8be95 Fixed issue with Transport test 2017-11-03 15:57:33 -05:00
someposer
08ac09ea93 Adding additional notify tests to improve coverage. 2017-11-03 15:43:34 -05:00
someposer
0ea5927b6a Adding Content-Type header to Webhook integrations to work correctly with
services like https://ifttt.com/maker_webhooks which require a
specific content type, like application/json.
2017-11-03 13:41:36 -05:00
Pēteris Caune
f2a2241b6b Email listener: "./manage.py smtpd" 2017-11-01 19:20:12 +02:00
Pēteris Caune
2a7ee66d1e Profile.set_next_nag_date does not touch already set dates. 2017-10-15 21:43:48 +03:00
Pēteris Caune
5c64e0cd5d If profile has next_nag_date set in future then set_next_nag_date does not touch it. 2017-10-15 20:25:04 +03:00
Pēteris Caune
882933668a Natural sort for check names, fixes #136.
Apply the user's chosen sort order in emails also.
2017-10-15 13:34:34 +03:00
Pēteris Caune
d520706c27 Adding an option to send daily or hourly reminders if any check is down. Fixes #48 2017-10-14 16:03:56 +03:00
Pēteris Caune
7c1c20b07e Don't create new checks in the docs page. For examples, use a dummy "your-uuid-here" value. 2017-09-20 20:02:24 +03:00
Pēteris Caune
23b237ed96 API call for deleting checks. 2017-09-12 13:33:12 +03:00
Pēteris Caune
acbc1f0b23 Tweaks to filtering-by-tag, and to its documentation. 2017-09-12 12:51:31 +03:00
Pēteris Caune
8d0a2f2eaf Remove startup check for update_alert_after trigger, remove drop_triggers command. 2017-09-12 12:05:58 +03:00
Umit Akkaya
afe4ec6df8 Ensure filter matches tag exactly 2017-09-07 20:32:05 +02:00
Umit Akkaya
01d8e982cc tags querystring param to filter checks by tags 2017-09-01 17:17:14 +02:00
Pēteris Caune
012a86495f Use client-side installation flow for installing HipChat integration. 2017-08-31 12:16:54 +03:00
Pēteris Caune
ef591b03ae Fetch HipChat's capabilities document 2017-08-30 17:25:13 +03:00
Pēteris Caune
96e00df0ab Use PagerDuty Connect. 2017-08-29 22:23:24 +03:00
Pēteris Caune
40bc11782e Nicer HipChat alerts. 2017-08-25 20:33:03 +03:00
Pēteris Caune
bef71c0acc For HipChat integration, use HipChat's server-side installation flow. 2017-08-25 19:11:41 +03:00
Pēteris Caune
8d58a3a361 Encode webhook POST body as utf-8. Fixes #130 2017-08-14 22:20:57 +03:00
Pēteris Caune
1851cc7af3 Replace non-breaking spaces with regular spaces for cheaper SMS messages. 2017-08-10 21:50:36 +03:00
Pēteris Caune
5f2da08d7e Per-profile, per-month counters of sent SMS messages. 2017-07-15 01:04:05 +03:00
Pēteris Caune
25fb11bb3e Alerts to SMS, work in progress. 2017-07-13 23:47:54 +03:00
Pēteris Caune
dec006890c Badges can now return either SVG or JSON 2017-06-29 15:48:59 +03:00
Pēteris Caune
a62350cdad In the "List checks" API response, the "next_ping" date was incorrect for checks using cron syntax. Fixed. 2017-06-29 14:41:13 +03:00
Tomasz Wójcik
27f917ce02 Return consistent date formats in API 2017-06-28 13:02:11 +02:00
Pēteris Caune
47d93c2522 Stricter UUID validation. 2017-06-08 17:02:26 +03:00
Pēteris Caune
dc76e4bdde Add Profile.bill_to field which goes on invoices. 2017-06-08 15:07:57 +03:00
Pēteris Caune
74f7c50a65 Fix deprecation warnings. 2017-06-02 22:39:53 +03:00
Pēteris Caune
207b0f9048 Adding on_delete keywords, more to come. 2017-05-28 13:38:38 +03:00
Pēteris Caune
94cdfe1e64 Check.schedule contains user input and needs to be escaped. 2017-05-12 11:15:23 +03:00
Pēteris Caune
2481aa5a23 Telegram integration. 2017-05-11 12:57:28 +03:00
Pēteris Caune
6920439f92 1KB for message bodies is not enough--email headers alone can take 5KB. Changing to 10KB 2017-05-09 16:21:31 +03:00
Pēteris Caune
3862cd6b06 Adding Check.last_ping_body field, and an UI to show it (#116) 2017-05-09 13:47:23 +03:00
Pēteris Caune
859a9ed735 Pricing page tweaks. Limit free accounts to 20 checks per account. 2017-05-07 16:58:44 +03:00
Pēteris Caune
09e5129bbe sendalerts reuses database connection. 2017-05-07 15:31:10 +03:00
Pēteris Caune
d7d21b0959 Pause before next report to avoid hitting sending quota 2017-04-24 22:35:16 +03:00
Pēteris Caune
9dcb1678f3 --no-threads flag for sendalerts command 2017-03-28 20:04:24 +01:00
Pēteris Caune
c073cb0b3a Lightweight 'server status' API endpoint, to be used by external load balancers 2017-03-27 11:18:08 +01:00
Pēteris Caune
d739d8ff62 DRY: use channel.get_kind_display() 2017-03-16 18:12:30 +02:00
Ronald Ip
7900a201c1
Add --no-loop option to sendalerts management command.
Allow `sendalerts` to be run by an external scheduler, on a one-shot
basis, exiting after all alerts have been sent.
2017-03-11 18:29:50 +08:00
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
31eca9c8e8 API: fix updating kind=cron to kind=simple 2017-03-10 09:54:16 +02:00
Pēteris Caune
d1b4643b45 Obsolete 2017-03-06 14:38:47 +02:00
Pēteris Caune
d5cb669172 /bounce handles long payloads. 2017-03-05 22:32:42 +02:00