Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Preserve threading for messages with files (slack) (#1781) | Alexander | 2022-03-30 | 1 | -4/+14 |
| | | | | | | | * Preserve threading for slack messages with files * Update bridge/slack/slack.go Co-authored-by: Wim <wim@42.be> | ||||
* | Add support for deleting files from slack to discord. Fixes #1705 (#1709) | Wim | 2022-02-05 | 1 | -18/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | We create a new event EventFileDelete which will be used to delete specific uploaded files using the Extra["file"] in the config.Message. We also add a new NativeID key to the FileInfo struct which will contain the native file ID of the sending bridge. When a new file is added to the config.Message.Extra["file"] map, now the bridge native file ID should be added here. When the receiving bridge receives such a message, it should keep an internal mapping of NativeID <> bridge fileid/message id. In the case of discord we map it to the resulted discord message ID after uploading it. Now when a bridge deletes a file, it should send a EventFileDelete and setting the ID to the native file ID of the bridge. When the receiving bridge will get this event it'll look into the NativeID <> bridge id mapping to find their internal ID and use it to delete the specific file on their side. For now this is implemented for slack to discord but this will be add to other bridges where useful. | ||||
* | Add space before file upload comment (slack) (#1554) | Brian V | 2021-07-27 | 1 | -1/+1 |
| | |||||
* | Add a MessageClipped option to set your own clipped message. Closes #1359 ↵ | Wim | 2021-05-27 | 1 | -1/+1 |
| | | | | (#1487) | ||||
* | Update vendor (#1461) | Wim | 2021-05-05 | 1 | -1/+1 |
| | | | | | * Update vendored libs * Fix slack api changes | ||||
* | Refactor "msg-parent-not-found" to config.ParentIDNotFound (#1347) | Qais Patankar | 2020-12-31 | 1 | -1/+1 |
| | |||||
* | Do not use webhooks when token is configured (slack) (fixes #1123) (#1134) | Wim | 2020-05-14 | 1 | -1/+1 |
| | |||||
* | Clip too long messages on 3000 length (slack). Fixes #1081 (#1102) | Wim | 2020-04-19 | 1 | -0/+2 |
| | |||||
* | Use blocks not attachments (slack) (#1048) | Qais Patankar | 2020-03-21 | 1 | -9/+13 |
| | | | | This removes the extra space below messages, as shown in https://user-images.githubusercontent.com/923242/77235190-a3359980-6bab-11ea-8b7b-697d730ae5c1.png | ||||
* | Fix #1039: messages sent to Slack being synced back (#1046) | Qais Patankar | 2020-03-21 | 1 | -1/+2 |
| | | | | | This is a regression from https://github.com/42wim/matterbridge/pull/581#issuecomment-562937576 Behaves the same as https://github.com/matterbridge/slack/commit/95190f11bfb6405b0394b75a29bd1c1bb91f553e | ||||
* | Use upstream slack-go/slack again (#1018) | Wim | 2020-03-01 | 1 | -1/+1 |
| | |||||
* | Suppress unhandled HelloEvent message (slack) (#913) | Qais Patankar | 2019-10-04 | 1 | -1/+2 |
| | |||||
* | Fix regression in autojoining with legacy tokens (slack). Fixes #651 (#848) | Wim | 2019-06-14 | 1 | -1/+15 |
| | |||||
* | Refactor channel and user management (slack) (#766) | Duco van Amstel | 2019-03-15 | 1 | -25/+13 |
| | |||||
* | 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 | 1 | -4/+4 |
| | |||||
* | Add extra debug option (slack) | Wim | 2019-02-22 | 1 | -1/+1 |
| | |||||
* | Hint at thread replies when messages are unthreaded (slack) (#684) | Wim | 2019-02-10 | 1 | -0/+6 |
| | |||||
* | Add initial support for getting ChannelMember info of all bridges (#678) | Wim | 2019-01-18 | 1 | -0/+8 |
| | | | | | | | | | | | | | | * 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 | 1 | -0/+2 |
| | |||||
* | Add wait option for populateUsers/Channels (slack) Fixes #579 (#653) | Wim | 2018-12-15 | 1 | -1/+1 |
| | | | | | 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. | ||||
* | 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 |
| | |||||
* | Sync channel topics between Slack bridges (#585) | Patrick Connolly | 2018-11-26 | 1 | -1/+50 |
| | | | 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 | 1 | -0/+1 |
|/ | |||||
* | Add protocol to msg.ID in cache (#596) | Wim | 2018-11-19 | 1 | -10/+4 |
| | |||||
* | 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 | 1 | -4/+4 |
| | |||||
* | Fix file caching issue (slack). #572 (#575) | Patrick Connolly | 2018-11-14 | 1 | -6/+2 |
| | |||||
* | Add new Slack connection and forked legacy Slack bridge (#582) | Duco van Amstel | 2018-11-13 | 1 | -45/+41 |
| | |||||
* | Restore file comments coming from Slack (#583) | Duco van Amstel | 2018-11-12 | 1 | -9/+16 |
| | |||||
* | Add more rate-limit handling (slack) (#581) | Duco van Amstel | 2018-11-10 | 1 | -30/+70 |
| | |||||
* | Make scopelint happy | Wim | 2018-11-08 | 1 | -0/+1 |
| | |||||
* | Make gocritic linter happier | Wim | 2018-11-08 | 1 | -3/+4 |
| | |||||
* | Add ability to show when user is typing across Slack bridges (#559) | Patrick Connolly | 2018-11-08 | 1 | -1/+10 |
| | |||||
* | Refactor and clean-up handlers. (slack) (#533) | Duco van Amstel | 2018-11-07 | 1 | -1/+38 |
| | |||||
* | Clean up various stuff (#508) | David Hill | 2018-11-07 | 1 | -6/+14 |
| | | | * 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 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | 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 | 1 | -39/+37 |
| | |||||
* | Clean up code and strengthening (slack) (#519) | Duco van Amstel | 2018-10-13 | 1 | -78/+136 |
| | | | | | | | | | | | | | 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 | 1 | -447/+0 |
| | | | | | 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 #489 | Wim | 2018-08-28 | 1 | -1/+1 |
| | |||||
* | Add caching to fix issue with slack API changes (slack). #481 | Wim | 2018-08-18 | 1 | -3/+36 |
| | |||||
* | Fix slack file/image downloads after api changes (slack) | Wim | 2018-08-10 | 1 | -15/+12 |
| |