<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/36066?s=20&v=4" /><strong>pablobm</strong> created an issue <a href="https://github.com/openstreetmap/openstreetmap-website/issues/6545">(openstreetmap/openstreetmap-website#6545)</a></div>
<h3 dir="auto">Problem</h3>
<p dir="auto">Depends on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3643386123" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/6544" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/6544/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/6544">#6544</a></p>
<p dir="auto">As part of upcoming spam detection mechanisms, we want to be able to refer to IP addresses that, in the past, have been sources of spam.</p>
<h3 dir="auto">Description</h3>
<p dir="auto">Proposal: when a user is suspended for the reason of <code class="notranslate">spam</code>, automatically store their IP address in DB.</p>
<p dir="auto">Details:</p>
<ul dir="auto">
<li>Add a new table to DB: <code class="notranslate">abuse_ips</code>, with columns:
<ul dir="auto">
<li><code class="notranslate">address inet</code>.</li>
<li><code class="notranslate">created_at timestamp without time zone NOT NULL</code></li>
</ul>
</li>
<li>When a user is suspended with <code class="notranslate">suspension_reason=spam</code>, add their <code class="notranslate">creation_time</code> to <code class="notranslate">abuse_ips</code>.</li>
</ul>
<h3 dir="auto">Screenshots</h3>
<p dir="auto"><em>No response</em></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/6545">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKN3XGU7YSB7KUTOVT35SHR3AVCNFSM6AAAAACMS4WKZSVHI2DSMVQWIX3LMV43ASLTON2WKOZTGY2DGMZZGEYDINI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLYH6E25ZMGN3BNPGT35SHR3A5CNFSM6AAAAACMS4WKZSWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHNSKN4IU.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/6545</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/6545",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/6545",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>