Pēteris Caune
ce23d65ebf
Check.get_status() returns "up" also during grace period
9 years ago
Pēteris Caune
89d37f8202
Check.in_grace_period() should not blow up if last_ping is None
9 years ago
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.
9 years ago
Pēteris Caune
feb2294a7e
Tests for team access.
9 years ago
Pēteris Caune
00d18e86bd
Reduce query count for team lookups
9 years ago
Pēteris Caune
fdf9c607e5
Team Access, test cleanup
9 years ago
Pēteris Caune
bbc87fe9bf
pruneemails and pruneusers commands for database cleanup
9 years ago
Pēteris Caune
6c3a99e977
Removing temporary data migration command.
9 years ago
Pēteris Caune
b52edd903d
Email webhook not used any more, removing.
9 years ago
Pēteris Caune
47f2105562
Variables in webhook URLs. Fixes #52
9 years ago
Pēteris Caune
e39b714447
Better logging in sendalerts.
9 years ago
Pēteris Caune
cd512378bf
fix tests
9 years ago
Spencer Sun
ae30eec1d0
Add GET /api/v1/checks/ to the API
9 years ago
Pēteris Caune
da613963e9
Email alerts and monthly reports have links to Log pages.
Don't show ping URLs -- gmail converts them to clickable links, and people click on them.
9 years ago
Pēteris Caune
6efb822f95
When creating a check via API, optionally assign all channels.
9 years ago
Pēteris Caune
5725a3a30a
Use six.string_types. This hopefully fixes python 2 test failures.
9 years ago
Pēteris Caune
5d2edfa4a0
First stab at API, POST /api/v1/checks
9 years ago
Pēteris Caune
5d2cc0b0fc
Set and revoke API key in Settings page.
9 years ago
Pēteris Caune
6bb08e16d6
Updated instructions and JSON payload for VictorOps integration.
9 years ago
Spencer Sun
0ff2f1a9c7
Add VictorOps integration
9 years ago
Pēteris Caune
dce16e6249
Less code duplication in hc.api.transports
9 years ago
Pēteris Caune
24c111738a
Pushover API expects form-data instead of JSON
9 years ago
Pēteris Caune
a71ce64579
Fix Pushover and HipChat.
9 years ago
Pēteris Caune
2c04a42a57
Display last notification in Integrations page.
9 years ago
Pēteris Caune
c7a651c330
sendalerts management command prints error messages to stdout.
9 years ago
Pēteris Caune
156f4dbeea
More tests for notifications.
9 years ago
Pēteris Caune
90d7806783
More tests for notifications.
9 years ago
Pēteris Caune
21a042aa16
Move notification logic to hc.api.transports. Don't use "paused" state for checks.
9 years ago
Pēteris Caune
63cc186fa3
Nicer slack messages.
9 years ago
Love Sharma
ddfcb0ff2a
test fix
9 years ago
Love Sharma
35e9c17f74
Add healthcheck UA to inform server about identity
Adding "healthcheck.io" as User-Agent to inform webhook handler server about request is specific from healthcheck.
9 years ago
Di Wu
2e6df69489
forwarded for and forwarded protocol
9 years ago
Di Wu
fe72792fd2
use basetestcase for most test cases that require predefined user, add test for ensuretriggers, add travis cache
9 years ago
Pēteris Caune
68fe11a41b
fillnpings catches up with pings received during the execution of the command
9 years ago
Pēteris Caune
b592e5b449
prunepingsslow command skips checks with user_id=null
9 years ago
Di Wu
79b7327c9e
fix tests and optimize authentication and fix some unclosed markup
9 years ago
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.
9 years ago
Pēteris Caune
4e12193d8c
Custom test runner for quicker tests.
9 years ago
Pēteris Caune
b9ae8d464c
Sort by id, not `created`, when pruning pings.
9 years ago
Pēteris Caune
7019325b48
Investigating Travis/mysql test failure
9 years ago
Pēteris Caune
940534e563
Test for check.prune_pings() method
9 years ago
Pēteris Caune
5a199fec4e
management commands use self.stdout.write instead of print. Fixes #21
9 years ago
Pēteris Caune
b7fcaac8ae
prunepings and prunechecks management commands
9 years ago
Pēteris Caune
15478d414c
Add n_pings field to Check model. This holds a continually updated count of api_ping entries for each check.
9 years ago
Pēteris Caune
1c2ee95968
Django 1.9
9 years ago
Pēteris Caune
4da8ebec88
Management command to send monthly reports.
9 years ago
Pēteris Caune
35aed93b7f
New feature: attaching tags to checks, and filtering checks list by their tags.
9 years ago
Pēteris Caune
d51d7ed181
Remove body field from Ping model.
9 years ago
Pēteris Caune
33ad56728c
Don't fill in body, will be removing it from model.
9 years ago
Pēteris Caune
3ba47b1a67
Style tweaks for PushOver integration
9 years ago