Commit Graph

574 Commits

Author SHA1 Message Date
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
Tulir Asokan
098c8c52da Fix condition for sending CONNECTED state after TRANSIENT_DISCONNECT 2023-01-13 18:06:55 +02:00
Tulir Asokan
9d84faa954 Add support for unbridging guilds 2023-01-13 17:01:23 +02:00
Tulir Asokan
856f9a40fa Clean up provisioning API error codes 2023-01-13 14:56:39 +02:00
Tulir Asokan
8d31425009 Add struct for ping response 2023-01-13 14:40:21 +02:00
Tulir Asokan
88908bf11b Clean up guild bridge/unbridge provisioning APIs 2023-01-13 14:25:34 +02:00
Tulir Asokan
7aca3d6b09 Add version prefix for all provisioning API endpoints 2023-01-13 14:10:17 +02:00
Tulir Asokan
91eab2d772 Add token login provisioning API 2023-01-13 14:09:39 +02:00
Tulir Asokan
91c3fae7cb Clean up QR login provisioning API 2023-01-13 14:09:27 +02:00
Tulir Asokan
de59f449f1 Move automatic double puppeting to correct place 2023-01-11 18:50:50 +02:00
Tulir Asokan
ad9ead6e81 Check permission overwrites before bridging channels 2023-01-11 18:28:02 +02:00
Tulir Asokan
75453d6371 Use hungryserv room delete endpoint if supported 2023-01-11 17:31:40 +02:00
Tulir Asokan
d45a8a30d2 Fix typo in room cleanup 2023-01-11 17:30:24 +02:00
Tulir Asokan
5456591687 Update mautrix-go 2022-12-27 00:23:14 +02:00
Tulir Asokan
824b70e27a Update mautrix-go 2022-12-11 13:42:36 +02:00
Tulir Asokan
ce325e5499 Update mautrix-go 2022-12-03 00:06:34 +02:00
Tulir Asokan
287a3aa6d0 Clear ReadStateVersion on logout 2022-11-30 15:11:04 +02:00
Tulir Asokan
2d64b0bae6 Fix bridging small stickers 2022-11-30 15:10:56 +02:00
Tulir Asokan
4941bb2366 Update Docker image to Alpine 3.17 2022-11-26 22:08:08 +02:00
Tulir Asokan
89985740fd Don't return errors from Logout 2022-11-26 15:18:42 +02:00
Tulir Asokan
96a0351c68 Clear discord user ID column when logging out 2022-11-26 15:13:48 +02:00