]> git.openstreetmap.org Git - rails.git/commit
Allow a configurable delay to keep diary entries from being published in feeds
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 29 May 2019 14:56:15 +0000 (16:56 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 29 May 2019 14:56:15 +0000 (16:56 +0200)
commit6ed749e7ebad5eeff04ccf1a8f33c078b9f46031
tree0ceac904d99da5571e197b1a49660d02d06e7574
parent21bf5d79d680f7dc0447b1b5980ad5ce0a4b830c
Allow a configurable delay to keep diary entries from being published in feeds

This is to provide another tool to help spam fighting.

The configuration value is set to zero hours for new deploys in
order to be 'least surprising'. You can change the setting without
interfering with your test suite.
app/controllers/diary_entries_controller.rb
config/settings.yml
config/settings/test.yml
test/controllers/diary_entries_controller_test.rb