Changeset - 7c7ab8f6910f
[Not reviewed]
Merge
1 4 1
eximious - 4 years ago 2019-01-09 15:52:30
deb@seagl.org
Merge branch 'master' of ssh://k.sfconservancy.org/website
5 files changed with 29 insertions and 5 deletions:
0 comments (0 inline, 0 general)
www/conservancy/local_context_processors.py
Show inline comments
 
from datetime import datetime as DateTime
 
from pytz import utc as UTC
 

	
 
import conservancy.settings
 
from conservancy.apps.fundgoal.models import FundraisingGoal as FundraisingGoal
 

	
 
SITE_FUNDGOAL = 'cy2018-end-year-match'
 
# FIXME: Move this information into the model.
 
FUNDGOAL_ENDTIMES = {
 
    # End of 2019-01-15 AOE is 2019-01-16 noon UTC.
 
    'cy2018-end-year-match': DateTime(2019, 1, 16, 12, tzinfo=UTC),
 
}
 

	
 
def fundgoal_lookup(fundraiser_sought):
 
    try:
 
        return FundraisingGoal.objects.get(fundraiser_code_name=fundraiser_sought)
 
    except FundraisingGoal.DoesNotExist:
 
        # we have no object!  do something
 
        return None
 

	
 
def sitefundraiser(request):
 
    return {'sitefundgoal': fundgoal_lookup('cy2018-end-year-match') }
 
    return {
 
        'sitefundgoal': fundgoal_lookup(SITE_FUNDGOAL),
 
        'sitefundgoal_timeleft': FUNDGOAL_ENDTIMES[SITE_FUNDGOAL] - DateTime.now(UTC),
 
    }
 

	
 
if conservancy.settings.FORCE_CANONICAL_HOSTNAME:
 
    _HOST_URL_VAR = {'host_url': 'https://' + conservancy.settings.FORCE_CANONICAL_HOSTNAME}
 
    def host_url(request):
 
        return _HOST_URL_VAR
 
else:
 
    def host_url(request):
 
        return {'host_url': request.build_absolute_uri('/').rstrip('/')}
www/conservancy/static/about/filings/index.html
Show inline comments
 
{% extends "base_about.html" %}
 
{% block subtitle %}About - {% endblock %}
 
{% block submenuselection %}Filings{% endblock %}
 
{% block content %}
 

	
 
<h1>Public Filings</h1>
 

	
 
<p>Like all USA 501(c)(3) non-profits, the Conservancy files an annual Form 990 and,
 
as a non-profit in the State of New York, files an annual CHAR-500 with
 
New York State.  Below, Conservancy makes available these filings for
 
public inspection, in reverse chronological order:</p>
 

	
 
<ul>
 

	
 
<li>Fiscal Year 2017 (from 2017-03-01 through 2018-02-28)
 
  <p>Our FY 2017 ends on 2017-02-28.  Our annual filings will be due with the
 
  USA Internal Revenue Service (IRS) and New York State <a href="https://www.irs.gov/charities-non-profits/return-due-dates-for-exempt-organizations-annual-return">on 2018-07-16</a>.</p>
 
  <p>Our FY 2017 ended on 2017-02-28.  We were granted (as most organizations
 
  are) the extended deadline.  Our annual filings are due with the USA
 
  Internal Revenue Service (IRS) and New York
 
  State <a href="https://www.irs.gov/charities-non-profits/return-due-dates-for-exempt-organizations-annual-return">on
 
  2019-01-15</a>.  They will be posted here shortly after filing.</p>
 
</li>
 

	
 
<li>Fiscal Year 2016 (from 2016-03-01 through 2017-02-28)
 
<ul>
 
<li><a href="/docs/conservancy_Form-990_fy-2016.pdf">FY 2016 Federal Form 990 (PDF)</a></li>
 
<li><a href="/docs/conservancy_CHAR-500_fy-2016.pdf">FY 2016 New York State CHAR-500 (PDF)</a></li>
 
<li><a href="/docs/conservancy_independent-audit_fy-2016.pdf">FY 2016 Independent Auditor's Report (PDF)</a></li>
 
</ul>
 
</li>
 
</li>
 

	
 
<li>Fiscal Year 2015 (from 2015-03-01 through 2016-02-29)
 
<ul>
 
<li><a href="/docs/conservancy_Form-990_fy-2015.pdf">FY 2015 Federal Form 990 (PDF)</a></li>
 
<li><a href="/docs/conservancy_CHAR-500_fy-2015.pdf">FY 2015 New York State CHAR-500 (PDF)</a></li>
 
<li><a href="/docs/conservancy_independent-audit_fy-2015.pdf">FY 2015 Independent Auditor's Report (PDF)</a></li>
 
</ul>
 
</li>
 

	
 
<li>Fiscal Year 2014 (from 2014-03-01 through 2015-02-28)
 
<ul>
 
<li><a href="/docs/conservancy_Form-990_fy-2014.pdf">FY 2014 Federal Form 990 (PDF)</a></li>
 
<li><a href="/docs/conservancy_independent-audit_fy-2014.pdf">FY 2014 Independent Auditor's Report (PDF)</a></li>
 
</ul>
 
</li>
 

	
 
<li>Fiscal Year 2013 (from 2013-03-01 through 2014-02-28)
 
<ul>
 
<li><a href="/docs/conservancy_annual-report_fy-2013.pdf">FY 2013 Annual
 
    Report (PDF)</a> (<a href="/docs/conservancy_annual-report_fy-2013.odp">source in ODP format is also available</a>).</li>
 
<li><a href="/docs/conservancy_Form-990_fy-2013.pdf">FY 2013 Federal Form 990 (PDF)</a></li>
 
<li><a href="/docs/conservancy_CHAR-500_fy-2013.pdf">FY 2013 New York State CHAR-500 (PDF)</a></li>
 
<li><a href="/docs/conservancy_independent-audit_fy-2013.pdf">FY 2013 Independent Auditor's Report (PDF)</a></li>
 
</ul>
 
</li>
 
<li>Fiscal Year 2012 (from 2012-03-01 through 2013-02-28)
 
<ul>
 
<li><a href="/docs/conservancy_annual-report_fy-2012.pdf">FY 2012 Annual
 
    Report (PDF)</a> (<a href="/docs/conservancy_annual-report_fy-2012.odp">source in ODP format is also available</a>).</li>
 
<li><a href="/docs/conservancy_Form-990_fy-2012.pdf">FY 2012 Federal Forms 990 &amp; 990-T (PDF)</a></li>
 
<li><a href="/docs/conservancy_CHAR-500_fy-2012.pdf">FY 2012 New York State CHAR-500 (PDF)</a></li>
 
<li><a href="/docs/conservancy_independent-audit_fy-2012.pdf">FY 2012 Independent Auditor's Report (PDF)</a></li>
 
</ul>
 
</li>
 
<li>Fiscal Year 2011 (from 2011-03-01 through 2012-02-29)
 
<ul>
 
<li><a href="/docs/conservancy_annual-report_fy-2011.pdf">FY 2011 Annual
 
    Report (PDF)</a> (<a href="/docs/conservancy_annual-report_fy-2011.odp">source in ODP format is also available</a>).</li>
www/conservancy/static/img/sponsors/collabora.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
www/conservancy/templates/base_conservancy.html
Show inline comments
...
 
@@ -26,95 +26,104 @@
 

	
 
  <body class="conservancy-{% block category %}other{% endblock %}">
 
    <h1 id="conservancyheader"><a id="logobutton" href="/">Software Freedom Conservancy</a></h1>
 
    <div id="navbar-outer">
 
      <div id="navbar">
 
	<ul>
 
      <li class="supporter"><a href="/supporter/">Become a Supporter!</a></li>
 
      <li class="donate"><a href="/donate/">Donate</a></li>
 
      <li class="news"><a href="/news/">News</a></li>
 
      <li class="blog"><a href="/blog/">Blog</a></li>
 
      <li class="Projects"><a href="/projects/">Projects</a></li>
 
      <li class="compliance"><a href="/copyleft-compliance/">Copyleft Compliance</a></li>
 
      <li class="npoacct"><a href="/npoacct/">NPOAcct</a></li>
 
      <li class="sponsors"><a href="/sponsors/">Sponsors</a></li>
 
      <li class="About"><a href="/about/">About</a></li>
 
    </ul>
 
      </div>
 
      <div id="navbar-clear"></div>
 

	
 
    </div>
 

	
 
{% comment %}
 
FUNDRAISER VARIABLES AND CONSTANTS GUIDE
 

	
 
sitefundgoal attributes:
 

	
 
fundraiser_goal_amount: The amount being matched
 
fundraiser_so_far_amount: The amount contributed so far
 
fundraiser_donation_count: The number of people who have contributed so far
 
fundraiser_donation_count_disclose_threshold: Not used
 

	
 
Local convenience variables:
 

	
 
this_match_goal: The amount being matched
 
this_match_so_far: The amount contributed so far
 
this_match_remaining: this_match_goal - this_match_so_far
 

	
 
{% endcomment %}
 

	
 
{% if sitefundgoal %}
 
{% with this_match_goal=sitefundgoal.fundraiser_goal_amount this_match_so_far=sitefundgoal.fundraiser_so_far_amount %}
 
{% with this_match_remaining=this_match_goal|subtract:this_match_so_far %}
 
    <div class="fundraiser-top-text">
 
      <p>
 
        {% if this_match_remaining <= 0 %}
 
        Thanks to {{ sitegoal.fundraiser_donation_count|intcomma }} Supporters we earned our full match!  Help us go further to stand up for software
 
        freedom &mdash; <a href="/supporter">sign up now</a>!
 
        {% else %}
 
        The next ${{ this_match_remaining|floatformat:0|intcomma }} of support we receive will be matched thanks to Private Internet Access and a group of generous donors, including {{ sitefundgoal.random_providers }}!  <a href="/supporter/">Support Conservancy today!</a>
 
          {% if sitefundgoal_timeleft.total_seconds <= 0 %}
 
            The
 
          {% elif sitefundgoal_timeleft.days == 0 %}
 
            Through today only, the
 
          {% elif sitefundgoal_timeleft.days == 1 %}
 
            Through tomorrow only, the
 
          {% else %}
 
            For only {{ sitefundgoal_timeleft.days }} more days, the
 
          {% endif %}
 
        next ${{ this_match_remaining|floatformat:0|intcomma }} of support we receive will be matched thanks to Private Internet Access and a group of generous donors, including {{ sitefundgoal.random_providers }}!  <a href="/supporter/">Support Conservancy today!</a>
 
        {% endif %}
 
      </p>
 

	
 
{% if sitefundgoal.fundraiser_so_far_amount %}
 
<div id="siteprogressbar">
 
<a href="/supporter">
 
  We've matched
 
  {% if this_match_remaining <= 0 %}
 
  $<span id="site-fundraiser-match-count">{{ this_match_goal|intcomma }}</span>
 
  {% else %}
 
  $<span id="site-fundraiser-match-count">{{ this_match_so_far|intcomma }}</span>
 
  {% endif %}
 
  of
 
  $<span id="site-fundraiser-final-goal">{{ this_match_goal|intcomma }}</span>
 
  so far!
 
</a>
 
</div>
 
{% endif %}
 

	
 
</div>
 
{% endwith %}
 
{% endwith %}
 
{% endif %}
 

	
 
      {% block outercontent %}<div id="mainContent"> {% block content %}{% endblock %}</div>{% endblock %}
 
    <div id="conservancyfooter">
 
      <p>Connect with Conservancy on
 
        <a href="https://mastodon.technology/@conservancy">Mastodon</a>,
 
        <a href="https://twitter.com/conservancy">Twitter</a>,
 
        <a href="https://identi.ca/conservancy">pump.io</a>,
 
        <a href="https://plus.google.com/104268783278405704634/">Google+</a>,
 
        <a href="https://www.facebook.com/SoftwareFreedomConservancy/">Facebook</a>,
 
        and <a href="https://www.youtube.com/channel/UCUEeuNvX2UyTTyTYXR9dm_A">YouTube</a>.</p>
 

	
 
      <p><a href="/">Main Page</a> | <a href="/about/contact/">Contact</a> | <a href="/sponsors/">Sponsors</a> | <a href="/privacy-policy/">Privacy Policy</a> | <a href="/feeds/omnibus/">RSS Feed</a></p>
 
      <p>Our privacy policy was last updated <strong>25 May 2018</strong>.</p>
 

	
 
      <p class="copyright_info">
 
      <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a> 
 
      <br />This page, and all contents herein, unless a license is otherwise
 
      specified, are licensed under a
 
      <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0">Creative
 
      Commons Attribution-ShareAlike 4.0 International License</a>.</p>
 
    </div>
 
  </body>
 
</html>
www/conservancy/templates/sponsors.html
Show inline comments
 
{% extends "base_conservancy.html" %}
 
{% block subtitle %}Sponsors - {% endblock %}
 
{% block category %}sponsors{% endblock %}
 
{% block head %}
 
<meta charset="UTF-8"/>
 
{% endblock %}
 

	
 
{% block content %}
 

	
 
<h1>Conservancy's Sponsors &amp; Supporters</h1>
 

	
 
<p>Conservancy relies on donations from the general public to support its
 
work, and asks everyone <a href="/donate">to donate generously</a>.
 

	
 
<h2>Sponsors</h2>
 

	
 
<p>The sponsors whose logos are listed below (in alphabetical order) have donated
 
substantially in the past twelve months to support the ongoing work of
 
Conservancy.  These sponsors support our work through financial
 
contributions  and have asked for public acknowledgment of their
 
contributions.  Conservancy graciously thanks these sponsors for their
 
support, but doesn't necessarily endorse nor promote any specific activity of
 
any of its sponsors.</p>
 

	
 
<!-- logos should be 250x250 maximum. -->
 
<ul id="sponsor">
 
<li><a rel="nofollow" href="https://www.collabora.com/"><img src="/img/sponsors/collabora.png" height="42" width="250" alt="Collabora" /></a></li>
 
<li><a rel="nofollow" href="https://google.com"><img src="/img/sponsors/google.png" height="76" width="238" alt="Google" /></a></li>
 
<li><a rel="nofollow" href="https://joshtriplett.org"><img src="/img/sponsors/2018_Josh-Triplett.jpg" height="250" width="250" alt="Josh Triplett" /></a></li>
 
<li><a rel="nofollow" href="https://www.linux.org.au/"><img src="/img/sponsors/linux-australia.png" alt="Linux Australia"></a></li>
 
<li><a rel="nofollow" href="https://www.mozilla.org/foundation/"><img src="/img/sponsors/mozilla.png" height="101" width="250" alt="Mozilla Foundation" /></a></li>
 
<li><a rel="nofollow" href="https://www.privateinternetaccess.com/"><img src="/img/sponsors/privateinternetaccess.jpg" height="52" width="220" alt="Private Internet Access" /></a></li>
 
<li><a rel="nofollow" href="https://www.redhat.com/"><img src="/img/sponsors/redhat.png" height="80" width="250" alt="Red Hat" /></a></li>
 
<li><a rel="nofollow" href="https://www.savoirfairelinux.com/"><img src="/img/sponsors/savoir-faire-linux.png" alt="Savior-faire Linux"></a></li>
 
<li><a rel="nofollow" href="https://www.target.com/"><img src="/img/sponsors/target.jpg" height="250" width="250" alt="Target" /></a></li>
 
</ul>
 

	
 
<!-- This section will be added when we have in-kind contributions -->
 

	
 
<!-- <h3>In-Kind Donation of Services</h3> -->
 

	
 
<!-- <p>Conservancy would also like to thank the following companies who have -->
 
<!--   donated services and/or resources in-kind to support Conservancy's -->
 
<!--   work.</p> -->
 

	
 
<!-- <ul> -->
 
<!-- </ul> -->
 
<br/>
 
<hr/>
 
<br/>
 
<h2>Supporters</h2>
 

	
 
<p>Conservancy currently has {{supporters_count|safe}} Supporters.
 
  Conservancy Supporters are individuals (or small companies) who give $120
 
  or more annually as part of <a href="/supporter/">the Official Conservancy
 
  Supporter program</a>.  Those who request public acknowledgment are listed
 
  here in lexicographical order by surname:</p>
 

	
 
<ul id="supporters">
 
<li>Anonymous ({{anonymous_count|safe}} people)</li>
 
{% for ss in supporters %}
 
<li>{{ ss.display_name|safe }}</li>
 
{% endfor %}
 
</ul>
 

	
 
{% endblock %}
0 comments (0 inline, 0 general)