Pēteris Caune
5ab09f61f7
Update changelog
2020-06-15 13:26:56 +03:00
Pēteris Caune
c3d8ee0965
Update API docs.
2020-06-15 13:25:55 +03:00
Pēteris Caune
832580f343
Simplify hc.api.views.flips, add validation and more tests.
2020-06-15 13:08:17 +03:00
Pēteris Caune
60d1c6e2a3
Format timestamp as ISO 8601 without microseconds, same as elsewhere.
2020-06-15 12:20:07 +03:00
Pēteris Caune
a90f8a3a56
Remove unused code.
2020-06-15 12:17:15 +03:00
James Kirsop
368d7a4fec
Commit with requested changes and tests
2020-06-15 13:15:57 +10:00
James Kirsop
c5c4e0f782
Returning all historical flips if no parameters are passed
2020-06-12 17:42:45 +10:00
James Kirsop
7d625cb6a6
Merge branch 'return-single-history' of https://github.com/jameskirsop/healthchecks into return-single-history
2020-06-12 13:39:13 +10:00
James Kirsop
90d4246848
Second interation of this
2020-06-12 13:39:03 +10:00
James Kirsop
4b1b232959
Chnange 'status' field in response to 'up'
2020-06-12 09:16:59 +10:00
James Kirsop
bc6ccd55b3
Implementation of history using Flips model statuses for a check
2020-06-12 09:16:59 +10:00
James Kirsop
aaadf6031f
Sample work for review
2020-06-12 09:16:59 +10:00
Pēteris Caune
beff11ceff
Fixing typo
2020-06-11 16:07:04 +03:00
Pēteris Caune
01fafd9908
Merge branch 'jameskirsop-Retrieve-check-by-unique_key'
2020-06-11 15:25:27 +03:00
Pēteris Caune
cdafc06c65
In urls.py, route "api/v1/checks/<sha1:unique_key>" directly to the hc.api.views.get_check_by_unique_key view.
...
Minor API documentation edits.
2020-06-11 15:24:45 +03:00
James Kirsop
8725c81144
Implementing new changes discussed to resolve #370
2020-06-11 17:00:27 +10:00
Pēteris Caune
fd4d59c4e1
API, optimization: avoid retrieving project twice from the database
2020-06-09 18:51:42 +03:00
Pēteris Caune
0e5d578360
Update _get_events to work same way as hc.api.views.pings (iterate over pings in ascending order)
2020-06-09 18:41:09 +03:00
Pēteris Caune
a07325e40f
Add "Get a list of checks's logged pings" API call ( #371 )
2020-06-09 18:09:57 +03:00
Pēteris Caune
461ef5e088
Paused ping handling can be controlled via API. Fixes #376
2020-06-09 15:16:39 +03:00
Pēteris Caune
8e51d26595
Removing Pager Team integration, project appears to be discontinued
2020-06-09 13:26:15 +03:00
Pēteris Caune
ffc45f0c74
Update CHANGELOG for release.
2020-06-04 15:07:34 +03:00
Pēteris Caune
4f1f06e29f
Merge pull request #374 from healthchecks/snyk-fix-e4c69a4ee669f785e6b47fee436364ef
...
[Snyk] Security upgrade django from 3.0.4 to 3.0.7
2020-06-04 15:05:30 +03:00
snyk-bot
b2175c9260
fix: requirements.txt to reduce vulnerabilities
...
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-DJANGO-571013
- https://snyk.io/vuln/SNYK-PYTHON-DJANGO-571014
2020-06-03 22:17:38 +00:00
Pēteris Caune
3eebd8968d
Added "When paused, ignore pings" option in the Filtering Rules dialog ( #369 )
2020-06-02 10:54:16 +03:00
Pēteris Caune
5c8b5b7b63
adaptiveSetInterval fires the first request immediately if runNow is true, in 3 seconds otherwise.
2020-06-01 11:51:40 +03:00
Pēteris Caune
cfb294862f
DRY, have a single "No billing address" modal dialog.
2020-05-29 15:33:33 +03:00
Pēteris Caune
95279f6f3f
Billing page allows setting up a subscription before a payment method is added.
2020-05-29 15:08:00 +03:00
Pēteris Caune
9617be6e1b
Fix alignment of plan columns.
2020-05-06 12:00:56 +03:00
Pēteris Caune
c70a2588c6
Update package versions
2020-05-01 11:05:44 +03:00
Pēteris Caune
b433e91b48
Merge pull request #366 from bdd/master
...
Add runitor to resources.{md,html}
2020-05-01 10:47:51 +03:00
Berk D. Demir
eb279c4c21
Add runitor to resources.{md,html}
...
From its README:
Why Do I Need This Instead of Calling curl from a Shell Script?
In addition to clean separation of concerns from the thing that needs to
run and the act of calling an external monitor, runitor packs a few neat
extra features that are bit more involved than single line additions to
a script.
It can capture the stdout and stderr of the command to send it along
with execution reports, a.k.a. pings. When you respond to an alert you
can quickly start investigating the issue with the relevant context
already available.
It can be used as a long running process acting as a task scheduler,
executing the command at specified intervals. This feature comes in
handy when you don't readily have access to a job scheduler like crond
or systemd.timer. Works well in one process per container environments.
2020-04-30 19:43:27 -07:00
Pēteris Caune
3730c67c80
Return max notification_id in metrics.
2020-04-26 20:34:52 +03:00
Pēteris Caune
98310eeeaa
Include timestamp in the metrics response.
2020-04-26 19:34:36 +03:00
Pēteris Caune
edbfd4b437
Added /api/v1/metrics/ endpoint, useful for monitoring the service itself
2020-04-26 17:45:50 +03:00
Pēteris Caune
7994259003
When an invited user logs in, redirect them to the new project
2020-04-24 14:46:43 +03:00
Pēteris Caune
fbd8419700
CSS tweaks in the welcome page, fix footer margin.
2020-04-24 14:02:55 +03:00
Pēteris Caune
9bfdbc4214
Fix login link.
2020-04-21 15:46:56 +03:00
Pēteris Caune
385021b44c
Don't let users clone checks if the account is at check limit
2020-04-20 19:34:35 +03:00
Pēteris Caune
e04a92ccf1
Profiles admin: filtering by number of checks, show check count by project.
2020-04-20 19:11:15 +03:00
Pēteris Caune
3cca17560a
Fix tests.
2020-04-20 17:11:00 +03:00
Pēteris Caune
00ea45655d
In checks list, the pause button asks for confirmation. Fixes #356
2020-04-20 17:09:48 +03:00
Pēteris Caune
825110a354
Channel icons in Admin > Channels
2020-04-20 13:56:24 +03:00
Pēteris Caune
abdff95ce8
Admin tweaks.
2020-04-20 13:33:21 +03:00
Pēteris Caune
c057dbfb2c
Cleanup.
2020-04-20 11:54:27 +03:00
Pēteris Caune
6ede17d93f
Cleanup and comments.
2020-04-20 11:23:07 +03:00
Pēteris Caune
d6bb2b5435
Merge pull request #360 from bdd/master
...
Remove redundant '-X POST' to curl
2020-04-19 11:47:11 +03:00
Berk D. Demir
34807dc5aa
Remove redundant '-X POST' to curl
...
Passing `--data-raw` to curl implies the request is method will be POST.
Unless we intend to do something entirely different, -X method override
shouldn't be used.
Curl's author Daniel Stenberg (@bagder) wrote about this back in 2015
https://daniel.haxx.se/blog/2015/09/11/unnecessary-use-of-curl-x/
2020-04-18 15:05:17 -07:00
Pēteris Caune
dda08a6143
capitalize plan's name
2020-04-14 10:30:59 +03:00
Pēteris Caune
4331497ccd
Merge pull request #359 from SuperSandro2000/typos
...
Fix typos with codespell
2020-04-14 10:28:01 +03:00