Commit graph

2090 commits

Author SHA1 Message Date
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