Commit graph

29 commits

Author SHA1 Message Date
5a2098d9e4 Kuhn ⇒ Kühn — I have changed spelling of my surname. 2025-11-07 08:39:51 -08:00
546f78bc91 Fix trailing whitespace and missing end-of-file newline 2024-07-22 18:39:05 +10:00
d50a67a168 Fix flake8 warnings 2024-07-22 18:39:00 +10:00
f94d5a1de5 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
84c378da0c 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
bc1912853f podjango: Use feed title from database 2024-04-26 16:33:55 +10:00
1969478a69 podjango: Upload icon per podcast 2024-04-26 16:07:20 +10:00
352aaf2bd2 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
5efe14b5cf podjango: Combine templates into a single directory 2024-04-25 15:29:10 +10:00
33c2e373f9 podjango: Remove incomplete "query" view/URLs 2024-04-24 17:49:26 +10:00
20d4d460a5 Fix lint warnings 2024-04-24 17:38:22 +10:00
3c80654914 Use decorator syntax to register admin handlers
Same-same, just marginally neater.
2024-03-21 09:35:00 +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
b56f789886 Remove duplicate date_within template tag 2024-03-19 22:20:13 +11:00
51b5db4cc6 Add missing migration 2024-03-19 22:14:55 +11:00
80e516ee71 Remove deprecated ifequal and ifnotequal tags
These have been replaced by `{% if x == y %}` type tags.
2024-03-19 22:01:53 +11:00
cc938b7661 Switch from url() to path()
Path is the new way to handle simpler routing rules.
2024-03-18 17:51:33 +11:00
10bfc66322 podjango: Add The Corresponding Source logo to feed 2024-03-06 17:34:48 +11:00
a112ecd0ed Load images via staticfiles 2024-02-27 10:19:38 +11:00
cdd7ee7db1 poddjango: Further lint fixes 2024-02-23 15:06:59 +11:00
db92f576fb podjango: Fix linting warnings 2024-02-23 15:02:04 +11:00
167a8f67f2 podjango: Use or_ instead of lambda
Easier to read.
2024-02-23 15:01:01 +11:00
e806af4966 podjango: Shorten feeds links 2024-02-07 14:25:45 +11:00
d6a499f1de podjango: Remove FaiF reference 2024-02-07 14:23:55 +11:00
6d015df9d7 podjango: Comment out itunes link pending update 2024-02-07 14:19:28 +11:00
9442c99809 Change to SFC contacts. 2024-02-06 19:15:43 -08:00
ae00e8dc48 Fill paragraph, no changes otherwise. 2024-02-06 19:13:38 -08:00
2a89a66ea4 podjango: Temporarily filter out episodes prior to 2024 2024-02-07 11:03:56 +11:00
49ab5aafb4 Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00