zulip/zerver/data_import
Priyansh Garg 4815f6e28b data_import: Make slack bot emails unique.
Slack bot emails generated by us can be duplicate for two bots.
If such a case occur, append a counter to the email to make it
unique.

For maintaining the counter of duplicate emails and the final
email assigned to each bot, a class based approach is used with
static variables and static (class) methods. This keeps all the
data related to slack bot emails at the same place and easily
accessible from anywhere inside the module (without defining any
class object and passing it around).

Fixes: #16793
2021-08-03 16:18:14 -07:00
..
__init__.py import: Add slack import files in zerver/data_import directory. 2018-08-01 11:52:14 -07:00
gitter.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
import_util.py data_import: Add rocket chat import tool. 2021-07-28 15:28:56 -07:00
mattermost.py python: Remove default "utf8" argument for encode(), decode(). 2021-08-02 15:53:52 -07:00
rocketchat.py data_import: Add huddle import support for Rocket.Chat. 2021-07-28 15:45:54 -07:00
sequencer.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
slack_message_conversion.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
slack.py data_import: Make slack bot emails unique. 2021-08-03 16:18:14 -07:00
user_handler.py data_import: Rename mattermost_user to user_handler. 2021-07-15 14:28:36 -07:00