zulip/zerver
Sahil Batra 939a6edf0f settings: Rename helper function to check who can edit topics.
This commit renames "can_edit_topic_of_any_message" function
in models.py to "can_move_messages_to_another_topic" and
"user_can_edit_topic_of_any_message" function in settings_data.js
to "user_can_move_messages_to_another_topic".

This change is done since topic editing permission does not
depend on message sender now and messages are considered same
irrespective of whether the user who is editing the topic had sent
the message or not. This also makes the naming consistent with
what we use for the label of this setting in webapp and how we
describe this action in help documentation.
2022-12-13 23:11:50 -08:00
..
actions settings: Rename helper function to check who can edit topics. 2022-12-13 23:11:50 -08:00
data_import ci: Check that non-scripts aren’t marked executable. 2022-12-07 09:54:01 -08:00
integration_fixtures/nagios
lib markdown: Calculate linkifier precedence in topics. 2022-12-13 15:16:20 -08:00
management scrub_realm: Exit unsuccessfully when asked to scrub an active realm. 2022-12-05 11:07:48 -08:00
migrations migrations: Fix Python-looped SQL in 0376; don’t crash if no user found. 2022-11-28 20:23:30 -08:00
openapi message_edit: Topic editing permission should not depend on message sender. 2022-12-13 23:11:50 -08:00
tests message_edit: Topic editing permission should not depend on message sender. 2022-12-13 23:11:50 -08:00
tornado exceptions: Update error message for BAD_EVENT_QUEUE_ID. 2022-11-30 17:16:12 -08:00
views message_edit: Add "Nobody" option for move_messages_between_streams_policy. 2022-12-13 23:11:50 -08:00
webhooks webhooks: Update Zabbix integration documentation. 2022-12-08 12:08:07 -08:00
worker ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
__init__.py
apps.py sentry: Initialize sentry in AppConfig ready hook. 2022-09-26 12:42:36 -07:00
context_processors.py templates: Rename `OPEN_GRAPH` variables to `PAGE` or `PAGE_METADATA`. 2022-09-06 14:57:06 -07:00
decorator.py ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py scim: Check SCIM tokens using constant-time comparison. 2022-11-16 10:52:48 -05:00
models.py settings: Rename helper function to check who can edit topics. 2022-12-13 23:11:50 -08:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00