Pēteris Caune
e55650c781
Syntax highlighting for API examples.
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
bb193cf4f1
Profile and Subscription managers use get_or_create to avoid some boilerplate
9 years ago
Pēteris Caune
636710f4f0
Don't use Subscription.objects.for_user method here, so a subscription object is not created just by viewing a page.
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
Mounir
3c0eeddbb7
Using backend name django.db.backends.postgresql
Using new backend name which come with Django 1.9 django.db.backends.postgresql instead of django.db.backends.postgresql_psycopg2
9 years ago
Pēteris Caune
f78fb95d5e
API documentation.
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
144cf0da90
pygmentize management command needs to be run rarely, and only during development. Remove Pygments from requirements.txt
9 years ago
Pēteris Caune
5d2cc0b0fc
Set and revoke API key in Settings page.
9 years ago
Pēteris Caune
7d305e216c
List Pushover and VictorOps on welcome 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
625d2cf298
comment
9 years ago
Di Wu
01a9505cc7
remove channel doesn't crash
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
Di Wu
10fafd1e84
fix docs page
9 years ago
Pēteris Caune
57b813677a
Log page shows notice about reached ping log limit.
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
Pēteris Caune
6945497b37
Don't try to import braintree if USE_PAYMENTS=False. Fixes #28
9 years ago
Di Wu
79b7327c9e
fix tests and optimize authentication and fix some unclosed markup
9 years ago
Pēteris Caune
1dacc8b797
Users can add passwords to their accounts. Fixes #6
9 years ago
Pēteris Caune
b92b0db087
Fix tests.
9 years ago
Pēteris Caune
dd188064fa
Store the one time login token in profile so user.password can be used for regular passwords.
9 years ago
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.
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
f178981334
Log: instead of timeline, show placeholders for "expected but not received" pings.
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
e80d46a0a9
More tests.
9 years ago
Pēteris Caune
44f0ad45a4
More tests.
9 years ago
Pēteris Caune
74c5e5d906
Use assertRedirects() to test redirects.
9 years ago