Commit graph

541 commits

Author SHA1 Message Date
Tulir Asokan
17d4b79554 Add initial support for relay mode with webhooks 2023-02-28 00:40:53 +02:00
Tulir Asokan
6365db46cc Remove unnecessary user parameter in parseMatrixHTML 2023-02-27 22:47:45 +02:00
Tulir Asokan
af52979669 Fix attachment IDs in message converter 2023-02-27 18:51:13 +02:00
Tulir Asokan
ccd29752c7 Fetch missing channel info on message to support DMs for bots 2023-02-27 11:42:53 +02:00
Tulir Asokan
4eba894573 Fix state store not being updated on double puppet requests 2023-02-27 01:29:20 +02:00
Tulir Asokan
71d1689776 Adjust some calls for bot accounts 2023-02-27 01:19:26 +02:00
Tulir Asokan
ce4d05bb11 Don't save discord token before login is successful 2023-02-27 01:19:26 +02:00
Tulir Asokan
681a5ff2ab Create Matrix user mentions even without double puppeting. Fixes #21 2023-02-27 01:03:01 +02:00
Tulir Asokan
60c260a471 Add initial support for bot accounts. Fixes #12 2023-02-27 01:02:58 +02:00
Tulir Asokan
efd22e33b5 Delete guild portals too in delete-all-portals 2023-02-27 00:10:06 +02:00
Tulir Asokan
7b5c057dcf Refactor message handling to fully use convert pattern 2023-02-26 23:47:01 +02:00
Tulir Asokan
a0cc5ec9bc Fully qualify emojis instead of removing VS16. Fixes #58 2023-02-26 21:57:21 +02:00
Tulir Asokan
77b230f4d8 Update mautrix-go and switch to zerolog 2023-02-26 21:57:18 +02:00
Tulir Asokan
cace8b5939 Handle gif stickers 2023-02-26 20:46:12 +02:00
Nick Mills-Barrett
ac7ad471a5 Ensure room is muted before sending events to it 2023-02-24 18:31:18 +00:00
Tulir Asokan
a6c3b84db5 Fix update ghost info on reaction 2023-02-23 15:09:21 +02:00
Tulir Asokan
4676ec98c4 Add more options for guild message handling 2023-02-18 22:56:20 +02:00
Tulir Asokan
541c8e1169 Bump Go version in go.mod. Fixes #57
[skip ci]
2023-02-16 16:54:59 +02:00
Tulir Asokan
69f1793e24 Bump version to v0.1.1 2023-02-16 12:50:42 +02:00
Tulir Asokan
eab19f6679 Update mautrix-go 2023-02-16 12:48:33 +02:00
Tulir Asokan
839933005c Remove lottie conversion temp dir after converting 2023-02-15 22:19:31 +02:00
Tulir Asokan
a28735beb7 Update discordgo 2023-02-15 22:19:28 +02:00
Tulir Asokan
5d7a6e7088 Update changelog and dependencies 2023-02-13 15:40:13 +02:00
Tulir Asokan
f9ba906bbd Update ghost info on incoming reactions 2023-02-13 11:53:00 +02:00
Tulir Asokan
41d51ec992 Handle guild join messages 2023-02-13 00:25:23 +02:00
Tulir Asokan
6ccf87bc0a Handle call start messages
Closes #53
2023-02-13 00:14:05 +02:00
Tulir Asokan
011c60610a Adjust github action 2023-02-13 00:01:12 +02:00
Tulir Asokan
669964272e Fix typo
[skip cd]
2023-02-12 12:25:42 +02:00
Tulir Asokan
943f2dd6f0 Update linters
[skip cd]
2023-02-12 12:24:52 +02:00
Tulir Asokan
3e5baa502e Update discordgo to fix handling guilds in ready event 2023-02-04 16:33:40 +02:00
Tulir Asokan
c336804c7e Fix sticker sizes 2023-02-04 16:17:17 +02:00
Tulir Asokan
2421cd7817 Specify lottieconverter docker tag 2023-02-04 16:13:02 +02:00
Tulir Asokan
a7864c28d8 Add support for converting lottie stickers 2023-02-04 16:10:03 +02:00
Tulir Asokan
0dba4fbdd4 Fix typo in initial db migration 2023-02-04 15:58:22 +02:00
Tulir Asokan
fac7d79c5e Subscribe to guild when bridging it 2023-02-04 14:49:10 +02:00
Tulir Asokan
f32fd8d904 Update changelog and dependencies 2023-02-04 14:27:23 +02:00
Tulir Asokan
1e81fc6a02 Improve typing notification handling 2023-02-04 14:17:59 +02:00
Tulir Asokan
80f8bed9b9 Subscribe to bridged guilds on connect 2023-02-04 14:17:56 +02:00
Tulir Asokan
7cdd1bb9e4 Double check bridging status before handling message
Some webhook messages don't seem to have the guild ID specified
2023-02-04 13:45:50 +02:00
Tulir Asokan
a2121347e8 Don't set extra data in edit fallbacks 2023-02-02 22:23:51 +02:00
Tulir Asokan
85395c0230 Bridge youtube embeds as link previews 2023-02-02 22:23:34 +02:00
Tulir Asokan
787ce75dde Fix transferring same attachment multiple times in parallel 2023-01-31 13:11:02 +02:00
Tulir Asokan
5b715cd9e2 Allow inline links in Discord embed descriptions 2023-01-30 18:35:17 +02:00
Tulir Asokan
a9e03f092c Fix removing custom emoji reactions from Matrix 2023-01-30 01:48:43 +02:00
Tulir Asokan
466139164c Merge emoji and discord_file tables
Also fix duplicate reaction when reacting with custom emoji from Matrix
2023-01-30 01:35:22 +02:00
Tulir Asokan
e183f5cffa Disable caching reuploaded encrypted files 2023-01-30 01:01:10 +02:00
Tulir Asokan
e7615ef4be Refactor tag rendering to avoid recreating goldmark instance for each message 2023-01-30 00:44:06 +02:00
Tulir Asokan
694733a4e9 Don't specify width in inline images
They don't necessarily need to be square, so only specify height
and let clients make the width fit automatically.
2023-01-30 00:15:57 +02:00
Tulir Asokan
6f4c51852c Disable more unsupported features in discord markdown parser 2023-01-30 00:15:54 +02:00
Tulir Asokan
44600c9496 Bump version to v0.1.0 2023-01-29 16:14:39 +02:00