<p dir="auto">Rails part of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2974858798" data-permission-text="Title is private" data-url="https://github.com/zerebubuth/openstreetmap-cgimap/issues/510" data-hovercard-type="pull_request" data-hovercard-url="/zerebubuth/openstreetmap-cgimap/pull/510/hovercard" href="https://github.com/zerebubuth/openstreetmap-cgimap/pull/510">zerebubuth/openstreetmap-cgimap#510</a></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/6170'>https://github.com/openstreetmap/openstreetmap-website/pull/6170</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/2306a5ef8c33465f66d6e91c978c15851aec5167" class="commit-link">2306a5e</a>  Remove redundant changeset create by private user test</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/f0a0d2c8c9cbcd433a307efa4b4d437302522187" class="commit-link">f0a0d2c</a>  Test that changeset create action creates one changeset</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/a3795cf82f9fc45394d7ddea90a04802cd88eb11" class="commit-link">a3795cf</a>  Actually test if changeset creator was subscribed</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/96819c97499c164e9890b68fc3641a51f724c2db" class="commit-link">96819c9</a>  Use "changeset" to refer to changesets consistently</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/04bb74c2c183dc65663f947852181f3d75df332b" class="commit-link">04bb74c</a>  Add create/modify/delete counts to changeset table</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/4fbf7508e0e3a051282fb648bb0676e3a375debe" class="commit-link">4fbf750</a>  Validate changeset num_*_changes</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/3f066c075598b5d1f61f618ca07d6db645f3aa63" class="commit-link">3f066c0</a>  Add type changes in sync predicate to changesets</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/cd783f5f0bb57c23ffc9e8d5ac2a1a856c1b24e4" class="commit-link">cd783f5</a>  Test that new changeset has type changes in sync</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/0dea8970cb0f95a48b1c834d23de3f569d1c8ef2" class="commit-link">0dea897</a>  Test that failed uploads keep type changes in sync</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/b745fb36451e12ed1cf86b15d2c40620fd91ba1d" class="commit-link">b745fb3</a>  Split create node tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/a97d5cb4d215555760b205feceaa34c42f50af6d" class="commit-link">a97d5cb</a>  Split create node with invalid xml tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/85d1b45b51aeb26eba4cb28938888ecad7b4d54b" class="commit-link">85d1b45</a>  Rename node decimal format test</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/9e3524c6b73fafd603aa7cd018ed694e2ec88787" class="commit-link">9e3524c</a>  Split destroy node tests</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/78be2884ca05d7fda98493d7856ed9ee45d35ecb" class="commit-link">78be288</a>  Remove incorrect node update test</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/commits/fe6cdddbda259825992e2063e02ab80172032ef6" class="commit-link">fe6cddd</a>  Split update node tests</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/files">7 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/files#diff-33e24e983f7ae5829e0e919c3843ccaaa05be35610607ec2fd486636d2c14e56">app/models/changeset.rb</a>
    (44)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/files#diff-bbccd18e8e756ade7d105bec62e0d1e3bec1e929de452a593ac2ac1b8954f49b">db/migrate/20250704143751_add_created_modified_deleted_counts_to_changesets.rb</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/files#diff-1dd5a8f580b9615769ddc19a64a98f455d9d20eb149c443f41d9d3c797d39b12">db/structure.sql</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/files#diff-f6fe2132aae5ac6c27fa66034cfc7a48d8a6d04e0084c4b147053396123e988c">test/controllers/api/changesets/uploads_controller_test.rb</a>
    (100)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/files#diff-e95198c7f7744be3ce9857db36d2374538ca7d64caaf0f6f85865d6752563ee9">test/controllers/api/changesets_controller_test.rb</a>
    (47)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/files#diff-8a9c95ea5b86d8f52f78210e2ff053062ca9a234754dff890fb8aae45343ff4c">test/controllers/api/nodes_controller_test.rb</a>
    (645)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6170/files#diff-2163547e010a93d2169abe3fa4cc015536a35e6c9964016b27f9e82b60d63c36">test/models/changeset_test.rb</a>
    (147)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6170.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6170.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6170.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6170.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/6170">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOFO4HZKLKX7T52V5D3G4YLBAVCNFSM6AAAAACA2NJJNOVHI2DSMVQWIX3LMV43ASLTON2WKOZTGIYDIMBXGA4TSMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMNXRA2RLVRHZA3BSD3G4YLBA5CNFSM6AAAAACA2NJJNOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHL56R6J4.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/6170</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/6170",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6170",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>