Commit graph

309 commits

Author SHA1 Message Date
Pēteris Caune
f99c222ebf More deterministic compressed CSS files. 2017-04-28 10:05:57 +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
e685154cc2 "Close Account" section in Settings page. Fixes #95 2017-03-16 19:39:30 +02:00
Pēteris Caune
d739d8ff62 DRY: use channel.get_kind_display() 2017-03-16 18:12:30 +02:00
Pēteris Caune
4906a5247c Split "Account Settings" page into subpages. 2017-03-16 16:06:22 +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
666706ef3e Pricing updates. 2017-03-07 16:49:39 +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
Pēteris Caune
68d591c677 No CSRF check for /bounce endpoint 2017-03-05 22:14:09 +02:00
Pēteris Caune
0d24d650f2 "X-Bounce-Url" header in email messages. An API endpoint to handle bounce notifications. (#112) 2017-03-05 21:42:36 +02:00
Pēteris Caune
f767cf59aa ctx can contain database query objects, evaluate them before passing off to a thread 2017-02-28 15:21:44 +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
20b046cba7 API call for updating checks 2017-02-19 13:46:05 +02:00
Pēteris Caune
b63f19f415 Simplify: remove djmail and django-ses-backend dependencies. 2017-01-29 11:44:22 +02:00
Pēteris Caune
a4bcbb28aa /admin/login/ uses the same login view as the main site. 2017-01-28 13:16:42 +02:00
Pēteris Caune
c6c195b016 local_settings.py.example 2017-01-28 12:38:52 +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
ae4144b1cd More tests for sendreports. 2017-01-15 16:24:08 +02:00
Pēteris Caune
8d956b3365 email template from Litmus. CSS already inlined, so dropping premailer dependency. 2017-01-15 13:10:08 +02:00
Pēteris Caune
b8aabd711c Testcase for sendreports 2017-01-15 13:07:19 +02:00
Pēteris Caune
caa6b2758e pruneusers management command does not touch users with team memberships. Tests. 2017-01-14 11:51:15 +02:00
Pēteris Caune
a0241a9a74 Fix tests. 2017-01-04 15:32:14 +02:00
Pēteris Caune
b93336a44d API support for cron syntax 2017-01-04 15:27:59 +02:00
Pēteris Caune
6ae12dbb18 Fix MySQL tests. 2017-01-04 13:56:27 +02:00
Pēteris Caune
fc415b39c8 Better formatting for Pushover notifications in log 2016-12-31 16:18:27 +02:00
Pēteris Caune
6d7c885ede /admin/api/channel/ knows Discord 2016-12-31 15:53:26 +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
a412f05651 /switch_team/ requires login and a valid target username 2016-12-21 18:05:55 +02:00
Pēteris Caune
52cd2a9c8e API rejects too long check names 2016-12-21 17:38:25 +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
d9171adb1d _associate_demo_check was crashing for returning users after cleaning up old checks. 2016-12-21 17:11:03 +02:00
Pēteris Caune
56168b17d0 Usability tweaks in api_check_changelist admin view. 2016-12-21 12:50:06 +02:00
Pēteris Caune
b22b0a44e2 Validate cron expression before saving check. 2016-12-21 12:24:24 +02:00
Pēteris Caune
0b6d484bd5 "prunenotifications" management command 2016-12-15 18:54:03 +02:00
Pēteris Caune
c6d5e64286 Warn about obsolete update_alert_after trigger. 2016-12-14 12:20:08 +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
5a4c3ce8ea Fix tests. 2016-12-13 21:37:29 +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
8633a5a892 Check model supports cron-style schedule 2016-12-05 11:08:06 +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