summaryrefslogtreecommitdiffstats
path: root/bridge/slack
Commit message (Collapse)AuthorAgeFilesLines
* Split-out Slack user and channel management (#762)Duco van Amstel2019-03-123-229/+239
|
* Make all loggers derive from non-default instance (#728)Wim2019-02-231-1/+1
|
* Add extra debug option (slack)Wim2019-02-221-1/+1
|
* Add extra debug of SubMessage to empty messages error (slack). #709Wim2019-02-151-0/+3
|
* Hint at thread replies when messages are unthreaded (slack) (#684)Wim2019-02-102-0/+13
|
* Optimize handling of very large slack teams. Fixes #695Wim2019-01-302-11/+27
| | | | | | | | | | Stop getting users if we reach 2000 users. Slack will rate-limit us even if we follow their limits. This means that we now have to lookup every user that says a message for the first time. This should be less intensive on the API. This also disables partly fb713ed91bfb48c0037e489f80be85c54e69953a for now. ChannelMembers will not be filled.
* Add initial support for getting ChannelMember info of all bridges (#678)Wim2019-01-183-0/+106
| | | | | | | | | | | | | | * Add initial support for getting ChannelMember info of all bridges. Adds an EventGetChannelMembers event, which gets send every x time to all bridges. Bridges should respond on this event with a Message containing ChannelMembers in the EventGetChannelMembers key in the Extra field. handleEventGetChannelMembers will handle this Message and sets the contained ChannelMembers to the Bridge struct. * Add ChannelMembers support to the slack bridge
* Fix #668 strip lang in code fences sent to Slack (#673)Qais Patankar2019-01-042-0/+7
|
* Ignore LatencyReport event (slack)Wim2019-01-021-0/+2
|
* Try downloading files again if slack is too slow (slack). Closes #655 (#656)Jerry Heiselman2018-12-191-2/+8
|
* Add wait option for populateUsers/Channels (slack) Fixes #579 (#653)Wim2018-12-153-10/+16
| | | | | 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-152-0/+23
|
* Fix bot (legacy token) messages not being send. Closes #571Wim2018-12-131-1/+1
|
* Add bot debug info (slack)Wim2018-12-121-0/+1
|
* Enable errcheck linter (#646)Duco van Amstel2018-12-081-10/+10
|
* Make slack-legacy change less restrictive (#626)Wim2018-12-021-8/+3
|
* Update nlopes/slack to 4.1-dev (#595)Patrick Connolly2018-12-011-14/+24
|
* 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-264-6/+112
| | | Added logic to allow for configurable synchronisation of topics and purposes of channels between Slack bridges.
* Merge pull request #606 from 42wim/fix-590Wim2018-11-251-4/+13
|\
| * Make sure threaded files stay in thread (slack). Fixes #590Wim2018-11-251-4/+9
| |
| * Do not post empty messages (slack). Fixes #574Wim2018-11-251-0/+4
| |
* | Handle deleted/edited thread starting messages (slack). Fixes #600 (#605)Wim2018-11-252-0/+8
|/
* Add protocol to msg.ID in cache (#596)Wim2018-11-193-13/+8
|
* Add links to slack bot and legacy config in error message (slack)Wim2018-11-181-0/+3
|
* Fix golint linter issues and enable it in CI (#593)Duco van Amstel2018-11-153-14/+14
|
* Fix regression in skip logic (slack). (#592)Patrick Connolly2018-11-151-1/+6
|
* Fix file caching issue (slack). #572 (#575)Patrick Connolly2018-11-142-13/+24
|
* Add new Slack connection and forked legacy Slack bridge (#582)Duco van Amstel2018-11-132-45/+115
|
* Restore file comments coming from Slack (#583)Duco van Amstel2018-11-122-29/+25
|
* Add more rate-limit handling (slack) (#581)Duco van Amstel2018-11-102-55/+138
|
* Make scopelint happyWim2018-11-082-0/+2
|
* Make gocritic linter happierWim2018-11-082-6/+8
|
* Act only on UserTypingEvents when enabledWim2018-11-081-0/+3
|
* Add ability to show when user is typing across Slack bridges (#559)Patrick Connolly2018-11-082-2/+39
|
* Fix Slack edit usernames (#570)Duco van Amstel2018-11-082-19/+29
|
* Refactor and clean-up handlers. (slack) (#533)Duco van Amstel2018-11-073-205/+241
|
* Clean up various stuff (#508)David Hill2018-11-073-36/+42
| | | * various cleanups
* Do not join Slack channel without API access (slack) (#563)Duco van Amstel2018-11-071-0/+5
|
* Preserve threading between Slack instances (#529)Patrick Connolly2018-11-072-0/+6
| | | | | | | | | | | | | | | | | | | | | | * Opportunistically preserve Slack threading when parent thread in cache. [#529] * Removed slack-specific processing from gateway. * Added docs. * Add option to enable threading, with default to off. * Did cleanup on @42wim's comments. * Update gateway/gateway.go Co-Authored-By: patcon <patrick.c.connolly@gmail.com> * Suggestion from @42wim :) * Suggestions from @42wim. * More suggestions.
* 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 message send logic (slack). (#531)Duco van Amstel2018-10-221-87/+94
|
* Clean up user and channel information management (slack) (#521)Duco van Amstel2018-10-163-72/+99
|
* Clean up code and strengthening (slack) (#519)Duco van Amstel2018-10-133-172/+243
| | | | | | | | | | | | | 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-123-447/+453
| | | | | Distributing the source of the Slack bridge across multiple files to increase readability and as a prelude to various refactors and clean-ups.
* Get up to 1000 channels and private/mp/im channels (slack). Related to #489Wim2018-08-281-1/+1
|
* Add caching to fix issue with slack API changes (slack). #481Wim2018-08-181-3/+36
|
* Fix slack file/image downloads after api changes (slack)Wim2018-08-101-15/+12
|
* Use UserID to look for avatar instead of username (slack). Closes #472Wim2018-08-061-3/+3
|