Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix race-condition in populateUser() (#767) | Duco van Amstel | 2019-03-20 | 1 | -12/+38 |
| | | | | Fix the root-cause of #759 by introducing synchronisation points for individual user fetches. | ||||
* | Fix regression for legacy slack by #766 (#768) | Wim | 2019-03-20 | 1 | -2/+6 |
| | |||||
* | Refactor channel and user management (slack) (#766) | Duco van Amstel | 2019-03-15 | 4 | -94/+138 |
| | |||||
* | Force Slack link unfurling (#763) | Duco van Amstel | 2019-03-12 | 1 | -1/+5 |
| | |||||
* | Split-out Slack user and channel management (#762) | Duco van Amstel | 2019-03-12 | 3 | -229/+239 |
| | |||||
* | Make all loggers derive from non-default instance (#728) | Wim | 2019-02-23 | 1 | -1/+1 |
| | |||||
* | Add extra debug option (slack) | Wim | 2019-02-22 | 1 | -1/+1 |
| | |||||
* | Add extra debug of SubMessage to empty messages error (slack). #709 | Wim | 2019-02-15 | 1 | -0/+3 |
| | |||||
* | Hint at thread replies when messages are unthreaded (slack) (#684) | Wim | 2019-02-10 | 2 | -0/+13 |
| | |||||
* | Optimize handling of very large slack teams. Fixes #695 | Wim | 2019-01-30 | 2 | -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) | Wim | 2019-01-18 | 3 | -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 Patankar | 2019-01-04 | 2 | -0/+7 |
| | |||||
* | Ignore LatencyReport event (slack) | Wim | 2019-01-02 | 1 | -0/+2 |
| | |||||
* | Try downloading files again if slack is too slow (slack). Closes #655 (#656) | Jerry Heiselman | 2018-12-19 | 1 | -2/+8 |
| | |||||
* | Add wait option for populateUsers/Channels (slack) Fixes #579 (#653) | Wim | 2018-12-15 | 3 | -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 Hill | 2018-12-15 | 2 | -0/+23 |
| | |||||
* | Fix bot (legacy token) messages not being send. Closes #571 | Wim | 2018-12-13 | 1 | -1/+1 |
| | |||||
* | Add bot debug info (slack) | Wim | 2018-12-12 | 1 | -0/+1 |
| | |||||
* | Enable errcheck linter (#646) | Duco van Amstel | 2018-12-08 | 1 | -10/+10 |
| | |||||
* | Make slack-legacy change less restrictive (#626) | Wim | 2018-12-02 | 1 | -8/+3 |
| | |||||
* | Update nlopes/slack to 4.1-dev (#595) | Patrick Connolly | 2018-12-01 | 1 | -14/+24 |
| | |||||
* | Create getChannelsByX functions to make codeclimate happy (slack) (#610) | Patrick Connolly | 2018-11-28 | 1 | -9/+7 |
| | |||||
* | Sync channel topics between Slack bridges (#585) | Patrick Connolly | 2018-11-26 | 4 | -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-590 | Wim | 2018-11-25 | 1 | -4/+13 |
|\ | |||||
| * | Make sure threaded files stay in thread (slack). Fixes #590 | Wim | 2018-11-25 | 1 | -4/+9 |
| | | |||||
| * | Do not post empty messages (slack). Fixes #574 | Wim | 2018-11-25 | 1 | -0/+4 |
| | | |||||
* | | Handle deleted/edited thread starting messages (slack). Fixes #600 (#605) | Wim | 2018-11-25 | 2 | -0/+8 |
|/ | |||||
* | Add protocol to msg.ID in cache (#596) | Wim | 2018-11-19 | 3 | -13/+8 |
| | |||||
* | Add links to slack bot and legacy config in error message (slack) | Wim | 2018-11-18 | 1 | -0/+3 |
| | |||||
* | Fix golint linter issues and enable it in CI (#593) | Duco van Amstel | 2018-11-15 | 3 | -14/+14 |
| | |||||
* | Fix regression in skip logic (slack). (#592) | Patrick Connolly | 2018-11-15 | 1 | -1/+6 |
| | |||||
* | Fix file caching issue (slack). #572 (#575) | Patrick Connolly | 2018-11-14 | 2 | -13/+24 |
| | |||||
* | Add new Slack connection and forked legacy Slack bridge (#582) | Duco van Amstel | 2018-11-13 | 2 | -45/+115 |
| | |||||
* | Restore file comments coming from Slack (#583) | Duco van Amstel | 2018-11-12 | 2 | -29/+25 |
| | |||||
* | Add more rate-limit handling (slack) (#581) | Duco van Amstel | 2018-11-10 | 2 | -55/+138 |
| | |||||
* | Make scopelint happy | Wim | 2018-11-08 | 2 | -0/+2 |
| | |||||
* | Make gocritic linter happier | Wim | 2018-11-08 | 2 | -6/+8 |
| | |||||
* | Act only on UserTypingEvents when enabled | Wim | 2018-11-08 | 1 | -0/+3 |
| | |||||
* | Add ability to show when user is typing across Slack bridges (#559) | Patrick Connolly | 2018-11-08 | 2 | -2/+39 |
| | |||||
* | Fix Slack edit usernames (#570) | Duco van Amstel | 2018-11-08 | 2 | -19/+29 |
| | |||||
* | Refactor and clean-up handlers. (slack) (#533) | Duco van Amstel | 2018-11-07 | 3 | -205/+241 |
| | |||||
* | Clean up various stuff (#508) | David Hill | 2018-11-07 | 3 | -36/+42 |
| | | | * various cleanups | ||||
* | Do not join Slack channel without API access (slack) (#563) | Duco van Amstel | 2018-11-07 | 1 | -0/+5 |
| | |||||
* | Preserve threading between Slack instances (#529) | Patrick Connolly | 2018-11-07 | 2 | -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 Amstel | 2018-11-01 | 1 | -0/+35 |
| | |||||
* | Fix bridge no longer POSTing username and avatar (slack) (#536) | Patrick Connolly | 2018-10-24 | 1 | -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 Amstel | 2018-10-22 | 1 | -87/+94 |
| | |||||
* | Clean up user and channel information management (slack) (#521) | Duco van Amstel | 2018-10-16 | 3 | -72/+99 |
| | |||||
* | Clean up code and strengthening (slack) (#519) | Duco van Amstel | 2018-10-13 | 3 | -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 Amstel | 2018-10-12 | 3 | -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. |