Commit graph

2194 commits

Author SHA1 Message Date
1b0603889e
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
dbc1cac2af
Fix links to forms.css, remove links to unused jquery-ui.css 2023-10-19 16:49:13 +11:00
43e3cbe7f1
podjango: Fix duplicate URLconf entry for "all oggasts" 2023-10-19 16:00:17 +11:00
05c7ed6647
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
cf359b6a64
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
45a1f64730
Update podcast feed title 2023-10-13 12:47:49 +11:00
d9d28cf439
Update podjango model __str__ methods for newer Django 2023-10-13 12:44:28 +11:00
9381e607cd
Automatically generate feed enclosure URL prefix 2023-10-13 12:41:20 +11:00
6393441126
Rename podcast to "The Corresponding Source" 2023-10-13 09:45:38 +11:00
1b439b3bd0
Remove hard-coded faif.us domain from feed enclosure URLs 2023-10-13 09:45:38 +11:00
136fecaaf1
update vizio case pages and menus 2023-10-12 12:15:22 -07:00
30bc4968e3
fix file names for transcript 2023-10-12 12:12:37 -07:00
31214bac7c
update vizio portions of website 2023-10-12 10:54:11 -07:00
2352082ec9
Configure mounting of /var/www/media 2023-10-12 11:52:40 +11:00
9e7c3a7709
Fix MP3 feed 2023-10-12 11:51:15 +11:00
bf64250aa3
podjango: Remove unused code and templates 2023-10-10 22:05:38 +11:00
d1960cf04c
Fix further podcast links, remove unused base template and CSS, improve layout 2023-10-09 12:50:42 +11:00
5e2cb22fb7
Similarly don't serve header logo from staticfiles 2023-10-06 16:53:27 +11:00
cdd475d9d6
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
84f04cfcbe
Remove default AUTHENTICATION_BACKENDS setting 2023-10-06 16:37:17 +11:00
0b54f5cc1a
Namespace podjango static files, use includes to reduce duplication, enable staticfiles app 2023-10-06 16:35:36 +11:00
382714e54f
Add FOSSY menu item to "What we do" menu 2023-10-05 22:12:16 +11:00
7fa679f795
Use reverse URL generation for detail view 2023-10-05 22:07:34 +11:00
293350658a
Fix broken template tag 2023-10-05 20:38:35 +11:00
edb349d12d
Fix reference to podjango detail template 2023-10-05 20:29:12 +11:00
c0acfde9c3
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
1e494a4e11
Update template BASE_DIR now settings have moved in a directory 2023-10-05 17:45:36 +11:00
6b95646cc7
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
fb9e7242b5
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
49ca73f50e
Remove documentation reference to unused djangopw module
Code appears to have been removed some time back.
2023-09-20 12:29:51 +10:00
72914fa665
Document the CDN setup for hosting videos 2023-09-20 12:28:43 +10:00
6c0daf9410
Remove older Debian Dockerfiles 2023-09-15 21:59:00 +10:00
bc4c5deec4
Extend Ansible config 2023-09-15 21:49:19 +10:00
33e27a1e7a
Note libsasl2-modules requirement 2023-09-15 21:04:00 +10:00
9f87feb19d
Add postfix to ansible config 2023-09-14 23:44:10 +10:00
deea193a25
Update WSGI entrypoint to match standard Django 2023-09-14 22:04:37 +10:00
38dec75ddd fixup! Fix git merge during schedule update 2023-09-14 18:34:53 +10:00
d8019a11eb
Fix git merge during schedule update 2023-09-14 18:29:08 +10:00
3c79fa50b5
Add Ansible config 2023-09-14 18:23:04 +10:00
053504d099
Update "cleanup" and "update" services for Python 3 2023-09-14 18:14:22 +10:00
33513d5626
Remove unused files 2023-09-13 13:34:11 +10:00
cf3d7c6100
Add support for Debian Bookworm 2023-09-13 13:33:27 +10:00
05323a307d
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
aa6d3626be
Add Debian Buster dockerfile
Runs fine on Buster!
2023-09-07 23:27:33 +10:00
9e39d7eadc
Apply pyupgrade --py36-plus (but skip f-strings as we're on Python 3.5) 2023-09-07 23:15:48 +10:00
5900f347c4
Add Debian Stretch dockerfile 2023-09-07 23:03:10 +10:00
60010999d2
Remove use of python3-future 2023-09-07 22:59:23 +10:00
6c83c6289f
Update some dependencies 2023-09-07 19:46:14 +10:00
9a7a966f73
front news blurb to zoom 2023-08-16 14:47:35 -07:00
b9b29ba2c3
remove twisted as a member project 2023-08-16 10:24:26 -07:00