Commit graph

21 commits

Author SHA1 Message Date
7fa799743e
Update to-dos 2024-05-13 18:18:40 +10:00
783cdc6189
Eliminate base_standard.html template and internalNavigate blocks
The base_standard.html template was an unnecessary level of template
inheritance.

Also removed unused `min` and `subtract` template tags.
2024-05-13 17:11:01 +10:00
97b60b44f5
Add some basic 200 OK smoke tests for key pages 2024-05-10 12:12:04 +10:00
0b8ae2ca77
Move SITE_FUNDGOAL configuration to settings/base.py
This changes more often than the surrounding code, so should live with the other
configuration.
2024-05-10 12:00:44 +10:00
2ff551147c
Merge sponsors.py into supporters app, frontpage.py into views.py
Just a small structural change so that the related functionality is grouped together.
2024-05-10 11:27:51 +10:00
44c0a9db32
Remove remaining jQuery
This avoids every page on the site parsing 250KB of JavaScript.

supporter-page.js isn't the most elegant code, but at least it's a little more
modular now and no longer user jQuery.
2024-05-09 22:15:33 +10:00
985a08545d
Fix lint warnings 2024-05-07 10:59:46 +10:00
83b05a3ae2
Begin jQuery removal 2024-05-07 10:46:34 +10:00
c1b2375abd
Note to-dos 2024-03-22 12:18:03 +11:00
1cfe805689
Handle trailing slashes in static content 2024-03-20 15:45:46 +11:00
5fa226284b
Delegate management of canonical URLs to Apache
This middleware is mostly redundant:

 * redirecting to canonical URLs can be done more simply in Apache
 * appending a forward slash is a default in CommonMiddleware now
 * we're no longer using Squid cache

May need to update Apache to strip/redirect trailing "index.html".
2024-03-20 14:54:54 +11:00
3826b6fb66
Switch settings to use "the one true way" approach
The advantage of this approach is that the production and dev configurations are
in version control, so there's less opportunity for surprises.

As advocated by Jacob Kaplan-Moss (OSCON 2011) and Two Scoops of Django book.
2024-03-20 14:10:00 +11:00
2bf73e35fa
Upgrade to Django 4.2 LTS 2024-03-19 22:14:20 +11:00
0ad369ebb9
Tidy-ups 2024-03-18 17:59:56 +11:00
75e3ab4d35
podjango: Fix linting warnings 2024-02-23 15:02:04 +11:00
aef9d18eb4
Add docs to enable conservancy-www-db.path 2023-11-25 13:41:55 +11:00
03e06738a0
Add conservancy-www-db.service to repository, document Systemd services 2023-11-24 10:01:34 +11:00
cfd495c246
Add to-do item for decoupling conservancy-www-db service from apache 2023-11-24 09:35:33 +11:00
fc21070d8d
Note to-do item to improve sustainer page interactivity 2023-11-22 14:00:09 +11:00
d0e218cdb6
Update to-dos 2023-10-26 13:24:17 +11:00
8ef3aa73b0
Add to-do file
This allows me to track improvements we'd like to make, but not necessarily
straight away.
2023-10-26 12:33:29 +11:00