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
Paul Visscher
b1fe2483ae
update date
2024-04-16 16:09:25 -04:00
495f841d39
contacts: Add field to represent the mailout the unsubscribe came from
2024-04-10 16:18:51 +10:00
9c01770b3c
contacts: Allow email via POST or GET parameters
2024-04-09 23:06:52 +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
ef3dd503d8
touch up fossy proposal page
2024-03-29 09:20:08 -07:00
91c6238ab3
better picture of SMSU and update submission date
2024-03-28 13:11:45 -07:00
95eda99159
Add Vizio summary judgement
2024-03-22 01:16:30 +00:00
db39fbb446
Remove unused static/error
templates
2024-03-22 11:23:19 +11: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
374ec19b77
Defer JavaScript loading
...
This avoids waiting for the JS to download before rendering the page.
2024-03-22 10:39:06 +11:00
da121e5eb4
Specify encoding for templates in case it's not the default
2024-03-22 10:10:57 +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
16b2165de7
blog: Retain author/tag when changing pages in entry_list
...
Denver noted that the author query string was being lost when you select a page
by page number. This change fixes it.
2024-03-21 15:18:22 +11:00
02ca52e2f0
Fix typo
2024-03-21 13:54:49 +11:00
79361cdf97
Move fundraiser calculations to model
...
This changes simplifies the template and adds correct pluralisation of
hours/hour remaining.
2024-03-21 13:20:30 +11:00
28f3b8de08
usethesource: Allow logged in users to edit/delete their own comments only
...
Unless of course they're given the "change comment" and "delete comment"
permissions, with which they can change or delete any comment.
2024-03-21 11:51:57 +11:00
c962a1d100
Set USE_TZ = False to avoid default changing in Django 5
2024-03-21 09:53:19 +11:00
440b4f864a
Use decorator syntax to register admin handlers
...
Same-same, just marginally neater.
2024-03-21 09:35:00 +11:00
6c91a14f6b
Remove unused CCS upload template
2024-03-20 17:10:32 +11:00
eb3ceb1d86
Move copyright assignment templates into Django app
2024-03-20 17:10:16 +11:00
382952a6ad
Remove unnecessary admin.autodiscover()
...
Since Django 1.7 this is done automatically.
2024-03-20 17:01:10 +11:00
618bb1e83d
Rearrange urls.py to distinguish the content pages
2024-03-20 16:51:28 +11:00
6179988005
Remove unused /coming-soon.html page
2024-03-20 16:45:49 +11:00
661603c3be
Fix tests
2024-03-20 16:25:02 +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
c795e1799c
Move secrets.json to top-level
2024-03-20 14:42:10 +11:00
d0464e870c
Fix strange issue with ParameterValidator settings
...
When imported at top-level, `settings` was a Python module, rather than a Django
settings object. Not sure why.
2024-03-20 14:32:44 +11:00
fedab3120b
Specify the production settings in wsgi.py
2024-03-20 14:15:20 +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
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
c80ed09d70
add AlliterativeAdvising logo
2024-03-18 13:23:58 -07:00
6f618e110f
Fix /fossy/community-tracks/
2024-03-18 18:47:39 +11:00
33833e3a33
Convert remaining url
routes to path
/re_path
2024-03-18 18:38:30 +11:00
8b805b313e
Switch main urls.py to use path
2024-03-18 18:24:31 +11:00
922afef356
Switch from url
to re_path
for static views
2024-03-18 18:17:09 +11:00
fc308958fa
Fix contractpatch urls
2024-03-18 18:03:15 +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
c4f88bd931
update fossy track proposal submission
2024-03-17 10:56:33 -07:00
4650f685bb
change mentions of first on fossy landing
2024-03-17 09:57:40 -07:00
d
3b74e8430f
fossy 0224 update!
2024-03-16 11:01:02 -07:00
Denver Gingerich
84daddb4ff
usethesource: update disclaimer per SFC public MUC
2024-03-15 14:31:27 -07:00
5605243dfd
usethesource: Add some space between comment name/date and text
2024-03-15 19:41:54 +11:00
9ff4682420
usethesource: Allow comments to be attributed to non-account holders
2024-03-15 18:49:48 +11:00