Commit Graph

858 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
abdul
c0d82754b0 Link instead of upload emoji sprite sheets 2026-02-11 02:42:05 +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
Ellie Algase
564d564490 Add command to see Matrix results mid-poll
Co-authored-by: Cadence Ember <cadence@disroot.org>
2026-02-05 00:59:36 +13:00
Ellie Algase
52d9c6fea8 Fix poll results being double-bridged
Oddly, this would only occur for the first poll in a channel.
2026-02-04 13:02:43 +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
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
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