Commit Graph
100 Commits
Author SHA1 Message Date
Cadence Ember e54536d965 Check for members gateway intent as well
It was reported that this is required for Log in with Discord to work.
2026-02-12 19:24:50 +13:00
Cadence Ember 8ea29d6c27 Fix link escaping breaking with suppressed links 2026-02-12 16:01:48 +13:00
Cadence Ember 0d574c1370 Fix PluralKit replies (properly) 2026-02-12 13:46:50 +13:00
Cadence Ember 228766cec0 Change how edit timestamps are treated again 2026-02-12 01:27:49 +13:00
Cadence Ember 7ebe8aa042 Fix backfill script 2026-02-11 12:21:54 +13:00
Cadence Ember 6df931f848 Check if we got rugpulled while sending 2026-02-11 11:49:45 +13:00
Cadence Ember 314f37f640 Add newline at end of registration to help shells 2026-02-11 11:49:35 +13:00
Cadence Ember cd0b8bff2b Add reset web password script 2026-02-11 11:36:51 +13:00
Cadence Ember c4909653aa Fix typecheck 2026-02-11 11:31:27 +13:00
Cadence Ember 33eef25cf1 Restore as.listen() during setup 2026-02-11 10:18:32 +13:00
Cadence Ember c8b20719db Move poll-star-avatar file endpoint 2026-02-11 02:57:45 +13:00
Cadence Ember d1b0fa48cf Add tests for emoji sheet; style and nits 2026-02-11 02:42:10 +13:00
Cadence Ember 6b4123b845 More accurate flags check in setup 2026-02-11 01:10:31 +13:00
Cadence Ember dbfa9d0f2b Sync PK member profile on first message
First time a PK member sends a message in the channel, Discord sends a
MESSAGE_UPDATE with the proper avatar data for them. OOYE's speedbump
means sending this message will actually take the edit message path.
The edit message path previously did not force a profile sync. This is
why the Matrix profile did always show up after their second message,
because that message was not updated and took the send path.
2026-02-10 16:42:02 +13:00
Cadence Ember 0ed3ef68f1 Fix PluralKit replies 2026-02-10 16:35:03 +13:00
Cadence Ember 279e379d77 The database really works better if you query it 2026-02-10 16:34:47 +13:00
Cadence Ember 64369f1054 Fix test 2026-02-09 13:22:45 +13:00
Cadence Ember e66822e94b Make sure written mentions do not match in URLs 2026-02-09 13:22:36 +13:00
Cadence Ember b463e1173b Fallback text for Matrix poll end events
Right now this doesn't seem to show up on any clients because extensible
events is a total mess, but if you did want to code a client that shows
this fallback without bothering to code real support for polls, you are
easily able to do that. Just pretend the poll end event is a
m.room.message and render it like usual.
2026-02-05 01:00:06 +13:00
Cadence Ember aa7222c4ed Print d->m errors when there is no room 2026-02-04 12:56:52 +13:00
Cadence Ember c01e347e7b Allow more characters at start of scanned mentions 2026-02-04 12:11:46 +13:00
Cadence Ember 6032ba4199 Support MSC3725-style spoilers 2026-02-04 01:27:31 +13:00
Cadence Ember f5d50fc14e Properly stop PluralKit users typing after sending 2026-02-04 00:59:23 +13:00
Cadence Ember b52b2de205 Customise format for Klipy GIFs 2026-02-04 00:45:23 +13:00
Cadence Ember c73800f785 Fix U+FE0F and tweak decay to fix tie result 2026-02-03 22:58:42 +13:00
Cadence Ember 238e911d13 Fix m->d double-escaping of Matrix mentions 2026-02-03 22:41:03 +13:00
Cadence Ember 15aa6ed502 Highlight scanned mentions on Matrix side 2026-02-03 22:41:03 +13:00
Cadence Ember 5aa112f962 Better detect reply rep in reply fallback 2026-02-03 12:35:16 +13:00
Cadence Ember f287806bcd Remove smalltext from non-bots
I don't like it.
2026-02-03 01:23:12 +13:00
Cadence Ember 45285a4835 Only send components if they rendered to something 2026-02-03 01:22:38 +13:00
Cadence Ember b16d731ddb Better emoji pack names 2026-02-03 01:02:57 +13:00
Cadence Ember af9e2d89a5 Wrangle generated embeds; fix edit m.mentions 2026-01-30 20:01:08 +13:00
Cadence Ember 44208b6fd5 Add /ping command 2026-01-30 19:25:45 +13:00
Cadence Ember e3e38b9f24 Components v2 support 2026-01-30 19:22:13 +13:00
Cadence Ember 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
Cadence Ember 02d62c0914 Only show video embeds when they have extra info 2026-01-30 13:58:29 +13:00
Cadence Ember 6200d0b986 Fix selective kstate failing on missing events 2026-01-30 13:44:13 +13:00
Cadence Ember 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
Cadence Ember 0c781f9b72 Fixes to vote counting 2026-01-26 20:51:30 +13:00
Cadence Ember f3ae7ba792 Rename poll files a bit better 2026-01-26 02:35:58 +13:00
Cadence Ember 2496f4c3b0 Fix retrying own events as non-moderator 2026-01-25 13:50:16 +13:00
Cadence Ember c0bbdfde60 add to historical_channel_room when linking 2026-01-24 00:31:50 +13:00
Cadence Ember bf9f6b32fd Just join if registered in database 2026-01-23 23:37:55 +13:00
Cadence Ember 0dc9293f0d Include user_id with sync per spec 2026-01-23 13:29:55 +13:00
Cadence Ember ed76dbd76a Wait for Discord connection before listening m->d 2026-01-21 14:53:52 +13:00
Cadence Ember 0dd8958a2f Update dependencies 2026-01-21 14:53:06 +13:00
Cadence Ember 90fcbd0ddc Update Discord libraries 2026-01-21 14:33:24 +13:00
Cadence Ember 345b7d6135 Merge attachments with message when possible 2026-01-21 13:51:34 +13:00
Cadence Ember ddc7387fa0 Do not make forwarded messages m.notice 2026-01-21 13:51:34 +13:00
Cadence Ember b5596b2459 Fetch referenced_message for reply fallback 2026-01-21 13:51:34 +13:00
Cadence Ember 756e8e27ad Make registration more consistent 2026-01-21 01:59:54 +13:00
Cadence Ember 014a87ed9e Force Matrix m.notices to be unchanged events 2026-01-18 02:53:39 +13:00
Cadence Ember 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
Cadence Ember c472388acc Room create event must be included to diff 2026-01-15 14:17:03 +13:00
Cadence Ember fba50e9505 Fix getPermissions misunderstanding @everyone 2026-01-14 15:11:22 +13:00
Cadence Ember a488c15351 Fix confusion between eventsToSend/unchangedEvents 2026-01-14 15:07:16 +13:00
Cadence Ember 03e9fc4b9c Room upgrades technical information 2026-01-13 23:08:00 +13:00
Cadence Ember c7e8d4d58b Storage is 15% more efficient now 2026-01-13 23:01:58 +13:00
Cadence Ember c8b0f23db3 Retrigger m->d reactions and removals 2026-01-13 22:57:52 +13:00
Cadence Ember fcd4eb4e51 Refactor cross-room event detection 2026-01-13 22:20:11 +13:00
Cadence Ember 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
Cadence Ember 3d3671e05a skip "cannot invite user that is joined" 2026-01-10 13:19:16 +13:00
Cadence Ember 505c41a35e More code coverage 2026-01-10 02:28:18 +13:00
Cadence Ember 513e67189e Formally remove discord_path from room avatars 2026-01-09 13:56:21 +13:00
Cadence Ember 045fdfdf27 General code coverage 2026-01-09 03:49:32 +13:00
Cadence Ember 0d15865bcd kstate fixes and code coverage 2026-01-09 02:07:08 +13:00
Cadence Ember 8661aa7cfa Remove unused orm function 2026-01-09 01:50:16 +13:00
Cadence Ember 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
Cadence Ember 8e0fe29bec Web accessibility 2026-01-08 20:10:21 +13:00
Cadence Ember 420258422b Use channel overwrites when checking embeddability 2026-01-08 20:09:43 +13:00
Cadence Ember 4bea696a5a setUserPower should account for room version 12 2026-01-07 15:38:09 +13:00
Cadence Ember 55e0e5dfa1 Room version 12 and room upgrades 2026-01-07 02:43:20 +13:00
Cadence Ember 092a4cf7b0 Add traefik documentation 2026-01-06 16:07:23 +13:00
Cadence Ember 17251c61d5 Suppress link embeds where applicable
* If the guild has disabled EMBED_LINKS for default users
* If the user puts < > around the link
2025-12-24 17:13:23 +13:00
Cadence Ember 5a401a187d Suppress embed if an auxiliary m.notice is deleted 2025-12-19 21:47:22 +13:00
Cadence Ember 694379f659 Consider creators when calculating via servers 2025-12-19 21:32:17 +13:00
Cadence Ember 04d26026f5 Pre-upload icons before diffing 2025-12-16 12:37:43 +13:00
Cadence Ember 231b26113e Fix topic diffing from original creation 2025-12-16 12:17:34 +13:00
Cadence Ember e4d0838af5 Support creating v12 rooms 2025-12-16 02:15:17 +13:00
Cadence Ember a6bb248c0a Fix pointer being included for cross-room replies 2025-12-16 00:36:43 +13:00
Cadence Ember 4bc7e794ab Refactor private chat creation 2025-12-16 00:36:11 +13:00
Cadence Ember 239568a8e5 Fully remove failed experiment 2025-12-16 00:34:37 +13:00
Cadence Ember 696a45f344 MAS compatibility 2025-12-13 14:03:10 +13:00
Cadence Ember 2563a47e78 Properly hide embeds for links in reply previews 2025-12-11 12:46:28 +13:00
Cadence Ember 653e38a9d2 Interpret Matrix media spoilers 2025-12-06 03:10:51 +13:00
Cadence Ember 261bb1b8c8 Future-proof permissions 2025-12-05 17:13:56 +13:00
Cadence Ember 33ec4a9bea Merge branch '3.3-backports' 2025-12-03 00:56:33 +13:00
Cadence Ember 0bb7a27164 Semaphore retries per room 2025-12-03 00:55:20 +13:00
Cadence Ember c7313035a4 Update global profiles for sims 2025-12-01 16:53:09 +13:00
Cadence Ember 493bc25602 Fix unbridging procedure 2025-12-01 16:53:09 +13:00
Cadence Ember f176b547ce Maybe accept invites more reliably 2025-12-01 16:53:04 +13:00
Cadence Ember 1758b7aa22 m->d: make image-replies work 2025-12-01 16:52:25 +13:00
Cadence Ember c298f78f96 Update global profiles for sims 2025-12-01 16:48:11 +13:00
Cadence Ember 3fc51cef15 Add upgraded_timestamp to historical_channel_room 2025-12-01 16:38:38 +13:00
Cadence Ember 20453aab43 res.json type fixes 2025-12-01 16:03:27 +13:00
Cadence Ember 6d0a98eb49 Fix unbridging procedure 2025-11-28 17:20:44 +13:00
Cadence Ember 42beb6d249 Maybe accept invites more reliably 2025-11-27 21:48:49 +13:00
Cadence Ember a0fc7a7136 m->d: make image-replies work 2025-11-26 17:21:15 +13:00
Cadence Ember a441c476f8 Support multiple versions of rooms 2025-11-26 15:43:48 +13:00
Cadence Ember e6c30f80b5 Configure whether to receive presences 2025-11-19 16:47:35 +13:00