Commit graph

3197 commits

Author SHA1 Message Date
Pēteris Caune
04ebbeb0bd
Update CHANGELOG for v3.8 release 2024-12-09 15:15:29 +02:00
Pēteris Caune
ae074a7b2a
Update SITE_ROOT docs and CHANGELOG
cc: #1091
2024-12-09 15:13:25 +02:00
Pēteris Caune
a2c7259d1b
Fix redirects after login when using a path in SITE_ROOT
Fixes: #382

cc: #1091
2024-12-09 12:35:02 +02:00
Pēteris Caune
0ee3f03baf
Fix redirect to login when SITE_ROOT contains a path
cc: #382, #1091
2024-12-09 12:20:09 +02:00
Pēteris Caune
b685e66b71
Add a workaround for reverse() omitting script prefix when on thread
https://code.djangoproject.com/ticket/35985

cc: #1091
2024-12-09 11:53:53 +02:00
dependabot[bot]
3f2ff2adf3
Bump django from 5.1.3 to 5.1.4 (#1099)
Bumps [django](https://github.com/django/django) from 5.1.3 to 5.1.4.
- [Commits](https://github.com/django/django/compare/5.1.3...5.1.4)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 08:33:31 +02:00
Pēteris Caune
2ff68cb597
Update docker/uwsgi.ini to handle subpath in SITE_ROOT
cc: #1091
2024-12-04 11:00:53 +02:00
Pēteris Caune
7836da6448
Update settings.py to allow subpath in SITE_ROOT
If SITE_ROOT contains a subpath
(e.g., "http://example.org/healthchecks"), settings.py now adjusts
FORCE_SCRIPT_NAME and STATIC_URL.

Also, hc.lib.urls.absolute_reverse() now recognizes subpath in
SITE_ROOT, and makes sure it does not show up twice in the
generated URLs.

cc: #1091
2024-12-04 10:37:52 +02:00
Pēteris Caune
22268c1484
Move absolute URL construction to hc.lib.urls.absolute_reverse()
absolute_reverse() works the same as django.urls.reverse()
except it generates absolute URLs (starting with http[s]://)
2024-12-03 17:24:27 +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
5e848f4976
Add index on api_flip (owner_id, created)
This helps queries in hc.front.views._get_events,
especially for checks that are flipping between up and down
states a lot.
2024-12-03 10:37:01 +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
4a618cd7e9
Fix elf -> self 2024-12-02 11:32:53 +02:00
Jacek Kowalski
8485c758eb
Fix Trello integration (token regexp too specific) (#1094)
* Fix Trello configuration failing with HTTP 400

* Add additional tests regarding Trello token
2024-12-02 11:31:02 +02:00
Pēteris Caune
2bf9c357ef
Update WhatsApp logo 2024-11-25 15:03:52 +02:00
Pēteris Caune
29c02ab986
Replace Matrix logo with a larger, sharper version 2024-11-25 14:51:25 +02:00
Pēteris Caune
410a767496
Fix the off state for rocketchat, ntfy, telegram icons 2024-11-25 12:33:33 +02:00
Pēteris Caune
87dc3aff1d
Update Signal and Telegram icons 2024-11-25 12:10:16 +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
a81da0b1ca
Remove some IE9 stuff from bootstrap.css 2024-11-24 14:59:48 +02:00
Pēteris Caune
c4a018a2eb
Remove unused "speak: never;" from icomoon.css 2024-11-24 14:59:17 +02:00
Pēteris Caune
0f2168a5a5
Remove unused CSS 2024-11-24 14:58:46 +02:00
Pēteris Caune
8ee0664801
Remove unneeded newlines 2024-11-24 14:39:29 +02:00
Pēteris Caune
9c4e5eb99f
Remove unused CSS rule (for styling HipChat icons) 2024-11-24 14:38:50 +02:00
Pēteris Caune
e024196f1f
Add IcoMoon project export under /stuff/ 2024-11-22 17:10:17 +02:00
Pēteris Caune
964a4f264e
Remove unused icons and fix "Glyph bbox was incorrect" FF warnings
The "Glyph bbox was incorrect" is a Firefox warning about
incorrect bounding box values in the font. The icon font, including
the incorrect bounding box values is generatedby icomoon.
I ran the TTF file through fontsquirrel and that seems to have
fixed the issue.

More about this warning: https://bugzilla.mozilla.org/show_bug.cgi?id=1847959
2024-11-22 17:08:36 +02:00
Pēteris Caune
3d6fe5a423
Change the clippy icon's size from 14px to 16px
It is designed to look crisp at 16px
2024-11-22 17:05:39 +02:00
Pēteris Caune
35b6b94a1d
Remove ic-started from CSS (unused) 2024-11-22 17:04:51 +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
2ef550e16e
Update Changelog 2024-11-14 14:57:09 +02:00
Pēteris Caune
4b49004768
Fix nav divider color in selectize dropdowns 2024-11-14 14:55:04 +02:00
Pēteris Caune
c51096e17e
Fix dropdown button background in dark mode 2024-11-14 14:50:35 +02:00
Pēteris Caune
0c8bba95ac
Hide filter buttons on mobile 2024-11-14 14:29:19 +02:00
Pēteris Caune
5ecea08e48
Fix type annotation 2024-11-14 14:28:47 +02:00
Pēteris Caune
5184249abe
Move status matching logic to a separate function 2024-11-14 14:18:39 +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
7abcd4adbe
Fix JS to run applyFilters only when statuses have changed 2024-11-14 11:57:30 +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
7719cc4c28
Reformat 2024-11-14 11:45:11 +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
9edae634c7
Add Flip.reason field
cc: #1069
2024-11-08 10:24:50 +02:00
Pēteris Caune
79da9e9f4f
Fix auto-fixable ruff warnings
(`ruff check --fix`)
2024-11-07 15:15:58 +02:00