Commit Graph

73 Commits

Author SHA1 Message Date
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
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
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
Ellie Algase
e565342ac8 initial polls support (not exactly working) 2026-01-25 14:33:09 +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
Rory&
5e4b99a552 Remove reply fallback for same-room replies (and update tests accordingly) 2026-01-21 01:59:59 +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
a488c15351 Fix confusion between eventsToSend/unchangedEvents 2026-01-14 15:07:16 +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
505c41a35e More code coverage 2026-01-10 02:28:18 +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
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
a6bb248c0a Fix pointer being included for cross-room replies 2025-12-16 00:36:43 +13:00
Cadence Ember
2563a47e78 Properly hide embeds for links in reply previews 2025-12-11 12:46:28 +13:00
Cadence Ember
3fc51cef15 Add upgraded_timestamp to historical_channel_room 2025-12-01 16:38:38 +13:00
Cadence Ember
a441c476f8 Support multiple versions of rooms 2025-11-26 15:43:48 +13:00
Cadence Ember
edd4f988ec Support persistent Matrix sims for webhooks 2025-11-19 16:37:39 +13:00
Cadence Ember
d0f7d79d78 Fix duplicated data appearing on Matrix 2025-11-18 14:48:59 +13:00
Cadence Ember
158921d55e Improve emoji uploading experience 2025-11-10 19:08:25 +13:00
Cadence Ember
cba79658fa Don't post new embeds for old messages 2025-11-10 00:45:56 +13:00
Cadence Ember
b4dd66fbec More consistently generate embeds for Matrix 2025-11-09 01:07:03 +13:00
Elliu
d95a114377 Fix matrix api joinRoom() for remote rooms (#60)
When using self-service mode and trying to link with a remote matrix
room (room not in the same HS as the bridge user), then we need to add
the "via" HSs to join the room with, or else it fails.

We get it from the "m.space.child" in the "children_state" of the space
hierarchy.

Co-authored-by: Cadence Ember <cadence@disroot.org>
Reviewed-on: https://gitdab.com/cadence/out-of-your-element/pulls/60
Co-authored-by: Elliu <elliu@hashi.re>
Co-committed-by: Elliu <elliu@hashi.re>
2025-11-02 07:50:16 +00:00
Cadence Ember
cffd3c9f2e Fix converting discord channel links 2025-10-10 12:26:01 -06:00
Cadence Ember
5b7433de32 Make tests time zone independent 2025-10-07 14:09:50 -05:00
Cadence Ember
7916f82b55 Change thread started message (closes #61) 2025-10-07 14:09:42 -05:00
Cadence Ember
5a152b87b8 I guess mentions is an optional property too 2025-09-08 12:37:19 +12:00
Cadence Ember
c71044fdec Only edit events if the text has changed 2025-08-29 00:09:18 +12:00
Cadence Ember
2614493646 Look harder for username data 2025-08-04 18:10:08 +12:00
Cadence Ember
cf39737b5a Move to util 2025-08-04 18:09:39 +12:00
Cadence Ember
7d83f114ba Fix channel links inside lists 2025-06-21 14:45:49 +12:00
Cadence Ember
2c15468c22 Fix m->d then d->m reactions not merging 2025-06-16 22:50:34 +12:00
Cadence Ember
edf60bcd2d Remove provider line from Tenor gifs 2025-06-15 21:18:33 +12:00
Cadence Ember
ab396bd581 Generate embeds for invites with events 2025-06-08 21:52:28 +12:00
Cadence Ember
8d4d505ab9 d->m: preserve unknown messages when syncing pins 2025-05-29 11:57:34 +12:00
Cadence Ember
2a6284968f Fix replying to a message that had a new emoji
Without this, the emoji consistency assertion would fail because we must
call transformContent to upload the emoji to Matrix.
2025-05-26 00:18:56 +12:00
Cadence Ember
6df8d9a079 Display limited replies to unbridged messages 2025-02-24 01:41:32 +13:00