Commit graph

2068 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
4c42823360 Add postfix to ansible config 2023-09-14 23:44:10 +10:00
c0f424cac2 Update "cleanup" and "update" services for Python 3 2023-09-14 18:14:22 +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
82d513b5b7 Apply pyupgrade --py36-plus (but skip f-strings as we're on Python 3.5) 2023-09-07 23:15:48 +10:00
98fcf8e35d Remove use of python3-future 2023-09-07 22:59:23 +10:00
df7afe8135 front news blurb to zoom 2023-08-16 14:47:35 -07:00
60ee478a7b remove twisted as a member project 2023-08-16 10:24:26 -07:00
76d53ad690 Switch video to version that blurs out people who requested not to appear on camera 2023-07-25 20:27:23 -04:00
9a84e35561 Fix typo 2023-07-19 12:25:46 -07:00
9e2708ffa4 Change featured item on website to RHEL keynote. 2023-07-19 12:20:57 -07:00
ce5051b598 Add press releated to RHEL. 2023-07-12 08:17:34 -07:00
0434e8f50a intel sponsor logo for fossy 2023-07-06 13:11:44 -07:00
89a058d68b Red Hat last donated to SFC on 2020-03-27.
The logo should have been removed sooner, but they kept saying they
were going to donate again and never did.
2023-06-23 12:28:37 -07:00
e099d0ee0a lwn sponsor logo for fossy 2023-06-22 13:59:55 -07:00
aabe78d1f4 add fossy sponsor images 2023-06-19 11:30:24 -07:00
caa3cf28cc fix ids for donation methods 2023-05-11 11:04:51 -07:00
27af4bb4c1 add sourceware to member projects 2023-05-11 10:59:14 -07:00
784ece5d89 update Jeremy and Karens bios 2023-04-25 10:39:32 -07:00
ee4289e7ac Show summary for first news item on front page 2023-02-14 09:02:52 +11:00
5ecbc4c55f Fix whitespace 2023-02-11 17:22:32 +11:00
4760ef90af add fossy track cfp to main page 2023-02-09 12:43:54 -08:00
68afa2e9c3 Correct spelling error. 2023-02-09 12:43:14 -08:00
d90f0d1f63 Improve copy in two places on frontpage. 2023-02-09 12:42:02 -08:00
421aab2d86 A bit more width for the video, remove <p>
Ok, that was too small, try this.
2023-02-09 12:39:17 -08:00
e76c393b1a Try to improve look on front page. 2023-02-09 12:38:26 -08:00
6c9f0ea601 Improve copy, move video, add auto-subtitle. 2023-02-09 12:34:05 -08:00