Commit graph

27 commits

Author SHA1 Message Date
c5289f39bb
Fix flake8 warnings 2024-07-22 18:39:00 +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
a83d22e243
Remove unused podjango files
Also updated the podjango templates to reference the *actual* base template,
`base_conservancy.html`, rather than `base_standard.html`.
2024-05-13 16:26:26 +10:00
c6e531a01f
podjango: Use feed title from database 2024-04-26 16:33:55 +10:00
1a05c6391c
podjango: Upload icon per podcast 2024-04-26 16:07:20 +10:00
956f8c6fda
podjango: Add "Podcast" model to support multiple podcasts
Each Cast (episode) can belong to one or more Podcast, allowing episodes to be
shared between podcasts. This enables us introductory episodes to be delivered
in their own feed, but also included in the main "The Corresponding Source"
feed.

This required adding an additional `podcast_slug` argument to most views. The
date archive views were dropped because they're not linked to from anywhere.

Added a `podcasts` view as an index of all available Podcasts.
2024-04-25 15:32:24 +10:00
9447528938
podjango: Combine templates into a single directory 2024-04-25 15:29:10 +10:00
5e2bef0c7a
podjango: Remove incomplete "query" view/URLs 2024-04-24 17:49:26 +10:00
e01c27ea3e
Fix lint warnings 2024-04-24 17:38:22 +10:00
440b4f864a
Use decorator syntax to register admin handlers
Same-same, just marginally neater.
2024-03-21 09:35:00 +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
fe4112c879
Remove duplicate date_within template tag 2024-03-19 22:20:13 +11:00
283bb5d330
Add missing migration 2024-03-19 22:14:55 +11:00
0b9ab6970c
Remove deprecated ifequal and ifnotequal tags
These have been replaced by `{% if x == y %}` type tags.
2024-03-19 22:01:53 +11:00
2a99a0c81a
Switch from url() to path()
Path is the new way to handle simpler routing rules.
2024-03-18 17:51:33 +11:00
d461c1bc86
podjango: Add The Corresponding Source logo to feed 2024-03-06 17:34:48 +11:00
d8a702c8c9
Load images via staticfiles 2024-02-27 10:19:38 +11:00
49e3c43299
poddjango: Further lint fixes 2024-02-23 15:06:59 +11:00
75e3ab4d35
podjango: Fix linting warnings 2024-02-23 15:02:04 +11:00
ffa2889acb
podjango: Use or_ instead of lambda
Easier to read.
2024-02-23 15:01:01 +11:00
a790bce31a
podjango: Shorten feeds links 2024-02-07 14:25:45 +11:00
97bf39bd6d
podjango: Remove FaiF reference 2024-02-07 14:23:55 +11:00
b3044cbeda
podjango: Comment out itunes link pending update 2024-02-07 14:19:28 +11:00
0b3cab24f7 Change to SFC contacts. 2024-02-06 19:15:43 -08:00
a5364bc9b8 Fill paragraph, no changes otherwise. 2024-02-06 19:13:38 -08:00
6ce976e63a
podjango: Temporarily filter out episodes prior to 2024 2024-02-07 11:03:56 +11:00
ce6be591bd
Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00