zulip/templates/zerver/api
Julia Bichler 4bb381fc80 message_edit: Support sending notifications with topic changes.
Previously we did not send notification for topic-only edits.
Now, we add backend support for sending notification to topic-only
edits as well.

We would add support for this in webapp in further commits since
message edit UI will be updated as well. We just make sure that no
notifications are sent when editing topic using pencil icon in
message header.

We also change the API default for moving a topic to only notify the
new location, not the old one; this matches the current defaults in
the web UI.

Includes many tests.

We also update the puppeteer tests to test only content edit as
we are going to change the UI to not allow topic editing from
message edit UI. Also fixing the existing tests to pass while
doing topic edits is somewhat complex as notification message
is also sent to new topic by default.

Fixes #21712.

Co-authored-by: Aman Agrawal <amanagr@zulip.com>
Co-authored-by: Tim Abbott <tabbott@zulip.com>
2022-10-11 11:35:41 -07:00
..
api-doc-template.md openapi: Fuse generate_api_title with generate_api_description. 2022-07-22 16:41:55 -07:00
api-keys.md help: Update help pages according to profile page redesign. 2021-06-30 16:56:03 -07:00
changelog.md message_edit: Support sending notifications with topic changes. 2022-10-11 11:35:41 -07:00
client-libraries.md external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
configuring-python-bindings.md docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
construct-narrow.md docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
create-stream.md api docs: Correct errors in the stream creation documentation. 2020-06-25 14:34:10 -07:00
deploying-bots.md docs: Update links for other repository branch renames. 2021-08-31 15:28:01 -07:00
incoming-webhooks-overview.md docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
incoming-webhooks-walkthrough.md docs: Update WIP PR convention to GitHub draft PRs. 2022-06-28 13:16:38 -07:00
index.md openapi: Make api-docs filename match with operationIds. 2020-06-18 22:38:05 -07:00
installation-instructions.md
integrations-overview.md Rename default branch to ‘main’. 2021-09-06 12:56:35 -07:00
mark-all-as-read.md openapi: Move endpoint URL to generator. 2022-07-22 16:41:55 -07:00
missing.md
non-webhook-integrations.md docs: Update links for other repository branch renames. 2021-08-31 15:28:01 -07:00
outgoing-webhooks.md outgoing webhooks: Fix inconsistencies with Slack's API. 2021-09-23 11:19:20 -07:00
real-time-events.md docs: Allow passing additional params to `call_on_each_event`. 2021-04-06 08:40:32 -07:00
rest-error-handling.md api_documentation: Update rate limit error description. 2022-01-26 12:51:02 -08:00
rest.md help: Add newline after admonition header for Prettier compatibility. 2021-09-10 10:39:25 -07:00
roles-and-permissions.md api_docs: Add roles and permissions page to API documentation. 2022-04-04 17:09:05 -07:00
running-bots.md external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
send-message.md tests: Consistently JSON-encode ‘to’ parameter 2022-09-13 11:05:37 -07:00
sidebar_index.md api_docs: Add roles and permissions page to API documentation. 2022-04-04 17:09:05 -07:00
writing-bots.md bot docs: Migrate script name from zulip-terminal to zulip-bot-shell. 2021-11-19 11:49:06 -08:00