Commit graph

1384 commits

Author SHA1 Message Date
Bradley M. Kuhn
41fe2a1820 Correct year typo. 2017-03-05 10:33:35 -08:00
Brett Smith
c91fc65984 base template: Remove match progressbar. 2017-03-02 09:41:01 -05:00
Brett Smith
82ec041646 projects: Add Harvey. 2017-02-28 15:09:14 -05:00
Brett Smith
05694d8f90 img: Add Harvey logo. 2017-02-28 10:41:49 -05:00
Brett Smith
32083d84c2 projects: Add Clojars. 2017-02-23 11:07:30 -05:00
Brett Smith
0ed0407912 img: Add Clojars logo. 2017-02-22 13:55:16 -05:00
Brett Smith
9d2606f244 img: Add Christoph Hellwig photo. 2017-02-22 10:52:33 -05:00
Brett Smith
c599c44344 static: Remove unnecessary hostnames from links. 2017-02-21 10:34:36 -05:00
Brett Smith
5dcccea48f static: Make subsite links HTTPS. 2017-02-21 10:33:39 -05:00
Brett Smith
dc0be35dab img: Rotate FOSDEM '17 photos. 2017-02-17 17:42:35 -05:00
Brett Smith
83fc60617c img: Add FOSDEM '17 photos from Karen. 2017-02-17 17:20:35 -05:00
Bradley M. Kuhn
b0044afc9c Extend deadline. 2017-02-13 21:55:25 -08:00
Brett Smith
e3b68861dc img: Update member-project-logos.png with new members and logos. 2017-02-13 09:52:06 -05:00
Brett Smith
6e25a6e084 base: Start progressbar for new match.
This code should be easier to adapt to future matches too, by just changing
the constants in the first `with` declaration and whatever text is desired.
2017-02-03 13:56:36 -05:00
Brett Smith
0160f03c25 blog: Remove unnecessary kwargs manipulation from custom_index.
I don't know if this code is left over from previous versions or what, but
it's not doing anything now.  custom_index doesn't pass kwargs to anything
else, so there's no need to fiddle with the dict so much.
2017-02-03 11:02:33 -05:00
Brett Smith
40133bb73b supporter: Remove bogus value for PayPal srt variable.
srt is meant to be used for time-limited subscriptions.  0 is not a valid
value.  See
<https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#recurring-payment-variables>.
It's optional, and leaving it unset gives us the behavior we want, so do
that instead.
2017-02-03 10:34:14 -05:00
Brett Smith
36adfb406d supporter: Set LC for all PayPal forms.
This setting is not subscription-specific, so if we ever do it it seems like
we should always do it.
2017-02-03 10:32:45 -05:00
Brett Smith
8115cb27e2 blog: Fix variable name typo in views code. 2017-02-03 10:31:51 -05:00
Brett Smith
0ef963a5bd img: Add picture of LCA Outreachy donation push.
Captured from the video at <https://www.youtube.com/watch?v=brNmfD1Lb7M>,
around the 2:00:00 mark.
2017-01-31 16:39:21 -05:00
Brett Smith
bb888146ff base: Remove match progressbar. 2017-01-23 20:59:16 -05:00
Bradley M. Kuhn
d282115127 Add link to signup. 2017-01-22 23:21:41 -08:00
Bradley M. Kuhn
cab182b862 More changes that Karen told me to make. 2017-01-22 23:21:02 -08:00
Bradley M. Kuhn
57597f3a5c Move let's sentence per Karen's instructions. 2017-01-22 23:17:48 -08:00
Bradley M. Kuhn
7815c083dc Fix where PIA is mentioned in both versions. 2017-01-22 23:13:12 -08:00
Bradley M. Kuhn
cec947d2c3 Change based on karen's text. 2017-01-22 23:12:24 -08:00
Bradley M. Kuhn
1fd5e015b5 Note this goes AoE time. 2017-01-22 17:15:22 -08:00
Brett Smith
36b33927f7 css: Implement #sidebar and #mainContent without floats.
170aa38bb5 fixed one bug but added another:
#mainContent would always be the max-width of 1000px.  If the user's window
wasn't wide enough to accommodate that alongside the sidebar, it would be
rendered below the sidebar.

Fix that by using positioning instead of floats, so #mainContent can have a
flexible width.
2017-01-19 12:18:08 -05:00
Brett Smith
59c03adb03 filings: Grammar fix text. 2017-01-17 18:07:01 -05:00
Bradley M. Kuhn
825aff37ad FY 2016 dates and details for filings. 2017-01-18 09:35:18 +11:00
Bradley M. Kuhn
15e2525cfd Merge branch 'master' branch from upstream website
Pull from ssh://k.sfconservancy.org/website and merge into my changes
that are ready to push.
2017-01-18 09:27:39 +11:00
Bradley M. Kuhn
4bc14ae3c1 FY 2015 Form 990, CHAR500, & auditors' report.
Our Form 990 Filing deadline was today, 2017-01-17.  As is our usual
practice, we make them publicly available on or before our filing
deadline date.

This commit includes our USA IRS Form 990, NYS CHAR500 and the
independent auditor's report for FY 2015.
2017-01-18 09:25:35 +11:00
Brett Smith
6a73864765 base_conservancy: PIA match is extended one week. 2017-01-16 17:03:42 -05:00
Brett Smith
f4d32f3487 img: Move Selenium logo under projects/. 2017-01-12 12:19:04 -05:00
Brett Smith
17417b6645 img: Add Selenium logo. 2017-01-12 11:59:39 -05:00
Brett Smith
62adf6a489 img: Add Turtle Art Day photo. 2017-01-10 15:38:53 -05:00
Brett Smith
7202787092 supporter: Reorganize form post-input notes.
This makes it easier to keep baseline alignment between labels and their
respective inputs.  Declaring `margin-left: 51%;` for the post-input notes
is not exactly what we want, but it's much closer and less troublesome than
dealing with the vertical alignment of labels otherwise.
2017-01-09 16:56:42 -05:00
Brett Smith
cb5b5ec23f supporter: Refactor amount-checking JavaScript.
* Separate out amount-parsing and reacting into separate events.  This sets
  the stage for other elements to react to the custom
  'conservancy:newamount' event.
* Set up events in the context of each supporter form, with closures.  This
  lets us avoid weird CSS selector gymnastics in the event, and instead
  drill down from the form to find the elements we need.

There are no functional changes in this code, barring bugs.
2017-01-08 18:23:51 -05:00
Brett Smith
5f9a4395f3 supporter: Add size information chart. 2017-01-05 13:46:46 -05:00
Brett Smith
27b469c2dc sponsors: Unlist too-old sponsors.
These companies have not given in the past year.
2017-01-04 12:03:28 -05:00
Brett Smith
c07b274681 supporter: Set target="_blank" on informational links in the forms. 2017-01-02 11:43:22 -05:00
Brett Smith
0de3594e74 supporter: Group shirts by type. 2017-01-02 11:24:14 -05:00
Brett Smith
f32d04e725 supporter: Women's shirts, not ladies' shirts.
Signed off by Karen.
2017-01-02 11:20:13 -05:00
Brett Smith
b3a2f1dc96 supporter: Wordsmith the forms. 2017-01-01 16:38:12 -05:00
Brett Smith
2993a2c3ad supporter: Fix detached labels in forms. 2017-01-01 16:31:01 -05:00
Brett Smith
fce05b6f99 supporter: Add tabindex to supporter sign-up form. 2017-01-01 16:10:21 -05:00
Brett Smith
ba0df40639 supporter: Improve amount validation JavaScript.
* Check validity on page load and store it in a data attribute so we can
  change validity state more accurately.
* Clear invalid state on any change.
2017-01-01 16:03:03 -05:00
Brett Smith
9d855fda08 supporter: Improve shirt selection JavaScript.
* Add an animation for state changes.
* Set the start state by triggering the event on the selection at page load.
  Firefox at least remembers the selected button on page load.  This avoids
  a situation where the user says they want a shirt, reload, and now the
  size selection is invisible because we used to hide that unconditionally.
2017-01-01 15:28:33 -05:00
Brett Smith
b93cc61e8b supporter: New form styling.
This makes better use of bigger screens, and degrades better to smaller
ones.
2017-01-01 15:10:20 -05:00
Brett Smith
8605b65783 supporter: Move more presentation rules to CSS.
This commit keeps the presentation basically the same, it just moves
presentation rules out of HTML and into CSS.  It's not pixel-perfect but
pretty close.
2017-01-01 13:53:41 -05:00
Brett Smith
19e744788b supporter: Only render the Annual form for upgraders.
This lets us do more with HTML and less with JavaScript, which is always
nice.
2017-01-01 10:53:58 -05:00
Brett Smith
b4883ca6bd supporter: Make a partial for the supporter form.
This commit shouldn't make any substantial changes to the form or its
presentation.  This is just cleaning things up as a development aid.
2017-01-01 10:39:23 -05:00
Brett Smith
78c474caac supporter: Fix redundant annual/monthly/renewal ids. 2017-01-01 10:24:34 -05:00
Brett Smith
dad41f4817 supporter: Fix redundant os0 ids, invalid names. 2017-01-01 10:24:34 -05:00
Brett Smith
6392ae3a43 supporter: Fix redundant amount, error ids. 2017-01-01 10:24:34 -05:00
Brett Smith
7842ca6c57 supporter: Fix redundant no_shipping id. 2016-12-31 16:22:52 -05:00
Brett Smith
619bc033bc js: Render <video> inner HTML when no source is supported.
The HTML inside <video> is meant to be rendered by browsers that don't
support the tag at all.  You have to respond to the JavaScript error event
to deal with browsers that support video, but no available source.  See
<https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_HTML5_audio_and_video#Showing_fallback_content_when_no_source_could_be_decoded>.
2016-12-31 15:19:59 -05:00
Brett Smith
034a60be9b js: Split whole-site JS from Supporter-specific JS. 2016-12-31 14:46:10 -05:00
Brett Smith
9ef8a62f0b copyleft-compliance: Update old linux-compliance URLs. 2016-12-31 14:31:34 -05:00
Brett Smith
359cc7a068 css: <dl>s clear each other.
This prevents <dl>s from stacking horizontally when their <dt>s are short.
2016-12-31 14:30:19 -05:00
Brett Smith
a04d85a1e8 css: Move rules intended for bigscreen to the dedicated stylesheet. 2016-12-31 14:23:03 -05:00
Brett Smith
55c0b3bb1c css: Remove unused rules.
The rationale given in the comments for these rules no longer applies: there
are no divs with class column or conservancy-blog on any pages.  Meanwhile,
they're causing unwanted styling: we started using the column class on the
front page for two-column layout, and the videos are appearing smaller than
desired there.  Just remove these.
2016-12-31 13:58:18 -05:00
Brett Smith
d5f461d879 news: Refactor press release rendering into a partial.
Same rationale as a few commits ago for blog entries.
2016-12-30 23:12:09 -05:00
Brett Smith
7f5f98e5db news: Render HTML entities in press release titles.
Same rationale as for blogs a few commits ago.
2016-12-30 23:12:09 -05:00
Brett Smith
170aa38bb5 blog: Headlines clear floats.
This avoids a situation where multiple summaries have floats that stack on
top of each other vertically, which end up getting far away from the actual
text.

In order to make this work, we had to change the styling of #mainContent on
blog pages (and others with a sidebar).  Otherwise, headlines with
class="clear" would clear the sidebar as well.
2016-12-30 23:12:09 -05:00
Brett Smith
e7c1171b6e blog: Refactor entry rendering into a partial.
This helps ensure that entries are rendered consistently wherever they
appear.
2016-12-30 23:12:09 -05:00
Brett Smith
9fbc652c7c blog: Mark entry headline safe in title.
We already strip tags, but this lets HTML entities render correctly.
2016-12-30 23:12:09 -05:00
Brett Smith
331b14b45e css: Remove noop rule.
This wasn't doing anything because "line-height" was misspelled.
2016-12-30 23:12:09 -05:00
Brett Smith
4409ac089a css: Center horizontal rules in frontpage columns. 2016-12-30 23:12:09 -05:00
Brett Smith
a3737e9955 supporter: Add id="renew" to the renewal form.
This provides better behavior for non-JavaScript visitors who use a #renew
link (see last commit).
2016-12-29 11:00:08 -05:00
Brett Smith
492de3eab3 js: Rewrite #renew links to the Supporter page.
#renewal is the correct hash to use.
2016-12-29 10:33:22 -05:00
Brett Smith
02eab9cd69 img: Add photo of Karen's OSCon EU keynote. 2016-12-29 10:05:58 -05:00
Brett Smith
57136a93bd img: Add QEMU logo. 2016-12-27 12:50:13 -05:00
Brett Smith
8739534e9f copyleft-compliance: The principles link to principles-discuss. 2016-12-21 11:16:28 -05:00
Brett Smith
1b38fc338e css: Add max-width to bigscreen .picture. 2016-12-19 12:25:27 -05:00
Brett Smith
a95baef377 sponsors: Add Savoir-faire Linux. 2016-12-17 13:57:56 -05:00
Brett Smith
ebf5d317cc sponsors: Add Linux Australia. 2016-12-17 13:52:32 -05:00
Brett Smith
24b6e0a4d4 board: Add Kate Chapman bio. 2016-12-17 13:42:55 -05:00
Brett Smith
343d7e20d6 img: Add Godot logo. 2016-12-17 11:29:12 -05:00
Brett Smith
12dbdef2b9 img: Add Bdale headshots. 2016-12-17 11:29:01 -05:00
Bradley M. Kuhn
db4b90714b Add comment about logo sizes. 2016-12-09 13:17:57 -08:00
Brett Smith
9c9f745677 static: Add stickered laptop image. 2016-12-07 10:29:25 -05:00
Brett Smith
cf5b073d44 urls: Route /error/NNN/ to static.views.handler.
Since our Apache configuration uses `ErrorDocument NNN /error/NNN/`,
this is necessary to return the correct status code in those cases.
2016-12-05 21:43:51 -05:00
Brett Smith
58e22337b0 static: Errors return proper HTTP response code. 2016-12-05 21:15:01 -05:00
Brett Smith
3fe5f09d18 static: Remove hardcoded path. 2016-12-05 21:14:45 -05:00
Brett Smith
ce1b4b2528 Remove noop conservancy.context_processors imports.
You'll note this source doesn't exist in Git.
There's a reason for that.
2016-12-02 22:21:40 -05:00
Brett Smith
993f4bc72f settings: Don't FORCE_CANONICAL_HOSTNAME when DEBUG. 2016-12-02 22:17:59 -05:00
Brett Smith
6f540a0e3f Remove hardcoded references to /var/www.
This makes it easier to run the code elsewhere, like a development
environment.
2016-12-02 22:17:42 -05:00
Brett Smith
9822895971 supporter: Fix JS syntax to check donation upgrade amount. 2016-12-02 15:26:36 -05:00
Brett Smith
501b4b05fc supporter: Fix format string syntax error. 2016-12-02 15:15:49 -05:00
Brett Smith
4fa0f8343c supporter: Use proper float formatting for parameter validation. 2016-12-02 15:07:35 -05:00
Brett Smith
552bc6b1ca supporter: Route URLs to new submodule. 2016-12-02 12:52:32 -05:00
Brett Smith
6fe13959a3 supporter: Support donors upgrading to supporters.
With a valid URL, a past donor can upgrade to a supporter by donating
the rest of the amount.  Django validates the data and, if it passes,
puts it in the form.  The JavaScript does most of the work from there.
2016-12-02 12:50:21 -05:00
Brett Smith
d28ffd68ca supporter: HTML5 improvements to form.
* Use "number" type for a better prompt.
* Use new standard "min" attribute for richer validation.
2016-12-02 12:35:19 -05:00
Brett Smith
4afce1eadc appeal: Fix object structure passed into $().multiprogressbar. 2016-12-02 10:13:25 -05:00
Brett Smith
2c5a5f3a95 appeal: Fix jQuery chaining that didn't work. 2016-12-02 10:11:21 -05:00
Brett Smith
6908c135f2 appeal: Progress bar emphasizes current match program. 2016-12-02 10:09:12 -05:00
Brett Smith
dd8d159fcb css: Add styles for blog pictures. 2016-12-01 15:04:55 -05:00
Brett Smith
4cbf566e31 contractpatch: Page layout adjustments.
Try to make sections clearer and avoid the "big monolith of text"
feeling.
2016-11-30 16:24:28 -05:00
Brett Smith
a1ec899670 css: Start a separate stylesheet for "big screen" styles.
I'm about to add more and I *suspect* this will be easier to maintain
in the long term, rather than duplicating the conditional many times.
2016-11-30 16:18:06 -05:00
Brett Smith
d0e3ad782e contractpatch: Mark up page sections.
I'm going to do some styling on these but I'm not sure what yet.
2016-11-30 15:14:13 -05:00