Commit graph

1933 commits

Author SHA1 Message Date
1c38ad0179
Revert removal of "safe" template tag from blog/news headlines.
Conservancy use HTML entities in their titles.
2021-12-18 08:58:53 +11:00
3227e4ce9f
remove number of sustainers 2021-12-17 09:43:02 -08:00
14abe07a4a
Remove unnecessary use of "safe" template tag.
This tag marks a variable as not requiring escaping by the template engine,
potentially creating cross-site scripting vulnerabilities, so shouldn't be used
unless absolutely necessary. In these cases, I don't think it's necessary.
2021-12-17 21:55:47 +11:00
d11ed137fa
Fix Django warning about old TEMPLATES_* settings. 2021-12-17 18:35:50 +11:00
b2e952f3b8
Fix URLconfs causing Django check warnings. 2021-12-17 18:14:50 +11:00
97899caf78
Remove URL slash prefix. 2021-12-17 17:27:26 +11:00
e9df3a0d7e
Remove unnecessary null=True on ManyToManyFields. 2021-12-17 17:25:38 +11:00
47fa2b3623
Disable copyright assignment URLs until we're ready to launch. 2021-12-17 16:56:07 +11:00
1ce6f36532
Merge branch 'ben/copyright-assignment' 2021-12-17 16:54:47 +11:00
7374c9f915
assignment: Accept current date anywhere on earth. 2021-12-17 10:54:47 +11:00
6e380dba29
assignment: Apply further wording updates from Pam/Denver. 2021-12-17 09:53:13 +11:00
c23f799fa1
add employer matching to /donate 2021-12-16 13:51:24 -08:00
26ac00e864
assignment: Allow today's date. 2021-12-11 11:29:13 +11:00
52c0eb8e6c
assignment: Mention 7 days on form. 2021-12-11 10:40:07 +11:00
c9a76ea17f
assignment: Fix period ends in email. 2021-12-11 10:25:57 +11:00
b0263491a0
assignment: Validate that end date is provided if you didn't choose open-ended. 2021-12-10 18:37:13 +11:00
530890f6ad
assignment: Apply Denver's requested changes. 2021-12-10 11:33:37 +11:00
c6b329f0cf
Fix validation. 2021-12-07 17:49:57 +11:00
3272a25a8d
Remove redundant call to super(). 2021-12-07 17:06:37 +11:00
35a8de7f07
Add missing template. 2021-12-07 17:02:04 +11:00
0565f9b308
Update the assignment form with feedback from Pam/Denver. 2021-12-07 16:55:45 +11:00
2b1fd9ab90
Add assignment date range. 2021-12-07 09:59:40 +11:00
e1481ce55e
Add migration. 2021-12-07 09:59:40 +11:00
780e0b8dbf
Add assignment thanks page. 2021-12-07 09:59:38 +11:00
a53a4560cd
Add assignment template. 2021-12-07 09:58:56 +11:00
a2675ee029
Prototype copyright assignment form. 2021-12-07 09:58:47 +11:00
32da708977
fix formatting for first <ul> and h4 2021-12-06 12:43:58 -08:00
035b55fb9e
add new articles to press coverage 2021-12-06 12:35:53 -08:00
45d2e0782b
Fix Unicode encoding issues. 2021-12-03 16:01:21 +11:00
5dcf4acbb3
Fix CSS selector. 2021-12-03 15:36:16 +11:00
80fd409ade
Fix Vizio CSS selector. 2021-12-03 15:19:28 +11:00
3c8f363537
Add selected highlight to top feature menu. 2021-12-03 15:04:54 +11:00
2a1e00eee2
Add missing forms.py. 2021-12-03 11:58:26 +11:00
889dbcf38c
Remove type annotation. 2021-12-03 11:43:01 +11:00
9a06def0e7
Add simple CCS upload (no JavaScript). 2021-12-03 11:38:21 +11:00
e11e6ff451 Update glossary term of the week to CCS. 2021-11-30 06:23:22 -08:00
1408bafea5 Shorten DMCA text in the call-out since news is getting stale. 2021-11-30 06:23:22 -08:00
c472eaeebc Remove stray “ 2021-11-30 06:23:22 -08:00
a45fcb395b
Remove problematic call to decode(). 2021-11-30 17:35:55 +11:00
2d078b0004
Apply futurize --stage-2 Python 2/3 compatibility transformations.
These changes specifically require the use of the "future" library.
2021-11-30 07:55:45 +11:00
457e5739f7
Add unique constraint to Staff.username.
Previously had some duplicates for "pono" which were causing
MultipleObjectsReturned errors. A username is generally considered to be unique.
2021-11-29 14:31:26 +11:00
843b24c63a
Don't send email notification on DisallowedHost error. 2021-11-29 14:21:14 +11:00
9b48cc94e6 Continuing saga of the sizing chart problems for original shirts
Gildan removed the sizing chart entirely from their website again
after yet another redesign.  Originally, we deep-linked into files in
their CDN for the charts, but it appears that in 5c72071 that I
introduced cut-and-paste error on the sizing charts.  I cannot find
the original links, but finally I simply decided we'd mirror the
files in our CDN, which is where these now link to.

I suspect that I didn't do this to start for worrying about copyright
infringement, but upon second thought, I think it's very reasonably
fair use for us to distribute these images.  We bought a lot of
t-shirts from Gildan and just trying to sell through.
2021-11-27 10:51:51 -08:00
f13940777f
Remove duplicate copy of manage.py. 2021-11-26 14:04:43 +11:00
7b981fcb52
Add a missed "object" change. 2021-11-26 14:03:24 +11:00
31e51a7742
Apply "object" changes only from futurize --stage2. 2021-11-26 13:49:40 +11:00
05bee8b3c3
Apply futurize --stage1 (safe) Python 2/3 compatibility changes. 2021-11-26 13:00:20 +11:00
69725698ae
Fix a encoding issues for future Python 3 support. 2021-11-26 12:41:27 +11:00
4c3661ad19
progress bar: Remove display-table vertical align workaround.
Was causing some display glitches on some browsers. Using nested flexbox instead.
2021-11-26 09:10:25 +11:00
a6dcb714b8 Remove one event per discussion with karen. 2021-11-23 10:12:55 -08:00
c4e1752a06 Rewrite help us continue and t-shirt sections. 2021-11-23 10:11:03 -08:00
a4df264490 Rewrite “Writing and Speaking” 2021-11-23 10:02:39 -08:00
9c3e362f93 Make the pun clearer with caps and quotes. 2021-11-23 10:02:22 -08:00
c951623774 Rewrite “New Staff” 2021-11-23 09:56:17 -08:00
38183285a9 Remove word "member" 2021-11-23 09:56:06 -08:00
5c9f70af7b Rewrite “Highlights from some of our member projects” 2021-11-23 09:49:24 -08:00
7e06d262ee Rewrite of “Our Year in Review” section; add links as well. 2021-11-23 09:25:41 -08:00
d1cc382a01 Reword opening sentence, add links as discussed in XMPP 2021-11-23 09:06:10 -08:00
02d8a44f83
add copy for 2021 donation page 2021-11-23 07:58:40 -08:00
1ddcb2e4ba
Move fundraising goal end times into database. 2021-11-19 17:56:44 +11:00
b4c438322c
Fix markup errors on "What We Do" causing layout issues. 2021-11-19 17:14:29 +11:00
68f5f1fa2c
Move sub-menus to RHS and re-enable on mobile. 2021-11-19 17:02:59 +11:00
26ff31bb78
progress bar: Drop JS, make mobile friendly, match design to new site.
The existing jQuery UI-based fundraising progress bar used a float layout,
making it hard to adapt for mobile use. Given that there is not interactivity,
I've dropped all the JS and switched to a flexbox layout. This works well
because the bar will stretch to fit the text rather than always maintaining its scale.
2021-11-16 13:25:39 +11:00
6bdc205e6a
update term of the week 2021-11-08 13:08:03 -08:00
b61d158ea9
make header box a link 2021-10-28 14:33:23 -07:00
29a4296f14
errant ) in link 2021-10-28 14:03:32 -07:00
0cbd204e2f
fixed wrongblurb, resetting vizio and replacing truth social 2021-10-28 13:57:08 -07:00
f820eddaff
change frontpage blurb to be about DMCA exemptions 2021-10-28 13:18:53 -07:00
bbc6eb13c6
fix mastodon link on frontpage 2021-10-25 10:45:50 -07:00
beb0dbfd82 Add <p> tag for my bio. 2021-10-23 17:58:44 -07:00
720b91a8cf Put complaint with journalist resources on main page. 2021-10-23 17:44:16 -07:00
7efaadaf0c Not necessarily third-party. 2021-10-23 17:42:37 -07:00
2290846c21 Shorten box on front page a bit. 2021-10-23 12:52:27 -07:00
399675d6c3 Rework blog menu order. 2021-10-23 12:50:28 -07:00
7229e78e0f Sidebar should disappear on small screens.
We've had a report that the sidebars are very distracting,
particularly for the blogs, on smaller screens.  This change to the
CSS will cause sidebars to disappear on smaller screens.
2021-10-23 12:42:59 -07:00
91d661f715 Conform title to title of blog post. 2021-10-22 14:23:39 -07:00
ee667f6179 Slug change propagation to static pages. 2021-10-22 14:20:33 -07:00
1b8a709d0c Make box smaller. 2021-10-21 20:47:51 -07:00
ec2cd619f2 Add additional call-out for current blog post. 2021-10-21 20:38:52 -07:00
eb6fc77708 Remove "The"s from top menu. 2021-10-21 20:36:41 -07:00
1bee33f278 Format like previous with the <p> solution
<ul> is the right HTML way to format these, but they are all too
close.  Get it to look more like it did with <p>'s with CSS.
2021-10-21 20:36:41 -07:00
eb847f9f32 Use typical way of putting the category in a block.
Django is so frustrating as it's never clear about how things trickle
up and down through templates, so move the category to the top like
the others.
2021-10-21 20:36:41 -07:00
501b6e091b
Merge branch 'master' 2021-10-21 13:56:05 -07:00
798d4aee8f
fix sustainer text and button for sustaining 2021-10-21 13:55:13 -07:00
1f6e2156f4 Additional fixes for menu items related to news and press
A few additional places where the news and press pages were not
properly menu integrated.  This fixes various inconsistencies and
missing category and submenu markings in menus.
2021-10-21 12:40:09 -07:00
a80c95fd13 Fix minimal start of ourcoverage.html and correct various problems
ourcoverage.html was a reasonable minimal start but not really ready
for production.  Make changes necessary to put this into production,
as follows:

  * Rename ourcoverage.html to vizio-coverage.html.  This is just
    Vizio coverage for now.

  * Order articles by most in-depth/interesting.  Verified this
    ordering by consensus with Conservancy staff.

  * mailto: link for press coverage on the main inthenews page, but
    don't use that on Vizio page; it's unlikely we'll miss any of the
    Vizio coverage.

  * use &mdash; instead of -

  * put quotes around article titles.

  * Add missing PR Web article

  * Switch from <p>'s to <li>'s in vizio-coverage.html

  * Fix menu issues.  09a4b02 outlined the issues regarding how to
    add items to menu; it does require a CSS change as explained
    therein; merely using the right `base_` is not enough

  * Improve menu integration.  Per PR people's recommendation, the
    Vizio stuff that also goes in other areas needs to be placed in
    multiple menus.
2021-10-21 12:34:22 -07:00
ee348bf69b
add bkuhn to /press and fix sustainers button 2021-10-21 12:18:26 -07:00
6fbf8b0690
Merge branch 'pono/supporter-updates' 2021-10-21 11:41:47 -07:00
88b57b2f32
formatting tweaks for /press 2021-10-21 11:40:35 -07:00
4c00e4e4af
create page for Our Coverage 2021-10-21 11:34:34 -07:00
63dee11c8a
fixup /press from Hannahs notes
a few s/supporters/sustainers/
add link to inthenews
update news and press menu
2021-10-21 11:29:40 -07:00
5348aae07b
add text describing sustainers 2021-10-21 10:39:32 -07:00
a90f18d77c
change svg to sustainer and remove tonys pic 2021-10-21 10:24:58 -07:00
4b99b5a1a7
delete 2020 donation text 2021-10-21 09:07:30 -07:00
4daf268345
new supporter image 2021-10-21 08:57:59 -07:00
3acdadcacc Learn page is not coming soon anymore! 2021-10-21 08:46:07 -07:00
357aacf99c Vizio — For compliance only, note resources are for Vizio
The Resources for Journalists are only related to Vizio, so make that
read that way on compliance pages that *are not* Vizio pages.
2021-10-21 08:45:08 -07:00
09a4b021c1 Repair menu highlighting, both for main menu and submenus
During the recent improvements made on the website, the menus and
submenu highlighting for selected menus fell into disarray.
Correction requires changes to the CSS and templates both, because
Django doesn't really have a convenient way to set variables in
templates to use to solve this.

There are still a few submenu items highlighting not working even
after this commit.  More work needs  to be done.
2021-10-21 08:39:47 -07:00
46adf33eb3
simplify /about, fix formatting on frontpage, svg img for supporters 2021-10-21 08:36:23 -07:00
814b629006 Copyleft Compliance — Vizio — update title to match newswire version 2021-10-21 07:21:28 -07:00