healthchecks/templates
Pēteris Caune 45b8bd64df
Simplify hosting under subpath
Instead of using SCRIPT_NAME / FORCE_SCRIPT_NAME, PATH_INFO
and their associated issues, update urls.py to add the subpath
to all routes. This allows us to get rid of several hacks:

* the uwsgi.ini magic which parses SITE_ROOT, sets SCRIPT_NAME
  and fixes PATH_INFO
* set_script_prefix() in sendalerts
* chopping the subpath off an URL in hc.accounts.views._allow_redirect

The idea comes from @apollo13
in https://code.djangoproject.com/ticket/35985#comment:5

cc: #1091
2024-12-19 09:04:45 +02:00
..
accounts Mark the project name textbox as required in the "Add Project" dialog 2024-11-13 14:27:15 +02:00
admin Improve type hints, simplify pagination in Ping admin 2023-10-04 16:00:41 +03:00
docs Simplify hosting under subpath 2024-12-19 09:04:45 +02:00
emails Move repeating flip reason descriptions to Flip.reason_long() 2024-12-16 14:35:36 +02:00
front Reduce the generated HTML size of the checks table 2024-11-22 14:21:48 +02:00
integrations Update SMS notification template to include failure reason 2024-12-18 12:31:22 +02:00
bad_link.html More secure unsubscribe links for monthly reports. 2017-10-18 15:53:08 +03:00
badge.svg Fix kerning issue in SVG badge on Windows 10 2024-11-15 16:49:26 +02:00
base.html Rename "sign in" to "log in" 2024-08-12 15:09:58 +03:00
base_bare.html {% site_name %} -> {{ site_name }} so we can use blocktrans tags for L10N 2020-07-21 17:59:39 +03:00
base_project.html Fix base_project to not include project modal for unauthenticated users 2023-06-12 09:33:37 +03:00
try_later.html Rate limiting for the "Log In" emails 2019-04-25 21:28:40 +03:00