Commit Graph

30 Commits (master)

Author SHA1 Message Date
Wim fa147c076f
Fix linting 1 week ago
guangwu 733f4c71b8
Close res body (rocketchat) (#2135) 1 week ago
Tadeo Kondrak c147ba1da1
Handle Rocket.Chat attachments (#1395) 3 years ago
ldruschk 8e6ddadba2
Relay Joins/Topic changes in RocketChat bridge (#1085)
This pull request properly sets the events EventJoinLeave and EventTopicChange for messages from the RocketChat bridge and drops messages which are neither one of those events nor plain messages.
4 years ago
Michal Suchánek 9b320cd43f Add token support (RocketChat) (#892)
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
5 years ago
Wim 5677c912a8
Add useraction support (rocketchat). Closes #772 (#794) 5 years ago
Wim 16763b715a
Look up #channel too (rocketchat). Fix #773 (#775) 5 years ago
Wim 77516c97db
Allow the # in rocketchat channels (backward compatible) (#769) 5 years ago
Wim 53aa076555
Do not send duplicate messages (rocketchat). Fixes #745 (#752)
For an unknown reason we get duplicate messages (from the same channel)
using the realtime API when we have > 1 channel subscribed on.
Solution for now is caching the message ID in a LRU cache and ignoring
the duplicates.

This should be reviewed when we have actual editing support from the
realtime API
5 years ago
Wim 6ebd5cbbd8 Refactor and update RocketChat bridge
* Add support for editing/deleting messages
* Add support for uploading files
* Add support for avatars
* Use the Rocket.Chat.Go.SDK
* Use the rest and streaming api
5 years ago
Duco van Amstel ce21ba1545 Fix golint linter issues and enable it in CI (#593) 6 years ago
Wim 78401214b0 Make scopelint happy 6 years ago
Wim 8d117cb0a4 Make structcheck linter happy 6 years ago
Wim 07885f5810 Fix iconurl regression (mattermost,slack,rocketchat). Closes #430 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 594d2155e3 Improve debug messages 6 years ago
Wim 2bac867382 Refactor using factory 6 years ago
Wim d1227b5fc9 Use prefixed-formatter for better logging 6 years ago
Wim 6ea368c383 Move Sirupsen => sirupsen 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 265457b451 Refactor and add MediaDownloadSize to General 7 years ago
Wim ed01820722 Add support for deleting messages across bridges.
Currently fully support mattermost,slack and discord.
Message deleted on the bridge or received from other bridges will be
deleted.

Partially support for Gitter.
Gitter bridge will delete messages received from other bridges.
But if you delete a message on gitter, this deletion will not be sent to
other bridges (this is a gitter API limitation, it doesn't propogate edits
or deletes via the API)
7 years ago
Wim 5a8d7b5f6d Modify Send() to return also a message id 7 years ago
Wim 28710d0bc7 Allow a webhookurl per channel (discord). #239 7 years ago
Wim 6dee988b76 Fix megacheck / go vet issues 7 years ago
Wim 830361e48b Deprecate URL,useAPI,BindAddress (slack,mattermost,rocketchat) 7 years ago
Wim 2ddc4f7ae9 Add UserID to each message. Closes #200 7 years ago
Wim 163f55f9c2 Refactor to handle disconnects/reconnects better.
Now try to reconnect every 60 seconds until forever.
7 years ago
Wim fee159541f Add initial Rocket.Chat support 8 years ago