[IMPROVE] Slack "corporate-export"-import (groups, direct messages and multi-user-messages)#13942
[IMPROVE] Slack "corporate-export"-import (groups, direct messages and multi-user-messages)#13942niklasdahlheimer wants to merge 24 commits intoRocketChat:developfrom
Conversation
is now processing groups.json which is the slack-export-file for slack-private-channels. Also done some preperations to process direct chats later on.
3f6884b to
a4bcb4d
Compare
|
I added support for direct message import.
@geekgonecrazy and @Hudell, any comments about this? |
|
I managed to import the data including direct chats and private channels from the slack-corporate-import-zip-file, backuped and restored the mongo-data and use it in the docker production environment of our company right now. However, some comments of the project maintainers would be appreciated because I still need to know:
|
|
Multi user messages can be skipped for now. We are going to implement a similar feature on Rocket.Chat soon, but until then it's ok to skip those conversations. |
|
Are we planning to get this in a version near? I know there are several people wanting these changes to begin using rocket.chat |
|
can someone please fix the conflicts? 🤗 |
|
I think, beside fixing the conflicts, additional testing is needed. I managed to use this version to import the corporate data into Rocket.Chat but had to delete a few files from the import-data-zip-file. If someone could provide test-data I could bring this feature to a more stable state, so it could be merged into a release. |
|
I have corporate exports and am waiting on this feature before migrating to rocket chat. I cannot share the data, but I can try to spin up a development environment to test this branch on my exports and report the results. On the subject of multi-party direct messages, I would be happy for them to be imported as |
|
So, any news on when this feature is going to be added to RocketChat? Thanks! |
|
#16279 - this major refactor might be related |
Closes #13905
An attempt to include abilities to import all of the data from slack-corporate-exports.
Slack corporate-exports are including private chats, direct messages and multi-user-direct-messages.
The structure of the corporate-export zip-file
groups.json and mpims.json looks just like the channels.json.
The structure of the dms.json
I added parsing of groups.json, which is the equivalent to private channels in Rocket-Chat.
Next steps
process mpims.json, which contains the multi-user-direct-messages.
multi-user-direct-messages are like private channels without a name. Because Rocket-Chat has no feature like this, it needs to be handled as private channels. But the channel name "user1-user2-user3-.." would look silly. Any suggestions on this?
direct messages should be parsed also. Two cases:
lib/server/methods/createPrivateGroup.jsandlib/server/methods/createChannel.js. Is there an equivalent for private chats?