FEATURE: remove user option for edit history public

Users can no longer opt-in for "public" edit history
if site owner disables it.

This feature adds cost and complexity to post rendering since
user options need to be premeptively loaded for every user in the
stream. It is also confusing to explain to communities with private edit
history.
This commit is contained in:
Sam Saffron
2016-07-16 21:30:00 +10:00
parent 9893953f62
commit 46b34e3c62
58 changed files with 12 additions and 82 deletions

View File

@ -1223,7 +1223,6 @@ describe User do
SiteSetting.default_other_enable_quoting = false
SiteSetting.default_other_dynamic_favicon = true
SiteSetting.default_other_disable_jump_reply = true
SiteSetting.default_other_edit_history_public = true
SiteSetting.default_topics_automatic_unpin = false
@ -1243,7 +1242,6 @@ describe User do
expect(options.enable_quoting).to eq(false)
expect(options.dynamic_favicon).to eq(true)
expect(options.disable_jump_reply).to eq(true)
expect(options.edit_history_public).to eq(true)
expect(options.automatically_unpin_topics).to eq(false)
expect(options.email_direct).to eq(false)
expect(options.new_topic_duration_minutes).to eq(-1)