024b6e1122
Sort Python imports with isort
2023-10-20 09:52:39 +11:00
7f7be02379
Switch to relative imports
...
The relative imports make it clearer what code is within the project and where
it's coming from.
2023-10-20 09:45:53 +11:00
9a5410c307
update frontpage featured term language
2023-10-19 06:54:06 -07:00
1cd1cfcd58
podjango: Factor out credits, feedback and license info
...
This makes it easier to keep up-to-date across multiple templates.
2023-10-19 17:52:48 +11:00
e66899982a
podjango: Link up "The Corresponding Source" title
...
This helps with navigating back to the home page.
2023-10-19 17:49:57 +11:00
90ad65f568
Merge podjango.apps.cast into main podjango module
...
It's much simpler if "podjango" is the name of the Django app with a single
urls.py etc. The reason this is required is because podjango was originally a
fully-blown Django website and now it's become a Django app within the
Conservancy website.
2023-10-19 17:21:53 +11:00
41c83091ff
Remove www/conservancy/static/admin
...
These files are copies from an old version of Django, causing display issues in
the newer Django admin. With the "staticfiles" app enabled, the recent versions
of these files are copied to /var/www/website/collected-static/ when you run the
"collectstatic" management command. For example:
sudo -u www-data /var/www/venv-website/bin/python manage.py collectstatic --link
2023-10-19 17:03:48 +11:00
b89d2e13f7
Fix links to forms.css, remove links to unused jquery-ui.css
2023-10-19 16:49:13 +11:00
e74cad9276
podjango: Fix duplicate URLconf entry for "all oggasts"
2023-10-19 16:00:17 +11:00
60ae457e45
assignment: Prevent unhandled error when fields not provided
...
This typically happens when a bot is submitting the form. This should be a
validation error rather than an unhandled exception.
2023-10-19 11:52:04 +11:00
90e672ffcb
Rename cast to "The Corresponding Source", move to URL prefix "/cast/"
...
Also improved detail view rendering where unclosed <ul> tags in the body
content HTML from the database were affecting the display of footer info.
2023-10-13 13:08:16 +11:00
9e05e2743a
Update podcast feed title
2023-10-13 12:47:49 +11:00
ca58b1930d
Update podjango model __str__ methods for newer Django
2023-10-13 12:44:28 +11:00
58eafab717
Automatically generate feed enclosure URL prefix
2023-10-13 12:41:20 +11:00
c815a9c176
Rename podcast to "The Corresponding Source"
2023-10-13 09:45:38 +11:00
9d61f17d32
Remove hard-coded faif.us domain from feed enclosure URLs
2023-10-13 09:45:38 +11:00
a7b2669fb8
update vizio case pages and menus
2023-10-12 12:15:22 -07:00
b25b0f4192
fix file names for transcript
2023-10-12 12:12:37 -07:00
0c5ec8e735
update vizio portions of website
2023-10-12 10:54:11 -07:00
48d054f028
Configure mounting of /var/www/media
2023-10-12 11:52:40 +11:00
433bfd5765
Fix MP3 feed
2023-10-12 11:51:15 +11:00
461d809a8a
podjango: Remove unused code and templates
2023-10-10 22:05:38 +11:00
7cb9bb1c5c
Fix further podcast links, remove unused base template and CSS, improve layout
2023-10-09 12:50:42 +11:00
ff0e8d9dcf
Similarly don't serve header logo from staticfiles
2023-10-06 16:53:27 +11:00
a391bfc6e6
Don't serve tachyons from staticfiles just yet
...
We need to consolidate the static files all at once.
2023-10-06 16:48:49 +11:00
1ec94ab220
Remove default AUTHENTICATION_BACKENDS setting
2023-10-06 16:37:17 +11:00
34e16f55fd
Namespace podjango static files, use includes to reduce duplication, enable staticfiles app
2023-10-06 16:35:36 +11:00
b5bbf5aa47
Add FOSSY menu item to "What we do" menu
2023-10-05 22:12:16 +11:00
b5c2f4d8e5
Use reverse URL generation for detail view
2023-10-05 22:07:34 +11:00
e6b6878659
Fix broken template tag
2023-10-05 20:38:35 +11:00
5ae861dd60
Fix reference to podjango detail template
2023-10-05 20:29:12 +11:00
6426c9de06
Merge FAIF "podjango" codebase into main sfconservancy.org site
...
It's a little awkward for now with podjango also having an "apps" module, but we
can clean that up later. I've excluded any JS and HTML that's likely not
required.
To accomodate this merging, I moved the templates into a "podjango" subdirectory
and, added a "podjango" namespace to the URLconf and converted a bunch of
hard-coded links to use the "url" template tag since there will now be a
"/faif/" prefix.
2023-10-05 19:26:42 +11:00
22da921444
Update template BASE_DIR now settings have moved in a directory
2023-10-05 17:45:36 +11:00
e80b30492e
Move TEMPLATES, AUTHENTICATION_BACKENDS and MIDDLEWARE into base settings
...
These don't change, so belong in the base settings.
2023-10-05 17:35:18 +11:00
92e2f38b7a
Update ALLOWED_HOSTS for new server
...
There's no need for the site to be accessed via IP or it's hostname.
2023-09-20 12:45:26 +10:00
032acbe781
Remove documentation reference to unused djangopw module
...
Code appears to have been removed some time back.
2023-09-20 12:29:51 +10:00
5b78413866
Document the CDN setup for hosting videos
2023-09-20 12:28:43 +10:00
52c2a3cc0f
Remove older Debian Dockerfiles
2023-09-15 21:59:00 +10:00
9b47ffab6e
Extend Ansible config
2023-09-15 21:49:19 +10:00
d9ef505439
Note libsasl2-modules requirement
2023-09-15 21:04:00 +10:00
4c42823360
Add postfix to ansible config
2023-09-14 23:44:10 +10:00
ed96727366
Update WSGI entrypoint to match standard Django
2023-09-14 22:04:37 +10:00
da51c71ff1
fixup! Fix git merge during schedule update
2023-09-14 18:34:53 +10:00
697fc1523a
Fix git merge during schedule update
2023-09-14 18:29:08 +10:00
5b315ae75e
Add Ansible config
2023-09-14 18:23:04 +10:00
c0f424cac2
Update "cleanup" and "update" services for Python 3
2023-09-14 18:14:22 +10:00
d6271124d5
Remove unused files
2023-09-13 13:34:11 +10:00
b59f9c60a5
Add support for Debian Bookworm
2023-09-13 13:33:27 +10:00
8058d768fb
Add support for Debian Bullseye
...
Added `on_delete` attributes, updated ForceCanonicalHostnameMiddleware for
compatibility and added Dockerfile for Bullseye.
2023-09-12 10:59:45 +10:00
88f69c2897
Add Debian Buster dockerfile
...
Runs fine on Buster!
2023-09-07 23:27:33 +10:00