<p></p>
<p dir="auto">A summary of the recent changes:</p>
<ul dir="auto">
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/1c3d3b655c8f057f7a93175416b6ffb743803ee8/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/1c3d3b655c8f057f7a93175416b6ffb743803ee8"><tt>1c3d3b6</tt></a> redacts <code class="notranslate">Note#body</code> if <code class="notranslate">Note#author</code> is soft-deleted</li>
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/edfab0384767ab79d6d9dad0d9c7c2445281c5d1/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/edfab0384767ab79d6d9dad0d9c7c2445281c5d1"><tt>edfab03</tt></a> extracted Note-Migration code into <code class="notranslate">Note::MigrateOpenedComment</code> and added basic tests for that class</li>
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/5f4a414f61e8b37b0a434907f98fc3d6611613f6/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/5f4a414f61e8b37b0a434907f98fc3d6611613f6"><tt>5f4a414</tt></a> hides the authors display name in <code class="notranslate">api/notes/_note.rss.builder</code> if the author is deleted (the same way the author name is hidden in the Web UI)</li>
</ul>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gravitystorm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gravitystorm">@gravitystorm</a> could you give this PR a rough review so we can spot weak spots or issues I can address?</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tomhughes/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomhughes">@tomhughes</a> thanks for trying out the <code class="notranslate">UPDATE</code>-SQL Statement.<br>
I'd be interested if there are any <code class="notranslate">NoteComment</code>-records with <code class="notranslate">event: "opened"</code> and with a <code class="notranslate">body</code> either being <code class="notranslate">NULL</code> or <code class="notranslate">EMPTY</code>.<br>
The migration code assumes that there will be a non-zero-length <code class="notranslate">body</code> but there are neither DB constraints nor Model Validations enforcing this.</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/pull/4481#issuecomment-1932283483">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOOI3M5DIDDJWTHJ3TYSOMIZAVCNFSM6AAAAABB4FLGOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSGI4DGNBYGM">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJUCLV47SZMFTUCB4LYSOMIZA5CNFSM6AAAAABB4FLGOWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTTFRHFW.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/4481/c1932283483</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/4481#issuecomment-1932283483",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4481#issuecomment-1932283483",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>