summaryrefslogtreecommitdiffstats
path: root/bridge/slack/helpers.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix #668 strip lang in code fences sent to Slack (#673)Qais Patankar2019-01-041-0/+5
|
* Add wait option for populateUsers/Channels (slack) Fixes #579 (#653)Wim2018-12-151-4/+10
| | | | | When setting wait to true, we wait until the populating isn't in progress anymore. This is used on startup connections where we really need the initial information which could take a long time on big servers.
* Populate user on channel join (slack) (#644)David Hill2018-12-151-0/+20
|
* Fix bot (legacy token) messages not being send. Closes #571Wim2018-12-131-1/+1
|
* Add bot debug info (slack)Wim2018-12-121-0/+1
|
* Create getChannelsByX functions to make codeclimate happy (slack) (#610)Patrick Connolly2018-11-281-9/+7
|
* Sync channel topics between Slack bridges (#585)Patrick Connolly2018-11-261-4/+20
| | | Added logic to allow for configurable synchronisation of topics and purposes of channels between Slack bridges.
* Add protocol to msg.ID in cache (#596)Wim2018-11-191-2/+3
|
* Add more rate-limit handling (slack) (#581)Duco van Amstel2018-11-101-25/+68
|
* Make gocritic linter happierWim2018-11-081-3/+4
|
* Fix Slack edit usernames (#570)Duco van Amstel2018-11-081-9/+29
|
* Refactor and clean-up handlers. (slack) (#533)Duco van Amstel2018-11-071-11/+75
|
* Clean up various stuff (#508)David Hill2018-11-071-24/+23
| | | * various cleanups
* Prevent Slack API rate-limit overflow (#539)Duco van Amstel2018-11-011-0/+35
|
* Fix bridge no longer POSTing username and avatar (slack) (#536)Patrick Connolly2018-10-241-2/+4
| | | | | | | | | | | | * Fixed pointer/reference issue in populateUsers. [#536] * Accepted codestyle suggestion. * Update bridge/slack/helpers.go Co-Authored-By: patcon <patrick.c.connolly@gmail.com> * Update helpers.go
* Clean up user and channel information management (slack) (#521)Duco van Amstel2018-10-161-13/+58
|
* Clean up code and strengthening (slack) (#519)Duco van Amstel2018-10-131-38/+35
| | | | | | | | | | | | | Changes include: - Refactor of strings into package-wide constants. - Predeclaration of regexps to be instantiated at package load time. - Checking of unchecked errors. - Structural changes: - Adding verifications to type-casting code. - Remove unnecessary 'len(X) > 0' checks before iterating over X. - Remove unnecessary 'else' clause after 'if' with 'return'. - Unexporting of public fields of Bridge struct. - Formatting: - One-field-per-line struct definitions.
* Refactor slack bridge prelude (#517)Duco van Amstel2018-10-121-0/+116
Distributing the source of the Slack bridge across multiple files to increase readability and as a prelude to various refactors and clean-ups.