Pēteris Caune
3a00c0d2aa
Sending a test notification updates Channel.last_error. Fixes #391
2020-07-01 14:03:11 +03:00
Pēteris Caune
149096811d
In the checks list, indicate a started check with a progress spinner under the status icon (cc: #338 )
2020-06-25 16:44:25 +03:00
Pēteris Caune
a18eb134f5
Refactor: change Check.get_status(with_started=...) default value from True to False (with_started=False is or will be useful in more places)
2020-06-25 15:23:59 +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
James Kirsop
368d7a4fec
Commit with requested changes and tests
2020-06-15 13:15:57 +10:00
James Kirsop
8725c81144
Implementing new changes discussed to resolve #370
2020-06-11 17:00:27 +10: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
3eebd8968d
Added "When paused, ignore pings" option in the Filtering Rules dialog ( #369 )
2020-06-02 10:54:16 +03:00
Pēteris Caune
3730c67c80
Return max notification_id in metrics.
2020-04-26 20:34:52 +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
3cca17560a
Fix tests.
2020-04-20 17:11:00 +03:00
Pēteris Caune
9d2cf4f008
Don't escape HTML in the subject line of notification emails
2020-03-25 17:18:14 +02:00
Pēteris Caune
4a43ed59fc
Rate limiting for Telegram notifications (10 notifications per chat per minute)
2020-03-24 23:33:02 +02:00
Pēteris Caune
76ae42bc8f
"Get a single check" API call now supports read-only API keys. Fixes #346
2020-03-24 16:10:42 +02:00
Pēteris Caune
da4cf5241e
Minor cleanup, update CHANGELOG
2020-03-23 11:54:41 +02:00
James Kirsop
456a80f1fa
Adding tests and docs
2020-03-23 11:37:32 +11:00
James Kirsop
6373db8aa1
Changes to prototype this for testing with real data
2020-03-23 10:58:02 +11:00
Pēteris Caune
25d7d5409f
Telegram integration returns more detailed error messages
2020-03-19 22:16:22 +02:00
Pēteris Caune
5f2c20e46b
Zulip integration returns more detailed error messages
2020-03-19 22:05:13 +02:00
Pēteris Caune
8c7f3977e2
OpsGenie integration returns more detailed error messages
2020-03-19 21:58:17 +02:00
Pēteris Caune
f352efdd5f
Experimental Zulip integration. Fixes #202
2020-03-11 16:38:29 +02:00
Pēteris Caune
4bcfba728e
Use unittest.mock
2020-03-01 22:30:12 +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
ccd30ac239
Stricter cron validation, reject schedules like "At midnight of February 31"
2020-02-07 11:38:50 +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
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
4ee2646539
Show a red "!" in project's top navigation if any integration is not working
2020-01-03 13:15:24 +02:00
Pēteris Caune
84a4de32cc
Remove legacy webhook formats (newline-separated fields and the post_data key) from the Channel model
2019-12-27 15:07:15 +02:00
Pēteris Caune
bffb51357e
Add desc to hc.api.schemas.check
2019-12-18 09:11:34 +02:00
Bram Daams
1b3d7e8c0a
being able to set/update the description of a check when creating/updating using the api
2019-12-17 15:47:13 +01:00
Pēteris Caune
d6be955fa7
Silence stdout output from management commands during tests
2019-12-11 15:35:23 +02:00
Pēteris Caune
f7496fb8cf
Add List-Unsubscribe-Post email header
2019-12-10 09:44:51 +02:00
Pēteris Caune
8d81d27af3
Unsubscribe links serve a form, and require HTTP POST to actually unsubscribe
2019-12-10 09:14:54 +02:00
Pēteris Caune
22d4d55340
Added support for Shields.io badges. cc: #304 , #305
2019-12-05 12:27:37 +02:00
Pēteris Caune
3f19181028
"Filtering Rules" dialog, an option to require HTTP POST. Fixes #297
2019-11-27 16:33:36 +02:00
Pēteris Caune
98ba51f44f
Use hc.lib.string.replace for webhooks too.
...
hc.lib.string.replace only replaces placeholders that appear in the original template. It ignores any placeholders that "emerge" while doing string substitutions. This is done mainly to avoid unexpected behavior when check names or tags contain dollar signs.
2019-11-20 17:44:41 +02:00
Pēteris Caune
8d81ea8f9d
Add "Shell Commands" integration. Fixes #302
2019-11-20 16:00:53 +02:00
Pēteris Caune
84bc6e7b2c
Fix typo.
2019-11-14 16:30:07 +02:00
Pēteris Caune
dc84b7be01
Add Microsoft Teams integration. Fixes #135
2019-11-14 15:19:40 +02:00
Pēteris Caune
66a6de70c0
Send email notification when monthly SMS sending limit is reached. Fixes #292
2019-10-18 17:15:02 +03:00
Pēteris Caune
1dea8b6050
Add support for OpsGenie EU region. Fixes #294
2019-10-14 20:31:25 +03:00
Pēteris Caune
2bb769f7bb
Send monthly reports on 1st of every month, not randomly during the month
2019-10-12 20:07:09 +03:00