Commit graph

879 commits

Author SHA1 Message Date
15aa6ed502 Highlight scanned mentions on Matrix side 2026-02-03 22:41:03 +13:00
5aa112f962 Better detect reply rep in reply fallback 2026-02-03 12:35:16 +13:00
f287806bcd Remove smalltext from non-bots
I don't like it.
2026-02-03 01:23:12 +13:00
45285a4835 Only send components if they rendered to something 2026-02-03 01:22:38 +13:00
b16d731ddb Better emoji pack names 2026-02-03 01:02:57 +13:00
af9e2d89a5 Wrangle generated embeds; fix edit m.mentions 2026-01-30 20:01:08 +13:00
44208b6fd5 Add /ping command 2026-01-30 19:25:45 +13:00
e3e38b9f24 Components v2 support 2026-01-30 19:22:13 +13:00
fca4c75522 Fix speedbump+retrigger interactions
Send and then edit over speedbump should now just post the edit.

Hopefully this doesn't have any negative consequences.
2026-01-30 19:21:10 +13:00
02d62c0914 Only show video embeds when they have extra info 2026-01-30 13:58:29 +13:00
6200d0b986 Fix selective kstate failing on missing events 2026-01-30 13:44:13 +13:00
d7f5f8bac4 Fix getting invite state
This SSS API call should work on Synapse, Tuwunel, and Continuwuity.
A fallback via hierarchy is provided for Conduit.
2026-01-30 13:43:01 +13:00
0c781f9b72 Fixes to vote counting 2026-01-26 20:51:30 +13:00
f3ae7ba792 Rename poll files a bit better 2026-01-26 02:35:58 +13:00
Ellie Algase
90606d9176 Add full support for polls, both m2d and d2m.
Mostly works, but a few edge-cases still need to be worked out.

Co-authored-by: Cadence Ember <cadence@disroot.org>
2026-01-26 02:30:05 +13:00
Ellie Algase
afca4de6b6 Bridge polls from Matrix as pseudo-polls on Discord (with an embed). Not 100% working.
Co-authored-by: Cadence Ember <cloudrac3r@vivaldi.net>
2026-01-26 02:29:59 +13:00
Ellie Algase
e565342ac8 initial polls support (not exactly working) 2026-01-25 14:33:09 +13:00
2496f4c3b0 Fix retrying own events as non-moderator 2026-01-25 13:50:16 +13:00
c0bbdfde60 add to historical_channel_room when linking 2026-01-24 00:31:50 +13:00
bf9f6b32fd Just join if registered in database 2026-01-23 23:37:55 +13:00
0dc9293f0d Include user_id with sync per spec 2026-01-23 13:29:55 +13:00
ed76dbd76a Wait for Discord connection before listening m->d 2026-01-21 14:53:52 +13:00
0dd8958a2f Update dependencies 2026-01-21 14:53:06 +13:00
90fcbd0ddc Update Discord libraries 2026-01-21 14:33:24 +13:00
345b7d6135 Merge attachments with message when possible 2026-01-21 13:51:34 +13:00
ddc7387fa0 Do not make forwarded messages m.notice 2026-01-21 13:51:34 +13:00
b5596b2459 Fetch referenced_message for reply fallback 2026-01-21 13:51:34 +13:00
Rory&
5e4b99a552 Remove reply fallback for same-room replies (and update tests accordingly) 2026-01-21 01:59:59 +13:00
756e8e27ad Make registration more consistent 2026-01-21 01:59:54 +13:00
014a87ed9e Force Matrix m.notices to be unchanged events 2026-01-18 02:53:39 +13:00
92a60955bc Improve Matrix info and add alternative access
React with red question mark to get a DM of the author info, like PK.
2026-01-18 02:39:17 +13:00
abdul
1741bc0fa7 Fix webp animated emojis
https://discord.com/developers/docs/reference#image-formatting-cdn-endpoints
> WebP and AVIF formats must be requested as WebP.
2026-01-17 23:06:19 +13:00
c472388acc Room create event must be included to diff 2026-01-15 14:17:03 +13:00
fba50e9505 Fix getPermissions misunderstanding @everyone 2026-01-14 15:11:22 +13:00
a488c15351 Fix confusion between eventsToSend/unchangedEvents 2026-01-14 15:07:16 +13:00
03e9fc4b9c Room upgrades technical information 2026-01-13 23:08:00 +13:00
c7e8d4d58b Storage is 15% more efficient now 2026-01-13 23:01:58 +13:00
c8b0f23db3 Retrigger m->d reactions and removals 2026-01-13 22:57:52 +13:00
fcd4eb4e51 Refactor cross-room event detection 2026-01-13 22:20:11 +13:00
536ab56048 Better text spoilers
Remove spoiler content from plaintext body
Don't bridge embeds if their link is spoilered (deliberately imprecise)
2026-01-13 22:19:54 +13:00
3d3671e05a skip "cannot invite user that is joined" 2026-01-10 13:19:16 +13:00
505c41a35e More code coverage 2026-01-10 02:28:18 +13:00
513e67189e Formally remove discord_path from room avatars 2026-01-09 13:56:21 +13:00
045fdfdf27 General code coverage 2026-01-09 03:49:32 +13:00
0d15865bcd kstate fixes and code coverage 2026-01-09 02:07:08 +13:00
8661aa7cfa Remove unused orm function 2026-01-09 01:50:16 +13:00
29d08df094 Fix Discord replies to multipart Matrix messages
The second part of the message is part=1 but the reply database lookup
wanted part=0. To fix this, now it finds the first available part.
2026-01-09 01:48:59 +13:00
8e0fe29bec Web accessibility 2026-01-08 20:10:21 +13:00
420258422b Use channel overwrites when checking embeddability 2026-01-08 20:09:43 +13:00
4bea696a5a setUserPower should account for room version 12 2026-01-07 15:38:09 +13:00