Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Append a suffix if user is a guest user (nctalk) (#1250) | Gary Kim | 2020-10-01 | 1 | -1/+20 |
| | | | Signed-off-by: Gary Kim <gary@garykim.dev> | ||||
* | Add Mumble support (#1245) | Sebastian P | 2020-10-01 | 4 | -0/+493 |
| | |||||
* | Add username for images from WhatsApp (#1232) | Dellle | 2020-09-26 | 1 | -4/+6 |
| | |||||
* | Matrix: Permit uploading files of other mimetypes (#1237) | Ben Wiederhake | 2020-09-26 | 1 | -16/+12 |
| | | | | | | This includes at least c-source-files, cpp-source-files, markdown-files, Rust-files, and plaintext files. We already allow uploading arbitrary executables. (And javascript-files, coincidentally.) Not permitting these other text files would be highly unexpected. | ||||
* | Check location of avatarURL (zulip). Fixes #1214 (#1227) | Wim | 2020-09-04 | 1 | -1/+7 |
| | |||||
* | Format rich object strings (nctalk) (#1222) | Tilo Spannagel | 2020-08-31 | 1 | -1/+22 |
| | | | Signed-off-by: Tilo Spannagel <development@tilosp.de> | ||||
* | Switch to upstream gomatrix (#1219) | Tilo Spannagel | 2020-08-30 | 1 | -9/+32 |
| | | | Signed-off-by: Tilo Spannagel <development@tilosp.de> | ||||
* | Add TLSConfig to nctalk (#1195) | Gary Kim | 2020-08-30 | 1 | -2/+13 |
| | | | Signed-off-by: Gary Kim <gary@garykim.dev> | ||||
* | Sent loopback messages to other websockets as well (api) (#1216) | NikkyAI | 2020-08-27 | 1 | -2/+9 |
| | |||||
* | Handle broadcasts as groups in Whatsapp (#1213) | escoand | 2020-08-26 | 1 | -1/+1 |
| | | | | | | | | | | The current way to get the correct JID of a WhatsApp group is to dump all JIDs to the log and grab the right one. This is working for for groups fine but not for broadcast, as they are not print out. According to https://www.npmjs.com/package/@noamalffasy/js-whatsapp we have these possibilities: * Chats: `[country code][phone number]@s.whatsapp.net` * Groups: `[country code][phone number of creator]-[timestamp of group creation]@g.us` * Broadcast Channels: `[timestamp of group creation]@broadcast` But the bridge does currently interprets (and prints) the only second option. | ||||
* | Replace gorilla with melody for websocket API (#1205) | NikkyAI | 2020-08-26 | 1 | -34/+42 |
| | |||||
* | Fix error loop (zulip) (#1210) | Wim | 2020-08-25 | 1 | -1/+1 |
| | | | Fixes #1047 | ||||
* | Update whatsapp vendor and fix a panic (#1209) | Wim | 2020-08-24 | 1 | -1/+1 |
| | | | | | * Fix another whatsapp panic * Update whatsapp vendor |