This is an automated email from the ASF dual-hosted git repository.
sebb 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 7f533483 No longer needed since 6ada750b
7f533483 is described below
commit 7f53348314780fcfc906b35eb70eb8f600c2821c
Author: Sebb <[email protected]>
AuthorDate: Sat Jul 8 17:14:07 2023 +0100
No longer needed since 6ada750b
---
www/secretary/workbench/templates/unsigned.erb | 12 -------
.../workbench/views/actions/unsigned.json.rb | 37 ----------------------
2 files changed, 49 deletions(-)
diff --git a/www/secretary/workbench/templates/unsigned.erb
b/www/secretary/workbench/templates/unsigned.erb
deleted file mode 100644
index 81cd4226..00000000
--- a/www/secretary/workbench/templates/unsigned.erb
+++ /dev/null
@@ -1,12 +0,0 @@
-Dear <%= @email.display_names.join(', ') %>,
-
-We received this document but it appears to be unsigned.
-Please sign and resubmit to [email protected]
-https://apache.org/licenses/contributor-agreements.html#submitting
-
-Please note that your name typed in a script font
-does not constitute a signature.
-
-Warm Regards,
-
-<%= @sig %>
diff --git a/www/secretary/workbench/views/actions/unsigned.json.rb
b/www/secretary/workbench/views/actions/unsigned.json.rb
deleted file mode 100644
index 9270dc60..00000000
--- a/www/secretary/workbench/views/actions/unsigned.json.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-# extract message
-message = Mailbox.find(@message)
-
-# obtain per-user information
-_personalize_email(env.user)
-
-# extract/verify project
-_extract_project
-
-########################################################################
-# email submitter #
-########################################################################
-
-# send rejection email
-task "email #{message.from}" do
- # build mail from template
- @email = message.from
- mail = message.reply(
- from: @from,
- cc: [
- '[email protected]',
- ("private@#{@pmc.mail_list}.apache.org" if @pmc), # copy pmc
- (@podling.private_mail_list if @podling) # copy podling
- ],
- body: template('unsigned.erb')
- )
-
- # echo email
- form do
- _message mail.to_s
- end
-
- # deliver mail
- complete do
- mail.deliver!
- end
-end