zulip/zerver/data_import
Cyril Cohen 5598f8f6b0 gitter: Support importing data from multiple Gitter rooms.
**Features:**
Improving `./manage.py convert_gitter_data`
- If messages have been post-processed to add a 'room' field, we
  create as many streams as existing rooms.
- Messages with a 'room' field go to the corresponding stream.
- This modification is backward compatible. I.e.
  + messages that have no 'room' field go to the default stream/topic
  + messages that do, go to a specific stream

**Implementation:**
- adding a map `stream_map` to map room names to stream ids
- create as many streams as room field messages + 1 default streamFeatures:
- If messages have been post-processed to add a 'room' field to messages,
  we create as many streams as existing rooms.
- Up to renaming of the default stream/topic, this modification is
  backwards compatible.
  I.e. messages that have no 'room' field go to the default stream/topic
       messages that do, go to a specific stream

Implementation:
- adding a map stream_map to map room names to stream ids
- create as many streams as room field messages + 1 default stream

Takes advantage of https://github.com/minrk/archive-gitter/pull/5.
2020-05-02 10:30:18 -07:00
..
__init__.py
gitter.py gitter: Support importing data from multiple Gitter rooms. 2020-05-02 10:30:18 -07:00
hipchat.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
hipchat_attachment.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
hipchat_user.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
import_util.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
mattermost.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
mattermost_user.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
sequencer.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
slack.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
slack_message_conversion.py slack: Rename added_users to slack_user_id_to_zulip_user_id. 2019-08-26 14:10:19 -07:00