summaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies (#1951)Wim2023-01-284-20/+24
|
* Remove mattermost 5 support (#1936)Wim2023-01-283-391/+55
|
* Fix the "Someone" nickname problem (whatsapp) (#1931)ilmaisin2022-12-142-45/+50
| | | | | | | | | | | | | * Apply patch to work around the "Someone" nickname problem * Code cleanup (whatsapp) * Cleanup * Code cleanup (whatsapp) * Re-examine if sender exists * Cleanup (whatsapp)
* Handle incoming document captions from whatsapp (#1935)ilmaisin2022-12-141-1/+1
|
* Improve attachment handling (whatsapp) (#1928)ilmaisin2022-11-271-2/+81
| | | | | | | * Allow captions for document attachments, too * Handle audio messages * Improve attachment handling
* Implement sending of EventJoinLeave both to and from Mumble (#1915)Sebastian P2022-11-272-6/+62
| | | | | * mumble: Implement sending of EventJoinLeave both to and from Mumble (Closes #1435) * mumble: Break handleUserChange into two functions
* Allow substitution of bot's nick in RunCommands (irc) (#1890)Kufat2022-11-271-0/+1
| | | | | | | * Allow substitution of bot's nick in RunCommands * Tweak description of "{BOTNICK}" Made the description of "{BOTNICK}" consistent with that of other keywords
* Fix empty messages on IRC (#1897)Jair Sanchez2022-11-261-0/+6
|
* Fix telegram attachment comment formatting and escaping (#1920)Alexander2022-11-261-0/+5
|
* Add Matrix username spoofing (#1875)Lucki2022-09-062-12/+36
| | | | | * Matrix username spoofing * Add config sample
* Update dependencies and fix whatsmeow API changes (#1887)Wim2022-09-052-4/+6
| | | | | * Update dependencies * Fix whatsmau API changes
* Fix error messages in telegram and slack bridges (#1862)Alexander2022-09-052-2/+2
| | | | | | | * Fix message html entities escaping when sending to Telegram * Fix error messages in telegram and slack bridges Co-authored-by: Wim <wim@42.be>
* Fix message html entities escaping when sending to Telegram (#1855)Alexander2022-07-072-3/+12
|
* Support mattermost v7 (#1852)Wim2022-06-251-1/+1
| | | | Mattermost api (almost) didn't change between v6.7.x and v7.0 Everything should just work
* Ignore events from other guilds, add nosendjoinpart support (discord) (#1846)Sam W2022-06-242-1/+39
| | | | | | | | | | | | | | | | * discord: add nosendjoinpart support This allows the discord bridge to be configured with `nosendjoinpart`, preventing discord-originating join/part messages from being send to other bridged platforms. * discord: Ignore incoming events for other guilds Ignore all incoming discord events originating from Guild IDs other than the one we have configured. This is necessary because discord bots receive events for *all* discord guilds that they are present in. Fixes #1612
* Improve Slack attachments formatting (slack) (#1807)Andy2022-05-092-11/+14
| | | | | | | | * Improve Slack attachments formatting (slack) * Add TitleLink * Add Footer * Fix linter issues
* Add KeepQuotedReply option for matrix to fix regression (#1823)Wim2022-05-063-8/+10
| | | | | | | | | | | | Matrix quotes replies and as of matterbridge 1.24.0 we strip those as this causes issues with bridges support threading and have PreserveThreading enabled. Introduced via https://github.com/42wim/matterbridge/commit/9a8ce9b17e560433731eb5efa3cee7ced0b93605 But if you for example use mattermost or discord with webhooks you'll need to enable this if you want something that looks like a reply from matrix. See issues: - https://github.com/42wim/matterbridge/issues/1819 - https://github.com/42wim/matterbridge/issues/1780
* Add space between filename and URL (mattermost). Fixes #1820Wim2022-05-011-1/+1
|
* Revert "Clear existing IRC event handlers before connecting new ones (#1795)"Wim2022-05-011-1/+0
| | | | | | This reverts commit f044b948e257814e8e1f70d4b66821bfd9c2ff06. Fixes #1815
* Fix telegram message deletion request (#1818)Alexander2022-05-011-1/+1
|
* Fix UploadMessagesPhoto for vk community chat (vk) (#1812)Daniil Suvorov2022-04-221-3/+4
|
* Do not apply any markup to URL entities (telegram) (#1808)ValdikSS2022-04-221-1/+6
| | | | | | | | | | | | | handleEntities code uses simple modification offset which does not allow to detect whether the offset is placed before or after the element in already modified string. This works fine is most cases as Telegram server always sort the elements by offset, in ascending order. However, this is not the case when the modification, for example bold text, is applied to the URL. In this case, the offset of URL and bold entity is equal, which raises the issue. This commit introduces additional hack for this case, stripping any entities which intersect with URL.
* Do not modify .webm files (telegram). Fixes #17** (#1802)Wim2022-04-171-1/+1
|
* Clear existing IRC event handlers before connecting new ones (#1795)Bryan Davis2022-04-071-0/+1
| | | | | | | Clear all existing IRC event handler registrations before registering new handlers in case we are connecting via a BNC and are seeing a reconnect. Fixes #1564
* Add whatsapp deprecation warning (#1792)Wim2022-04-041-0/+5
|
* Change discord non-native threading behaviour (discord) (#1791)Wim2022-04-041-1/+2
| | | | | | | | Sorta regression introduced by 9a8ce9b17e560433731eb5efa3cee7ced0b93605 which changes the way we get replies of matrix. This causes issues like https://github.com/42wim/matterbridge/issues/1780 We "fix" this by mimicking the old behaviour when "PreserveThreading" is disabled.
* Multiple media in one message (telegram) (#1779)Alexander2022-03-302-32/+68
| | | | | | | | | | | | | * Send multiple images/video/documents as media group * Fix media caption quotting * Fix errors handling * Refactor parent id detection * Try to reduce cognitive complexity of code * Remove unused conditional
* Preserve threading for messages with files (slack) (#1781)Alexander2022-03-301-4/+14
| | | | | | | * Preserve threading for slack messages with files * Update bridge/slack/slack.go Co-authored-by: Wim <wim@42.be>
* Use slack real name as user name (slack) (#1775)Alexander2022-03-261-0/+3
| | | | | * Use slack real name as user name * Change slack option UseRealName to UseFullName
* Preserve threading from telegram replies (telegram) (#1776)Alexander2022-03-252-4/+22
| | | | | | | * Preserve threading from telegram replies * Add fallback for unthreaded telegram message * Fix linter issue
* Add UseFullName option (telegram) (#1777)Alexander2022-03-251-0/+12
|
* Fix linting (whatsapp)Wim2022-03-202-2/+3
|
* Add whatsappmulti buildflag for whatsapp with multidevice support (whatsapp)Wim2022-03-206-326/+1211
|
* Fix linting (whatsapp)Wim2022-03-202-3/+2
|
* Fix channel in video/audio/image/document handling (whatsapp)Wim2022-03-201-4/+4
|
* Check for Conversation on receiving messages (whatsapp)Wim2022-03-202-26/+29
|
* Use Conversation instead of ExtendedTextMessage (whatsapp)Wim2022-03-201-6/+10
|
* Refactor login logic (whatsapp)Wim2022-03-201-14/+30
|
* Add busy_timeout which fixes SQLITE_BUSY errors (whatsapp)Wim2022-03-201-1/+1
|
* Fetch avatars synchronous (whatsapp)Wim2022-03-202-14/+16
|
* Refactor JoinChannel (whatsapp)Wim2022-03-201-26/+19
|
* Rewrite whatsapp bridge to use whatsmeowWim2022-03-203-402/+285
|
* Remove go replace by fork (matrix) (#1771)Wim2022-03-202-2/+2
|
* Refactor utf-8 conversion (irc) (#1767)Wim2022-03-192-4/+35
|
* Implement a workaround to signal Opus support (mumble) (#1764)Sebastian P2022-03-192-0/+71
| | | | | | | * Mumble: Implement a workaround to signal Opus support without pulling in the CGO gopus dependency. * mumble: lowercase error messages * mumble: Add link to #1750 in bridge/mumble/codec.go
* Fix for complex-formatted Telegram text (#1765)ValdikSS2022-03-191-12/+16
| | | | | | | | | | | * Telegram: handle entities before everything * Telegram: use runes for text entities * Telegram: use proper offset and runes for links * Telegram: put newline after backticks for pre * Telegram: use utf16 for entity processing
* Fix panic in irc. Closes #1751 (#1760)Wim2022-03-121-2/+4
|
* Switch to discordgo upstream again (#1759)Wim2022-03-127-9/+9
| | | | | * Switch to upstream discordgo again * Fix discord api changes
* Fix Telegram channel title in forwards (#1753)ValdikSS2022-03-121-0/+5
| | | | Forward from channels requires different handling than forward from the regular users. This patch fixes the issue: it prints channel title instead of "forwarded from unknown".
* Fix Telegram Problem (unforwarded formatting and skipping of linebreaks) (#1749)Jan Martin Reckel2022-03-121-1/+18
| | | | | | | | | | | | | * Change bridge/telegram/handlers.go Comment out the removing of empty lines add support for bold, italic and striked telegram messages * Implement Telegram MessageEntities correctly * Apply gofmt Co-authored-by: Jan Martin Reckel <jan-martin.reckel@s2017.tu-chemnitz.de> Co-authored-by: Wim <wim@42.be>