Commit graph

3197 commits

Author SHA1 Message Date
Pēteris Caune
b1e9bdde76
Fix test_ping_details to avoid real S3 calls during tests 2023-04-14 15:12:12 +03:00
Pēteris Caune
dcd174f761
Add statsd metric collection in hc.lib.s3.get_object() 2023-04-14 13:23:16 +03:00
Pēteris Caune
dc58910bb5
Switch from CssAbsoluteFilter to CssRelativeFilter
cc: #822

This should fix icon font loading when serving Healthchecks
from a subdirectory.
2023-04-12 11:37:14 +03:00
Pēteris Caune
05722cbf9e
Update CHANGELOG for v2.8.1 release 2023-04-11 20:51:31 +03:00
Pēteris Caune
b9996e63c8
Fix django-compressor warning with github_actions.html
HTML files in /templates/docs/ are not Django templates,
they contain HTML content to be used verbatim in
hc.front.views.serve_doc view.

Some of these files contain "{{ ... }}" syntax. When
we run "./manage.py compress", django-compressor trips
up on this syntax because it treats them as Django templates.

The fix is to change file extension for these files
from .html to something else (I picked .html-fragment)
so django-compressor would ignore them.
2023-04-11 20:34:31 +03:00
Pēteris Caune
b1ce88d56a
Update CHANGELOG for v2.8 release 2023-04-11 08:26:15 +03:00
Pēteris Caune
9ea92c3f5e
Document sendreports 2023-04-07 13:40:33 +03:00
Pēteris Caune
6fa0d49467
Add note about uwsgi running background tasks automatically 2023-04-07 13:35:27 +03:00
Pēteris Caune
a55549894c
Add info about Dockerfile and Docker images in README 2023-04-07 13:24:35 +03:00
Pēteris Caune
7a06f01fca
Update links to Django docs 2023-04-07 12:50:09 +03:00
Pēteris Caune
80b6aa89ea
Add cron expression tester and samples in the cron cheatsheet page 2023-04-04 13:54:24 +03:00
Pēteris Caune
e722404842
Fix tests 2023-04-04 11:57:47 +03:00
Pēteris Caune
a5324ac13c
Make warnings about no backup second factor more assertive 2023-04-04 11:53:34 +03:00
Pēteris Caune
eab52ed73c
Add email fallback for Signal notifications that hit rate limit 2023-04-04 10:21:35 +03:00
Pēteris Caune
04e6d9aab5
Add DEFAULT_FROM_EMAIL in the "Sending Emails" section of README 2023-04-04 09:28:24 +03:00
Pēteris Caune
c4ebd4e6ba
Render code samples with newer Pygments 2023-04-04 09:23:06 +03:00
Pēteris Caune
beaad419f6
Add the "Email Delivery Delays" section 2023-04-04 09:20:38 +03:00
Pēteris Caune
4ebe928d39
Upgrade to Django 4.2 and psycopg2 2.9.6 2023-04-03 15:12:06 +03:00
Pēteris Caune
82cac0aed8
Tweak uwsgi post buffer size and options
* set post-buffering (buffer for POST data) to 16192
* add auto-procname for friendlier process names
* add strict, uwsgi won't start if uwsgi.ini contains invalid options
2023-04-03 12:10:51 +03:00
Pēteris Caune
f0267ce936
Add Arduino usage example 2023-04-01 12:13:39 +03:00
Pēteris Caune
e21ada67f1
Remove L10N markup from base.html, and associated translations 2023-03-29 19:19:03 +03:00
Pēteris Caune
64f13d1219
Update Trello onboarding form to allow tokens up to 256 chars long
cc: #806
2023-03-29 15:19:45 +03:00
Pēteris Caune
bea84b744a
Update Trello onboarding form to allow longer Trello auth tokens
Trello token length change announcement:
https://community.developer.atlassian.com/t/trello-tokens-are-getting-longer/62964

Fixes: #806
2023-03-29 14:21:06 +03:00
Pēteris Caune
f6aeda978d
Fix hc.lib.s3.get_object to handle more urllib3 exceptions 2023-03-29 14:00:10 +03:00
Pēteris Caune
c6ce8918c5
Remove dollar signs from shell snippets in docker/README
cc: #814
2023-03-29 12:08:29 +03:00
Pēteris Caune
56e003b613
Fix indentation 2023-03-29 11:47:31 +03:00
Pēteris Caune
34631e65cd
Remove dollar signs from shell snippets in README
Fixes: #814
2023-03-29 11:46:00 +03:00
Pēteris Caune
5fcbcb637c
Fix .env.example to have SMTPD_PORT undefined by default 2023-03-29 09:42:20 +03:00
Pēteris Caune
50d15d53e5
Add a "Remove TOTP" action in Profile admin 2023-03-28 17:36:57 +03:00
Pēteris Caune
f8026a73b6
Add a test for fdfab66a81 2023-03-10 16:33:57 +02:00
Pēteris Caune
fdfab66a81
Fix notification query in the Log page
The bug: the Log page would sometimes show a number of "zombie"
notifications at the very end: notifications that should not be
shown to the user, but have not yet been garbage-collected.

The fix: when preparing the created__gte filter value for the
notification query, make sure the filter value is not lower than the
timestamp of the oldest visible ping.
2023-03-10 16:25:06 +02:00
Pēteris Caune
312c53c2b3
Fix check name wrapping in the "Assign Checks to Integration" dialog 2023-03-10 14:55:53 +02:00
Pēteris Caune
a779ffd365
Tweak the positioning of the project switcher 2023-03-10 13:27:11 +02:00
Pēteris Caune
4d552efd67
Improve styling of the project switcher 2023-03-10 11:50:41 +02:00
Pēteris Caune
bad4b9adbf
Add a "Switch Project" menu in top navigation 2023-03-10 10:36:09 +02:00
Pēteris Caune
9e9bdfd353
Update CHANGELOG 2023-03-09 13:34:21 +02:00
Pēteris Caune
9656c51034
Update tests to check the active tab in the Ping Details dialog 2023-03-09 13:33:38 +02:00
seidnerj
87841b6038
Update the ping details dialog to show the "HTML" tab by default (if available) (#801)
* typo correction in README.md

* when opening the "ping details" dialog, by default set the active tab to "HTML" (if html content exists), otherwise set the active tab to "Text".
2023-03-09 13:17:16 +02:00
Pēteris Caune
0e2d2154c8
Make API docs fit better on mobile screens 2023-03-08 09:29:43 +02:00
Pēteris Caune
bb3f139335
Update the Dockerfile to use Python 3.11 2023-03-07 16:33:34 +02:00
Pēteris Caune
f9f32adc11
Fix wording 2023-03-06 19:33:42 +02:00
Pēteris Caune
acc64e4e46
Add GitHub Actions examples 2023-03-06 19:31:12 +02:00
Pēteris Caune
bce9d4ddef
Update changelog for v2.7 release 2023-03-06 13:00:38 +02:00
Pēteris Caune
920caacc0d
Update SITE_LOGO_URL docs
cc: #797
2023-02-25 11:07:09 +02:00
Pēteris Caune
312b63e592
Update package versions 2023-02-25 10:38:52 +02:00
Pēteris Caune
a8170a6e6c
Fix typo 2023-02-25 10:36:48 +02:00
Pēteris Caune
d269b54ca1
Fix tests 2023-02-21 11:11:43 +02:00
Pēteris Caune
16d94f642d
Add tiny drop shadow to buttons
For primary buttons, the drop shadow is green-tinted.
For red buttons, the shadow is red-tinted.
2023-02-21 11:10:51 +02:00
Pēteris Caune
97703f10cf
Tweak :active and :focus button styles
Make the darkening effect less pronounced. Unfortunately this
requires changing bootstrap's .less files.
2023-02-21 11:08:40 +02:00
Pēteris Caune
fe54cbe049
Make radio and checkbox borders brighter in dark mode 2023-02-21 11:04:43 +02:00