whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject [whimsy] branch master updated: Add projects field to rejected document handling if project is a tlp, cc: private@tlp.apache.org if project is a podling, cc: private@incubator.apache.org and podling private list
Date Sat, 08 Apr 2017 21:49:40 GMT
This is an automated email from the ASF dual-hosted git repository.

clr 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  f49b4c7   Add projects field to rejected document handling   if project is a tlp,
cc: private@tlp.apache.org   if project is a podling, cc: private@incubator.apache.org and
podling private list
f49b4c7 is described below

commit f49b4c7d47a46bbf303087b6977bb97ee8656ea9
Author: Craig L Russell <craig.russell@oracle.com>
AuthorDate: Sat Apr 8 14:48:34 2017 -0700

    Add projects field to rejected document handling
      if project is a tlp, cc: private@tlp.apache.org
      if project is a podling, cc: private@incubator.apache.org and podling private list
---
 www/secmail/views/actions/incomplete.json.rb | 9 ++++++++-
 www/secmail/views/actions/pubkey.json.rb     | 9 ++++++++-
 www/secmail/views/actions/unsigned.json.rb   | 9 ++++++++-
 www/secmail/views/parts.js.rb                | 6 ++++++
 4 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/www/secmail/views/actions/incomplete.json.rb b/www/secmail/views/actions/incomplete.json.rb
index 97a5c60..c556575 100644
--- a/www/secmail/views/actions/incomplete.json.rb
+++ b/www/secmail/views/actions/incomplete.json.rb
@@ -4,6 +4,9 @@ message = Mailbox.find(@message)
 # obtain per-user information
 _personalize_email(env.user)
 
+# extract/verify project
+_extract_project
+
 ########################################################################
 #                           email submitter                            #
 ########################################################################
@@ -14,7 +17,11 @@ task "email #{message.from}" do
   @email = message.from
   mail = message.reply(
     from: @from,
-    cc: 'secretary@apache.org',
+    cc: [
+      'secretary@apache.org',
+      ("private@#{@pmc.mail_list}.apache.org" if @pmc), # copy pmc
+      (@podling.private_mail_list if @podling) # copy podling
+    ],
     body: template('incomplete.erb')
   )
 
diff --git a/www/secmail/views/actions/pubkey.json.rb b/www/secmail/views/actions/pubkey.json.rb
index 6e698aa..9a4d81c 100644
--- a/www/secmail/views/actions/pubkey.json.rb
+++ b/www/secmail/views/actions/pubkey.json.rb
@@ -4,6 +4,9 @@ message = Mailbox.find(@message)
 # obtain per-user information
 _personalize_email(env.user)
 
+# extract/verify project
+_extract_project
+
 ########################################################################
 #                           email submitter                            #
 ########################################################################
@@ -14,7 +17,11 @@ task "email #{message.from}" do
   @email = message.from
   mail = message.reply(
     from: @from,
-    cc: 'secretary@apache.org',
+    cc: [
+      'secretary@apache.org',
+      ("private@#{@pmc.mail_list}.apache.org" if @pmc), # copy pmc
+      (@podling.private_mail_list if @podling) # copy podling
+    ],
     body: template('pubkey.erb')
   )
 
diff --git a/www/secmail/views/actions/unsigned.json.rb b/www/secmail/views/actions/unsigned.json.rb
index 0e5e4c6..9270dc6 100644
--- a/www/secmail/views/actions/unsigned.json.rb
+++ b/www/secmail/views/actions/unsigned.json.rb
@@ -4,6 +4,9 @@ message = Mailbox.find(@message)
 # obtain per-user information
 _personalize_email(env.user)
 
+# extract/verify project
+_extract_project
+
 ########################################################################
 #                           email submitter                            #
 ########################################################################
@@ -14,7 +17,11 @@ task "email #{message.from}" do
   @email = message.from
   mail = message.reply(
     from: @from,
-    cc: 'secretary@apache.org',
+    cc: [
+      'secretary@apache.org',
+      ("private@#{@pmc.mail_list}.apache.org" if @pmc), # copy pmc
+      (@podling.private_mail_list if @podling) # copy podling
+    ],
     body: template('unsigned.erb')
   )
 
diff --git a/www/secmail/views/parts.js.rb b/www/secmail/views/parts.js.rb
index a23378f..97038cb 100644
--- a/www/secmail/views/parts.js.rb
+++ b/www/secmail/views/parts.js.rb
@@ -11,6 +11,7 @@ class Parts < React
     @drag = nil
     @form = :categorize
     @menu = nil
+    @project = nil
   end
 
   ########################################################################
@@ -144,6 +145,11 @@ class Parts < React
                 onClick: self.reject
               _span 'upload public key'
             end
+
+            _label do
+              _span 'project: '
+              _input name: 'project', value: @project
+            end
           end
 
           _hr

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message