[openstreetmap-website] Store an optional redaction 'mode' with each redaction. (#50)
Andy Allan
reply+i-5497400-3828856f04c05edef077625490da91cc92c851a7-1419053 at reply.github.com
Mon Jul 9 13:23:27 BST 2012
The licence-change bot considers two types of redaction, visible and hidden, depending on the
exact reasons for the redaction, but there is scope for more redaction modes in future.
I think it's worth storing these modes for now, even though they aren't currently used by either the API or the web interface.
You can merge this Pull Request by running:
git pull https://github.com/gravitystorm/openstreetmap-website redaction-modes
Or you can view, comment on it, or merge it online at:
https://github.com/openstreetmap/openstreetmap-website/pull/50
-- Commit Summary --
* Store an optional redaction 'mode' with each redaction.
-- File Changes --
M app/controllers/old_controller.rb (4)
A db/migrate/20120709113205_add_redaction_modes.rb (13)
M db/structure.sql (11)
M lib/not_redactable.rb (2)
M lib/redactable.rb (3)
M test/functional/old_node_controller_test.rb (19)
M test/unit/redaction_test.rb (10)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/50.patch
https://github.com/openstreetmap/openstreetmap-website/pull/50.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/50
More information about the rails-dev
mailing list