summaryrefslogtreecommitdiffstats
path: root/bridge/xmpp/xmpp.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix webhooks for channels with special characters (xmpp) (#1405)Alexander2021-02-171-1/+2
|
* Fix panic when the webhook fails (xmpp) (#1401)Alexander2021-02-151-1/+6
|
* Allow the XMPP bridge to use slack compatible webhooks (xmpp) (#1364)Alexander2021-01-211-6/+51
| | | | | | | | | * Add mod_slack_webhook support to the XMPP bridge * Replace b.webhookURL with b.GetString * Do not return a message ID on webhook POST * Add the XMPP webhook to the sample configuration
* Add NoTLS option to allow plaintext XMPP connections (#1288)George2020-11-131-2/+2
| | | Co-authored-by: George <zhoreeq@users.noreply.github.com>
* Prevent re-requesting avatar data (xmpp) (#1117)Alexander2020-05-241-6/+14
| | | | | Prevent asking the server again and again for a user's avatar if the server does not respond to our initial request.
* Implement xep-0245 (xmpp). Closes #1137 (#1144)Wim2020-05-231-0/+7
|
* Implement User Avatar spoofing of XMPP users (#1090)Alexander2020-04-161-2/+18
| | | * Implement User Avatar spoofing of XMPP users
* Use DebugWriter after upstream changes (xmpp)Wim2020-03-291-1/+3
|
* Bail if incorrect Jid (xmpp). Fixes #869 (#883)Wim2019-09-071-0/+3
|
* Keep connection state. Fixes #856Wim2019-06-301-0/+23
| | | | | | | | Actually check if we're connected when trying to Send() a message. Messages now will get dropped when not connected. TODO: Ideally this should be in a ring buffer to retransmit when the connection comes back up.
* Verify TLS against JID domain, not the host. (xmpp) (#834)Nick2019-06-141-1/+1
| | | | | Partially fixes #820. A full fix requires patching https://github.com/matterbridge/go-xmpp to use DNS SRV records.
* Fix logic (xmpp)Wim2019-06-141-1/+1
|
* Allow messages with timestamp (xmpp). Fixes #835 (#847)Wim2019-06-141-1/+1
|
* Revert xmpp to orig behaviour. Closes #844Wim2019-06-131-1/+1
|
* Clean-up XMPP handling code (#831)Duco van Amstel2019-05-301-77/+129
|
* Do not send topic changes on connect (xmpp). Fixes #732 (#733)Wim2019-02-231-1/+20
| | | | | This checks if we get a topic change < 5 seconds after connection. If that's the case, ignore it. Also this PR makes the topic change an actual EventTopicChange.
* Fix golint linter issues and enable it in CI (#593)Duco van Amstel2018-11-151-3/+3
|
* Clean up various stuff (#508)David Hill2018-11-071-3/+2
| | | * various cleanups
* Add channel password support for XMPP (#451)Bruno Bierbaumer2018-06-181-1/+6
|
* Reconnect on quit. (irc) See #431 (#445)Liam Stanley2018-06-091-3/+4
| | | | | * potential fixes for #431 * go: fix formatting/gofmt/goreturns
* Add message correction support for XMPP (#437)ValdikSS2018-05-291-3/+17
| | | | | | | | | | 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.
* Send attached files to XMPP in different message with OOB data and without ↵ValdikSS2018-05-091-0/+5
| | | | | | | 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.
* Handle file comment betterWim2018-05-061-1/+4
|
* Fix incorrect skipmessage (xmpp)Wim2018-03-051-1/+1
|
* Use viper (github.com/spf13/viper) for configurationWim2018-03-041-19/+19
|
* Improve debug messagesWim2018-02-281-3/+3
|
* Make megacheck happyWim2018-02-271-4/+1
|
* Use our own version of go-xmpp with debug output to logrusWim2018-02-271-1/+2
|
* Refactor using factoryWim2018-02-271-18/+11
|
* Refactor xmppWim2018-02-271-36/+86
|
* Use prefixed-formatter for better loggingWim2018-02-211-1/+1
|
* Move Sirupsen => sirupsenWim2018-02-201-1/+1
|
* Send chat notification if media is too big to be re-uploaded to MediaServer. ↵Wim2018-02-031-0/+4
| | | | See #359
* Add space between colon and URL for uploaded media (#360)ValdikSS2018-02-011-1/+1
|
* Add comment to file upload from telegram. Show comments on all bridges. ↵Wim2018-02-011-1/+4
| | | | Closes #358
* Print only debug messages when specified (xmpp). Closes #345Wim2018-01-261-1/+1
|
* Ignore <subject> messages (xmpp). #272Wim2018-01-141-1/+1
|
* Refactor and add MediaDownloadSize to GeneralWim2017-12-191-8/+3
|
* Use mediaserver urls for irc,gitter and xmppWim2017-11-241-0/+13
|
* Add support for deleting messages across bridges.Wim2017-09-111-0/+4
| | | | | | | | | | | | 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)
* Modify Send() to return also a message idWim2017-08-271-2/+2
|
* Allow a webhookurl per channel (discord). #239Wim2017-08-121-2/+2
|
* Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. #199Wim2017-07-301-1/+14
|
* Handle reconnections better (xmpp). Closes #222Wim2017-07-201-2/+29
|
* Add UserID to each message. Closes #200Wim2017-06-181-1/+1
|
* Add Compatibility for Cisco Jabber (xmpp) (#166)Frank2017-05-111-1/+1
|
* Refactor to handle disconnects/reconnects better.Wim2017-02-141-6/+10
| | | | Now try to reconnect every 60 seconds until forever.
* Fix tls by setting ServerName (xmpp) (#114)Josip Janžić2017-01-181-0/+1
| | | Fixes error message shown by tls: "either ServerName or InsecureSkipVerify must be specified in the tls.Config"
* Handle SkipTLSVerify for XMPP client (#106). Closes #81Stefan Haller2017-01-141-0/+5
| | | | | | * Handle SkipTLSVerify for XMPP client * Mention SkipTLSVerify for XMPP in sample config
* Do not relay empty or delayed messages (xmpp)Wim2016-11-261-1/+2
|