da121e5eb4
Specify encoding for templates in case it's not the default
2024-03-22 10:10:57 +11:00
fe64a26a72
Move the content templates/files into conservancy/content
...
These were previously intermingled with the static content in `conservancy/static`.
2024-03-22 09:34:20 +11:00
16b2165de7
blog: Retain author/tag when changing pages in entry_list
...
Denver noted that the author query string was being lost when you select a page
by page number. This change fixes it.
2024-03-21 15:18:22 +11:00
02ca52e2f0
Fix typo
2024-03-21 13:54:49 +11:00
79361cdf97
Move fundraiser calculations to model
...
This changes simplifies the template and adds correct pluralisation of
hours/hour remaining.
2024-03-21 13:20:30 +11:00
28f3b8de08
usethesource: Allow logged in users to edit/delete their own comments only
...
Unless of course they're given the "change comment" and "delete comment"
permissions, with which they can change or delete any comment.
2024-03-21 11:51:57 +11:00
c962a1d100
Set USE_TZ = False to avoid default changing in Django 5
2024-03-21 09:53:19 +11:00
440b4f864a
Use decorator syntax to register admin handlers
...
Same-same, just marginally neater.
2024-03-21 09:35:00 +11:00
6c91a14f6b
Remove unused CCS upload template
2024-03-20 17:10:32 +11:00
eb3ceb1d86
Move copyright assignment templates into Django app
2024-03-20 17:10:16 +11:00
382952a6ad
Remove unnecessary admin.autodiscover()
...
Since Django 1.7 this is done automatically.
2024-03-20 17:01:10 +11:00
618bb1e83d
Rearrange urls.py to distinguish the content pages
2024-03-20 16:51:28 +11:00
6179988005
Remove unused /coming-soon.html page
2024-03-20 16:45:49 +11:00
661603c3be
Fix tests
2024-03-20 16:25:02 +11:00
1cfe805689
Handle trailing slashes in static content
2024-03-20 15:45:46 +11:00
5fa226284b
Delegate management of canonical URLs to Apache
...
This middleware is mostly redundant:
* redirecting to canonical URLs can be done more simply in Apache
* appending a forward slash is a default in CommonMiddleware now
* we're no longer using Squid cache
May need to update Apache to strip/redirect trailing "index.html".
2024-03-20 14:54:54 +11:00
c795e1799c
Move secrets.json to top-level
2024-03-20 14:42:10 +11:00
d0464e870c
Fix strange issue with ParameterValidator settings
...
When imported at top-level, `settings` was a Python module, rather than a Django
settings object. Not sure why.
2024-03-20 14:32:44 +11:00
fedab3120b
Specify the production settings in wsgi.py
2024-03-20 14:15:20 +11:00
3826b6fb66
Switch settings to use "the one true way" approach
...
The advantage of this approach is that the production and dev configurations are
in version control, so there's less opportunity for surprises.
As advocated by Jacob Kaplan-Moss (OSCON 2011) and Two Scoops of Django book.
2024-03-20 14:10:00 +11:00
fe4112c879
Remove duplicate date_within
template tag
2024-03-19 22:20:13 +11:00
283bb5d330
Add missing migration
2024-03-19 22:14:55 +11:00
0b9ab6970c
Remove deprecated ifequal
and ifnotequal
tags
...
These have been replaced by `{% if x == y %}` type tags.
2024-03-19 22:01:53 +11:00
c80ed09d70
add AlliterativeAdvising logo
2024-03-18 13:23:58 -07:00
6f618e110f
Fix /fossy/community-tracks/
2024-03-18 18:47:39 +11:00
33833e3a33
Convert remaining url
routes to path
/re_path
2024-03-18 18:38:30 +11:00
8b805b313e
Switch main urls.py to use path
2024-03-18 18:24:31 +11:00
922afef356
Switch from url
to re_path
for static views
2024-03-18 18:17:09 +11:00
fc308958fa
Fix contractpatch urls
2024-03-18 18:03:15 +11:00
2a99a0c81a
Switch from url()
to path()
...
Path is the new way to handle simpler routing rules.
2024-03-18 17:51:33 +11:00
c4f88bd931
update fossy track proposal submission
2024-03-17 10:56:33 -07:00
4650f685bb
change mentions of first on fossy landing
2024-03-17 09:57:40 -07:00
d
3b74e8430f
fossy 0224 update!
2024-03-16 11:01:02 -07:00
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
cba71044a2
Prevent test giving false-negative if settings.py moved
2024-03-13 14:45:36 +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
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
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
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
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
Denver Gingerich
afe2382e49
usethesource: candidate rounds explainer sentence
2024-02-04 23:04:39 -08:00
Denver Gingerich
7743cc86ea
usethesource: clarify when/where comments posted
2024-02-04 23:03:31 -08:00
Denver Gingerich
2e5138d10a
usethesource: update blog post refs on CCIRT page
2024-02-04 22:45:24 -08:00
Denver Gingerich
7624781a14
usethesource: capitalize "the" (mostly What We Do)
2024-02-04 22:34:43 -08:00
f438be339e
usethesource: Add "See more" link
2024-02-05 11:15:23 +11:00
Denver Gingerich
dd5cff8057
usethesource: update SFC front page top right tile
2024-02-02 23:07:41 -08:00
Denver Gingerich
27740b1dd2
usethesource: add link to blog post on CCIRT page
2024-02-02 22:57:01 -08:00
Denver Gingerich
5656bd3062
usethesource: add to What We Do - getting real!
2024-02-02 21:50:20 -08:00
Denver Gingerich
13bca4c509
usethesource: use production mailing list now
2024-02-02 20:44:17 -08:00
Denver Gingerich
9cb91f94f0
usethesource: submission guidelines fix, CCIRT lnk
2024-02-02 20:09:52 -08:00
Denver Gingerich
7085e8ed01
usethesource: fix second CCIRT image link, ongoing
2024-02-02 19:51:07 -08:00
Denver Gingerich
42cf606847
usethesource: thanks, Tracy for the CCIRT diagrams
2024-02-02 19:45:49 -08:00
Denver Gingerich
bca1c50f86
usethesource: fix plurality of OSPO abbr in CCIRT
2024-02-01 22:16:55 -08:00
Denver Gingerich
5ed4be23d3
usethesource: fix end tag for OSPO abbr in CCIRT
2024-02-01 22:16:03 -08:00
Denver Gingerich
9c118c85ad
usethesource: add OSPO abbr in CCIRT process page
2024-02-01 22:14:06 -08:00
Denver Gingerich
1493bafa85
usethesource: linkify email addr in CCIRT process
2024-02-01 22:12:42 -08:00
Denver Gingerich
932b6a0515
usethesource: add AoE abbr's to CCIRT process page
2024-02-01 22:06:57 -08:00
Denver Gingerich
bd5cab1476
usethesource: HTML-ify CCIRT process paragraphs
2024-02-01 22:01:52 -08:00
Denver Gingerich
6c52f28d6a
Use The Source: add initial CCIRT text
2024-02-01 21:59:35 -08:00
c63bccaacc
usethesource: Add placeholder for CCIRT process
2024-02-02 12:48:48 +11:00
fc9c562900
usethesource: Update "Submit a Candidate" text
2024-02-01 16:05:05 +11:00
4bb2a603b2
usethesource: Add line breaks and linkifying to landing page descriptions
2024-02-01 12:12:15 +11:00
df4c284d57
usethesource: Fix bold
2024-02-01 12:09:36 +11:00
1fce9f4548
usethesource: Update intro text and comment spacing
2024-02-01 12:06:49 +11:00
dddf6058a9
usethesource: Linkify URLs in description and comments, retain line breaks
2024-02-01 10:37:31 +11:00
6c652f10c6
usethesource: Add link to mailing list
2024-02-01 10:22:23 +11:00
a7517825a3
usethesource: Reword "source candidate and firmware image" in email
2024-02-01 10:10:05 +11:00
2a23a0a55e
usethesource: Add comment time field
2024-02-01 10:05:11 +11:00
9158aff702
usethesource: Fix typo in email signature
2024-01-31 12:33:47 +11:00
c287dac433
usethesource: Make email addresses configurable
2024-01-31 12:28:45 +11:00
8f58ae83e0
usethesource: Add button icons
2024-01-31 12:28:37 +11:00
f2bbfc9e56
usethesource: Add menu item (commented out for now)
2024-01-31 11:10:38 +11:00
60e88d2ab1
usethesource: Tweak margins
2024-01-30 23:24:18 +11:00
1b1e2b994f
usethesource: Page titles, big buttons, sub-headings & edit link
2024-01-30 23:19:42 +11:00
3cccc3bdd9
Email announcement about new UTS candidate
2024-01-26 17:49:03 +11:00
cadd69061f
Mirror UTS comments to an email list
2024-01-26 16:47:06 +11:00
Denver Gingerich
6ceb113ab0
copyleft-compliance: Fix title on Principles page
...
The changed text appears to be what goes in <title/> and thus didn't
help the reader much before this change. In particular, I suspect
that the prior <title/> did not help our search engine ranking much
for searches on this topic. So hopefully this change helps a bit.
2024-01-19 16:42:15 -08:00
Denver Gingerich
27e5a92a09
usethesource: Add link to upload form, extra instructions
2024-01-19 16:34:27 -08:00
daa27e0d5d
typo in glossary
2024-01-18 08:33:24 -08:00
fa5b1e9502
add id to sustainers on sponsors page
2024-01-17 11:17:16 -08:00
9a86e067e2
add Christoph Hellwig as sponsor
2024-01-16 13:11:31 -08:00
9b71a520a0
Rework text to note the match has been made
...
Rewrite this text so that it indicates that we made the match. Note
that the numbers are *hard coded* and as such need
updating (particularly the $1,942).
2024-01-16 06:48:36 -08:00
0680c58853
Display donation bar, noting it's results, for 1 week after end
...
The fundgoal section is now always included, but an if statement now
wraps the entire (partial) file, which will only generate any content
if it's not more than one week after the fundraiser has ended.
Add an else that indicates these are results if it is past the end of
the fundraiser.
2024-01-16 06:07:33 -08:00
b4a2b9c613
Calculate hours when only one day is left.
...
This {% widthratio %} trick is something I found online that didn't
require a django-math module to work, but I would have rather written
something that:
(b) Could have a different message when there is only one hour
left: “less than one hour left” (i.e., tested if hours == 1)
(c) Will say “hour” instead of “hours” when there is exactly 1 hour
left.
2024-01-15 21:16:06 -08:00
9071a60eb3
fix ifixit link on sponsors page
2024-01-15 16:21:48 -08:00
5584f539a8
Correct narrative text to match current situation & typo fixes
2024-01-07 19:19:34 -08:00
ab6bb1d6c7
link to judge's decision in Vizio summary judgment; fix formatting
...
Various issues with formatting, incluidng missing </a>'s and
incorrect <ul> <li> <ul> stuff. I think this should make
presentation a bit better on website.
2024-01-07 18:52:00 -08:00
8d1f0022ed
order denying vizio msj
2023-12-29 12:05:49 -10:00
963a4d3442
add MSA link to vizio page
2023-12-29 10:38:41 -10:00
5cfc461a25
Correct typo, improve copy while I was at it
2023-12-16 09:40:55 -08:00
0e9c64f335
put travel policy amendment up top
2023-12-15 07:03:41 -10:00
a00e072ab5
add some 2023 sponsors
2023-12-14 11:55:24 -10:00
b902dcaaf2
update travel policy policies.git 2023-12-13
...
commit b78549cbc630463374e2bd50db187eedda9b75bd
2023-12-13 12:57:48 -10:00
0530cde96b
change Exit Zoom to fundraising text on frontpage
2023-12-11 10:59:19 -10:00
34da366efb
Add SFC's motion for summary adjudication filed this week
2023-12-08 11:37:34 -08:00
a3c76778f5
Add PDF of our reply comments to Copyright Office on Generative AI
2023-12-08 11:36:01 -08:00
7c14f4b51f
add amicus curiae as featured term and to glossary
2023-12-07 10:08:08 -08:00
be19772c77
add dmca amicus brief
2023-12-06 14:10:28 -08:00
b3d68d5a69
add dmca renewal info to YearInReview
2023-11-28 13:21:25 -08:00
470acf2408
bump default donation amount without changing sustainer level
2023-11-27 12:06:29 -08:00
bc21a0b92f
Drop the unused /admin/doc/ route
2023-11-27 19:42:29 +11:00
ebb7866739
Switch CCS upload, copyright assignment, FOSSY and podcast components to use path()
...
This is the newer approach to URL routing in Django.
2023-11-27 19:40:06 +11:00
1289717a6d
change text to be clearer about public acknowledgement
2023-11-24 10:50:29 -08:00
3cd9f5e95c
Rename 2018_Josh-triplett.jpg
2023-11-24 00:30:49 +11:00
68d37eb38e
Add missing 2018_Josh-triplett.jpg
2023-11-24 00:19:09 +11:00
04449002e2
Add missing jwf-headshot.jpg image
2023-11-23 23:50:33 +11:00
4a75e1b19d
Remove duplicate FOSSY page
2023-11-23 23:01:44 +11:00
2da686019b
Add missing occ.jpg
2023-11-23 22:56:04 +11:00
37c9f0f282
Remove nesting of hidden sections on sustainer page
...
This makes the page more similar to how it has worked in previous years.
2023-11-23 14:41:27 +11:00
867d4f4e82
update tshirt for 2023
2023-11-22 07:37:59 -08:00
e3a8c4bd70
Fix the sustainer page expanding sections when no URL fragment provided
2023-11-22 22:17:59 +11:00
bb2eab2968
fossy: check UUID format in the URL routing to avoid unhandled exception
...
Requests like /fossy/xyz123/ were causing an error due to "xyz123" not being a
valid UUID. We should just return a 404 in this case, which the URL routing will
now do automatically.
2023-11-22 13:58:20 +11:00
a557f2b335
Fix "expand all sections" second link
...
Issue was that the jQuery is using .children() to add the event handlers but due
to some changes to the HTML, the second link is no longer a direct child. I've
switched this to .find() instead.
2023-11-22 10:38:37 +11:00
abcbe1f7c9
change footer from twitter to X
2023-11-21 15:03:08 -08:00
ab4f61d48f
revert tshirt to 2022
2023-11-21 14:37:55 -08:00
f56124f455
change compliance language for yearinreview
2023-11-21 11:36:05 -08:00
59a37f36be
fix formatting for intro thumbnail
2023-11-21 11:11:22 -08:00