Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use valid transmitter Log default (discord) (#1402) | Qais Patankar | 2021-02-15 | 1 | -1/+1 | |
| | | | | | | * Use valid transmitter Log default (discord) Using a logger created by `log.NewEntry(nil)` would crash. (matterbridge does not encounter this issue as it updates the Log field manually.) | |||||
* | Fix panic when the webhook fails (xmpp) (#1401) | Alexander | 2021-02-15 | 1 | -1/+6 | |
| | ||||||
* | Pick up all the webhooks (discord) (#1383) | Wim | 2021-02-01 | 1 | -1/+0 | |
| | ||||||
* | Add vk bridge (#1372) | Ivanik | 2021-01-29 | 1 | -0/+327 | |
| | | | | | | | | | | | | | | | | | | | | | * Add vk bridge * Vk bridge attachments * Vk bridge forwarded messages * Vk bridge sample config and code cleanup * Vk bridge add vendor * Vk bridge message edit * Vk bridge: fix fetching names of other bots * Vk bridge: code cleanup * Vk bridge: fix shadows declaration * Vk bridge: remove UseFileURL | |||||
* | Add an even more debug option (discord) (#1368) | Wim | 2021-01-23 | 1 | -0/+5 | |
| | | | Enable discordgo debugging with debuglevel=1 under the [discord.xxx] section, for even more debugging fun. | |||||
* | Allow the XMPP bridge to use slack compatible webhooks (xmpp) (#1364) | Alexander | 2021-01-21 | 1 | -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 jpe as valid image filename extension (telegram) (#1360) | Paul | 2021-01-14 | 1 | -1/+1 | |
| | ||||||
* | Improve Markdown in transmitter docs (discord) (#1351) | Qais Patankar | 2021-01-03 | 1 | -6/+7 | |
| | ||||||
* | Rename .oga audio files to .ogg (telegram) (#1349) | Wim | 2021-01-02 | 1 | -0/+5 | |
| | ||||||
* | Refactor "msg-parent-not-found" to config.ParentIDNotFound (#1347) | Qais Patankar | 2020-12-31 | 5 | -6/+19 | |
| | ||||||
* | Reject cross-channel message references (discord) (#1345) | Qais Patankar | 2020-12-31 | 1 | -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 Patankar | 2020-12-31 | 1 | -0/+6 | |
| | ||||||
* | Add threading support with token (discord) (#1342) | Wim | 2020-12-31 | 4 | -3/+30 | |
| | | | | | | | | 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 Patankar | 2020-12-31 | 1 | -1/+1 | |
| | ||||||
* | Add support for stateless bridging via draft/relaymsg (irc) (#1339) | James Lu | 2020-12-30 | 1 | -16/+57 | |
| | | | | | | | | | | | | | | | | | * 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 webhook documentation (discord) (#1335) | Qais Patankar | 2020-12-17 | 1 | -5/+0 | |
| | ||||||
* | Split Bdiscord.Send into handleEventWebhook and handleEventBotUser (discord) | Qais Patankar | 2020-12-13 | 2 | -43/+53 | |
| | ||||||
* | Move webhook specific logic to its own file (discord) | Qais Patankar | 2020-12-13 | 2 | -94/+102 | |
| | ||||||
* | Extract maybeGetLocalAvatar into its own function (discord) | Qais Patankar | 2020-12-13 | 1 | -15/+17 | |
| | ||||||
* | Remove WebhookURL support (discord) | Qais Patankar | 2020-12-13 | 2 | -9/+15 | |
| | ||||||
* | Add initial transmitter implementation (discord) | Qais Patankar | 2020-12-13 | 5 | -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 Patankar | 2020-12-13 | 1 | -10/+6 | |
| | | | | This reverts commit c23252ab53182cc6e68086f29c7137fbc27917ee. | |||||
* | Update go-nc-talk (nctalk) (#1333) | Gary Kim | 2020-12-10 | 1 | -0/+7 | |
| | | | Signed-off-by: Gary Kim <gary@garykim.dev> | |||||
* | Parse fencedcode in ParseMarkdown. Fixes #1127 (#1329) | Wim | 2020-12-06 | 1 | -1/+1 | |
| | ||||||
* | Mark messages as read (matrix). Fixes #1317 (#1328) | Wim | 2020-12-06 | 1 | -0/+5 | |
| | ||||||
* | Implement ratelimiting (matrix). Fixes #1238 (#1326) | Wim | 2020-12-06 | 2 | -51/+169 | |
| | ||||||
* | Make handlers run async (irc) (#1325) | Wim | 2020-12-05 | 1 | -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. | |||||
* | Refactor guild finding code (discord) (#1319) | Qais Patankar | 2020-12-03 | 1 | -18/+35 | |
| | ||||||
* | Add nil checks to text message handling (mumble) (#1321) | Sebastian P | 2020-12-03 | 1 | -0/+6 | |
| | ||||||
* | Rename jfif to jpg (whatsapp). Fixes #1292 | Wim | 2020-11-29 | 1 | -0/+5 | |
| | ||||||
* | Refactor handleTextMessage (whatsapp) | Wim | 2020-11-29 | 1 | -13/+9 | |
| | ||||||
* | Refactor image downloads (whatsapp) | Wim | 2020-11-29 | 1 | -45/+23 | |
| | ||||||
* | Handle audio downloads (whatsapp) | Wim | 2020-11-29 | 1 | -0/+57 | |
| | ||||||
* | Handle video downloads (whatsapp) | Wim | 2020-11-29 | 1 | -3/+57 | |
| | ||||||
* | Add support for deleting messages (whatsapp) | Wim | 2020-11-29 | 1 | -6/+4 | |
| | ||||||
* | Refactor/cleanup code (whatsapp) | Wim | 2020-11-29 | 3 | -101/+97 | |
| | ||||||
* | Show mxids in case of clashing usernames (matrix) (#1309) | Simon THOBY | 2020-11-25 | 1 | -6/+23 | |
| | | | Fixes #1302. | |||||
* | Join on invite (irc). Fixes #1231 (#1306) | Wim | 2020-11-22 | 2 | -0/+19 | |
| | ||||||
* | Add support for irc to irc notice (irc). Fixes #754 (#1305) | Wim | 2020-11-22 | 3 | -4/+22 | |
| | ||||||
* | Retry until we have contacts (whatsapp). Fixes #1122 (#1304) | Wim | 2020-11-22 | 1 | -0/+12 | |
| | ||||||
* | Disable webhook editing (discord) (#1296) | Wim | 2020-11-22 | 1 | -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 THOBY | 2020-11-22 | 3 | -111/+204 | |
| | | | | | | | | | * 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 webhook messages via new endpoint (discord) | Simon THOBY | 2020-11-14 | 2 | -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) | George | 2020-11-13 | 2 | -3/+3 | |
| | | | Co-authored-by: George <zhoreeq@users.noreply.github.com> | |||||
* | Allow message edits on matrix (#1286) | Simon THOBY | 2020-11-13 | 1 | -1/+86 | |
| | | | based on https://github.com/Half-Shot/matrix-doc/blob/hs/1695-message-edits-proposal/proposals/1695-message-edits.md | |||||
* | Add PingDelay option (irc) (#1269) | Wim | 2020-10-21 | 1 | -1/+8 | |
| | ||||||
* | Add username formatting for all events (matrix) (#1233) | Dellle | 2020-10-20 | 2 | -32/+73 | |
| | ||||||
* | Add even more debug for irc (#1266) | Wim | 2020-10-20 | 1 | -0/+7 | |
| | ||||||
* | Add support for downloading files (nctalk) (#1249) | Gary Kim | 2020-10-19 | 1 | -3/+41 | |
| | | | Signed-off-by: Gary Kim <gary@garykim.dev> | |||||
* | Use vendored whatsapp version (#1258) | Wim | 2020-10-12 | 1 | -1/+0 | |
| |