Commit Graph

313 Commits

Author SHA1 Message Date
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 v0.1.0 2023-01-29 16:14:39 +02:00
Tulir Asokan
254148f870 Convert everyone/here into room and block other room mentions 2023-01-29 15:59:48 +02:00
Tulir Asokan
0f32f966b3 Add notice to messages that contain components 2023-01-29 15:36:53 +02:00
Tulir Asokan
dd29e8edf5 Update ghost info from mentions 2023-01-29 15:31:56 +02:00
Tulir Asokan
1cc79b44b2 Remove non-descriptive alt texts 2023-01-29 15:23:10 +02:00
Tulir Asokan
6974405d7c Add icons to guilds status command. Fixes #32 2023-01-29 15:10:44 +02:00
Tulir Asokan
840e95b388 Use discordgo's permission calculator 2023-01-29 14:59:00 +02:00
Tulir Asokan
d78d4c4da5 Remove variation selectors in text messages sent to Discord. Fixes #13 2023-01-29 14:21:04 +02:00
Tulir Asokan
98f45991a4 Add support for running Discord bot commands. Fixes #35 2023-01-29 13:45:00 +02:00
Tulir Asokan
10d26a7baa Send all text embeds in one message 2023-01-29 02:13:02 +02:00
Tulir Asokan
98cd08e889 Add slightly hacky support for interaction messages 2023-01-28 16:36:12 +02:00
Tulir Asokan
9cc1666d2b Try to fix discord file cache with postgres again 2023-01-28 16:02:06 +02:00
Tulir Asokan
c365c1cf20 Use strings for decryption info in DB 2023-01-28 15:57:34 +02:00
Tulir Asokan
e9249d6ff9 Upload files before sending message 2023-01-28 15:43:16 +02:00
Tulir Asokan
9cf9d7c446 Handle Matrix stickers as images. Closes #33 2023-01-28 15:08:38 +02:00
Tulir Asokan
2c3a8fb64e Use proxy URLs for all embed media 2023-01-28 14:56:51 +02:00
Tulir Asokan
ccf7969ec6 Fix gif metadata when message edits into a gif 2023-01-28 14:51:14 +02:00
Tulir Asokan
e3a6dd46cb Fix adding images to Beeper link preview metadata 2023-01-28 14:48:08 +02:00
Tulir Asokan
68b82c4d1b Handle link preview and gif embeds appearing as edits 2023-01-28 14:47:41 +02:00
Tulir Asokan
1b4b351f2a Set AutoBridgeChannels flag after creating portals. Fixes #47 2023-01-28 14:03:02 +02:00
Tulir Asokan
8848fb3840 Handle video and link embeds. Fixes #52 2023-01-28 13:59:35 +02:00
Tulir Asokan
75fafae82f Store mime type for reuploaded files 2023-01-28 13:11:35 +02:00
Tulir Asokan
448a48af11 Include images in embeds 2023-01-28 12:56:30 +02:00
Tulir Asokan
c4649533ef Log errors in discord embed conversion 2023-01-28 12:46:36 +02:00
Tulir Asokan
9611b463f5 Ignore embeds with no supported parts 2023-01-28 03:19:14 +02:00
Tulir Asokan
e33bc8c462 Add support for text embeds 2023-01-28 03:16:33 +02:00
Tulir Asokan
9ca27a8df6 Cache files copied to Matrix 2023-01-28 01:57:45 +02:00
Tulir Asokan
9e6b573e83 Ignore channel name/icon change messages 2023-01-28 00:55:33 +02:00
Tulir Asokan
f99b7ce923 Add subcommand descriptions for guilds command. Fixes #19 2023-01-27 23:46:42 +02:00