Skip to content

[NEW] Setting to enable/disable slack bridge reactions#10217

Merged
sampaiodiego merged 35 commits intoRocketChat:developfrom
Hudell:slackbridge-reactions
Aug 20, 2018
Merged

[NEW] Setting to enable/disable slack bridge reactions#10217
sampaiodiego merged 35 commits intoRocketChat:developfrom
Hudell:slackbridge-reactions

Conversation

@Hudell
Copy link
Copy Markdown
Contributor

@Hudell Hudell commented Mar 26, 2018

@RocketChat/core

Closes an item on #8012 , merging PR #6285
Also closes #6044.

Original description:

Added a setting to enable/disable reactions between slack and rocket

@Hudell Hudell added this to the 0.63.0 milestone Mar 26, 2018
@rodrigok rodrigok modified the milestones: 0.64.0, 0.66.0 May 22, 2018
@rodrigok
Copy link
Copy Markdown
Member

@Hudell can you fix the conflict?

@Hudell Hudell self-assigned this Jun 5, 2018
@Hudell Hudell requested a review from sampaiodiego June 19, 2018 21:58
this.slack.setRocket(this.rocket);

//Settings that we cache versus looking up at runtime
this.apiToken = {};
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you defining the default values as objects?

api.addFiles('server/RocketAdapter.js', 'server');
api.addFiles('server/SlackAdapter.js', 'server');

api.addFiles('server/slackbridge_import.server.js', 'server');
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you including this file?

@Hudell Hudell removed this from the 0.66.0 milestone Jul 10, 2018
@Hudell Hudell added this to the 0.69.0 milestone Aug 20, 2018
this.apiToken = false;
this.aliasFormat = {};
this.excludeBotnames = {};
this.isReactionsEnabled = {};
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why these 3 items are object by default?

i18nDescription: 'Exclude_Botnames_Description',
});

this.add('SlackBridge_Reactions_Enabled', false, {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change the behavior to be disabled by default?

@sampaiodiego sampaiodiego merged commit b19323e into RocketChat:develop Aug 20, 2018
@sampaiodiego sampaiodiego mentioned this pull request Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slackbridge reactions - disable 2 way sync. Fet Req

4 participants