Move community recognition guidelines into policy pages
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Tue, 24 Nov 2020 01:34:47 +0000 (20:34 -0500)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Tue, 8 Dec 2020 22:13:29 +0000 (17:13 -0500)
This consolidates the pages into the policies section.
A redirect is set up from the previous community recognition
page to the policy pages.

pgweb/events/migrations/0002_event_badged.py
pgweb/events/models.py
pgweb/urls.py
templates/events/archive.html
templates/index.html
templates/pages/about/donate.html
templates/pages/about/policies.html
templates/pages/about/policies/conferences.html [moved from templates/pages/community/recognition.html with 57% similarity]
templates/pages/about/policies/npos.html [new file with mode: 0644]

index 0571329238fa12fa1ae9f783853c5e3a4987c111..f6200fb31048e273c9f15783d3a80bfbc54e2aa7 100644 (file)
@@ -14,7 +14,7 @@ class Migration(migrations.Migration):
         migrations.AddField(
             model_name='event',
             name='badged',
-            field=models.BooleanField(default=False, help_text='Choose "Community event" if this is a community recognized event following the <a href="/community/recognition/#conferences" target="_blank" rel="noopener">community event guidelines</a>.', verbose_name='Community event'),
+            field=models.BooleanField(default=False, help_text='Choose "Community event" if this is a community recognized event following the <a href="/about/policies/conferences/" target="_blank" rel="noopener">community event guidelines</a>.', verbose_name='Community event'),
         ),
         migrations.AddField(
             model_name='event',
index 82e282ce178c0b9e0af6de75e600a6e49398091d..c7f48085b7a45ee3cc3a434b63755fe49f119ffd 100644 (file)
@@ -13,7 +13,7 @@ class Event(TwostateModerateModel):
     country = models.ForeignKey(Country, null=True, blank=True, on_delete=models.CASCADE)
     language = models.ForeignKey(Language, null=True, blank=True, default='eng', help_text="Primary language for event. When multiple languages, specify this in the event description", on_delete=models.CASCADE)
 
-    badged = models.BooleanField(null=False, blank=False, default=False, verbose_name='Community event', help_text='Choose "Community event" if this is a community recognized event following the <a href="/community/recognition/#conferences" target="_blank" rel="noopener">community event guidelines</a>.')
+    badged = models.BooleanField(null=False, blank=False, default=False, verbose_name='Community event', help_text='Choose "Community event" if this is a community recognized event following the <a href="/about/policies/conferences/" target="_blank" rel="noopener">community event guidelines</a>.')
     description_for_badged = models.TextField(blank=True, null=True, verbose_name='Description for community event', help_text='DEPRECRATED: This was used in the beginning of community events to collect additional information.')
     startdate = models.DateField(null=False, blank=False, verbose_name="Start date")
     enddate = models.DateField(null=False, blank=False, verbose_name="End date")
index f523269c35bb2762370becf7130538a85e88cbe0..db4a0234a21c4f4c7707a1bb57f762c68d598940 100644 (file)
@@ -72,6 +72,7 @@ urlpatterns = [
     url(r'^community/lists/subscribe/$', RedirectView.as_view(url='https://lists.postgresql.org/', permanent=True)),
 
     url(r'^community/lists/listinfo/$', pgweb.lists.views.listinfo),
+    url(r'^community/recognition/$', RedirectView.as_view(url='/about/policies/', permanent=True)),
     url(r'^community/survey/vote/(\d+)/$', pgweb.survey.views.vote),
     url(r'^community/survey[/\.](\d+)(-.*)?/$', pgweb.survey.views.results),
     url(r'^community/user-groups/$', pgweb.pugs.views.index),
index c8d4e1807e5cd01e38e99433ea27ce4de7ced90a..88738b8c4d4aadc1f9df523a02aecc25b37ae9f4 100644 (file)
@@ -11,7 +11,7 @@ whatsoever.</em>
 </p>
 <p>
   <img src="/media/img/PostgreSQL_Badge1.svg" class="community" alt="PostgreSQL Community Event">
-  indicates that an event is recognised under the <a href="/community/recognition/#conferences">community event guidelines</a> and is directly helping the PostgreSQL community.
+  indicates that an event is recognised under the <a href="/about/policies/conferences/">community event guidelines</a> and is directly helping the PostgreSQL community.
 </p>
 {%for event in events %}
 <hr class="eventseparator">
index 87a70c78f18807c67cf7d3c0a0caaf14b67cdcc5..9b6a807fa14c2327eb40d9a00fb3d4f80b5c8e23 100644 (file)
         </ul>
         <p>
           <img src="/media/img/PostgreSQL_Badge1.svg" class="community" alt="PostgreSQL Community Event">
-          indicates that an event is recognised under the <a href="/community/recognition/#conferences">community event guidelines</a> and is directly helping the PostgreSQL community.
+          indicates that an event is recognised under the <a href="/about/policies/conferences/">community event guidelines</a> and is directly helping the PostgreSQL community.
         </p>
       </div>
       <a href="/about/events/" title="Check Schedule"><button type="button" class="btn btn-center btn-primary btn-inline-block">Check Schedule</button></a>
index 652c8ac37dc5304aa413e6e7ca736d843efeb2bd..fd443f1a8dd9480fd77c2e69d0df239cf4251313 100644 (file)
@@ -23,7 +23,7 @@ It focuses on Education, User Groups, and Advocacy.</p>
 refer to the party you are donating to and your tax professional.</p>
 
 <h2>PostgreSQL Nonprofit Organisation (NPO) Recognition</h2>
-<p>For information about how <a href="/community/recognition/#npos">Recognised PostgreSQL Nonprofit Organisations (NPOs)</a> become recognised, please review the guidelines <a href="/community/recognition/#npos">here</a></p>.
+<p>For information about how <a href="/about/policies/npos/">Recognised PostgreSQL Nonprofit Organisations (NPOs)</a> become recognised, please review the guidelines <a href="/about/policies/npos/">here</a></p>.
 
 <h2>Questions</h2>
 <p>If you have any questions about donations please contact either the
index 777a5228b1a61b595e79e48c147c3dcd377af1cc..1f89f1e7baf637c7eeca284e599186fa95cc5b76 100644 (file)
@@ -46,8 +46,8 @@
 
 <ul>
     <li><a href="/about/policies/sponsorship/">PostgreSQL Sponsorship</a></li>
-    <li><a href="/community/recognition/#conferences">Conferences</a></li>
-    <li><a href="/community/recognition/#npos">Non-Profit Organisations</a></li>
+    <li><a href="/about/policies/conferences/">Conferences</a></li>
+    <li><a href="/about/policies/npos/">Non-Profit Organisations</a></li>
 </ul>
 
 {%endblock%}
similarity index 57%
rename from templates/pages/community/recognition.html
rename to templates/pages/about/policies/conferences.html
index 2a475a96874f7bb18e99d37f7a7877e28733ceba..695bb6ddc6e7c2d82f60abd35c2bf1db3b2f18bd 100644 (file)
@@ -1,69 +1,11 @@
 {%extends "base/page.html"%}
-{%block title%}Community Guidelines{%endblock%}
+{%load pgfilters%}
+{%block title%}Community Conference Recognition{%endblock%}
 {%block contents%}
 
-<h1>Community Recognition Guidelines <i class="fa fa-users"></i></h1>
+<h1>Community Conference Recognition <i class="fas fa-gavel"></i></h1>
 
-<p>The PostgreSQL community is comprised of an international group of individuals and 3rd-party organisations who contribute to the PostgreSQL Development Group through various efforts.  In order to help recognise the efforts of everyone contributing to the PostgreSQL project, the <a href="/developer/core/">PostgreSQL Core Committee</a> has put together a set of guidelines to fairly recognise these contributions to the community.</p>
-
-<p>The following sections provide the guidelines for how various affiliates of the PostgreSQL community can qualify for official recognition by the PostgreSQL Development Group.</p>
-
-<ul>
-  <li>
-    <a href="#npos">Recognised PostgreSQL Nonprofit Organisations (NPOs)</a>
-  </li>
-  <li>
-    <a href="#conferences">Community Conference Recognition</a>
-  </li>
-</ul>
-
-<a name="npos" />
-
-<h2>Recognised PostgreSQL Nonprofit Organisations (NPOs)</h2>
-<p><em>Last updated: July 29, 2017</em></p>
-
-<p>Recognised PostgreSQL Nonprofit Organisations (NPOs) will be listed on the <a href="/">PostgreSQL Website</a> as such. To become recognised as an NPO, the organisation must self-certify that they meet the criteria below, aimed at ensuring they meet the standards of openness expected in the PostgreSQL Community.
-</p>
-<p>
-  Use of the terms "MUST", "MUST NOT", "SHOULD" and "SHOULD NOT" in the criteria below should be interpreted per <a href="https://www.ietf.org/rfc/rfc2119.txt" target="_blank" rel="noopener">RFC2119</a>.
-</p>
-
-<h3>General</h3>
-
-<ul>
-  <li>A Code of Conduct SHOULD be adopted and apply to all members and directors.</li>
-  <li>The organisation MUST be registered as a Non Profit Organisation in the territory in which it operates.</li>
-  <li>No payments may be made to directors or members for their service with the exception of reimbursement of expenses incurred on the organisation's business, and sponsorship of conference attendance where deemed appropriate to help ensure the success of an event.</li>
-  <li>The organisation MUST work towards the betterment of the PostgreSQL Project and/or community. It may not participate in any activities which may bring the project into disrepute or otherwise work against the interests of the project or the community.</li>
-  <li>The <a href="/developer/core/">PostgreSQL Core Team</a> may recognise, not recognise, or rescind a previous recognition of any organisation without justification, regardless of whether or not the criteria above are met.</li>
-  <li>These criteria may be reviewed and potentially updated at any time.</li>
-</ul>
-
-<h3>Membership</h3>
-<ul>
-  <li>Membership MUST be open to anyone, limited only to the geographic area in which the NPO operates or a specific spoken language, if desired.</li>
-  <li>Membership MUST be at zero cost or a nominal cost (up to US $50 per year) to allow participation from any interested community members.</li>
-  <li>Corporate memberships may be allowed, at higher cost than individual membership if desired, provided the same membership terms are available to any company.</li>
-  <li>Membership MUST be renewed at least once every three years. "Lifetime" memberships MUST NOT be allowed.</li>
-</ul>
-
-<h3>Directors</h3>
-<ul>
-  <li>The board of directors MUST be elected by the membership, and all members including any corporate members MUST have an equal vote.</li>
-  <li>The board of directors SHOULD NOT consist of 50% or more directors working for the same company or group of companies under the same ultimate ownership or management, a situation which MUST be actively avoided as much as is possible. Should such a situation arise, for example, following the resignation of a director, an election SHOULD be held as soon as possible to restore the balance of the board.</li>
-  <li>Director terms MUST last no longer than three years without re-election. A limit on the number of terms served may be set. "Lifetime" directorships MUST NOT be allowed.</li>
-</ul>
-
-<h3>Vetting</h3>
-<ul>
-  <li>Voting for the board of directors MUST be done in a way that may be externally vetted.</li>
-  <li>Financial reports MUST be published at least annually for review by the membership.</li>
-  <li>The organisation MUST make its financial reports and voting processes and records available to the <a href="/developer/core/">PostgreSQL Core Team</a> or their nominated representative for review if requested.</li>
-</ul>
-
-<a name="conferences" />
-<h2>Community Conference Recognition</h2>
-<p><em>Last updated: January 28, 2020</em></p>
+<p><em>Last updated: January 28, 2020. {%git_changes_link%} <a href="https://git.postgresql.org/gitweb/?p=pgweb.git;a=history;f=templates/pages/community/recognition.html">View</a> history before December 8, 2020.</em></p>
 
 <p>The Community Conference Recognition programme is a voluntary scheme under which submitters of events to the <a href="/about/events/">PostgreSQL Website listings</a> may self-assess their entry against the criteria below, and if they comply may market their event as a PostgreSQL Community event.</p>
 
   <li>
     A statement on the event website MUST indicate where any profits from the event will go, which specifically MUST support PostgreSQL community activities, either through:
     <ol>
-      <li>a <a href="#npos">recognized PostgreSQL Nonprofit Organisation</a></li>
+      <li>a <a href="/about/policies/npos/">recognized PostgreSQL Nonprofit Organisation</a></li>
       <li>a detailed list of how the profits will support
       ongoing PostgreSQL Global Development Group development</li>
       <li>to the future growth and expansion of the event, OR</li>
diff --git a/templates/pages/about/policies/npos.html b/templates/pages/about/policies/npos.html
new file mode 100644 (file)
index 0000000..5b1ff07
--- /dev/null
@@ -0,0 +1,48 @@
+{%extends "base/page.html"%}
+{%load pgfilters%}
+{%block title%}Recognised PostgreSQL Nonprofit Organisations{%endblock%}
+{%block contents%}
+
+<h1>Recognised PostgreSQL Nonprofit Organisations <i class="fas fa-gavel"></i></h1>
+
+<p><em>Last updated: July 29, 2017. {%git_changes_link%} <a href="https://git.postgresql.org/gitweb/?p=pgweb.git;a=history;f=templates/pages/community/recognition.html">View</a> history before December 8, 2020.</em></p>
+
+<p>Recognised PostgreSQL Nonprofit Organisations (NPOs) will be listed on the <a href="/">PostgreSQL Website</a> as such. To become recognised as an NPO, the organisation must self-certify that they meet the criteria below, aimed at ensuring they meet the standards of openness expected in the PostgreSQL Community.
+</p>
+<p>
+  Use of the terms "MUST", "MUST NOT", "SHOULD" and "SHOULD NOT" in the criteria below should be interpreted per <a href="https://www.ietf.org/rfc/rfc2119.txt" target="_blank" rel="noopener">RFC2119</a>.
+</p>
+
+<h3>General</h3>
+
+<ul>
+  <li>A Code of Conduct SHOULD be adopted and apply to all members and directors.</li>
+  <li>The organisation MUST be registered as a Non Profit Organisation in the territory in which it operates.</li>
+  <li>No payments may be made to directors or members for their service with the exception of reimbursement of expenses incurred on the organisation's business, and sponsorship of conference attendance where deemed appropriate to help ensure the success of an event.</li>
+  <li>The organisation MUST work towards the betterment of the PostgreSQL Project and/or community. It may not participate in any activities which may bring the project into disrepute or otherwise work against the interests of the project or the community.</li>
+  <li>The <a href="/developer/core/">PostgreSQL Core Team</a> may recognise, not recognise, or rescind a previous recognition of any organisation without justification, regardless of whether or not the criteria above are met.</li>
+  <li>These criteria may be reviewed and potentially updated at any time.</li>
+</ul>
+
+<h3>Membership</h3>
+<ul>
+  <li>Membership MUST be open to anyone, limited only to the geographic area in which the NPO operates or a specific spoken language, if desired.</li>
+  <li>Membership MUST be at zero cost or a nominal cost (up to US $50 per year) to allow participation from any interested community members.</li>
+  <li>Corporate memberships may be allowed, at higher cost than individual membership if desired, provided the same membership terms are available to any company.</li>
+  <li>Membership MUST be renewed at least once every three years. "Lifetime" memberships MUST NOT be allowed.</li>
+</ul>
+
+<h3>Directors</h3>
+<ul>
+  <li>The board of directors MUST be elected by the membership, and all members including any corporate members MUST have an equal vote.</li>
+  <li>The board of directors SHOULD NOT consist of 50% or more directors working for the same company or group of companies under the same ultimate ownership or management, a situation which MUST be actively avoided as much as is possible. Should such a situation arise, for example, following the resignation of a director, an election SHOULD be held as soon as possible to restore the balance of the board.</li>
+  <li>Director terms MUST last no longer than three years without re-election. A limit on the number of terms served may be set. "Lifetime" directorships MUST NOT be allowed.</li>
+</ul>
+
+<h3>Vetting</h3>
+<ul>
+  <li>Voting for the board of directors MUST be done in a way that may be externally vetted.</li>
+  <li>Financial reports MUST be published at least annually for review by the membership.</li>
+  <li>The organisation MUST make its financial reports and voting processes and records available to the <a href="/developer/core/">PostgreSQL Core Team</a> or their nominated representative for review if requested.</li>
+</ul>
+{%endblock%}