Commit graph

28 commits

Author SHA1 Message Date
5a2098d9e4 Kuhn ⇒ Kühn — I have changed spelling of my surname. 2025-11-07 08:39:51 -08:00
664d3f300d Add CAPTCHA to FOSSY track proposals form 2024-11-12 14:15:13 +11:00
86e2415e73 supporters: Add sustainer form with pre-canned amount options 2024-10-22 23:52:35 +11: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
a9ff670fb7 Merge "supporter" and "supporters" apps
It's a little confusing having both a "supporter" and "supporters" app. This is
a fairly minor change to move the sustainer banner urls/views into the existing
"supporters" app. The functionality isn't directly related, but it is all about
sustainers.
2024-05-07 09:47:47 +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
ff689d35ef 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
c52b91e183 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
5fb6b396d2 Remove unnecessary admin.autodiscover()
Since Django 1.7 this is done automatically.
2024-03-20 17:01:10 +11:00
7573c7eb4d Rearrange urls.py to distinguish the content pages 2024-03-20 16:51:28 +11:00
6717a83d4e Remove unused /coming-soon.html page 2024-03-20 16:45:49 +11:00
8963dc916e Handle trailing slashes in static content 2024-03-20 15:45:46 +11:00
02406c01fc Fix /fossy/community-tracks/ 2024-03-18 18:47:39 +11:00
d03167ccd9 Convert remaining url routes to path/re_path 2024-03-18 18:38:30 +11:00
36759236c8 Switch main urls.py to use path 2024-03-18 18:24:31 +11:00
703c08f8b4 Switch from url to re_path for static views 2024-03-18 18:17:09 +11:00
1ec61a5f07 Fix contractpatch urls 2024-03-18 18:03:15 +11:00
994d58ddf6 Rewrite the index view to avoid risk of path traversal
I've simplified this view by removing the custom HTTP error handlers, Python 3.5
exception handling and adding documentation.
2024-03-13 13:16:29 +11:00
d443376fc7 Move Python code out of the "conservancy/static" directory
Having Python code in "conservancy/static" is a bit suprising to people familiar
with Django. The name "static" is usually reserved for assets like CSS, JS and
images.

I'm moving `conservancy/static/views.py` to `conservancy/views.py` and removing
`conservancy/static/__init__.py`.
2024-03-06 18:46:40 +11:00
a112ecd0ed Load images via staticfiles 2024-02-27 10:19:38 +11:00
324eab9191 Similarly load CSS via Django staticfiles app 2024-02-27 09:34:11 +11:00
c53d269b42 Remove unused ccs-upload feature
Use the Source uploads now go to a NextCloud anonymous upload.
2024-02-23 14:51:04 +11:00
1125e278f3 podjango: Pluralize to /casts/ 2024-02-07 14:29:35 +11:00
9a2071e3d2 Move /cast/ to /cast/the-corresponding-source/
This makes room for addition of other podcasts later.
2024-02-07 14:19:28 +11:00
17caea4ac6 Drop the unused /admin/doc/ route 2023-11-27 19:42:29 +11:00
072bfd8a1d Switch CCS upload, copyright assignment, FOSSY and podcast components to use path()
This is the newer approach to URL routing in Django.
2023-11-27 19:40:06 +11:00
49ab5aafb4 Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
Renamed from www/urls.py (Browse further)