messages: Add support for quickly deleting all messages in a topic.

This is primarily a feature for onboarding, where an organization
administrator might send a bunch of random test messages as part of
joining, but then want a pristine organization when their users later
join.

But it can theoretically be used for other use cases (e.g. for
moderation or removing threads that are problematic in some way).

Tweaked by tabbott to handle corner cases with
is_history_public_to_subscribers.

Fixes #10912.
This commit is contained in:
kunal-mohta
2019-01-18 22:10:54 +05:30
committed by Tim Abbott
parent 65489b0391
commit ac55a5222c
9 changed files with 164 additions and 3 deletions

View File

@@ -167,5 +167,6 @@
{% include "zerver/app/deprecation_notice.html" %}
<div id="user-profile-modal-holder"></div>
<div class='notifications top-right'></div>
<div id="delete-topic-modal-holder"></div>
</div>
{% endblock %}