This PR adds a missing feature in osm-website as compared to cgimap.

There's a `show_redactions` parameter which lets moderators see redacted 
element versions. In osm-website it works with element versions and histories. 
In cgimap it also works with changeset downloads. Without this parameter 
it's impossible to know which elements were changed in a given changeset. 
If you do a redaction and don't record all elements+versions somewhere, you 
won't be able to check whether everything was redacted correctly. 
You'll know that something in a changeset was redacted because the changes 
count won't match the number of elements in the download. But since the 
elements are missing, you won't be able to check their next versions, and 
you often need to redact the versions after the target changeset too.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5724

-- Commit Summary --

  * Add show_redactions param to changeset downloads

-- File Changes --

    M app/controllers/api/changesets/downloads_controller.rb (20)
    M test/controllers/api/changesets/downloads_controller_test.rb (56)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5724.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5724.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5724
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to