49ab5aafb4
Rename "www" directory to "conservancy"
2023-10-25 13:01:21 +11:00
fa7f227318
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
6055cf536d
usethesource: Add data models, admin and frontend comment editing
2023-10-25 00:00:14 +11:00
b75139c025
Add Use the Source mockup pages
...
This doesn't include any data models yet.
2023-10-25 00:00:14 +11:00
49b3e46615
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
1016e64ecb
Add Apache proxy and proxy-http modules
2023-10-24 13:55:19 +11:00
3faf3beaf6
Remove unused conservancy_wrapper files
2023-10-20 17:37:17 +11:00
74fc688dbf
Remove unused modpythoncustom.py
...
We have used mod-wsgi for many years.
2023-10-20 17:34:07 +11:00
22eb13bbb1
Fix podjango migrations
...
Required an updated following code restructuring.
2023-10-20 17:05:35 +11:00
2b5364f4f7
Move fundraising goal banner into a template include
2023-10-20 12:47:58 +11:00
6c1aec16c8
Fix indentation in settings and urls modules
2023-10-20 12:47:30 +11:00
0a5383c28d
Further switch to relative imports
2023-10-20 09:54:35 +11:00
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