Commit graph

2378 commits

Author SHA1 Message Date
Denver Gingerich
84daddb4ff usethesource: update disclaimer per SFC public MUC 2024-03-15 14:31:27 -07:00
5605243dfd
usethesource: Add some space between comment name/date and text 2024-03-15 19:41:54 +11:00
9ff4682420
usethesource: Allow comments to be attributed to non-account holders 2024-03-15 18:49:48 +11:00
296f29c84b
usethesource: Add candidate option to show/hide download disclaimer 2024-03-15 18:39:49 +11:00
c0a4fe5f39
usethesource: Add checkbox to opt-out of posting comment to mailing list 2024-03-15 18:21:59 +11:00
250db691e4
Document the new deployment approach
Also mentioned linkchecker.
2024-03-13 15:55:00 +11:00
3069a72763
Remove conservancy-www-update timer-based deploy 2024-03-13 14:50:48 +11:00
cba71044a2
Prevent test giving false-negative if settings.py moved 2024-03-13 14:45:36 +11:00
62823a9493
Rename bin/deploy.sh to bin/deploy 2024-03-13 14:26:41 +11:00
daf93dc32b
Switch content tests to pytest 2024-03-13 14:26:01 +11:00
94c56bb468
Rewrite the index view to avoid risk of path traversal
I've simplified this view by removing the custom HTTP error handlers, Python 3.5
exception handling and adding documentation.
2024-03-13 13:16:29 +11:00
Denver Gingerich
e50baa3f96 usethesource: delete moot timeline on CCIRT page 2024-03-12 17:27:04 -07:00
Denver Gingerich
436dc012b3 usethesource: long waits are over, so delete note 2024-03-12 16:51:52 -07:00
9fecb37c61
Update the path to templates in index() 2024-03-06 19:02:00 +11:00
dd27742114
Move Python code out of the "conservancy/static" directory
Having Python code in "conservancy/static" is a bit suprising to people familiar
with Django. The name "static" is usually reserved for assets like CSS, JS and
images.

I'm moving `conservancy/static/views.py` to `conservancy/views.py` and removing
`conservancy/static/__init__.py`.
2024-03-06 18:46:40 +11:00
d461c1bc86
podjango: Add The Corresponding Source logo to feed 2024-03-06 17:34:48 +11:00
f06b631093
usethesource: Add missing migration 2024-02-27 19:10:04 +11:00
af83b40af2
fossy: Add date hierarchy in admin 2024-02-27 19:09:48 +11:00
6c24b00fe3
fossy: Add created_time to CommunityTrackProposal model
Also move templates into app.
2024-02-27 19:01:31 +11:00
3ef31ebe43
Fix broken video links 2024-02-27 10:27:25 +11:00
aa26e2f7f0
Fix mistaken rename
I meant to rename the deploy script, not the deploy directory.
2024-02-27 10:23:18 +11:00
d8a702c8c9
Load images via staticfiles 2024-02-27 10:19:38 +11:00
7074802d50
Load favicon via staticfiles 2024-02-27 09:50:07 +11:00
dcdb976cd6
Push to remote first during deploy 2024-02-27 09:43:07 +11:00
18de3adfce
Similarly load CSS via Django staticfiles app 2024-02-27 09:34:11 +11:00
caa0ff7b86
Load JS through Django's staticfiles app
This avoids the need for adjustments during development and allows production to
be served under a single /static declaration in Apache.
2024-02-27 09:25:05 +11:00
279f1deae5
Remove reference to old jQuery
This was 404ing anyway.
2024-02-27 09:22:08 +11:00
55ee5b53b6
Add a basic script to "push" deploy
Currently updates are published by the "conservancy-www-update.sh" that does a
"pull" deploy with a 5-minutely job that runs on the web server. This doesn't
run `migrate`, `collectstatic` or restart the application, so certain types of
changes don't take effect, and even template changes often don't due to caching
template loader.

This script allows you to deploy more significant updates on-demand, but
requires SSH access.
2024-02-23 15:39:54 +11:00
49e3c43299
poddjango: Further lint fixes 2024-02-23 15:06:59 +11:00
75e3ab4d35
podjango: Fix linting warnings 2024-02-23 15:02:04 +11:00
ffa2889acb
podjango: Use or_ instead of lambda
Easier to read.
2024-02-23 15:01:01 +11:00
e7f21fa253
Remove unused ccs-upload feature
Use the Source uploads now go to a NextCloud anonymous upload.
2024-02-23 14:51:04 +11:00
ea271641d4 update path -- website/systemd is now website/deploy/systemd 2024-02-13 10:51:04 -05:00
46a5e89718 Add FY2022-23 Form 990 to website 2024-02-13 07:41:11 -08:00
903c68b7ad Add FY 2022-23 audit report; update transparency page accordingly 2024-02-13 07:16:56 -08:00
28326ce7e1
Add "The Corresponding Source" to menus 2024-02-09 23:05:54 +11:00
7933ca5f71
podjango: Pluralize to /casts/ 2024-02-07 14:29:35 +11:00
a790bce31a
podjango: Shorten feeds links 2024-02-07 14:25:45 +11:00
97bf39bd6d
podjango: Remove FaiF reference 2024-02-07 14:23:55 +11:00
b3044cbeda
podjango: Comment out itunes link pending update 2024-02-07 14:19:28 +11:00
38db5039d9
Move /cast/ to /cast/the-corresponding-source/
This makes room for addition of other podcasts later.
2024-02-07 14:19:28 +11:00
0b3cab24f7 Change to SFC contacts. 2024-02-06 19:15:43 -08:00
a5364bc9b8 Fill paragraph, no changes otherwise. 2024-02-06 19:13:38 -08:00
6ce976e63a
podjango: Temporarily filter out episodes prior to 2024 2024-02-07 11:03:56 +11:00
4a2ed6714a
Move ALLOWED_HOSTS into local settings (djangocommonsettings.py) 2024-02-06 21:59:31 +11:00
e246c530c4
Remove commented out XViewMiddleware 2024-02-06 21:58:36 +11:00
cdb31327ec
Remove DEBUG = False as it's the default 2024-02-06 21:52:59 +11:00
456d1c1630
Remove outdated copy of Apache config
This isn't being deployed from the repository and is a couple of servers out of date.
2024-02-06 21:40:01 +11:00
8f51e10819
Move deployment-related systemd config into "deploy" subdirectory 2024-02-06 21:39:18 +11:00
Denver Gingerich
afe2382e49 usethesource: candidate rounds explainer sentence 2024-02-04 23:04:39 -08:00