Commit graph

1358 commits

Author SHA1 Message Date
Pēteris Caune
ae074a7b2a
Update SITE_ROOT docs and CHANGELOG
cc: #1091
2024-12-09 15:13:25 +02:00
Pēteris Caune
35eb727ebd
Fix the note about SCRIPT_NAME
SITE_ROOT should *not* contain the subpath, I had it wrong previously.

cc: #1091
2024-12-03 12:48:58 +02:00
Pēteris Caune
205baf56b9
Add a note about serving on subpath
Fixes: #1091
2024-12-03 09:20:10 +02:00
Pēteris Caune
cb7e53677d
Increase ntfy.sh topic max length to 64 2024-11-25 11:16:15 +02:00
Pēteris Caune
8ee0664801
Remove unneeded newlines 2024-11-24 14:39:29 +02:00
Pēteris Caune
534d6973c4
Reduce the generated HTML size of the checks table
... by removing class="indicator-cell" and using
:first-child in CSS to target it instead.
2024-11-22 14:21:48 +02:00
Pēteris Caune
2c4719ecc3
Add backrest in the "Third-Party Resources" page
Fixes: #1087
2024-11-22 12:55:32 +02:00
Pēteris Caune
9af904297d
Rearrange channels in the integrations page, "Add More" section 2024-11-19 11:03:49 +02:00
Pēteris Caune
06d7c61297
Fix kerning issue in SVG badge on Windows 10 2024-11-15 16:49:26 +02:00
Pēteris Caune
62b10be5fe
Implement "no matching checks" message when searching/filtering
(instead of showing a table with a header row and no data rows)
2024-11-15 12:11:18 +02:00
Pēteris Caune
0c8bba95ac
Hide filter buttons on mobile 2024-11-14 14:29:19 +02:00
Pēteris Caune
b328c8739f
Reduce the number of Check.get_status() calls 2024-11-14 13:33:21 +02:00
Pēteris Caune
7c8d43414f
Implement filtering by status on the server side 2024-11-14 12:27:31 +02:00
Pēteris Caune
9ce8249123
Move "Add Check" button to the top, implement filtering by status 2024-11-14 11:51:37 +02:00
Pēteris Caune
27ecb40c88
Mark the project name textbox as required in the "Add Project" dialog 2024-11-13 14:27:15 +02:00
Pēteris Caune
5f3bbfd940
De-emphasize the unsubscribe link in email notifications
I received a report about multiple cases of users clicking
on the unsubscribe link by accident. The unsubscribe action
does not have a confirmation step so the users get instantly
unsubscribed. I do not want to add a confirmation step, so
instead I'm making a few small changes to hopefully reduce
the chances of accidental clicks:

- The footer text now has a "You are receiving this email because..."
  blurb to separate the footer a little more from the primary
  content
- The unsubscribe link is now a shorter single word: "Unsubscribe",
  making it a smaller click target
- the footer now uses a slightly smaller font than the rest of
  the email message

The people looking for the unsubscribe link should still be able
to easily find it, but hopefully it should now draw less
"accidental attention".
2024-11-12 14:51:05 +02:00
Pēteris Caune
5c67c94654
Add a missing article 2024-11-08 11:31:09 +02:00
Pēteris Caune
5912758a8a
Update email alerts to mention failure reason
cc: #1069
2024-11-08 11:20:44 +02:00
Pēteris Caune
0a4412a493
Fix js to enable "pause" button when a check is paused but started 2024-10-23 14:32:06 +03:00
Pēteris Caune
374f034bf9
Update check's status text to show how long it has been running
In check's details page, we have a "Current Status" section.
It shows an icon, a status text, and a table with downtime
statistics. When the check has received a start signal, the icon
also has an animated progress indicator under it.

With this change, the status text will also indicate the running
state and the elapsed time. Example:

"Currently running, started 3 minutes ago".
2024-10-23 14:14:44 +03:00
Pēteris Caune
e1ccf5f86a
Add Elestio to the 3rd party resources page
Fixes: #1062
2024-10-10 13:19:40 +03:00
Pēteris Caune
7dc13d897f
Add a hint in ntfy form
Fixes: #1059
2024-10-10 10:23:48 +03:00
Pēteris Caune
e49b5f8fbd
Remove LINE Notify onboarding form
LINE Notify is shutting down on Apr 1, 2025:
https://notify-bot.line.me/closing-announce

I'm removing the onboarding form so people don't set up new
integrations that will stop working in 5 months.

The code for sending LINE Notify notifications still exists,
and the existing integrations will continue to work (until LINE
Notify stops working).
2024-10-08 09:13:03 +03:00
Pēteris Caune
5a43e8f197
Fix formatting 2024-10-02 09:44:03 +03:00
Pēteris Caune
20fb599ad9
Add note about local_settings in SECURE_PROXY_SSL_HEADER docs 2024-10-02 09:36:20 +03:00
Pēteris Caune
13f92b90ef
Update settings.py to read SECURE_PROXY_SSL_HEADER from env vars
And add it to docs.

And add a system check to make sure it, if set, is a tuple
with 2 elements.

cc: #851
2024-10-01 19:13:26 +03:00
Pēteris Caune
342423ee93
Update the "Accessing Administration Panel" section 2024-10-01 16:30:57 +03:00
Pēteris Caune
6ed9de4d01
Fix whitespace 2024-10-01 16:15:39 +03:00
Pēteris Caune
69a6588121
Update "Database Cleanup" in docs 2024-10-01 15:57:23 +03:00
Pēteris Caune
e73d7a1ece
Remove pruneflips management command
Flips are now cleaned up automatically during pinging.
2024-10-01 15:33:56 +03:00
Pēteris Caune
d77b96a40f
Update the uuid/slug switching links to not lose currently selected tags 2024-09-30 10:29:30 +03:00
Pēteris Caune
0b7b77c8d7
Add a note about setting REMOTE_USER_HEADER in local_settings.py
cc: #1061
2024-09-24 12:13:33 +03:00
Pēteris Caune
12cccaf7d1
Fix Project.num_checks naming collision
The Project model has (well, had) a num_checks() method.
In the project admin we are also annotating project queryset
with a "num_checks" property. Using the same name for two different
things causes type confusion for mypy and can also lead to
coding accidents.

This commit removes the Project.num_checks() method. This was easier
to do than changing admin, as the method is very simple and was used
in only two places.
2024-09-24 10:18:22 +03:00
Pēteris Caune
71f92d19fa
Improve the "TLS Termination" section in docs
cc: #1065
2024-09-23 10:29:55 +03:00
Pēteris Caune
28af3720f4
Increase outgoing webhook timeout from 10 to 30 seconds
Also simplify the retry logic: each retry attempt is now
allowed to use the full 30 seconds. This means, a single
webhook delivery can take up to 3*30=90 seconds.
2024-09-11 12:37:40 +03:00
Pēteris Caune
15e1a988c8
Upgrade docker-compose.yml to use postgres 16, add upgrade instructions 2024-08-19 11:00:37 +03:00
Pēteris Caune
d3ae4e7fac
Add support for $SLUG placeholder in webhook payloads
Fixes: #1049
2024-08-16 13:24:12 +03:00
Pēteris Caune
56bac98816
Update the "Set Password" page to reject very weak passwords 2024-08-15 12:04:28 +03:00
Pēteris Caune
5d63057e78
Improve password quality meter for very weak passwords
Previously, if the user enters a weak password like "qwerty",
the score is 0, the password strength bar is empty (all gray).
It is easy to not notice the password strength bar at all.

Now, the lowest score for a non-empty password is 1, meaning
the user will see one red bar. This will hopefully draw more
attention to the password strength bar.

Users are still allowed to choose weak passwords.
2024-08-15 11:10:14 +03:00
Pēteris Caune
3fbba0c2f0
Update timezone dropdowns to show frequently used timezones at the top 2024-08-13 13:57:52 +03:00
Pēteris Caune
b859a71920
Rename "sign in" to "log in"
I like "sign in" better, but users from time
to time confuse "sign in" and "sign up" forms. To reduce
confusion potential, I'm renaming "sign in" to "log in".
2024-08-12 15:09:58 +03:00
Pēteris Caune
bd5582872a
Upgrade to Django 5.1 2024-08-07 17:24:27 +03:00
Joel Pérez
28168a5651
Fix django version in self hosted documentation (#1034)
* Update self_hosted.md

* Update self_hosted.html-fragment
2024-07-30 19:24:31 +03:00
Pēteris Caune
bdb6f18a3d
Add "uuid" field in API responses when read/write key is used
The API responses already contain ping_url, update_url, resume_url,
pause_url fields where the UUID can be extracted from, so we are
not exposing new information. The extraction can be finicky in,
say, shell-scripting scenarios. So for API user convenience we will
now also provide the check's code (UUID) as a separate field.

Fixes: #1007
2024-07-18 18:15:52 +03:00
Pēteris Caune
9ebab5d317
Rename illustrations to bust cached versions 2024-07-18 10:27:49 +03:00
Pēteris Caune
e83f60cc0b
Implement Implement MS Teams Workflows integration
We already have a MS Teams integration but MS Teams is discontinuing
the incoming webhook feature used by this integration:

https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/

MS Teams now recommends to use Workflows to post messages
via webhook. MS Teams does not provide backwards compatibility or
an upgrade path for existing integrations.

This commit adds a new "msteamsw" integration which uses MS Teams
Workflows to post notifications. It also updates the instructions
and illustrations in the "Add MS Teams Integration" page.

cc: #1024
2024-07-17 13:35:17 +03:00
Pēteris Caune
1b695c6970
Improve performance of loading ping body previews
Defer loading body_raw, instead load its first 150 bytes
as "body_raw_preview". This reduces both network I/O to database,
and disk I/O on the database host if the database contains large
request bodies.

cc: #1023
2024-07-11 17:38:25 +03:00
Pēteris Caune
997154e3b0
Remove usages of Ping.body 2024-07-11 16:17:21 +03:00
Viktor Szépe
9a44ef1571 Fix typos 2024-06-20 15:41:42 +03:00
Pēteris Caune
5584c2cd21
Fix copy/pasting error 2024-06-12 09:46:58 +03:00