Commit graph

18 commits

Author SHA1 Message Date
6af885985c 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
c58ba95093 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
4d6e2460d7 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
a664dee8c6 Fix lint warnings 2024-05-07 10:59:46 +10:00
0e5499ad92 Begin jQuery removal 2024-05-07 10:46:34 +10:00
f9bac64230 Note to-dos 2024-03-22 12:18:03 +11:00
8963dc916e Handle trailing slashes in static content 2024-03-20 15:45:46 +11:00
99a2271f09 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
a3df1d7094 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
53d6851509 Upgrade to Django 4.2 LTS 2024-03-19 22:14:20 +11:00
71fdab5c6e Tidy-ups 2024-03-18 17:59:56 +11:00
db92f576fb podjango: Fix linting warnings 2024-02-23 15:02:04 +11:00
39e0e069a3 Add docs to enable conservancy-www-db.path 2023-11-25 13:41:55 +11:00
5c182362ff Add conservancy-www-db.service to repository, document Systemd services 2023-11-24 10:01:34 +11:00
3000a117a0 Add to-do item for decoupling conservancy-www-db service from apache 2023-11-24 09:35:33 +11:00
dba99b0ee2 Note to-do item to improve sustainer page interactivity 2023-11-22 14:00:09 +11:00
744c47334c Update to-dos 2023-10-26 13:24:17 +11:00
f7d529b5a7 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