Commit graph

14 commits

Author SHA1 Message Date
a74244efb4
Record Stripe payment intent, export to CSV 2024-10-09 02:01:32 +11:00
34b51240e9
Use STORAGGES setting to avoid deprecation warning 2024-10-08 23:53:15 +11:00
c5289f39bb
Fix flake8 warnings 2024-07-22 18:39:00 +10:00
e4ef2d7862
Switch to ManifestStaticFilesStorage for hashed URLs to static files 2024-05-13 17:55:54 +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
968c0c4fba
Move media to top-level directory 2024-04-26 16:26:51 +10:00
d2561fbc41
podjango: Configure uploaded media directory 2024-04-26 16:13:00 +10:00
789d0c8c84
contacts: Remove ContactEntry and add Unsubscription
This change removes the unused `ContactEntry` model and the `subscribe` view and
replaces it with an `Unsubscription` model and an `unsubscribe` view. It works
similarly, but is intended to be used with the `list-unsubscribe` and
`list-unsubscribe-post` headers.
2024-04-09 22:53:24 +10:00
b7dcfa4a9b
Remove summit_registration Django app
Has some typos suggesting that the code was never completed or used.
2024-03-22 11:19:05 +11:00
fe64a26a72
Move the content templates/files into conservancy/content
These were previously intermingled with the static content in `conservancy/static`.
2024-03-22 09:34:20 +11:00
c962a1d100
Set USE_TZ = False to avoid default changing in Django 5 2024-03-21 09:53:19 +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
c795e1799c
Move secrets.json to top-level 2024-03-20 14:42:10 +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