Commit graph

2309 commits

Author SHA1 Message Date
905e5c918d
Add Use the Source mockup pages
This doesn't include any data models yet.
2023-10-25 00:00:14 +11:00
012bb1e7e4
Allow "outercontent" template block to use full page width
This allows us to create full-width layouts for specific campaigns.
2023-10-25 00:00:14 +11:00
1707c327e0
Add Apache proxy and proxy-http modules 2023-10-24 13:55:19 +11:00
e2b129b4b5
Remove unused conservancy_wrapper files 2023-10-20 17:37:17 +11:00
cd3eb3b10c
Remove unused modpythoncustom.py
We have used mod-wsgi for many years.
2023-10-20 17:34:07 +11:00
ddb85bd8c1
Fix podjango migrations
Required an updated following code restructuring.
2023-10-20 17:05:35 +11:00
838fdcbfa4
Move fundraising goal banner into a template include 2023-10-20 12:47:58 +11:00
e9bdb18b7e
Fix indentation in settings and urls modules 2023-10-20 12:47:30 +11:00
15ce31eedb
Further switch to relative imports 2023-10-20 09:54:35 +11:00
47a30a750a
Sort Python imports with isort 2023-10-20 09:52:39 +11:00
b7e2ce2a4d
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
439f777bda
update frontpage featured term language 2023-10-19 06:54:06 -07:00
21cb41e58b
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
70d6eb7140
podjango: Link up "The Corresponding Source" title
This helps with navigating back to the home page.
2023-10-19 17:49:57 +11:00
acd2cef276
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
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