Commit Graph

73 Commits

Author SHA1 Message Date
Tulir Asokan
7b93d9099d Enable discordgo info logs by default 2023-04-25 20:33:47 +03:00
Tulir Asokan
3f3c86754d Bridge friend nicks as DM room name 2023-04-22 02:50:14 +03:00
Tulir Asokan
e3ff8d2269 Sort private channel list before syncing 2023-04-20 14:27:37 +03:00
Tulir Asokan
533054b8a0 Add option to disable backfilling in big guilds 2023-04-16 23:13:15 +03:00
Tulir Asokan
4194b4dfd9 Improve missed message backfilling 2023-04-16 15:06:02 +03:00
Max Sandholm
693fe49a9a Check last message ID before attempting backfill 2023-04-14 23:09:59 +03:00
Max Sandholm
ee5ea87e83 Forward fill missing messages on startup 2023-04-14 18:48:35 +03:00
Tulir Asokan
46115fafd5 Switch user and puppet files to zerolog 2023-03-12 14:25:24 +02:00
Tulir Asokan
0deec8b853 Retry on unknown errors when logging in 2023-03-10 17:39:34 +02:00
Tulir Asokan
d42c4722c9 Fill usersByID properly 2023-03-08 19:49:43 +02:00
Tulir Asokan
ee2ad7527e Add some logs when disconnecting 2023-03-08 19:21:58 +02:00
Tulir Asokan
bccdc67eb2 Adjust guild info logs 2023-02-28 21:43:55 +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
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
60c260a471 Add initial support for bot accounts. Fixes #12 2023-02-27 01:02:58 +02:00
Tulir Asokan
77b230f4d8 Update mautrix-go and switch to zerolog 2023-02-26 21:57:18 +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
4676ec98c4 Add more options for guild message handling 2023-02-18 22:56:20 +02:00
Tulir Asokan
fac7d79c5e Subscribe to guild when bridging it 2023-02-04 14:49:10 +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
98f45991a4 Add support for running Discord bot commands. Fixes #35 2023-01-29 13:45:00 +02:00
Tulir Asokan
e9249d6ff9 Upload files before sending message 2023-01-28 15:43:16 +02:00
Tulir Asokan
1b4b351f2a Set AutoBridgeChannels flag after creating portals. Fixes #47 2023-01-28 14:03:02 +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
9e7c54bdc0 Maybe actually fix bridge state order 2023-01-16 18:36:23 +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
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
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
287a3aa6d0 Clear ReadStateVersion on logout 2022-11-30 15:11:04 +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
Tulir Asokan
8728867737 Add todo 2022-10-28 23:35:41 +03:00
Tulir Asokan
0b782a5adb Update mautrix-go 2022-09-13 14:45:53 +03:00
Tulir Asokan
522ac4e2fe Remove duplicate calls to send m.space.child for DM rooms 2022-08-19 23:10:46 +03:00
Tulir Asokan
1ced229be9 Update mautrix-go for new bridge status package 2022-08-15 16:43:55 +03:00
Tulir Asokan
52f7ca1a49 Update Go in actions and add go vet to pre-commit 2022-08-15 16:19:44 +03:00
Tulir Asokan
249c7a22d8 Add private channels to space when they're created from an incoming message 2022-07-09 17:03:32 +03:00
Tulir Asokan
7f0f77423d Bridge channel deletions from Discord 2022-07-09 16:51:43 +03:00
Tulir Asokan
edeb50b87a Allow leaving main space and add command to rejoin it 2022-07-09 16:33:51 +03:00
Tulir Asokan
c71f86160d Don't bridge unrecognized channel types even with auto_bridge_channels 2022-07-08 23:06:01 +03:00