<p dir="auto"><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #6510.">Closes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3608458554" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/6510" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/6510/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/6510">#6510</a></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" aria-label="Completed task" checked=""> Move spam scoring out of <code class="notranslate">RichText</code> into appropriate module.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" aria-label="Incomplete task"> Move spam scoring out of <code class="notranslate">User</code> into appropriate module.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" aria-label="Incomplete task"> Create DB table and model for spammy phrases.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" aria-label="Incomplete task"> Use spammy phrases from table.</li>
</ul>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/6549'>https://github.com/openstreetmap/openstreetmap-website/pull/6549</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6549/commits/1ad1d9c1167b369f1298c81b4f17422e837106b3" class="commit-link">1ad1d9c</a> Move spam scoring to own class</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6549/files">5 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6549/files#diff-9802ca3c9c4cf89904fd44bc114e35ebdf2c5dd3d5b645491e2b253e1afef29b">app/models/user.rb</a>
(6)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6549/files#diff-6854f233485e4f1bf82ed21283e3637f9114d7c5431b80926ba2f5657b54e9fb">lib/rich_text.rb</a>
(30)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6549/files#diff-94918d1578bde6e3e0153357a30f5dd7355e127e95a4d6052c38d9064d6e9ce7">lib/spam_scorer.rb</a>
(41)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6549/files#diff-c1cefbd36a92f5d74850361751b9b01c7d326221cfa8c15c0c071008165de745">test/lib/rich_text_test.rb</a>
(15)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6549/files#diff-36959a38ea808b4ec909765d73f2204a9cc9a297e5ae714f567cd6726ee435d3">test/lib/spam_scorer_test.rb</a>
(23)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6549.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6549.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6549.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6549.diff</a></li>
</ul>
<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/pull/6549">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJ43IMKCNT5LDE46TT35WTDBAVCNFSM6AAAAACMV5RK4CVHI2DSMVQWIX3LMV43ASLTON2WKOZTGY2DMOJQHAZDIOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPC2V4CPFCLQKVMVET35WTDBA5CNFSM6AAAAACMV5RK4CWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHNSX3HLE.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/pull/6549</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/pull/6549",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6549",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>