zulip/zerver/data_import
PieterCK a228699108 slack_incoming: Use Slack text reformatters from data import.
This commit updates the Slack incoming webhook endpoint to use the same
Slack reformatting functions (`convert_to_zulip_markdown` and
`replace_links`) that are used for Slack data import and cleaning up any
duplicative functions.

This was previously not possible because the Slack reformatting regex in
`slack_message_conversion.py` could not handle these cases:

- Formatting applied to non-ASCII characters (e.g., emoji).

- Formatted strings separated by exactly one character.

- Formatted strings appearing immediately after a new line.

Fixes part of #31162.
2025-04-28 20:49:10 -07:00
..
__init__.py
import_util.py import_data: Make sure converted DMs don't have topic name. 2025-03-25 16:38:21 -07:00
mattermost.py import_data: Make sure converted DMs don't have topic name. 2025-03-25 16:38:21 -07:00
rocketchat.py import_data: Make sure converted DMs don't have topic name. 2025-03-25 16:38:21 -07:00
sequencer.py data_import: Fix IdMapper typing. 2024-07-17 15:56:00 -07:00
slack_message_conversion.py slack_incoming: Use Slack text reformatters from data import. 2025-04-28 20:49:10 -07:00
slack.py slack_import: Fix thread conversion condition. 2025-03-25 16:38:21 -07:00
user_handler.py data_import: Add email validation to third-party data converters. 2024-10-15 16:04:43 -07:00