You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2018/05/11 13:27:14 UTC

[whimsy] branch master updated (dfa35b5 -> 9ec341d)

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

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


    from dfa35b5  Show if person has ICLA to all
     new e92915e  enable cancel buttons
     new 9ec341d  drop PMCs reporting this month from the out of cycle selection list

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 www/board/agenda/views/buttons/post.js.rb | 23 +++++++++++++++++------
 www/status/index.cgi                      |  2 ++
 2 files changed, 19 insertions(+), 6 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.

[whimsy] 02/02: drop PMCs reporting this month from the out of cycle selection list

Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 9ec341d17ac7a9a09d35133c6d2e8d8ef08535ef
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri May 11 09:26:49 2018 -0400

    drop PMCs reporting this month from the out of cycle selection list
---
 www/board/agenda/views/buttons/post.js.rb | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/www/board/agenda/views/buttons/post.js.rb b/www/board/agenda/views/buttons/post.js.rb
index 0a5e970..bfb284d 100644
--- a/www/board/agenda/views/buttons/post.js.rb
+++ b/www/board/agenda/views/buttons/post.js.rb
@@ -207,10 +207,21 @@ class Post < Vue
       elsif @button == 'Out of Cycle Report'
         _h4 'Out of Cycle PMC Report'
 
+        # determine which PMCs are reporting this month
+        reporting_this_month = []
+        Agenda.index.each do |item|
+          if item.roster
+            reporting_this_month << item.roster.split('/').pop()
+          end
+        end
+
+        # provide a selection box with the remainder
         _div.form_group do
           _label 'PMC', for: 'out-of-cycle-pmc'
           _select.form_control.out_of_cycle_pmc! do
-            @pmcs.each {|pmc| _option pmc}
+            @pmcs.each do |pmc| 
+              _option pmc unless reporting_this_month.include? pmc
+            end
           end
         end
 

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.

[whimsy] 01/02: enable cancel buttons

Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit e92915e8827c0db72f44dd9f9f55c123f99b1878
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri May 11 09:16:22 2018 -0400

    enable cancel buttons
---
 www/board/agenda/views/buttons/post.js.rb | 10 +++++-----
 www/status/index.cgi                      |  2 ++
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/www/board/agenda/views/buttons/post.js.rb b/www/board/agenda/views/buttons/post.js.rb
index 4fe4dae..0a5e970 100644
--- a/www/board/agenda/views/buttons/post.js.rb
+++ b/www/board/agenda/views/buttons/post.js.rb
@@ -90,7 +90,7 @@ class Post < Vue
           end
         end
 
-        _button.btn_default 'Cancel', data_dismiss: 'modal', disabled: @disabled
+        _button.btn_default 'Cancel', data_dismiss: 'modal'
         _button.btn_primary 'Draft', disabled: @disabled,
           onClick: draft_chair_change_resolution
 
@@ -164,7 +164,7 @@ class Post < Vue
           end
         end
 
-        _button.btn_default 'Cancel', data_dismiss: 'modal', disabled: @disabled
+        _button.btn_default 'Cancel', data_dismiss: 'modal'
         _button.btn_primary 'Draft', onClick: draft_establish_project,
           disabled: (!@pmcname or !@pmcdesc or @pmc.empty?)
 
@@ -200,7 +200,7 @@ class Post < Vue
             for: 'termboard'
         end
 
-        _button.btn_default 'Cancel', data_dismiss: 'modal', disabled: @disabled
+        _button.btn_default 'Cancel', data_dismiss: 'modal'
         _button.btn_primary 'Draft', onClick: draft_terminate_project,
           disabled: (@pmcs.empty? or not @termreason)
 
@@ -214,7 +214,7 @@ class Post < Vue
           end
         end
 
-        _button.btn_default 'Cancel', data_dismiss: 'modal', disabled: @disabled
+        _button.btn_default 'Cancel', data_dismiss: 'modal'
         _button.btn_primary 'Draft', disabled: @pmcs.empty?,
           onClick: draft_out_of_cycle_report
 
@@ -252,7 +252,7 @@ class Post < Vue
         end
 
         # footer buttons
-        _button.btn_default 'Cancel', data_dismiss: 'modal', disabled: @disabled
+        _button.btn_default 'Cancel', data_dismiss: 'modal'
         _button 'Reflow', class: self.reflow_color(), onClick: self.reflow
         _button.btn_primary 'Submit', onClick: self.submit, 
           disabled: (not self.ready())
diff --git a/www/status/index.cgi b/www/status/index.cgi
index 9f4ded6..d6f9948 100755
--- a/www/status/index.cgi
+++ b/www/status/index.cgi
@@ -83,6 +83,8 @@ print <<-EOF
     <h2>Additional status</h2>
 
     <ul>
+      <li><a href="../member/logs">Apache HTTPD error logs</a>
+        (ASF member only)</li>
       <li><a href="passenger">Passenger</a> (ASF committer only)</li>
       <li><a href="svn">Subversion</a></li>
       <li>Git code info: #{git_info}</li>

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.