Commit Graph

48 Commits

Author SHA1 Message Date
Tulir Asokan
4194b4dfd9 Improve missed message backfilling 2023-04-16 15:06:02 +03:00
Tulir Asokan
35d0c209f2 Add option to not set room meta in encrypted rooms 2023-04-14 13:39:22 +03:00
Tulir Asokan
16b086f62f Add options to automatically delete/ratchet megolm sessions 2023-04-13 17:08:52 +03:00
Tulir Asokan
17d4b79554 Add initial support for relay mode with webhooks 2023-02-28 00:40:53 +02:00
Tulir Asokan
a7864c28d8 Add support for converting lottie stickers 2023-02-04 16:10:03 +02:00
Tulir Asokan
e33bc8c462 Add support for text embeds 2023-01-28 03:16:33 +02:00
Tulir Asokan
09a94010d8 Add option to disable custom emoji reactions 2023-01-27 21:23:11 +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
e2bd89bd97 Add hacky option to mute all guild channels on create 2023-01-20 15:07:18 +02:00
Tulir Asokan
f268ddd132 Add option for autojoining threads when opened 2022-10-28 23:35:31 +03:00
Tulir Asokan
8f6f98acce Update mautrix-go and add option to use MSC2409/MSC3202 for e2be data 2022-09-14 21:13:39 +03:00
Tulir Asokan
0b782a5adb Update mautrix-go 2022-09-13 14:45:53 +03:00
Tulir Asokan
1ced229be9 Update mautrix-go for new bridge status package 2022-08-15 16:43:55 +03:00
Tulir Asokan
7f0f77423d Bridge channel deletions from Discord 2022-07-09 16:51:43 +03:00
Tulir Asokan
4d70b8cf4a Fix typo 2022-07-08 22:46:33 +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
c6fbaa90bf Re-add support for channel name templates 2022-07-08 20:49:23 +03:00
Tulir Asokan
4bc3887471 Remove double puppet syncing option 2022-07-07 21:14:51 +03:00
Tulir Asokan
d0f5e5d7de Change bridge info protocol ID and add resend_bridge_info config option 2022-06-27 11:48:51 +03:00
Tulir Asokan
f93a877406 Add new encryption settings for mautrix-go 2022-06-27 11:18:59 +03:00
Sumner Evans
66c39bc69d encryption: add ability to control rotation settings
Signed-off-by: Sumner Evans <sumner@beeper.com>
2022-06-22 07:56:13 -06: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
4c7829c304 Update database schema and fix things 2022-05-27 15:58:09 +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
b8990c1898 Move to mautrix 2022-05-20 16:37:41 +03: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
Gary Kramlich
3629d7807c Implement channel name formatting and handle channel updates 2022-04-11 11:35:35 -05:00
Sumner Evans
317abae2ed ephemeral events: add support for MSC2409 ephemeral events
Closes #19
2022-04-01 18:50:46 -06:00
Sumner Evans
504476c276 config: username template should be lowercase
See https://spec.matrix.org/v1.2/appendices/#user-identifiers
2022-04-01 16:38:35 -06:00
Gary Kramlich
dc3bdc2cec Double puppet support 2022-02-27 22:46:11 -06:00
Gary Kramlich
d883befee5 Basic provisioning api
Includes: login, logout, and ping.
2022-02-22 02:51:22 -06:00
Gary Kramlich
680f7bdbea A ton of work getting towards dms.
This commit also points to my fork of discordgo which makes it look like the
official client which is the only way to get the actually contents of a dm
when not authorized as a bot.
2022-01-25 23:22:20 -06:00
Gary Kramlich
2279916d9c Implement the command parser
Right now this just supports help and version, but will be getting new commands
shortly.
2021-12-30 15:08:41 -06:00
Gary Kramlich
456a15ba56 Initial bot functionality
* The bot now properly joins the management room
* The management room is persisted in the database
* Welcome/help messages are sent in the management room
2021-12-30 09:33:06 -06:00
Gary Kramlich
78ab3d3804 Initial database setup including migrations 2021-12-09 05:37:41 -06:00
Gary Kramlich
be3982e585 Start of the bot and it's matrix connection 2021-12-07 19:08:58 -06:00
Gary Kramlich
8086ad1708 Add logging config and add some helper functions 2021-11-20 04:58:59 -06:00
Gary Kramlich
f97da27731 Add a force option to the generate-config command 2021-11-20 03:33:19 -06:00
Gary Kramlich
79713cf0ef Fix some defaults in the appservice config 2021-11-20 03:33:06 -06:00
Gary Kramlich
4e074afc64 Add a generate-config command 2021-11-20 03:27:46 -06:00
Gary Kramlich
6a87e389b6 Fix a bug where the config wasn't loaded properly 2021-11-19 17:09:02 -06:00
Gary Kramlich
2b63ddc6b8 Rename the config structs setDefaults to validate
This allows us to check for some required values and give an easy to respond
to error at startup rather than a lot of validation during run time.
2021-11-19 16:53:43 -06:00
Gary Kramlich
5a11f49dbe Make sure we always load our default config values 2021-11-19 16:31:19 -06:00
Gary Kramlich
09911a11e3 Add a generate-registration command 2021-11-18 02:44:21 -06:00
Gary Kramlich
5b3811ce96 Start of the config 2021-11-18 02:03:42 -06:00