1090 Commits

Author SHA1 Message Date
Pēteris Caune
38bd84cc91
Project code in URL for the "Add Pushbullet" page. cc: #336 2020-02-21 17:31:17 +02:00
Pēteris Caune
44819cb555
Project code in URL for the "Add PagerDuty" page. cc: #336 2020-02-21 15:47:45 +02:00
Pēteris Caune
81f9a604e1
Project code in URL for the "Add Shell" page. cc: #336 2020-02-21 15:44:55 +02:00
Pēteris Caune
88f2a01182
Project code in URL for the "Add Apprise" page. cc: #336 2020-02-21 15:40:56 +02:00
Pēteris Caune
056134f2de
Project code in URL for the "Add WhatsApp" page. cc: #336 2020-02-21 15:33:42 +02:00
Pēteris Caune
9f5c133719
Project code in URL for the "Add VictorOps" page. cc: #336 2020-02-21 15:30:01 +02:00
Pēteris Caune
250935006d
Project code in URL for the "Add SMS" page. cc: #336 2020-02-21 15:26:06 +02:00
Pēteris Caune
f6a7d46058
Project code in URL for the "Add Prometheus" page. cc: #336 2020-02-21 15:22:10 +02:00
Pēteris Caune
5fb5b05f2e
Project code in URL for the "Add Pagertree" page. cc: #336 2020-02-21 15:18:15 +02:00
Pēteris Caune
1f950feee1
Fix Matrix test case. 2020-02-21 15:14:24 +02:00
Pēteris Caune
0ea2369dc0
Project code in URL for the "Add Pagerteam" page. cc: #336 2020-02-21 15:08:53 +02:00
Pēteris Caune
a6d497b21e
Project code in URL for the "Add OpsGenie" page. cc: #336 2020-02-21 15:03:26 +02:00
Pēteris Caune
d0b77febbc
Project code in URL for the "Add MS Teams" page. cc: #336 2020-02-21 14:58:22 +02:00
Pēteris Caune
70ff6c53e4
Project code in URL for the "Add Mattermost" page. cc: #336 2020-02-21 14:54:17 +02:00
Pēteris Caune
f8758e39ea
Project code in URL for the "Add Matrix" page. cc: #336 2020-02-21 14:44:44 +02:00
Pēteris Caune
59f5b7a5f5
Project code in URL for the "Add Webhook" page. cc: #336 2020-02-21 14:29:05 +02:00
Pēteris Caune
ea423e5420
Project code in URL for the "Integrations" and the "Add Email" pages. cc: #336 2020-02-21 14:15:13 +02:00
Pēteris Caune
5e051d53f8
Validate channel identifiers before creating/updating a check. Fixes #335 2020-02-20 10:43:40 +02:00
Pēteris Caune
cde1f50ac2
API: update check's "alert_after" field when changing schedule 2020-02-19 12:45:33 +02:00
Pēteris Caune
fb527e4ed8
Security: check channel ownership when setting check's channels via API 2020-02-19 12:19:51 +02:00
Pēteris Caune
435659166c
Don't let SuspiciousOperation bubble up when validating channel ids in API 2020-02-19 11:43:42 +02:00
Pēteris Caune
7a0f3421dd
Setup instructions for Prometheus. 2020-02-18 16:48:01 +02:00
Pēteris Caune
e52ac9af91
Put API key in the path (not query string) cc: #300 2020-02-14 16:39:31 +02:00
Pēteris Caune
12b946acf3
Experimental Prometheus metrics endpoint. cc: #300 2020-02-14 16:12:13 +02:00
Pēteris Caune
0ff4bd01e0
Improved UI to invite users from account's other projects. Fixes #258.
The team size limit is applied to the number of distinct users across all projects. Fixes #332.
2020-02-14 13:05:21 +02:00
Pēteris Caune
82d61335b0
The "render_docs" command checks if markdown and pygments is installed. cc: #329 2020-02-14 10:14:29 +02:00
Pēteris Caune
15b9611c5a
Show a warning in project's top navigation if the project has no configured integrations. Fixes #327 2020-02-13 10:29:01 +02:00
Pēteris Caune
c8ccd89af2
In hc.front.views.ping_details, if a ping does not exist, return a friendly message 2020-02-11 09:55:30 +02:00
Pēteris Caune
b0b6ee3149
In hc.front.views.ping_details, if a ping does not exist, return 404 instead of 500 2020-02-11 09:44:02 +02:00
Pēteris Caune
ccd30ac239
Stricter cron validation, reject schedules like "At midnight of February 31" 2020-02-07 11:38:50 +02:00
Pēteris Caune
4f6f1d9f66
Fix sendalerts crash loop when encountering a bad cron schedule 2020-02-07 10:36:45 +02:00
Pēteris Caune
ac4f1ca059
Log slow sendalerts.notify runs to stdout 2020-02-06 11:21:28 +02:00
Pēteris Caune
4a7074418a
Track the time spent sending notifications for each flip 2020-02-06 11:11:12 +02:00
Pēteris Caune
9f2638bf72
The sendalerts commands measures notification dwell time and reports it over statsd protocol. Experimental, may go away in a future commit. 2020-02-05 11:25:06 +02:00
Pēteris Caune
5d9944873c
Don't trigger "down" notifications when changing schedule interactively in web UI 2020-02-05 10:31:20 +02:00
Pēteris Caune
6bc4948d00
Removing obsolete comment: the index is defined in hc.api.models.Check.Meta 2020-02-04 15:32:25 +02:00
Pēteris Caune
f51a0a257e
Don't delete customer data in braintree when closing account.
Need customer data to stay in braintree until the end of each month for tax reports.
2020-02-03 11:11:21 +02:00
Pēteris Caune
e2fe2edcc1
Title tags for documentation pages. 2020-01-29 13:54:54 +02:00
Pēteris Caune
dbd21c325d
Docs: "HTTP API" page 2020-01-29 12:43:35 +02:00
Pēteris Caune
a276c24dd3
Docs overhaul WIP 2020-01-28 14:07:06 +02:00
Pēteris Caune
f41c78e40f
Serve the introduction page at /docs/ 2020-01-23 16:58:28 +02:00
Pēteris Caune
50c8c153ea
Documentation in Markdown. 2020-01-23 16:04:15 +02:00
Pēteris Caune
7cf324872c
Replace the gear icon with three horizontal dots icon. Fixes #322.
Add a Pause button in the checks list. Fixes #312
2020-01-21 11:57:17 +02:00
Pēteris Caune
cdad632082
Show sub-second durations with higher precision, 2 digits after decimal point. Fixes #321 2020-01-17 14:41:41 +02:00
Pēteris Caune
77033760f9
Make sure Check.last_ping and Ping.created timestamps match exactly 2020-01-17 14:30:32 +02:00
Pēteris Caune
58a118c494
Make Ping.body size limit configurable. Fixes #301 2020-01-17 12:44:39 +02:00
John Kristensen
819aa227e9 Increase allowable length of Matrix room alias
The existing 40 character limit prevents using the integration will
Matrix servers that might have a fairly lengthy hostname (ie.
'matrix.internal.example.com' would only allow 12 characters for the
room name or ID, and room IDs are 19 characters long).

Increasing the `max_length` to `100` is still fairly arbitrary but it
does match up with the `max_length` of the `name` field of the `Channel`
model and should cover most instances.
2020-01-16 13:38:47 +11:00
Pēteris Caune
b8108906f4
hc.api.views.bounce updates Channel.last_error 2020-01-08 11:14:34 +02:00
Pēteris Caune
c521b44d20
hc.api.views.bounce handles transient email bounces (logs error, does not disable the integration) 2020-01-08 10:50:29 +02:00
Pēteris Caune
c4edb415a2
Removing debug statement. 2020-01-07 11:47:53 +02:00