zulip/zerver
sahil839 213eda1f32 message: Check stream_post_policy when moving messages between streams.
Previously only admins were allowed to move messages between streams
and admins are allowed to post in any stream irresepctive of stream
post policy, so there was no need to check for stream post policy.

But as we now allow other members to also move messages, we need
to check whether the user who is moving the message is allowed
to post to the target stream (i.e. stream to which the messages
are being moved) and thus we allow moving messages only if the
user is allowed to post in target stream.
2021-05-13 08:42:24 -07:00
..
data_import docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib message: Check stream_post_policy when moving messages between streams. 2021-05-13 08:42:24 -07:00
management management: Rename the deliver_email command to deliver_scheduled_email. 2021-05-11 13:07:29 -07:00
migrations models: Fix incorrect on_delete=CASCADE values for deleted streams. 2021-05-06 20:41:49 -07:00
openapi mute user: Add user documentation page. 2021-05-10 17:10:40 -07:00
templatetags dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
tests message: Check stream_post_policy when moving messages between streams. 2021-05-13 08:42:24 -07:00
tornado middleware: Add client_version attribute to request. 2021-04-29 17:03:40 -07:00
views navbar: Add gear menu advertisement for sponsoring zulip. 2021-05-12 10:21:48 -07:00
webhooks doc: Fix configurations for images in the doc of newrelic. 2021-05-10 17:50:32 -07:00
worker backend: Extract check_update_message from update_message_backend. 2021-05-09 20:44:04 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py UI: Add Zulip version in gear menu. 2021-04-30 17:58:08 -07:00
decorator.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py auth: Improve display of errors when user needs to reset password. 2021-05-07 09:10:45 -07:00
logging_handlers.py docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
middleware.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
models.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00