Jeremy Newman : obscure the forum passcode using script
Jeremy Newman
jnewman at winehq.org
Sun Mar 14 12:05:27 CDT 2021
Module: website
Branch: master
Commit: f5ff87813d90141d48c3c00cd909643e24210443
URL: https://source.winehq.org/git/website.git/?a=commit;h=f5ff87813d90141d48c3c00cd909643e24210443
Author: Jeremy Newman <jnewman at codeweavers.com>
Date: Sun Mar 14 12:04:56 2021 -0500
obscure the forum passcode using script
---
js/utils.js | 9 +++++++++
templates/en/forums.template | 12 ++++++++----
2 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/js/utils.js b/js/utils.js
index 1e58b31e..d9ea8ddb 100644
--- a/js/utils.js
+++ b/js/utils.js
@@ -28,6 +28,15 @@ $(document).ready(function()
});
})();
+ // 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 08b268ae..62cd68eb 100644
--- a/templates/en/forums.template
+++ b/templates/en/forums.template
@@ -15,11 +15,11 @@ Here are the most useful ones for users:</p>
<li>If you want to be notified about new releases, subscribe to the <a href="//www.winehq.org/mailman/listinfo/wine-announce">Wine-Announce mailing list</a></li>
</ul>
-<p>Please don't create another English language Wine forum (except perhaps
+<p>Please don't create another English language Wine forum (except perhaps
a Wine area in a popular distro's main forum).</p>
<p>If you know of another active Wine forum - especially a non-English one
-- please let us know so we can add it to the list.
+- please let us know so we can add it to the list.
(Email to dank at kegel.com would do.)</p>
<h2>All WineHQ Mailing Lists</h2>
@@ -39,9 +39,13 @@ or just use <a href="//www.winehq.org/mailman/listinfo">the Mailman web interfac
</p>
<p>
<b>Username:</b> <code>mailman</code><br>
- <b>Password:</b> <code>getalist</code>
+ <b>Password:</b> <code class="getForumKey bold cursor" data-code="RnljREw3S2tDdmhXUmJiRQ==
+">**********************</code>
+ </p>
+ <p>
+ Click the code to reveal the actual password.<br>
+ This password may change from time to time, so check back here for changes.
</p>
- <p>This password may change from time to time, so check back here for changes.</p>
</div>
<p><b>Note:</b> You should be subscribed to the lists before you post
More information about the wine-cvs
mailing list