94c56bb468
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
dd27742114
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
d8a702c8c9
Load images via staticfiles
2024-02-27 10:19:38 +11:00
18de3adfce
Similarly load CSS via Django staticfiles app
2024-02-27 09:34:11 +11:00
e7f21fa253
Remove unused ccs-upload feature
...
Use the Source uploads now go to a NextCloud anonymous upload.
2024-02-23 14:51:04 +11:00
7933ca5f71
podjango: Pluralize to /casts/
2024-02-07 14:29:35 +11:00
38db5039d9
Move /cast/ to /cast/the-corresponding-source/
...
This makes room for addition of other podcasts later.
2024-02-07 14:19:28 +11:00
bc21a0b92f
Drop the unused /admin/doc/ route
2023-11-27 19:42:29 +11:00
ebb7866739
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
ce6be591bd
Rename "www" directory to "conservancy"
2023-10-25 13:01:21 +11:00