Commit graph

2417 commits

Author SHA1 Message Date
Denver Gingerich
2825c50ac7 Update Vizio trial date/note; more updates to come 2024-06-15 15:53:08 -07:00
Denver Gingerich
f9e1645306 Fix What We Do -> FOSSY link per chat, to fossy.us 2024-06-14 11:30:24 -07:00
d90f8215c0 add sponsor per Tracy's request 2024-06-11 10:54:45 -04:00
b4b09b680a Handle excessively long paths 2024-06-06 18:07:05 +10:00
Denver Gingerich
ce27df3335 Remove links to historical-purposes-only documents 2024-05-28 16:09:10 -07:00
8fe600740b Add the minified version of tachyons.css 2024-05-13 18:25:27 +10:00
8929be7289 Update to-dos 2024-05-13 18:18:40 +10:00
678b094418 Add size to header logo 2024-05-13 18:11:37 +10:00
fe8e3ed621 Remove FIXME 2024-05-13 18:07:56 +10:00
8d20764b5a Disable Tachyons import line
This avoids an error during `collectstatic`.
2024-05-13 18:01:44 +10:00
4744d8c015 Switch to ManifestStaticFilesStorage for hashed URLs to static files 2024-05-13 17:55:54 +10:00
f94d5a1de5 Eliminate base_standard.html template and internalNavigate blocks
The base_standard.html template was an unnecessary level of template
inheritance.

Also removed unused `min` and `subtract` template tags.
2024-05-13 17:11:01 +10:00
84c378da0c Remove unused podjango files
Also updated the podjango templates to reference the *actual* base template,
`base_conservancy.html`, rather than `base_standard.html`.
2024-05-13 16:26:26 +10:00
8d4509b258 Add some basic 200 OK smoke tests for key pages 2024-05-10 12:12:04 +10:00
6af885985c Move SITE_FUNDGOAL configuration to settings/base.py
This changes more often than the surrounding code, so should live with the other
configuration.
2024-05-10 12:00:44 +10:00
e37e024e7d Fix tests following content move 2024-05-10 11:39:41 +10:00
c58ba95093 Merge sponsors.py into supporters app, frontpage.py into views.py
Just a small structural change so that the related functionality is grouped together.
2024-05-10 11:27:51 +10:00
4d6e2460d7 Remove remaining jQuery
This avoids every page on the site parsing 250KB of JavaScript.

supporter-page.js isn't the most elegant code, but at least it's a little more
modular now and no longer user jQuery.
2024-05-09 22:15:33 +10:00
e641660f1d Convert further jQuery to plain JS 2024-05-09 15:43:53 +10:00
7adea02e1a Fix JS error 2024-05-09 14:10:10 +10:00
828d2179e3 Further split up the supporter JS into functions 2024-05-09 14:06:39 +10:00
b15c96e25a Replace complex expanding JS with native <details> elements
Have retained the "expand all" behaviour - just with less code.
2024-05-09 13:53:50 +10:00
232452fa9a Fix shirt size for monthly an annual renew 2024-05-08 18:05:27 +10:00
f6299e1686 Remove use of jQuery in conservancy.js
This is the first step towards removing jQuery from the site.
2024-05-08 17:23:45 +10:00
dc005dcf07 Add "use strict" on JS 2024-05-07 11:00:14 +10:00
a664dee8c6 Fix lint warnings 2024-05-07 10:59:46 +10:00
0e5499ad92 Begin jQuery removal 2024-05-07 10:46:34 +10:00
6c693535ea Set ownership during deploy 2024-05-07 09:48:36 +10:00
a9ff670fb7 Merge "supporter" and "supporters" apps
It's a little confusing having both a "supporter" and "supporters" app. This is
a fairly minor change to move the sustainer banner urls/views into the existing
"supporters" app. The functionality isn't directly related, but it is all about
sustainers.
2024-05-07 09:47:47 +10:00
bc1912853f podjango: Use feed title from database 2024-04-26 16:33:55 +10:00
54a3e02d2f Move media to top-level directory 2024-04-26 16:26:51 +10:00
3485926915 podjango: Configure uploaded media directory 2024-04-26 16:13:00 +10:00
1969478a69 podjango: Upload icon per podcast 2024-04-26 16:07:20 +10:00
352aaf2bd2 podjango: Add "Podcast" model to support multiple podcasts
Each Cast (episode) can belong to one or more Podcast, allowing episodes to be
shared between podcasts. This enables us introductory episodes to be delivered
in their own feed, but also included in the main "The Corresponding Source"
feed.

This required adding an additional `podcast_slug` argument to most views. The
date archive views were dropped because they're not linked to from anywhere.

Added a `podcasts` view as an index of all available Podcasts.
2024-04-25 15:32:24 +10:00
5efe14b5cf podjango: Combine templates into a single directory 2024-04-25 15:29:10 +10:00
33c2e373f9 podjango: Remove incomplete "query" view/URLs 2024-04-24 17:49:26 +10:00
20d4d460a5 Fix lint warnings 2024-04-24 17:38:22 +10:00
Paul Visscher
8a1074216f update date 2024-04-16 16:09:25 -04:00
de5491fea7 contacts: Add field to represent the mailout the unsubscribe came from 2024-04-10 16:18:51 +10:00
c2e6c58324 contacts: Allow email via POST or GET parameters 2024-04-09 23:06:52 +10:00
ff689d35ef contacts: Remove ContactEntry and add Unsubscription
This change removes the unused `ContactEntry` model and the `subscribe` view and
replaces it with an `Unsubscription` model and an `unsubscribe` view. It works
similarly, but is intended to be used with the `list-unsubscribe` and
`list-unsubscribe-post` headers.
2024-04-09 22:53:24 +10:00
4848b76dba touch up fossy proposal page 2024-03-29 09:20:08 -07:00
1b3c0fb1c4 better picture of SMSU and update submission date 2024-03-28 13:11:45 -07:00
73cbaa53c3 Update .gitignore for moved secrets file 2024-03-22 12:21:34 +11:00
f9bac64230 Note to-dos 2024-03-22 12:18:03 +11:00
f78eb4ae47 Add Vizio summary judgement 2024-03-22 01:16:30 +00:00
313eabca75 Remove unused static/error templates 2024-03-22 11:23:19 +11:00
106a2f7382 Remove summit_registration Django app
Has some typos suggesting that the code was never completed or used.
2024-03-22 11:19:05 +11:00
7d6a3fa13b Defer JavaScript loading
This avoids waiting for the JS to download before rendering the page.
2024-03-22 10:39:06 +11:00
ffcf016336 Specify encoding for templates in case it's not the default 2024-03-22 10:10:57 +11:00