[openstreetmap/openstreetmap-website] Allow a configurable delay for diary entry feeds (#2239)

Andy Allan notifications at github.com
Wed May 29 15:03:35 UTC 2019


* This is to provide another tool to help spam fighting. It is, of course, not a panacea.
* The configuration value is set to zero hours in order to be 'least surprising' for anyone else deploying the code.
* You can change the setting without interfering with your test suite.

If this is merged, then it will be up to the sysadmins what value they want to set for osm.org. I would suggest 6 hours as a reasonable compromise between unnecessary delays and allowing enough time to allow admins (and/or moderators, see #2226) to take action. Of course, it's a setting that can be adjusted, and can be set back to 0 hours in the future.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Allow a configurable delay to keep diary entries from being published in feeds

-- File Changes --

    M app/controllers/diary_entries_controller.rb (5)
    M config/settings.yml (2)
    M config/settings/test.yml (2)
    M test/controllers/diary_entries_controller_test.rb (21)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2239
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190529/f8ad3f0b/attachment.html>


More information about the rails-dev mailing list