<p dir="auto">See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="284869556" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/1711" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/1711/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/1711">#1711</a></p>
<ul dir="auto">
<li>Check relation member limit when saving relations</li>
<li>settings.yml: new parameter <code>max_number_of_relation_members: 32000</code></li>
<li><code>/api/0.6/capabilities</code> now includes a new element <code>relationmembers</code></li>
<li>New error message "You tried to add #{provided} members to relation #{id}, however only #{max} are allowed" is already being used by CGImap</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/3440'>https://github.com/openstreetmap/openstreetmap-website/pull/3440</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3440/commits/e6f8fcfbedde2dc9771c8eef1d6a54ff0109c085" class="commit-link">e6f8fcf</a>  Introduce relation member limit</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3440/files">7 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3440/files#diff-bd34d574a6519bf199e087e2c1cb091c789c2a9e76b22ab8b454ddfc43e1fdd0">app/models/relation.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3440/files#diff-5346abcc9a6688e08e413aa0cb0a0ae68549121499776c77027b985a4151c5df">app/views/api/capabilities/show.builder</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3440/files#diff-8d22082941b3ca9f588bb2b795ae8f86f233c0175d799a8703dad41458087832">config/initializers/config.rb</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3440/files#diff-e769bbb8c1ba3711c5403b424ed9c218ffafba7f1890ee394717196f28ff4540">config/settings.yml</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3440/files#diff-f8a27e50423ab8e432a0ac66073c425c0c4eb520ecd92bf152b21e6e966b4754">lib/osm.rb</a>
    (18)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3440/files#diff-6bba4618419284e74945f52232db102b27450b8bf3a6289671a5dbb1eb20d8b5">test/controllers/api/capabilities_controller_test.rb</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3440/files#diff-f4f4607eb834bc83b509a1de9b73cedd7a01c205ce922f034c37841beab1007b">test/models/relation_test.rb</a>
    (20)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3440.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3440.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3440.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3440.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/3440">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIWILAIZ5REYY3TLADUYTUQBANCNFSM5ND5R3TQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIG7OKEETDPBRTSLJDUYTUQBA5CNFSM5ND5R3T2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4QVKE6DQ.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/3440</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/3440",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3440",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>