Pēteris Caune
1f10aedf6c
Add more tests for hc.lib.curl
2022-08-17 16:12:21 +03:00
Pēteris Caune
9fc13403b4
Add tests for hc.lib.curl
2022-08-17 15:39:17 +03:00
Pēteris Caune
f69a1975e3
Improve error handling
2022-08-17 14:39:29 +03:00
Pēteris Caune
218798b8d2
Fix mypy warnings
2022-08-17 14:21:00 +03:00
Pēteris Caune
7695010398
Document hc.lib.curl.request
2022-08-17 13:07:20 +03:00
Pēteris Caune
3a50396806
Switch from requests to pycurl in integration onboarding views
2022-08-17 12:02:06 +03:00
Pēteris Caune
86e364eb24
Fix hc.lib.curl to send Content-Length header
2022-08-17 10:32:52 +03:00
Pēteris Caune
61a0cf9c2f
Fix Content-Type header when uploading JSON data
2022-08-17 10:11:18 +03:00
Pēteris Caune
fc127e3c01
Fix non-ASCII character handling in URLs
2022-08-17 09:22:30 +03:00
Pēteris Caune
e156c6bcae
Fix hc.lib.curl.request to handle the "auth" kwarg
2022-08-16 12:46:22 +03:00
Pēteris Caune
62acb04bba
Fix hc.lib.curl.request to handle the "params" kwarg
2022-08-16 12:28:53 +03:00
Pēteris Caune
5baa8a53de
Update Dockerfile with pycurl dependencies
2022-08-16 12:01:15 +03:00
Pēteris Caune
a5045a8c54
Add dependencies for building pycurl, take two
2022-08-16 11:45:21 +03:00
Pēteris Caune
90a6e964fe
Add dependencies for building pycurl
2022-08-16 11:40:55 +03:00
Pēteris Caune
64bb43f74f
Limit allowed protocols, add INTEGRATIONS_ALLOW_PRIVATE_IPS setting
2022-08-16 11:13:14 +03:00
Pēteris Caune
41428d1dee
Switch transports from requests to pycurl
...
With requests, there is no clean way to set a time limit
on a single HTTP request: https://stackoverflow.com/a/71453648/5821
2022-08-16 09:17:57 +03:00
Pēteris Caune
3799bd3c20
Fix the handling of TooManyRedirects exceptions
2022-08-15 10:52:50 +03:00
Pēteris Caune
04403bbba0
Update CHANGELOG
2022-08-09 08:33:31 +03:00
Pēteris Caune
dd1c05a706
Update links to Django docs, render docs
2022-08-09 08:31:54 +03:00
Facorazza
6f1900cfa3
Add support for SMTP with implicit TLS
2022-08-09 08:25:07 +03:00
Pēteris Caune
1bab426fc2
Simplify Profile.checks_from_all_projects()
...
Curiously, Django ORM translates the old and the new
version to the exact same SQL
2022-08-08 17:02:55 +03:00
Pēteris Caune
b85cf5d1fe
Update 3rd party resources
2022-08-08 16:31:39 +03:00
Pēteris Caune
3b1a3a6154
Update 3rd party resources
2022-08-08 16:30:23 +03:00
Pēteris Caune
f371561fe5
Update the logout action to use HTTP POST
2022-08-08 15:16:24 +03:00
Pēteris Caune
16083d1037
Update CHANGELOG for v2.3 release
2022-08-05 12:08:55 +03:00
Pēteris Caune
5a0bf4062f
Add API support for resuming paused checks
...
Fixes : #687
2022-08-04 14:00:46 +03:00
Pēteris Caune
47e624900f
Fix the pause views to create Flip objects
...
I found a bug in the downtime statistics calculation. The
scenario:
* at T=0 a check goes down
* at T=5 some time later the user pauses it
* at T=10 the check receives a ping and goes up
If we don't record a status change (a flip) at T=5, then
the calculated total downtime will come out wrong (10)
This change fixes the pause views (hc.api.views.pause,
hc.front.views.pause) to create Flip objects.
2022-08-04 12:20:06 +03:00
Pēteris Caune
8ca0e2d636
Remove deprecated django.utils.timezone.utc usage
2022-08-04 11:24:06 +03:00
Pēteris Caune
b9de55043a
Fix duration calculation again, kind can also be "" (empty string)
2022-08-04 10:29:53 +03:00
Pēteris Caune
b4ad057e67
Add section about the "/log" endpoint in the "Attaching Logs" page
2022-08-04 10:07:23 +03:00
Pēteris Caune
c44148e715
Fix duration calculation to skip "log" and "ign" events
2022-08-04 09:26:40 +03:00
Pēteris Caune
ea810e286b
Upgrade to Django 4.1 and django-compressor 4.1
2022-08-04 09:01:15 +03:00
Pēteris Caune
c840f72e3a
Clean up tests
2022-08-03 17:06:38 +03:00
Pēteris Caune
2c545c4b38
Downgrade to Django 4.0.7
...
I jumped the gun here, django-compressor doesn't yet have a Django 4.1
compatible release. With Django 4.1, "manage.py compress" currently
throws an error.
2022-08-03 14:50:50 +03:00
Pēteris Caune
4947aab26b
Upgrade to Django 4.1
2022-08-03 14:09:20 +03:00
Pēteris Caune
51fd339602
Add auto-refresh and running indicator in My Projects
...
Fixes : #681
2022-08-02 16:37:25 +03:00
Pēteris Caune
2f562bb502
Fix the checks list to preserve filters when adding/updating checks
...
Fixes : #684
2022-08-02 13:27:04 +03:00
Pēteris Caune
6644b43577
Fix the update_timeout view to record more information
...
Checks can flip from "up" to "down" state as a result of changing
check's schedule. We don't want to send notifications when changing
schedule interactively in the web UI. So we update the `alert_after`
and `status` fields the same way as `sendalerts` would do. This is not
new, this was already being done.
With this change, we now additionally create Flip objects, recording
the fact that a check went down at such-and-such date. We fill the
"processed" field, to make sure sendalerts skips over these objects.
We need the Flip objects because otherwise the calculation
in Check.downtimes() could come out wrong (when a check later comes up,
we would have no record of when it went down).
2022-08-02 09:43:35 +03:00
Pēteris Caune
f9a716710b
Upgrade to requests 2.28.1, segno 1.5.2
2022-08-01 16:22:41 +03:00
Pēteris Caune
dd6be22ab4
Upgrade to fido2 1.0.0
2022-08-01 16:16:15 +03:00
Pēteris Caune
453b426090
Add testcase and update CHANGELOG
2022-07-29 12:58:58 +03:00
Leandro Britez
37ff7b1b05
Add support for multiple RCPT TO in incoming email
2022-07-29 12:56:30 +03:00
Pēteris Caune
a4b6fc61ad
Replace HipChat, Pagerteam classes with transports.RemovedTransport
2022-07-29 11:35:03 +03:00
Pēteris Caune
c322fb8bbb
Add the "Badges" page in docs
2022-07-28 12:34:31 +03:00
Pēteris Caune
580304110e
Make tests not sensitive to the SITE_NAME setting
2022-07-27 15:26:32 +03:00
Pēteris Caune
65cef0b271
Fix grouping and sorting in the text version of the report/nag emails
...
Fixes : #679
2022-07-27 15:22:41 +03:00
Pēteris Caune
874548874c
Fix grammar
2022-07-27 11:58:30 +03:00
Pēteris Caune
8cef4dfbbd
Improve title
2022-07-27 11:22:24 +03:00
Pēteris Caune
a9b9adf178
Improve the "Monitoring Cron Jobs" page
2022-07-27 10:30:44 +03:00
Pēteris Caune
0f659241fe
Tweak copy in docs - introduction
2022-07-26 14:11:22 +03:00