[NEW] Improved SlackBridge features
@RocketChat/core
This pull contains a bunch of improvements on SlackBridge package that listed below
Features
-
Add/Remove star message or file between RocketChat and Slack
-
Upload file from RocketChat to Slack or fallback to a msg link to file on RocketChat if user doesn't provide Slack's access_token
-
Added Slack setting for user to connect their Slack account to RocketChat in order to use Add/Remove star between RC and Slack or upload file from RC to Slack

-
Added more Slack settings for admin such as OAuth settings, Slack Event API

-
Improved convert between Slack msg text <-> RocketChat msg text
-
Improved display reply, quote from RocketChat to Slack using Slack's message attachment
Bug Fixed
- Fixed cannot download image from Slack (#5791) we use Meteor.runAsUser to fixed this issue from meteor-collection-hooks's README shown that you cannot get userId in hook if you're executing from API
Noted
In order to use those features above we using Slack RTM and Event API you need to create Slack App to get information below
- Client ID
- Client Secret
- Redirect URL
- API Token (bot)
- Verification Token for Event API
and required user to connect their Slack's account with that app (My Account > Slack > Add to Slack)
because to be able to upload file or get Added/Removed star events from Slack it's required user access_token and permissions to access their data
@nonth Can you fix the conflicts? @marceloschmidt or @graywolf336 can you review this PR?
@rodrigok Done :)
Hello, any progress on this?
We have used this patch for month without problem. Would love to have it merged (so we don't have to maintain separate fork of Rocket.chat).
This patch seems to be the missing ingredient to allow easier slack-rocket integration... is there a chance this is going to be merged soon ?
Related to https://github.com/RocketChat/Rocket.Chat/pull/8233