Jeremy Newman : remove mailman password, recaptcha is in use

Jeremy Newman jnewman at winehq.org
Thu Apr 29 09:42:28 CDT 2021


Module: website
Branch: master
Commit: 84272777cdd1dee500af0dd83f34b9104b1c01de
URL:    https://source.winehq.org/git/website.git/?a=commit;h=84272777cdd1dee500af0dd83f34b9104b1c01de

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Thu Apr 29 09:41:56 2021 -0500

remove mailman password, recaptcha is in use

---

 include/plugins/mailman_key.php | 14 --------------
 js/utils.js                     | 11 -----------
 templates/en/forums.template    | 19 -------------------
 templates/nl/forums.template    | 23 -----------------------
 templates/zh-cn/forums.template | 13 -------------
 5 files changed, 80 deletions(-)

diff --git a/include/plugins/mailman_key.php b/include/plugins/mailman_key.php
deleted file mode 100644
index 89de3fee..00000000
--- a/include/plugins/mailman_key.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-
-/*
-  WineHQ Mailman Key
-  by Jeremy Newman <jnewman at codeweavers.com>
-*/
-
-if (file_exists($config->mailman_key))
-    echo base64_encode(trim(file_get_contents($config->mailman_key)));
-else
-    echo "ERROR: Unable to load key!";
-
-// done
-?>
diff --git a/js/utils.js b/js/utils.js
index d9ea8ddb..a07fe62d 100644
--- a/js/utils.js
+++ b/js/utils.js
@@ -13,7 +13,6 @@ var web_root = $_SRC.web_root;
  */
 $(document).ready(function()
 {
-
     // top nav - responsive pull menu
     (function(){
         var pull        = $('#whq-tabs .whq-tabs-menu');
@@ -27,16 +26,6 @@ $(document).ready(function()
             menu.removeAttr('style');
         });
     })();
-
-    // reveal forum code
-    $('.getForumKey').click(function(e){
-        e.preventDefault();
-        var code = $(this).data('code');
-        code = atob(code);
-        $(this).hide().after('<code>' + code + '</code>');
-        $(this).removeClass('getForumKey').removeClass('cursor');
-    });
-
 });
 
 /*
diff --git a/templates/en/forums.template b/templates/en/forums.template
index 81d333dd..9f467ecf 100644
--- a/templates/en/forums.template
+++ b/templates/en/forums.template
@@ -32,25 +32,6 @@ subject line of <code>"subscribe"</code>. To unsubscribe, use a subject line of
 <code>"unsubscribe <password></i>"</code> using the password you got when you subscribed,
 or just use <a href="//www.winehq.org/mailman/listinfo">the Mailman web interface</a>.</p>
 
-<div class="alert alert-warning">
-    <h3 class="nomargin-top"><i class="fa fa-info-circle"></i> Web Interface is password protected</h3>
-    <p>
-        Due to an increase in bot traffic attempting to subscribe to our lists, the URL to access the Mailman web interface is password protected.
-    </p>
-    <p>
-        <b>Username:</b> <code>mailman</code><br>
-        <b>Password:</b> <code class="getForumKey bold cursor" data-code="<!--EXEC:[mailman_key]-->
-">**********************</code>
-    </p>
-    <p>
-        Click the code to reveal the actual password.
-    </p>
-    <p>
-        <b>Note:</b> This password updates regularly, so check back here for changes.<br>
-        <b>Warning:</b> Entering the password wrong multiple times will result in a 24 hour ban from the website.
-    </p>
-</div>
-
 <p><b>Note:</b> You should be subscribed to the lists before you post
 to them, otherwise your posting will be treated as possible spam by the
 mailing list software.</p>
diff --git a/templates/nl/forums.template b/templates/nl/forums.template
index ffe6e2d4..0bbc33d4 100644
--- a/templates/nl/forums.template
+++ b/templates/nl/forums.template
@@ -31,29 +31,6 @@ naar <code><listname>-request at winehq.org</code> met als onderwerp
 als u inschrijft.) Of gebruik <a href="//www.winehq.org/mailman/listinfo">de
 Mailman gebruikersomgeving</a> website.</p>
 
-
-<div class="alert alert-warning">
-    <h3 class="nomargin-top"><i class="fa fa-info-circle"></i> De gebruikersomgeving heeft een wachtwoord</h3>
-    <p>
-        Omdat er steeds meer bots proberen in te schrijven, is de website van Mailman met een wachtwoord beveiligd.
-    </p>
-    <p>
-    <table>
-        <tr>
-            <td><b>Gebruikersnaam:</b></td>
-            <td><code>mailman</code></td>
-        </tr>
-        <tr>
-            <td><b>Wachtwoord:</b></td>
-            <td><code class="getForumKey bold cursor" data-code="<!--EXEC:[mailman_key]-->
-">**********************</code></td>
-        <tr>
-    </table>
-    </p>
-    <p>Klik op de code om het wachtwoord te tonen.<br>
-    Dit wachtwoord wordt van tijd tot tijd veranderd.</p>
-</div>
-
 <p><b>Let op:</b> Voordat u naar een bericht naar maillijst stuurt, moet u ingeschreven zijn.
 Anders behandeld de software van de mailinglijsten uw bericht als spam.</p>
 
diff --git a/templates/zh-cn/forums.template b/templates/zh-cn/forums.template
index b38cafe8..8e283c21 100644
--- a/templates/zh-cn/forums.template
+++ b/templates/zh-cn/forums.template
@@ -25,19 +25,6 @@ WWW</a>,或者发送一封标题为 <code>"subscribe"</code> 的邮件到 <cod
 如果想取消订阅,则使用 <code>"unsubscribe <密码></i>"</code> 作为标题,密码是你在你订阅时获得的。
 或者直接使用 <a href="//www.winehq.org/mailman/listinfo">Mailman web 界面</a>。</p>
 
-<div class="alert alert-warning">
-    <h3 class="nomargin-top"><i class="fa fa-info-circle"></i> Web 界面需要密码登录</h3>
-    <p>
-        因为邮件列表不断得受到爬虫干扰,访问 Mailman 的 web 界面开启了密码保护。
-    </p>
-    <p>
-        <b>用户名:</b> <code>mailman</code><br>
-        <b>密码:</b> <code class="getForumKey bold cursor" data-code="<!--EXEC:[mailman_key]-->
-">**********************</code>
-    </p>
-    <p>密码会时不时更新,请从这里获取最新的密码。</p>
-</div>
-
 <p><b>注意:</b> 你必须订阅后才能发送邮件到列表,否则你的邮件将被邮件列表软件判定为垃圾邮件。</p>
 
 <ul class="roomy">




More information about the wine-cvs mailing list