Commit Graph

1626 Commits (2fca3c756373577eab4e0120ccce62eecc1f5ad8)
 

Author SHA1 Message Date
Wim 2fca3c7563
Add CGO_ENABLED info also to whatsappmulti build 2 years ago
Wim c3573f1a46
Add CGO_ENABLED info to README 2 years ago
Daniil Suvorov ee932a9f8e
Fix UploadMessagesPhoto for vk community chat (vk) (#1812) 2 years ago
ValdikSS ce18c948e6
Do not apply any markup to URL entities (telegram) (#1808)
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.
2 years ago
Wim 7bc93c5506
Do not modify .webm files (telegram). Fixes #17** (#1802) 2 years ago
Wim d7cad3b404
Update matterbridge/gomatrix. Fixes #1772 (#1803) 3 years ago
Wim 7740a362c9
Fix build command for latest stable 3 years ago
Wim 281ef53e7d
Update dependencies (#1800) 3 years ago
Bryan Davis f044b948e2
Clear existing IRC event handlers before connecting new ones (#1795)
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
3 years ago
Wim 32474a5f4d
Bump version 3 years ago
Wim 26596acf80
Release v1.25.0 (#1793) 3 years ago
Wim e63870a631
Add whatsapp deprecation warning (#1792) 3 years ago
Wim ce782ff6fb
Change discord non-native threading behaviour (discord) (#1791)
Sorta regression introduced by 9a8ce9b17e
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.
3 years ago
Wim c6716e030c
Update dependencies (#1784) 3 years ago
Alexander 4ab72acec6
Ignore sending file with comment, if comment contains IgnoreMessages value (#1783)
* Ignore sending file with comment, if comment contains message to ignore

* Fix linter issue
3 years ago
Alexander 30aae8e257
Multiple media in one message (telegram) (#1779)
* 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
3 years ago
Alexander d7b7ff7bb4
Preserve threading for messages with files (slack) (#1781)
* Preserve threading for slack messages with files

* Update bridge/slack/slack.go

Co-authored-by: Wim <wim@42.be>
3 years ago
Alexander 6fe0cff342
Use slack real name as user name (slack) (#1775)
* Use slack real name as user name

* Change slack option UseRealName to UseFullName
3 years ago
Wim 5f75f9886d
Update lrstanley/girc dep (#1773) 3 years ago
Alexander 5d9604cd15
Preserve threading from telegram replies (telegram) (#1776)
* Preserve threading from telegram replies

* Add fallback for unthreaded telegram message

* Fix linter issue
3 years ago
Alexander cc36ebf1c9
Add UseFullName option (telegram) (#1777) 3 years ago
Tobias Niepel e6adecfd81
Add Dockerfile_whatsappmulti for building with WhatsApp Multi-Device support (Whatsmeow) (#1774)
Co-authored-by: Tobias Niepel <tobias.niepel@obi.de>
3 years ago
Wim 5c8f224e3b
Update README 3 years ago
Wim 952221d3b9 Fix linting (whatsapp) 3 years ago
Wim 496d5b4ec7 Add whatsappmulti buildflag for whatsapp with multidevice support (whatsapp) 3 years ago
Wim 2623a412c4 Update vendor (whatsapp) 3 years ago
Wim d64eed49bc Fix linting (whatsapp) 3 years ago
Wim fffa29c2f3 Fix channel in video/audio/image/document handling (whatsapp) 3 years ago
Wim 4da1444ffc Check for Conversation on receiving messages (whatsapp) 3 years ago
Wim 21c4e56d16 Use Conversation instead of ExtendedTextMessage (whatsapp) 3 years ago
Wim 5356b3856a Update vendor (whatsapp) 3 years ago
Wim 320c996a21 Refactor login logic (whatsapp) 3 years ago
Wim 69c74be7bb Add busy_timeout which fixes SQLITE_BUSY errors (whatsapp) 3 years ago
Wim aefa70891c Update vendor (whatsapp) 3 years ago
Wim 1b9877fda4 Fetch avatars synchronous (whatsapp) 3 years ago
Wim 0205a67309 Refactor JoinChannel (whatsapp) 3 years ago
Wim e3cafeaf92 Add dependencies/vendor (whatsapp) 3 years ago
Wim e7b193788a Rewrite whatsapp bridge to use whatsmeow 3 years ago
Wim 17da95b094
Remove go replace by fork (matrix) (#1771) 3 years ago
Wim c5e49eec96
Bump version 3 years ago
Wim 24bc0f127b
Release v1.24.1 (#1768) 3 years ago
Wim f0f801402d
Refactor utf-8 conversion (irc) (#1767) 3 years ago
Sebastian P 663850a2b8
Implement a workaround to signal Opus support (mumble) (#1764)
* 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
3 years ago
ValdikSS c51753cab1
Fix for complex-formatted Telegram text (#1765)
* 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
3 years ago
Wim b3be2e208c
Update dependencies and vendor (#1761) 3 years ago
Wim c30e90ff3f
Fix panic in irc. Closes #1751 (#1760) 3 years ago
Wim e4c0ca0f48
Switch to discordgo upstream again (#1759)
* Switch to upstream discordgo again

* Fix discord api changes
3 years ago
ValdikSS 9c203327c0
Fix Telegram channel title in forwards (#1753)
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".
3 years ago
Jan Martin Reckel ccb5b1d075
Fix Telegram Problem (unforwarded formatting and skipping of linebreaks) (#1749)
* 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>
3 years ago
jan Anja 0dbbd0414c
Create inmessage-logger.tengo (#1688) (#1747) 3 years ago