summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Update slack inviteWim2020-10-241-1/+1
|
* Allow tengo to drop messages using msgDrop (#1272)Wim2020-10-212-11/+34
|
* Show deprecate warnings about old tengo settings (#1271)Wim2020-10-212-6/+19
|
* Add PingDelay option (irc) (#1269)Wim2020-10-212-1/+14
|
* Bump versionWim2020-10-211-1/+1
|
* Release v1.19.0 (#1268)v1.19.0Wim2020-10-203-2/+22
|
* Add username formatting for all events (matrix) (#1233)Dellle2020-10-202-32/+73
|
* Add even more debug for irc (#1266)Wim2020-10-201-0/+7
|
* Update vendor (#1265)Wim2020-10-19242-1479/+22331
|
* Add support for downloading files (nctalk) (#1249)Gary Kim2020-10-1914-237/+49
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Use vendored whatsapp version (#1258)Wim2020-10-121-1/+0
|
* Update vendor (#1257)Wim2020-10-1138-3646/+5802
|
* Append a suffix if user is a guest user (nctalk) (#1250)Gary Kim2020-10-017-3/+56
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Add Mumble support (#1245)Sebastian P2020-10-0161-0/+9409
|
* Bump versionWim2020-10-011-1/+1
|
* Create codeql-analysis.ymlWim2020-10-011-0/+71
|
* Add username for images from WhatsApp (#1232)Dellle2020-09-261-4/+6
|
* Matrix: Permit uploading files of other mimetypes (#1237)Ben Wiederhake2020-09-261-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.
* Bump versionWim2020-09-051-1/+1
|
* Release v1.18.3 (#1229)v1.18.3Wim2020-09-053-2/+22
|
* Use alpine stable for dockerWim2020-09-042-4/+4
|
* Update vendor (#1228)Wim2020-09-041436-3473/+21847
|
* Remove outdated link. Closes #1224Wim2020-09-041-1/+0
|
* Check location of avatarURL (zulip). Fixes #1214 (#1227)Wim2020-09-041-1/+7
|
* Update nc-talk dependency (#1226)Gary Kim2020-09-045-4/+15
|
* Format rich object strings (nctalk) (#1222)Tilo Spannagel2020-08-311-1/+22
| | | Signed-off-by: Tilo Spannagel <development@tilosp.de>
* Update nc-talk to version 0.1.2 (#1220)Tilo Spannagel2020-08-306-17/+74
| | | Signed-off-by: Tilo Spannagel <development@tilosp.de>
* Switch to upstream gomatrix (#1219)Tilo Spannagel2020-08-3022-132/+272
| | | Signed-off-by: Tilo Spannagel <development@tilosp.de>
* Add TLSConfig to nctalk (#1195)Gary Kim2020-08-3052-366/+12387
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Sent loopback messages to other websockets as well (api) (#1216)NikkyAI2020-08-271-2/+9
|
* Handle broadcasts as groups in Whatsapp (#1213)escoand2020-08-261-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)NikkyAI2020-08-2616-34/+978
|
* Release v1.18.2 (#1212)v1.18.2Wim2020-08-253-2/+12
|
* Add Dockerimage for tgs conversion (#1211)Sandro2020-08-252-0/+40
| | | | | * Add Dockerfile with tgs to png conversion support * Add .dockerignore to keep cache busts while testing low
* Fix error loop (zulip) (#1210)Wim2020-08-251-1/+1
| | | Fixes #1047
* Update whatsapp vendor and fix a panic (#1209)Wim2020-08-2413-27/+228
| | | | | * Fix another whatsapp panic * Update whatsapp vendor
* Add link to nctalk in READMEWim2020-08-241-32/+32
|
* Bump versionWim2020-08-241-1/+1
|
* Release v1.18.1 (#1207)v1.18.1Wim2020-08-243-2/+22
|
* Sleep when ratelimited on joins (matrix). Fixes #1201 (#1206)Wim2020-08-241-1/+39
|
* Support Telegram animated stickers (tgs) format (#1173)Ben Wiederhake2020-08-234-9/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is half a fix for #874 This patch introduces a new config flag: - MediaConvertTgs These need to be treated independently from the existing MediaConvertWebPToPNG flag because Tgs→WebP results in an *animated* WebP, and the WebP→PNG converter can't handle animated WebP files yet. Furthermore, some platforms (like discord) don't even support animated WebP files, so the user may want to fall back to static PNGs (not APNGs). The final reason why this is only half a fix is that this introduces an external dependency, namely lottie, to be installed like this: $ pip3 install lottie cairosvg This patch works by writing the tgs to a temporary file in /tmp, calling lottie to convert it (this conversion may take several seconds!), and then deleting the temporary file. The temporary file is absolutely necessary, as lottie refuses to work on non-seekable files. If anyone comes up with a reasonable use case where /tmp is unavailable, I can add yet another config option for that, if desired. Telegram will bail out if the option is configured but lottie isn't found.
* Update workflow builds to go 1.15Wim2020-08-211-4/+4
|
* Sync with upstream gozulipbot fixes (#1202)Wim2020-08-217-25/+70
|
* Remove HTML formatting for push messages (#1188) (#1189)Dellle2020-08-201-3/+12
| | | | | | | When there is a valid HTML formatting then remove this in the cleartext field of the matrix client. This leads to nicer push messages on smartphone apps. Fix #1188