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 c59dbf2  Use shared email issues page
c59dbf2 is described below

commit c59dbf216a99d22413dba73e70d0cf513287ccdc
Author: Sebb <[email protected]>
AuthorDate: Fri Aug 13 13:14:00 2021 +0100

    Use shared email issues page
---
 tools/moderationhelper.rb          | 13 +++++----
 www/committers/emailissues.cgi     | 60 ++++++++++++++++++++++++++++++++++++++
 www/committers/subscribe.cgi       |  9 +++---
 www/roster/views/person/main.js.rb |  9 +++---
 4 files changed, 77 insertions(+), 14 deletions(-)

diff --git a/tools/moderationhelper.rb b/tools/moderationhelper.rb
index 6662d97..1d59757 100755
--- a/tools/moderationhelper.rb
+++ b/tools/moderationhelper.rb
@@ -81,14 +81,15 @@ _html do
               end
             end
             _tr do
-              _td colspan: 2 do
+              _td ''
+              _td do
                 _p do
+                  _b 'WARNING'
+                  _ 'Some providers are known to block our emails as SPAM.'
                   _br
-                  _b 'N.B.'
-                  _ 'Unfortunately, Microsoft continues to block our email as 
so many Outlook users report our legitimate email as SPAM.'
-                  _br
-                  _ 'We have not had much success in getting them to unblock 
us, so we recommend using an email provider other than'
-                  _b 'outlook.com.'
+                  _ 'Please see the following for details: '
+                  _a 'email provider issues', href: 
'../commiters/emailissues', target: '_blank'
+                  _ ' (opens in new page)'
                 end
               end
             end
diff --git a/www/committers/emailissues.cgi b/www/committers/emailissues.cgi
new file mode 100755
index 0000000..4dffa2f
--- /dev/null
+++ b/www/committers/emailissues.cgi
@@ -0,0 +1,60 @@
+#!/usr/bin/env ruby
+PAGETITLE = "Known problems with some email providers" # Wvisible:tools
+
+$LOAD_PATH.unshift '/srv/whimsy/lib'
+require 'whimsy/asf'
+require 'wunderbar'
+require 'wunderbar/bootstrap'
+
+MISC = {
+  'tools.cgi' => "Listing of all available Whimsy tools",
+  'subscribe.cgi' => "Subscribe or unsubscribe from mailing lists",
+  'moderationhelper.cgi' => "Get help with mailing list moderation commands"
+}
+_html do
+  _body? do
+    _whimsy_body(
+      title: PAGETITLE,
+      subtitle: 'Overview',
+      relatedtitle: 'More Useful Links',
+      related: {
+        "/committers/tools" => "Whimsy All Tools Listing",
+        ASF::SVN.svnpath!('committers') => "Checkout the private 'committers' 
repo for Committers",
+        
"https://github.com/apache/whimsy/blob/master/www#{ENV['SCRIPT_NAME']}" => "See 
This Source Code",
+        "mailto:[email protected]?subject=[FEEDBACK] members/index 
idea" => "Email Feedback To dev@whimsical"
+      },
+      helpblock: -> {
+        _p %{
+          This page lists known problems communicating with some email 
providers.
+        }
+        _p %{
+          Problems can occur when subscribers to our email lists report 
messages as SPAM.
+          These may be genuine SPAM (though this is rare on most of our 
lists), or it may
+          just that the subscriber has forgotten that they signed up to 
receive the emails.
+          If enough customers of an email provider report our emails, then the 
ASF domain may
+          be blocked by the provider.
+        }
+      },
+      breadcrumbs: {
+        committers: '/committers/',
+        emailissues: '/committers/emailissues'
+      }
+    ) do
+      _h2 'Microsoft domains'
+      _p %{
+        Unfortunately, Microsoft continues to block our email as so many of 
their users report
+        our legitimate email as spam.
+      }
+      _p %{
+        We have not had much success in getting them to unblock us,
+        so you will need to use a different provider for communication with 
apache.org addresses.
+      }
+      _p 'The following domains are all affected (as of August 2021):'
+      _ul do
+        _li 'hotmail.com'
+        _li 'live.com'
+        _li 'outlook.com'
+      end
+  end
+  end
+end
diff --git a/www/committers/subscribe.cgi b/www/committers/subscribe.cgi
index fb3bb06..e2ca698 100755
--- a/www/committers/subscribe.cgi
+++ b/www/committers/subscribe.cgi
@@ -144,11 +144,12 @@ _html do
       end
       _p do
         _br
-        _b 'N.B.'
-        _ 'Unfortunately, Microsoft continues to block our email as so many 
Outlook users report our legitimate email as SPAM.'
+        _b 'WARNING'
+        _ 'Some providers are known to block our emails as SPAM.'
         _br
-        _ 'We have not had much success in getting them to unblock us, so we 
recommend using an email provider other than'
-        _b 'outlook.com.'
+        _ 'Please see the following for details: '
+        _a 'email provider issues', href: 'emailissues', target: '_blank'
+        _ ' (opens in new page)'
       end
       _p
       _hr
diff --git a/www/roster/views/person/main.js.rb 
b/www/roster/views/person/main.js.rb
index 5546c1d..fa0b6ab 100644
--- a/www/roster/views/person/main.js.rb
+++ b/www/roster/views/person/main.js.rb
@@ -162,12 +162,13 @@ class Person < Vue
 
     if @auth # deprecate using outlook.com
       _div.row do
-        _div.name 'Warning regarding outlook.com addresses'
+        _div.name 'Email provider issues'
         _div.value do
-          _ 'Unfortunately, Microsoft continues to block our email as so many 
Outlook users report our legitimate email as SPAM.'
+          _ 'Some providers are known to block our emails as SPAM.'
           _br
-          _ 'We have not had much success in getting them to unblock us, so we 
recommend an email provider other than'
-          _ ' outlook.com for use with the ASF'
+          _ 'Please see the following for details: '
+          _a 'email provider issues', href: '../commiters/emailissues', 
target: '_blank'
+          _ ' (opens in new page)'
         end
       end
     end

Reply via email to