Commit graph

97 commits

Author SHA1 Message Date
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
Tulir Asokan
33a002a053 Add config option for number of private channels to automatically bridge on startup 2022-07-08 22:43:52 +03:00
Tulir Asokan
573c5dd33e Set auto_bridge_channels if bridging with --entire flag 2022-07-08 21:23:32 +03:00
Tulir Asokan
05bbcc91a5 Remove log in bridgeMessage 2022-07-08 21:18:24 +03:00
Tulir Asokan
45d0c686ed Fix unnecessary m.space.child updates in DMs 2022-07-08 20:58:05 +03:00
Tulir Asokan
1ecf096aec Add basic typing notification bridging 2022-07-08 17:06:02 +03:00
Tulir Asokan
2611cbfa34 Store role list in database and convert role mentions into a readable format 2022-07-08 15:31:07 +03:00
Tulir Asokan
2c57b47ad2 Store read state version and resync on startup if needed 2022-07-08 12:57:21 +03:00
Tulir Asokan
a33551e487 Bridge own read status in both directions 2022-07-08 12:00:55 +03:00
Tulir Asokan
152fb5c7ce Add support for tags in Discord -> Matrix formatter 2022-07-02 14:48:42 +03:00
Tulir Asokan
303a6eb5fb Add error message for unbridging
Closes #3
2022-06-19 15:27:01 +03:00
Tulir Asokan
a9b6d08ec6 Ignore messages in unknown guilds 2022-05-31 13:07:51 +03:00
Tulir Asokan
7546dccef5 Forget stored token when receiving error code 4004 2022-05-31 00:42:11 +03:00
Tulir Asokan
25d85962e4 Adjust some things 2022-05-31 00:34:21 +03:00
Tulir Asokan
ef18505c27 Send connected state on reconnect 2022-05-30 17:11:51 +03:00
Tulir Asokan
aa666c9889 Send bridge state and message checkpoints 2022-05-30 15:58:03 +03:00
Tulir Asokan
49b5f77a03 Disable autojoining threads 2022-05-29 00:32:02 +03:00
Tulir Asokan
5892f7049e Allow starting threads from Matrix and fix some things 2022-05-29 00:22:00 +03:00
Tulir Asokan
d797541cdc Add DM rooms to space 2022-05-28 23:41:34 +03:00
Tulir Asokan
91dbc83b5d Break a bunch of stuff 2022-05-28 23:03:24 +03:00
Tulir Asokan
4c7829c304 Update database schema and fix things 2022-05-27 15:58:09 +03:00
Tulir Asokan
8c66a064e1 Fix channel names getting corrupted on own message 2022-05-23 23:18:10 +03:00
Tulir Asokan
17288f3d04 Log startup errors and only try to start users who have a token 2022-05-23 23:17:42 +03:00
Tulir Asokan
9f9f7ca4fd Switch startup, config, commands and db migrations to mautrix-go systems 2022-05-22 22:16:42 +03:00