summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update README about unsupported steam chatWim2021-01-021-3/+6
|
* Bump versionWim2020-12-311-1/+1
|
* Release v1.21.0 (#1348)v1.21.0Wim2020-12-316-50/+53
|
* Refactor "msg-parent-not-found" to config.ParentIDNotFound (#1347)Qais Patankar2020-12-316-8/+21
|
* Reject cross-channel message references (discord) (#1345)Qais Patankar2020-12-311-3/+3
| | | | | | | Discord message references have been designed in a way for this to support cross-channel or even cross-guild references in the future. This will ensure the ParentID is *not* set when the message refers to a message that was sent in a different channel.
* Add a prefix handler for unthreaded messages (discord) (#1346)Qais Patankar2020-12-311-0/+6
|
* Add threading support with token (discord) (#1342)Wim2020-12-315-4/+31
| | | | | | | | Webhooks don't support the threading yet, so this is token only. In discord you can reply on each message of a thread, but this is not possible in mattermost (so some changes added there to make sure we always answer on the rootID of the thread). Also needs some more testing with slack. update : It now also uses the token when replying to a thread (even if webhooks are enabled), until webhooks have support for threads.
* Fix 'webook' typo in discord/webhook.go (#1344)Qais Patankar2020-12-311-1/+1
|
* Update vendor for next release (#1343)Wim2020-12-31220-2195/+11469
|
* Add support for stateless bridging via draft/relaymsg (irc) (#1339)James Lu2020-12-302-16/+70
| | | | | | | | | | | | | | | | | * irc: add support for stateless bridging via draft/relaymsg As discussed at https://github.com/42wim/matterbridge/issues/667#issuecomment-634214165 * irc: handle the draft/relaymsg tag in spoofed messages too * Apply suggestions from code review Co-authored-by: Wim <wim@42.be> * Run gofmt on irc.go * Document relaymsg in matterbridge.toml.sample Co-authored-by: Wim <wim@42.be>
* Update README.md (#1340)wschwab2020-12-291-1/+1
| | | added using `chmod a+x` to make the binary executable in the installation section
* Update webhook documentation (discord) (#1335)Qais Patankar2020-12-172-12/+11
|
* Split Bdiscord.Send into handleEventWebhook and handleEventBotUser (discord)Qais Patankar2020-12-132-43/+53
|
* Move webhook specific logic to its own file (discord)Qais Patankar2020-12-132-94/+102
|
* Extract maybeGetLocalAvatar into its own function (discord)Qais Patankar2020-12-131-15/+17
|
* Remove WebhookURL support (discord)Qais Patankar2020-12-132-9/+15
|
* Add initial transmitter implementation (discord)Qais Patankar2020-12-135-120/+371
| | | | | | This has been tested with one webhook in one channel. Sends, edits and deletions work fine
* Revert "Disable webhook editing (#1296)" (discord)Qais Patankar2020-12-131-10/+6
| | | | This reverts commit c23252ab53182cc6e68086f29c7137fbc27917ee.
* Update go-nc-talk (nctalk) (#1333)Gary Kim2020-12-1010-45/+87
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Update vendor (#1330)Wim2020-12-0628-340/+587
|
* Parse fencedcode in ParseMarkdown. Fixes #1127 (#1329)Wim2020-12-061-1/+1
|
* Mark messages as read (matrix). Fixes #1317 (#1328)Wim2020-12-061-0/+5
|
* Update rocketchat vendor (#1327)Wim2020-12-065-11/+11
| | | Contains fixes for #992 and adds more random ID
* Implement ratelimiting (matrix). Fixes #1238 (#1326)Wim2020-12-062-51/+169
|
* Make handlers run async (irc) (#1325)Wim2020-12-051-7/+7
| | | | | | | | This makes the handlers run in a seperate go-routine in girc, and makes sure that girc isn't blocked on executing PONG requests when matterbridge takes a long time handling the incoming message. This can happen when another bridge is in a backoff state where the backoff time exceeds the IRC ping timeout.
* Remove locale from golangci misspell (#1324)Qais Patankar2020-12-051-1/+0
|
* Refactor guild finding code (discord) (#1319)Qais Patankar2020-12-031-18/+35
|
* Add nil checks to text message handling (mumble) (#1321)Sebastian P2020-12-031-0/+6
|
* Rename jfif to jpg (whatsapp). Fixes #1292Wim2020-11-291-0/+5
|
* Refactor handleTextMessage (whatsapp)Wim2020-11-291-13/+9
|
* Refactor image downloads (whatsapp)Wim2020-11-291-45/+23
|
* Handle audio downloads (whatsapp)Wim2020-11-291-0/+57
|
* Handle video downloads (whatsapp)Wim2020-11-291-3/+57
|
* Add support for deleting messages (whatsapp)Wim2020-11-291-6/+4
|
* Refactor/cleanup code (whatsapp)Wim2020-11-293-101/+97
|
* Add UserID to RemoteNickFormat and Tengo (#1308)JeremyRand2020-11-252-11/+17
| | | | | | | | | | | * Add UserID to RemoteNickFormat and Tengo * Use strings.ReplaceAll in gateway.modifyUsername Fixes a warning from gocritic linter. * Use Unicode escape sequence instead of raw ZWSP in gateway.modifyUsername Fixes a warning from stylecheck linter.
* Show mxids in case of clashing usernames (matrix) (#1309)Simon THOBY2020-11-251-6/+23
| | | Fixes #1302.
* Join on invite (irc). Fixes #1231 (#1306)Wim2020-11-222-0/+19
|
* Add support for irc to irc notice (irc). Fixes #754 (#1305)Wim2020-11-224-4/+27
|
* Retry until we have contacts (whatsapp). Fixes #1122 (#1304)Wim2020-11-221-0/+12
|
* Update discordgo fork (#1303)Wim2020-11-2212-47/+239
|
* Bump versionWim2020-11-221-1/+1
|
* Release v1.20.0 (#1298)v1.20.0Wim2020-11-223-2/+27
|
* Add extra debug to log time spent sending a message per bridge (#1299)Wim2020-11-221-0/+4
|
* Disable webhook editing (discord) (#1296)Wim2020-11-221-6/+10
| | | | | | | See https://github.com/42wim/matterbridge/issues/1255 and https://github.com/qaisjp/go-discord-irc/issues/57 Webhook edits gets ratelimited which cause other problems with matterbridge. Disabling for now.
* Send the display name instead of the user name (matrix) (#1282)Simon THOBY2020-11-224-111/+207
| | | | | | | | | * matrix: send the display name (the nickname in matrix parlance) instead of the user name There is also the option UseUserName (already in use by the discord bridge) to turn back to the old behavior. * matrix: update displayNames on join events * matrix: introduce a helper.go file to keep matrix.go size reasonable
* Update vendor (#1297)Wim2020-11-22166-13439/+24853
|
* Update webhook messages via new endpoint (discord)Simon THOBY2020-11-142-56/+17
| | | | | | | | | | | | When using the webhook, the previous method to edit a message was to delete the old one via the classical API, and to create a new message via the webhook. While this works, this means that editing "old" messages lead to a mess where the chronological order is no longer respected. This uses an hidden API explained in https://support.discord.com/hc/en-us/community/posts/360034557771 to achieve a proper edition using the webhook API. The obvious downside of this approach is that since it is an undocumented API for now, so there is no stability guarantee :/
* Add NoTLS option to allow plaintext XMPP connections (#1288)George2020-11-133-3/+7
| | | Co-authored-by: George <zhoreeq@users.noreply.github.com>
* Allow message edits on matrix (#1286)Simon THOBY2020-11-131-1/+86
| | | based on https://github.com/Half-Shot/matrix-doc/blob/hs/1695-message-edits-proposal/proposals/1695-message-edits.md