Commit Graph

137 Commits

Author SHA1 Message Date
Tulir Asokan
a9b6d08ec6 Ignore messages in unknown guilds 2022-05-31 13:07:51 +03:00
Tulir Asokan
b25c205cc4 Update mautrix-go 2022-05-31 13:07:41 +03:00
Tulir Asokan
7546dccef5 Forget stored token when receiving error code 4004 2022-05-31 00:42:11 +03:00
Tulir Asokan
cef84493ff Document displayname_template variables and remove the suffix by default 2022-05-31 00:34:33 +03:00
Tulir Asokan
25d85962e4 Adjust some things 2022-05-31 00:34:21 +03:00
Tulir Asokan
06dbb3612c Fetch channel info if necessary when creating portal 2022-05-30 20:46:21 +03:00
Tulir Asokan
ef18505c27 Send connected state on reconnect 2022-05-30 17:11:51 +03:00
Tulir Asokan
5ff8a988a8 Add config option to disable using restricted join rule 2022-05-30 15:59:26 +03:00
Tulir Asokan
aa666c9889 Send bridge state and message checkpoints 2022-05-30 15:58:03 +03:00
Tulir Asokan
c980634783 Add Matrix->Discord mention bridging 2022-05-29 18:48:11 +03:00
Tulir Asokan
56e6df2277 Add initial Matrix->Discord HTML conversion 2022-05-29 15:32:24 +03:00
Tulir Asokan
686b1995fa Add initial Discord->Matrix markdown rendering 2022-05-29 14:13:34 +03:00
Tulir Asokan
0366578ab4 Don't fail if parent portal doesn't exist yet 2022-05-29 11:32:28 +03:00
Tulir Asokan
49b5f77a03 Disable autojoining threads 2022-05-29 00:32:02 +03:00
Tulir Asokan
a7c969b7bc Fix handling replies 2022-05-29 00:27:49 +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
575f684a54 Send bridge info when creating room 2022-05-27 16:19:54 +03:00
Tulir Asokan
d822d87057 Fix discordgo version 2022-05-27 16:01:06 +03:00
Tulir Asokan
264a790e05 Add/remove variation selectors in reactions 2022-05-27 15:59:16 +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
888731cec2 Switch to spaces in .sql files 2022-05-23 20:01:03 +03:00
Tulir Asokan
a40ad4d10f Fix db upgrade file name 2022-05-22 22:54:07 +03:00
Tulir Asokan
972cc18e26 Fix link in readme 2022-05-22 22:50:29 +03:00
Tulir Asokan
dfb278fbd4 Add ROADMAP.md with approximate current state 2022-05-22 22:19:59 +03:00
Tulir Asokan
9f9f7ca4fd Switch startup, config, commands and db migrations to mautrix-go systems 2022-05-22 22:16:42 +03:00
Tulir Asokan
cf5384d908 Merge remote-tracking branch 'beeper/main' 2022-05-21 00:13:33 +03:00
Tulir Asokan
bd03e80b52 Add pre-commit with CI and issue templates 2022-05-20 23:46:15 +03:00
Tulir Asokan
b8990c1898 Move to mautrix 2022-05-20 16:37:41 +03:00
Tulir Asokan
7da4defd05 Add arm64 builds to CI 2022-05-20 15:32:19 +03:00
Gary Kramlich
1a660806cb Fix a crash caused uncached open graphs previews
If the discord open graph stuff has a cached preview it'll pass it along on the
initial MessageCreate message. However, if it doesn't, it'll later send a
MessageUpdate with the new embed and a message that doesn't have an author set
as it's coming from the server.
2022-05-02 12:40:19 -05:00
Gary Kramlich
2ae56ad0ed Fix an issue where the bot would think e2be dms were the management rooms 2022-05-02 11:31:51 -05:00
Gary Kramlich
fe94078194 Avoid a null pointer deference 2022-05-02 11:31:14 -05:00
Gary Kramlich
0afd95398b Fix the help on guilds unbridge 2022-05-02 09:53:54 -05:00
Gary Kramlich
7d9826fc2d Make sure we use the configured format string on room name updates
Refs #37
2022-05-02 09:44:12 -05:00
Gary Kramlich
3a1cb2fc78 Make sure we've acquired the room lock before checking the mxid 2022-05-02 09:29:38 -05:00
Gary Kramlich
59ea003f51 Properly handle group dm name updates.
Refs #37
2022-04-29 07:32:28 -05:00
Gary Kramlich
218854a427 Update our dependencies 2022-04-29 01:28:51 -05:00
Sumner Evans
43f6d2eaa7 editorconfig: add 2022-04-27 22:03:01 -06:00
Gary Kramlich
bf5ba9360e Merge branch 'fix-shared-rooms-query' into 'main'
sqlstatestore: fix query for FindSharedRooms

See merge request beeper/discord!6
2022-04-28 04:02:46 +00:00
Sumner Evans
fdb219bb82 sqlstatestore: fix query for FindSharedRooms
There were missing spaces in the string concatenation
2022-04-27 22:00:07 -06:00
Gary Kramlich
7630e8a7a9 Add the encryption section to example-config.yaml 2022-04-27 22:47:04 -05:00
Gary Kramlich
fc51c6e94e Sync puppets when they send a message
Fixes #30, Fixes #34
2022-04-27 13:48:36 -05:00
Gary Kramlich
8ce5af2fb5 Merge branch 'sumner/bri-2580' into 'main'
async media: add ability to upload media asynchronously

See merge request beeper/discord!5
2022-04-27 18:23:12 +00:00
Gary Kramlich
d788565d2b Fix replies from the management room
This was accidentally broken when implementing e2be.
2022-04-27 13:16:11 -05:00
Sumner Evans
a695b045c8 async media: add ability to upload media asynchronously
Requires a homeserver with MSC2246 support
2022-04-27 11:50:28 -06:00
Gary Kramlich
c5f58afe71 End to bridge encryption implementation
So far this is passing my basic tests, but could use some testing from people
that are much more familiar with how this is supposed to work.

Refs #27
2022-04-27 12:43:12 -05:00