Commit Graph

112 Commits (16d5aeac7c2de010d30cddc90c5755ac5b989b2b)

Author SHA1 Message Date
Duco van Amstel e19ba5a06a Add new Slack connection and forked legacy Slack bridge (#582) 6 years ago
Duco van Amstel e9419f10d3 Restore file comments coming from Slack (#583) 6 years ago
Duco van Amstel 2f042ad915 Add more rate-limit handling (slack) (#581) 6 years ago
Wim 78401214b0 Make scopelint happy 6 years ago
Wim 1e0bb3da95 Make gocritic linter happier 6 years ago
Patrick Connolly 3d281b3316 Add ability to show when user is typing across Slack bridges (#559) 6 years ago
Duco van Amstel d2a1dc792f Refactor and clean-up handlers. (slack) (#533) 6 years ago
David Hill 0e2522279e Clean up various stuff (#508)
* various cleanups
6 years ago
Duco van Amstel a1bf37e457 Do not join Slack channel without API access (slack) (#563) 6 years ago
Patrick Connolly a20b7895a9 Preserve threading between Slack instances (#529)
* 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.
6 years ago
Duco van Amstel 6911458d15 Clean up message send logic (slack). (#531) 6 years ago
Duco van Amstel 6238effdc2 Clean up user and channel information management (slack) (#521) 6 years ago
Duco van Amstel 498377a230 Clean up code and strengthening (slack) (#519)
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.
6 years ago
Duco van Amstel e15b0e04b8 Refactor slack bridge prelude (#517)
Distributing the source of the Slack bridge across multiple files to
increase readability and as a prelude to various refactors and
clean-ups.
6 years ago
Wim 52dbd702ad Get up to 1000 channels and private/mp/im channels (slack). Related to #489 6 years ago
Wim b51fdbce9f Add caching to fix issue with slack API changes (slack). #481 6 years ago
Wim 7690be1647 Fix slack file/image downloads after api changes (slack) 6 years ago
Wim d71850cef6 Use UserID to look for avatar instead of username (slack). Closes #472 6 years ago
Wim 618953c865 Remove ununsed function (slack) 6 years ago
Wim e04dd78624 Add support for slack channels by ID. Closes #436 6 years ago
Maxim 594492fbdd Add Title from attachment slack message (#446) 6 years ago
Patrick Connolly 045cb2058c Fix regexp in replaceMention (slack). (#435) 6 years ago
Wim 07885f5810 Fix iconurl regression (mattermost,slack,rocketchat). Closes #430 6 years ago
Wim 696c518550 Add error message about webhook (slack) 6 years ago
Wim 411ef2691c Use uuid instead of userid. Fixes #429 6 years ago
OyyoDams f6eefa4ecc Fix issue #432 - Avatar spoofing from Slack to Discord with uppercase in nick doesn't work (#433) 6 years ago
Jerry Heiselman 76af9cba5a Properly set Slack user who initiated slash command (#394)
* Properly set Slack user who initiated slash command
6 years ago
Wim 99ce68e9ba Use username if bot name is Slack API Tester (slack) 6 years ago
Wim 68fbed9281 Make our callbackid more unique. Fixes issue with running multiple matterbridge on the same channel (slack,mattermost) 6 years ago
Jerry Heiselman 76360f89c1 Strip markdown URLs with blank text (slack) (#392) 6 years ago
Wim 8c0b04b995 Ignore restricted_acton on channel join (slack). Closes #387 6 years ago
Wim e5989adf92 Add support for NoSendJoinPart. Closes #382 6 years ago
Wim ab94b5ca7a Update regex for usergroup matching. Closes #379 6 years ago
Wim 8d2ce56c37 Fix regression (slack). Closes #384 6 years ago
Wim f2f1d874e1 Use viper (github.com/spf13/viper) for configuration 6 years ago
Wim 79c4ad5015 Remove unused function 6 years ago
Wim e24f1c7c87 Use replaceVariable for usergroups (slack) #379 6 years ago
Wim 0bc9c70c66 Add usergroup support (slack). Closes #379 6 years ago
Wim 594d2155e3 Improve debug messages 6 years ago
Wim 2bac867382 Refactor using factory 6 years ago
Wim 1578ebb0e2 Refactor slack 6 years ago
Wim 78238c85d4 Add share support between slack instances. Closes #369 6 years ago
Wim f82a9cc7ac Fix Update userlist on join (slack). Closes #372 6 years ago
Wim cce7624ab8 Update userlist on join (slack). Closes #372 6 years ago
Wim d1227b5fc9 Use prefixed-formatter for better logging 6 years ago
Wim 6ea368c383 Move Sirupsen => sirupsen 6 years ago
Wim 0bcd1e62f3 Add channel_purpose to ShowTopicChange. Ignore (un)pinned_item (slack). #353 6 years ago
Wim 80822b7fff Send chat notification if media is too big to be re-uploaded to MediaServer. See #359 6 years ago
Wim 78f1011f52 Add support for file comments (slack). Closes #346 6 years ago
Wim 67f6257617 Add ShowTopicChange option. Allow/disable topic change messages (currently only from slack). Closes #353 6 years ago