Commit graph

952 commits

Author SHA1 Message Date
18b6efdd18 Fix editing permissions interactions not working
Co-authored-by: Cadence Ember <cadence@disroot.org>
2026-06-01 16:55:11 +12:00
313efb29d8 Fix m->d reaction deletion counting (#85)
Fixes a bug where, if multiple Matrix users had used the same reaction on a message, and then one of those Matrix users removed their reactions, the bot would forcibly remove all of that reactions. Now, we check and make sure there are no remaining reactions from Matrix before removal.

This also rewrote the retrigger system to be more generic and to use promises instead of re-entry (would lose call stack).

Co-authored-by: Cadence Ember <cadence@disroot.org>
Reviewed-on: #85
2026-06-01 04:54:38 +00:00
af6ea072f3 Add stats
Just adding this early version for now so I can iterate.
2026-05-30 15:28:26 +12:00
24c2dee7d3 Fix m->d custom emoji reactions on some clients 2026-05-30 15:16:54 +12:00
16867d57fb Rework how getMedia does thumbnails 2026-05-29 20:10:32 +12:00
aecfde54c8 Resize avatars before sending to Discord 2026-05-29 20:10:01 +12:00
ee406caf24 Update CloudStorm 2026-05-28 13:20:35 +12:00
9b37705a73 Indicate that errors may be retried 2026-05-28 13:18:18 +12:00
7f7a366cd5 Fix tests for command emoji change 2026-05-22 14:34:59 +12:00
99eacd8c47 Generate letter avatars if no avatar 2026-05-22 14:34:32 +12:00
e0eb7deb2f Change arrow to chevron for commands 2026-05-21 23:19:03 +12:00
e435b78e28 Do not revoke newer webhooks 2026-05-21 19:13:03 +12:00
d76936b157 Change emoji for forwards/crossposts 2026-05-21 19:09:02 +12:00
dec216c0c2 Update dependencies 2026-05-21 19:04:42 +12:00
7781d1e34d Increase d->m catch-up limit to 100 2026-05-21 18:44:48 +12:00
93bbc5ea0f Revoke webhooks that might have been compromised 2026-05-21 18:28:11 +12:00
43b8b02b40 Remove webhook tokens from error messages 2026-05-21 17:59:52 +12:00
eb676256e4 Fix Discord mentions with extra HTML attributes 2026-05-14 18:20:32 +12:00
4815d28aa4 Code blocks uploaded as attachments when too long 2026-05-13 14:38:14 +12:00
191a98e1dc Fix watching registration file before creation 2026-05-12 14:11:06 +12:00
678a1b77bb Cap length of channels report 2026-05-12 14:08:58 +12:00
2aff1fbd06 Code block attachments use Discord supported types 2026-05-12 14:07:14 +12:00
92d6ada71b Merge tag 'v3.5.1'
Remove AI joke
2026-05-10 20:41:21 +12:00
d8fb4be509 d->m: Fix reply to user join message 2026-04-24 21:23:14 +12:00
4698835549 v3.5.1 v3.5.1 2026-03-29 15:43:43 +13:00
e7cbfb9fc9 Remove AI joke
This reverts commit 201814e9f4.
2026-03-29 15:43:23 +13:00
91bce76fc8 Use HTML to strip per-message profile fallback 2026-03-29 15:41:23 +13:00
nemesio65
12f4103870 d2m: Create voice channels as call rooms 2026-03-28 11:46:08 +13:00
e28eac6bfa Update domino 2026-03-28 11:45:51 +13:00
857fb7583b v3.5 v3.5 2026-03-27 19:20:04 +13:00
59012d9613 Fix pinning random messages 2026-03-27 19:13:03 +13:00
953b3e7741 Attach message to error
Apparently this was causing detached logs, so just stop those
complaints if the error isn't being bubbled
2026-03-26 00:16:30 +13:00
8c023cc936 Add ping() function to REPL 2026-03-25 16:24:07 +13:00
e9fe820666 Registration changes should be instant now 2026-03-25 16:22:37 +13:00
f742d8572a MSC4144 minor changes for merge 2026-03-25 03:10:54 +00:00
Bea
8224ed5341 feat(discord): show per-message profile info in matrix info command 2026-03-25 03:10:54 +00:00
Bea
0b513b7ee0 fix(m2d): implement MSC4144 avatar clearing algorithm
- Empty string "" -> undefined (Discord uses default avatar)
- Valid MXC URI -> convert to public URL
- Omitted/null -> keep member avatar
2026-03-25 03:10:54 +00:00
Bea
07ec9832b2 fix(m2d): only use unstable com.beeper.per_message_profile prefix 2026-03-25 03:10:54 +00:00
Bea
a8b7d64e91 feat(m2d): strip per-message profile fallbacks from message content
Remove data-mx-profile-fallback elements from formatted_body and
displayname prefix from plain body when per-message profile is used.
2026-03-25 03:10:54 +00:00
Bea
41692b11ff feat(m2d): support MSC4144 per-message profiles
Override webhook username and avatar_url from m.per_message_profile
(and unstable com.beeper.per_message_profile) when present.
The stable key takes priority over the unstable prefix.
2026-03-25 03:10:54 +00:00
d8c0a947f2 Automatically reload registration 2026-03-25 15:39:26 +13:00
5c9e569a2a Support channel follow messages 2026-03-25 15:29:18 +13:00
201814e9f4 Update dependencies 2026-03-23 21:22:33 +13:00
7367fb3b65 Fix weird background clipping on icons 2026-03-20 01:37:22 +13:00
c75e87f403 Stream files in serveStatic for lower memory use 2026-03-20 01:27:34 +13:00
8b9d8ec0cc Widen newline tag detection 2026-03-20 00:59:52 +13:00
0dac3d2898 Internal language adjusted 2026-03-20 00:53:09 +13:00
9dbd871e0b Defuse mentions in m->d reply if client says so 2026-03-20 00:42:51 +13:00
8c87d93011 Remove member repetition bugfixes 2026-03-20 00:17:40 +13:00
e8d9a5e4ae Script to remove uncached bridged users 2026-03-19 14:30:19 +13:00