Commit Graph

294 Commits

Author SHA1 Message Date
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
Tulir Asokan
9f95a1b686 Add better error message when QR login fails due to captcha
Closes #38
2023-01-27 23:35:28 +02:00
Tulir Asokan
2cb83aeee9 Disable lists in goldmark when parsing discord markdown 2023-01-27 23:29:36 +02:00
Tulir Asokan
fa646cdc84 Don't escape markdown inside code blocks
Closes #45
2023-01-27 22:47:58 +02:00
Tulir Asokan
09a94010d8 Add option to disable custom emoji reactions 2023-01-27 21:23:11 +02:00
Tulir Asokan
039764e081 Include custom emoji metadata in reaction events. Fixes #50 2023-01-27 21:20:38 +02:00
Tulir Asokan
97b388fd24 Add some logs for guild and channel create/update/delete events 2023-01-27 21:13:06 +02:00
Tulir Asokan
7d959c92dc Automatically unbridge guild when leaving if it has no other Matrix users 2023-01-27 21:06:30 +02:00
Tulir Asokan
587cf8a17e Retry connecting a few times if connection fails on startup 2023-01-24 21:00:17 +02:00
Tulir Asokan
e2bd89bd97 Add hacky option to mute all guild channels on create 2023-01-20 15:07:18 +02:00
Tulir Asokan
da9f169333 Update mautrix-go 2023-01-16 18:36:32 +02:00
Tulir Asokan
9e7c54bdc0 Maybe actually fix bridge state order 2023-01-16 18:36:23 +02:00
Tulir Asokan
315e7921e6 Save new access token after relogining 2023-01-16 17:31:09 +02:00
Tulir Asokan
d0fb075874 Add db migration to fix broken double puppets 2023-01-16 17:24:04 +02:00
Tulir Asokan
770aaa25ff Update mautrix-go 2023-01-14 13:44:42 +02:00
Tulir Asokan
3350692eb0 Add beeper room type to m.bridge info 2023-01-13 19:35:17 +02:00
Tulir Asokan
70dd119faa Prevent transient disconnect state after bad credentials 2023-01-13 19:25:38 +02:00
Tulir Asokan
57ef7ec63f Actually make logout detection work 2023-01-13 19:00:15 +02:00
Tulir Asokan
fd16c4dcd0 Update discordgo 2023-01-13 18:44:49 +02:00
Tulir Asokan
330faa45fa Handle getting logged out while bridge is running 2023-01-13 18:41:23 +02:00