Commit graph

10 commits

Author SHA1 Message Date
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)