1377 Commits

Author SHA1 Message Date
Pēteris Caune
a3b58d25ff
Change "--output" to "-o" in curl examples. 2020-06-15 16:14:03 +03:00
Pēteris Caune
bd3f150284
Merge pull request #380 from Simonmicro/master
Switched from pipeing to --output /dev/null for curl
2020-06-15 15:57:59 +03:00
Pēteris Caune
84889d6160
Render docs. 2020-06-15 13:28:20 +03:00
Pēteris Caune
276c36841a
Merge branch 'jameskirsop-return-single-history' 2020-06-15 13:27:37 +03:00
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
Pēteris Caune
f9c10d99c1
Merge pull request #383 from makom/master
fix typo
2020-06-15 12:05:05 +03:00
James Kirsop
368d7a4fec Commit with requested changes and tests 2020-06-15 13:15:57 +10:00
Martin
c11526a05d
Merge pull request #1 from makom/fix-typo
fix typo
2020-06-14 17:22:43 +02:00
Martin
bc0684df63
fix typo 2020-06-14 14:51:11 +02: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
Simon Beginn
4592987810 Switched from piping to --output /dev/null for curl 2020-06-11 20:30:41 +02: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