Commit Graph

41 Commits (d379118772aa68d0b35bb5a98b5600dc81a89197)

Author SHA1 Message Date
Bruno Bierbaumer 6628a47f23 Add channel password support for XMPP (#451) 6 years ago
Liam Stanley 51327a4056 Reconnect on quit. (irc) See #431 (#445)
* potential fixes for #431
* go: fix formatting/gofmt/goreturns
6 years ago
ValdikSS 91db63294c Add message correction support for XMPP (#437)
It works worse than it could be, since message correction in XMPP
works differently compared to other messengers. XMPP replaces old
message with old ID with new message with new ID. Matterbridge
remembers only old ID, that's why you can edit a message from
XMPP to the gateway only once.

Edited messages from other networks to XMPP are handled correctly
though.
6 years ago
ValdikSS be04d1a862 Send attached files to XMPP in different message with OOB data and without body (#421)
Conversations can't show inline pictures if there's anything besides URL in the message body.
Workaround this issue by sending one usual message and one message with OOB data and without message body.
The second message should not be shown in the clients without OOB support, so the user won't see the empty message.
6 years ago
Wim 72ce7f06e9 Handle file comment better 6 years ago
Wim 16be6601c8 Fix incorrect skipmessage (xmpp) 7 years ago
Wim f2f1d874e1 Use viper (github.com/spf13/viper) for configuration 7 years ago
Wim 594d2155e3 Improve debug messages 7 years ago
Wim 20dbd71306 Make megacheck happy 7 years ago
Wim 6a727b9723 Use our own version of go-xmpp with debug output to logrus 7 years ago
Wim 2bac867382 Refactor using factory 7 years ago
Wim 5fbd8a3be0 Refactor xmpp 7 years ago
Wim d1227b5fc9 Use prefixed-formatter for better logging 7 years ago
Wim 6ea368c383 Move Sirupsen => sirupsen 7 years ago
Wim 80822b7fff Send chat notification if media is too big to be re-uploaded to MediaServer. See #359 7 years ago
ValdikSS da908c438a Add space between colon and URL for uploaded media (#360) 7 years ago
Wim 7764493298 Add comment to file upload from telegram. Show comments on all bridges. Closes #358 7 years ago
Wim 6a047f8722 Print only debug messages when specified (xmpp). Closes #345 7 years ago
Wim e1dc3032c1 Ignore <subject> messages (xmpp). #272 7 years ago
Wim 265457b451 Refactor and add MediaDownloadSize to General 7 years ago
Wim 7ec95f786d Use mediaserver urls for irc,gitter and xmpp 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 f8e6a69d6e Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. #199 7 years ago
Wim 0f791d7a9a Handle reconnections better (xmpp). Closes #222 7 years ago
Wim 2ddc4f7ae9 Add UserID to each message. Closes #200 7 years ago
Frank ee643de5b6 Add Compatibility for Cisco Jabber (xmpp) (#166) 7 years ago
Wim 163f55f9c2 Refactor to handle disconnects/reconnects better.
Now try to reconnect every 60 seconds until forever.
8 years ago
Josip Janžić 9bf10e4b58 Fix tls by setting ServerName (xmpp) (#114)
Fixes error message shown by tls: "either ServerName or InsecureSkipVerify must be specified in the tls.Config"
8 years ago
Stefan Haller 01a32b2154 Handle SkipTLSVerify for XMPP client (#106). Closes #81
* Handle SkipTLSVerify for XMPP client

* Mention SkipTLSVerify for XMPP in sample config
8 years ago
Wim 4960273832 Do not relay empty or delayed messages (xmpp) 8 years ago
Wim 6c018ee6fe Enable keepalive (xmpp) 8 years ago
Wim 99d130d1ed Refactor 8 years ago
Wim 2dbe0eb557 Add support for dynamic IconURL (slack). Closes #43 8 years ago
Wim c3a8b7a997 Refactor modifyMessage 8 years ago
Wim 11f4a6897a Cleanup xmpp bridge debug/info messages 8 years ago
Wim 7baf386ede Refactor for more flexibility
* Move from gcfg to toml configuration because gcfg was too restrictive
* Implemented gateway which has support multiple in and out bridges.
* Allow for bridging the same bridges, which means eg you can now bridge between multiple mattermosts.
* Support multiple gateways
8 years ago
Wim e11d786775 Move nickformatting into bridge 8 years ago
Wim 889b6debc4 Add Connect() to Bridger interface 8 years ago
Wim ff94796700 Refactor bridge. Allows bridging between every protocol 8 years ago