Commit graph

40 commits

Author SHA1 Message Date
Tulir Asokan
035f2a408b Add support for authenticated media 2024-07-12 20:09:07 +03:00
Tulir Asokan
d0e3d2966a
Redo direct media access with URL refreshing (#135) 2024-02-18 23:10:19 +02:00
Toni Spets
643d4c6e39 Expose debug API with pprof
Runs along the provisioning API with same authentication.
2023-12-05 12:11:57 +02:00
Tulir Asokan
185f9a8963 Move double puppeting login code to mautrix-go 2023-08-22 19:01:08 +03:00
Tulir Asokan
200c4fc9d0 Expose Application flag to displayname templates
Fixes #94
2023-06-22 13:18:27 +03:00
Tulir Asokan
8ebad277f5 Make backfilling code compatible with threads
This doesn't trigger thread backfill yet, but the backfill methods can
handle threads now.
2023-06-18 20:09:23 +03:00
Tulir Asokan
4393772ccc Add options to improve handling of webhook messages sent by other bridges 2023-05-27 13:01:24 +03:00
Tulir Asokan
ad8efb864b Add option to disable direct CDN uploads 2023-05-14 14:46:04 +03:00
Tulir Asokan
cc2d0ae40d Add options to disable or force-enable caching media 2023-05-05 12:51:12 +03:00
Tulir Asokan
f6f6ed29ec Add option to bypass homeserver for Discord media 2023-04-26 01:39:17 +03:00
Tulir Asokan
533054b8a0 Add option to disable backfilling in big guilds 2023-04-16 23:13:15 +03:00
Tulir Asokan
587ac68f60 Fix backfill things 2023-04-16 16:31:29 +03:00
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
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
7f0f77423d Bridge channel deletions from Discord 2022-07-09 16:51:43 +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
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
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
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
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
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