You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2020/04/14 21:48:29 UTC

[whimsy] branch master updated: Simplify front page and add officer's tool listing

This is an automated email from the ASF dual-hosted git repository.

curcuru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 59bbe3e  Simplify front page and add officer's tool listing
59bbe3e is described below

commit 59bbe3e137a8090a440a5097ce41832bd8215a5a
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Tue Apr 14 17:48:17 2020 -0400

    Simplify front page and add officer's tool listing
---
 www/index.html         | 32 +++++---------------------
 www/officers/index.cgi | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+), 27 deletions(-)

diff --git a/www/index.html b/www/index.html
index ba69ee8..9526076 100644
--- a/www/index.html
+++ b/www/index.html
@@ -84,7 +84,7 @@
             Whimsy is a site where a set of unnecessary yet highly useful applications are deployed at Apache. 
           </blockquote>
         </header>
-          <p>The <a href="http://whimsical.apache.org/">Apache Whimsy PMC</a> manages this server, and maintains the tools here.
+          <p>The <a href="https://whimsical.apache.org/">Apache Whimsy PMC</a> manages this server, and maintains the tools here.
              Our focus is on providing organizational information about the ASF and our projects
              in easy to consume ways, and to help automate corporate processes at the ASF to 
              make the paperwork behind the scenes easier for our many volunteers.
@@ -121,7 +121,7 @@
                 <li><a href="https://people.apache.org/unlistedclas.html">Persons with signed CLAs but who are not (yet) committers.</a></li>
                 <li><a href="https://www.apache.org/dev">Apache Developer How-Tos</a></li>
                 <li><a href="https://community.apache.org/">Apache Community How-Tos</a></li>
-                <li><a href="https://reference.apache.org/">Apache Infra Reference Library</a></li>
+                <li><a href="https://infra.apache.org/">Apache Infra Reference Library</a></li>
               </ul>
             </div>
           </div>
@@ -161,17 +161,13 @@
         <div class="col-md-6">       
           <div class="panel panel-info">
             <div class="panel-heading">
-              <h3 class="panel-title">Available to Members and Officers</h3>
+              <h3 class="panel-title">Tools Restricted To Officers Or Members</h3>
             </div>
             <div class="panel-body">
               <ul>
                 <li><a href="board/agenda/">Board Agenda</a></li>
-                <li><a href="officers/acreq">New Account Request</a></li>
-                <li><a href="roster/icla/">ICLAs</a></li>
-                <li><a href="officers/mlreq">Mailing List Request</a></li>
-                <li><a href="treasurer/bill-upload">Bill Upload</a></li>
-                <li><a href="board/subscriptions">PMC-chair vs board subscriptions</a></li>
-                <li><a href="officers/list-traffic.cgi">Board mail traffic analysis</a></li>
+                <li><a href="officers">Overview Of Useful Officer Tools</a></li>
+                <li><a href="members">Overview Of Useful Member Tools</a></li>
               </ul>
             </div>
           </div>
@@ -179,24 +175,6 @@
       </div>
       <div class="row">
         <div class="col-md-6">
-          <div class="panel panel-info">
-            <div class="panel-heading">
-              <h3 class="panel-title">Available to Members</h3>
-            </div>
-            <div class="panel-body">
-              <ul>
-                <li><a href="members/subscriptions/">Member subscription cross-checks</a></li>
-                <li><a href="members/watch/">Member watch</a></li>
-                <li><a href="members/whatif">STV Explorer</a></li>
-                <li><a href="members/proxy">Proxy form (ASF members meeting)</a></li>
-                <li><a href="members/security-subs">Security Mailing List Subscriptions</a></li>
-                <li><a href="members/archivers">Archiver Subscription Issues - ignoring missing mail-archive subs</a></li>
-                <li><a href="members/archivers/mail-archive">Archiver Subscription Issues - including missing mail-archive subs</a></li>
-                <li><a href="members/archivers/all">Archiver Subscription Checks (all entries)</a></li>
-            </div>
-          </div>
-        </div>
-        <div class="col-md-6">
           <div class="panel panel-warning">
             <div class="panel-heading">
               <h3 class="panel-title">Available to Secretarial Team</h3>
diff --git a/www/officers/index.cgi b/www/officers/index.cgi
new file mode 100755
index 0000000..bb052aa
--- /dev/null
+++ b/www/officers/index.cgi
@@ -0,0 +1,61 @@
+#!/usr/bin/env ruby
+PAGETITLE = "Overview of Whimsy Tools for Officers" # Wvisible:meeting
+
+$LOAD_PATH.unshift '/srv/whimsy/lib'
+require 'json'
+require 'whimsy/asf'
+require 'wunderbar'
+require 'wunderbar/bootstrap'
+
+OFFICERS = {
+  '/board/agenda' => "Monthly Board Agenda Tool",
+  'acreq.cgi' => "New Account Request Helper",
+  'mlreq.cgi' => "New Mailing List Request Form",
+  '/committers/subscribe.cgi' => "Apache Mailing List Subscription/Unsubscription Tool",
+  '/board/subscriptions' => "PMC Chair board@ Subscription Crosscheck",
+  'list-traffic.cgi' => "Statistics About The board@ Mailing List",
+  'board-stats.cgi' => "Statistics About Board Meetings",
+  '/treasurer/bill-upload' => "Treasurer's Bill Upload Helper",
+  'http://treasurer.apache.org' => "Treasurer's Office Payment Processing Overview",
+  'https://www.apache.org/foundation/governance/orgchart' => "Apache Corporate Organization Chart"
+}
+
+_html do
+  _body? do
+    _whimsy_body(
+      title: PAGETITLE,
+      subtitle: 'Officer and Member-restricted tools only',
+      relatedtitle: 'More Useful Links',
+      related: {
+        "/committers/tools" => "Whimsy All Available Tools Listing",
+        "https://svn.apache.org/repos/private/foundation/" => "Checkout the private 'foundation/officers' repo for Officers",
+        "https://github.com/apache/whimsy/blob/master/www#{ENV['SCRIPT_NAME']}" => "See This Source Code",
+        "mailto:dev@whimsical.apache.org?subject=[FEEDBACK] members/index idea" => "Email Feedback To dev@whimsical"
+      },
+      helpblock: -> {
+        _p %{
+          This script lists various Whimsy tools restricted to Officers of the ASF (including PMC Chairs) or to Members.  These often deal with private or 
+          sensitive data, so be sure to keep confidential.
+        }
+        _p do
+          _ 'For more information about ASF Governance see the '
+          _a 'Governance overview.', href: 'https://www.apache.org/foundation/governance/'
+        end
+      }
+    ) do
+    
+      _h2 "Tools Useful For ASF Officers"
+      _ul do
+        OFFICERS.each do |url, desc|
+          _li do
+            _a desc, href: url
+            _ ' - '
+            _code! do
+              _a url, href: url
+            end
+          end
+        end
+      end
+    end
+  end
+end