Commit graph

2378 commits

Author SHA1 Message Date
7a682ed6d0
usethesource: Add "ordering" field to determine candidate sort order 2023-10-31 09:31:28 +11:00
2f40b9c23b
usethesource: Emphasize "Use the Source" 2023-10-31 09:19:26 +11:00
e8a5d85c69
usethesource: Updating landing page intro text 2023-10-31 09:09:55 +11:00
d0e218cdb6
Update to-dos 2023-10-26 13:24:17 +11:00
5047e2f68b
Extend docs for local development and production deploy 2023-10-26 13:22:45 +11:00
5686e54386
Provide a default for DEBUG
This avoid having to specify it in the production environment config at all -
shorter config.
2023-10-26 13:19:11 +11:00
813446c568
Remove CONSERVANCY_SECRET_KEY
Use SECRET_KEY instead to minimise use of non-standard settings.
2023-10-26 13:09:50 +11:00
19be27702a
Add .dockerignore to ignore everything except requirements.txt 2023-10-26 12:44:23 +11:00
8ef3aa73b0
Add to-do file
This allows me to track improvements we'd like to make, but not necessarily
straight away.
2023-10-26 12:33:29 +11:00
9e45e8544a
Update and document Dockerfile 2023-10-26 12:31:52 +11:00
70b8aa07ae
Simplify settings and move some standard settings into settings.py
These were previously in djangocommonsettings.py, but don't ever vary between
development and production environments.
2023-10-26 12:28:29 +11:00
2f3fba359f
usethesource: Fix header image path 2023-10-25 23:04:59 +11:00
2cdebf1316
Apply directory changes to update script 2023-10-25 22:56:44 +11:00
1d60fb041b
usethesource: Add stars banner image 2023-10-25 22:51:45 +11:00
2d2ab565da
Update .gitignore to reflect directory structure changes
Also removed some unused ignore lines.
2023-10-25 16:55:40 +11:00
6d4fee3c3b
Update wsgi.py to reflect directory structure changes 2023-10-25 16:28:57 +11:00
ce6be591bd
Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
531a97a3c9
Eliminate "conservancy" and "apps" subdirectories
The directory nesting is unnecessary here and confusing to navigate. I've moved
all apps to the project subdirectory, currently called "www", but soon to be
renamed "conservancy".

I've also moved manage.py to the top-level directory.
2023-10-25 12:36:39 +11:00
cc3224bb60
usethesource: Add data models, admin and frontend comment editing 2023-10-25 00:00:14 +11:00
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