1090 Commits

Author SHA1 Message Date
Pēteris Caune
255d4e7bb7
Reduce the number of queries in /admin/api/channel/ 2020-07-16 16:15:58 +03:00
Pēteris Caune
ec5ee03a3e
Add "check_id" in Spike payload. 2020-07-15 17:56:18 +03:00
Pēteris Caune
f789cad2af
Handle HTTP 429 responses from Matrix server when joining a Matrix room 2020-07-10 16:44:49 +03:00
Pēteris Caune
58f16da935
Edits to Spike setup instructions. 2020-07-09 11:22:14 +03:00
Pēteris Caune
1f978ff80e
Fix tests. 2020-07-09 10:48:51 +03:00
Divyansh
6300947c77
integration for Spike 2020-07-09 10:44:40 +03:00
Pēteris Caune
e89229a2ca
In admin, visualize account's number of checks 2020-07-06 18:39:27 +03:00
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
192e72c243
Edit Prometheus guide, add "API Keys" screenshot. 2020-06-26 10:10:59 +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
eccc193b87
In the cron expression dialog, show a human-friendly version of the expression 2020-06-19 11:25:46 +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
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
3eebd8968d
Added "When paused, ignore pings" option in the Filtering Rules dialog (#369) 2020-06-02 10:54:16 +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
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
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
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
4331497ccd
Merge pull request #359 from SuperSandro2000/typos
Fix typos with codespell
2020-04-14 10:28:01 +03:00
Sandro Jäckel
38382d662d
Fix typos with codespell 2020-04-14 03:53:16 +02:00
Pēteris Caune
ca715dd8d4
Check membership when initiating project's transfer. Use transaction.atomic() when completing the transfer. 2020-04-13 15:19:37 +03:00
Pēteris Caune
57da17b8e2
Send an "Ownership Transfer Request" email notification. 2020-04-13 15:04:59 +03:00
Pēteris Caune
3bf1ad9746
Fix invite suggestions. 2020-04-13 12:26:05 +03:00
Pēteris Caune
532b752e3c
cleanup: don't import each form individually 2020-04-13 12:16:39 +03:00
Pēteris Caune
f7acaa57af
Adding tests. 2020-04-12 18:21:08 +03:00
Pēteris Caune
f42b2b144a
New feature: Project Settings > Transfer Ownership (WIP, missing tests) 2020-04-12 14:46:12 +03:00