<h3 dir="auto">Description</h3>
<p dir="auto">I am justifying this PR based on renewed interest in forum posts on this topic starting in the fall of this year <a href="https://community.openstreetmap.org/t/we-dont-need-anonymous-notes/105335/128" rel="nofollow">https://community.openstreetmap.org/t/we-dont-need-anonymous-notes/105335/128</a> as well as from personal experience of resolving notes</p>
<ol dir="auto">
<li>After 10 notes, the create notes form hides and the warning is repainted red</li>
</ol>
<a href="https://github.com/user-attachments/assets/de860bad-a682-4751-b0b5-40e1742760f1">2025-12-06.03.07.07.png (view on web)</a>
<ol start="2" dir="auto">
<li>
<p dir="auto">The previous warning is displayed after 5 anonymous notes</p>
</li>
<li>
<p dir="auto">I reduced the lifetime of cookies that count anonymous notes to two weeks to compensate for the limit a little</p>
</li>
</ol>
<h3 dir="auto">How has this been tested?</h3>
<p dir="auto">Manual testing, as well as adding a new autotest</p>
<h3 dir="auto">Explanation</h3>
<p dir="auto">Yes, the API is still not protected. Yes, you can open a private window.</p>
<p dir="auto">But at least it will stop stupid robots, and it will also stop some users who use notes for other purposes faster. It is also a small stick in the wheels of lazy vandals.</p>
<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/6593'>https://github.com/openstreetmap/openstreetmap-website/pull/6593</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6593/commits/606bd65e19ce95e4f89168a15fb0639b1b858178" class="commit-link">606bd65</a> stricter restrictions on creating anonymous notes</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6593/files">3 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6593/files#diff-08fd2f80528286cf96375b12d81cac98954dee8e6a6899f5f261a127861fdd49">app/assets/javascripts/index/new_note.js</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6593/files#diff-cb517058985c89ad2c4fa3503e6e5c62cc9953e2972bd6128c2f34156905f94f">app/views/notes/new.html.erb</a>
(10)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6593/files#diff-9f6aab4572a1599c9156a25f43ec038cc485dd0245d0bfcd3b4705126002304e">test/system/create_note_test.rb</a>
(46)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6593.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6593.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6593.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6593.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/6593">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPJ5WSDKVNCKWG47SL4AISQLAVCNFSM6AAAAACOGUCYDOVHI2DSMVQWIX3LMV43ASLTON2WKOZTG4YDANZTG43DSMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLGVXF73VADF4GQIF34AISQLA5CNFSM6AAAAACOGUCYDOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHNZFGGTI.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/6593</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/6593",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6593",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>