Commit graph

108 commits

Author SHA1 Message Date
4591b5ae03 m->d: Fix glitched mention when Element disambigs 2024-01-22 23:10:33 +13:00
988cb9408d Fix DI on eventToMessage 2024-01-20 23:51:26 +13:00
e49dc18e67 Implement the speedbump 2024-01-20 01:02:51 +13:00
f3cacc89fd m->d: Code coverage for invalid events 2024-01-19 16:38:31 +13:00
aa9c2cc0c7 Reduce surface for test to break 2024-01-19 12:48:07 +13:00
235aee3fef Complete code coverage for emoji sprite sheet 2024-01-19 12:40:00 +13:00
fbf51dab64 Complete code coverage for mxutils 2024-01-19 12:39:41 +13:00
a67708269d m->d: Improve reply preview truncation punctuation 2024-01-10 22:46:20 +13:00
d0a3c3ce29 m->d: Remove rare "In reply to" fallback text 2024-01-10 22:42:13 +13:00
8e3b674d90 Forget messages/events upon deletion (may fix #18) 2024-01-10 15:48:31 +13:00
84d791cd8a m->d: Support attachment body data as alt text 2024-01-06 19:42:13 +13:00
83070dcf7e Fix translating URL encoded mentions of sim users 2024-01-06 19:01:14 +13:00
c8742f9512 m->d: Fix message ID guess on plaintext events 2023-12-02 17:13:10 +13:00
2df7c665cb m->d: Message links are now guessed when unknown 2023-11-30 16:27:40 +13:00
024ff34cca Handle mentioning sims from a different bridge 2023-11-28 19:04:08 +13:00
cd2e012b8e Fix joining guessed @mentions to room 2023-11-25 23:09:28 +13:00
8d452102d5 d->m: Message links are now guessed when unknown 2023-11-23 16:11:46 +13:00
8439512f1a Add snowflake timestamp converter functions 2023-11-23 15:51:25 +13:00
8026cf0cad Coverage for m->d ordered list start attribute 2023-11-23 13:41:31 +13:00
53a009ca45 m->d: Users who aren't joined can be mentioned
This works by writing @name in the message, where `name` is the username
or displayname of the person in the guild you want to mention. If it
matched, the person will be joined and mentioned on their side.

Unfortunately this requires you to guess the person's name, and may lead
to embarrassment if it doesn't activate as you intended. Good luck!
2023-11-23 13:41:02 +13:00
e73de60d77 m->d: Strip colons from user mentions 2023-10-28 00:37:20 +13:00
afbbe0da3d Fix more edge-case embed formatting 2023-10-28 00:24:42 +13:00
9c3f1abd3a Upload files to Discord as streams for speed 2023-10-15 00:26:52 +13:00
c24752625d Split part and reaction_part
Now, reactions should always end up on the bottom of a message group,
instead of sometimes being in the middle.
2023-10-14 22:11:29 +13:00
b7f90db20a Fix reply preview "undefined" on embed description 2023-10-14 19:27:45 +13:00
1016fb1d67 Always use OOYE bot to send thread start context 2023-10-14 17:23:55 +13:00
999276e407 m->d: Fix HTML entities showing in reply preview 2023-10-13 23:23:15 +13:00
480c7a6bd9 m->d: Use Matrix displayname in m/m reply preview 2023-10-13 23:05:07 +13:00
61ac535995 d->m fix replying to matrix user in thread 2023-10-13 02:05:44 +13:00
1620aae27c Merge branch 'hotfix-v1.1.1' 2023-10-12 16:02:14 +13:00
166ac447a8 Fix corrupted member_cache entries on invite 2023-10-12 15:50:04 +13:00
6bbfbd0721 Red question mark emoji encoding should be trimmed 2023-10-11 09:46:11 +13:00
af274ede53 Use the proper L1 and L2 emojis 2023-10-08 00:00:34 +13:00
0e56255f82 Improve code coverage 2023-10-07 22:47:31 +13:00
a925750254 Handling custom emoji reactions is already done 2023-10-06 16:58:44 +13:00
475cd5b724 Add new WHERE feature to my funny orm 2023-10-06 12:31:10 +13:00
28abdac5b6 Alter SQL column names to be distinct 2023-10-05 12:32:46 +13:00
a49b46381c Fix displayname/display_name discrepancy 2023-10-04 23:23:57 +13:00
53baeb5df7 fix m->d message deletions 2023-10-02 22:10:50 +13:00
9e22101f66 Fix bug quoting reply to msg with blockquote 2023-10-02 00:14:46 +13:00
7a218f1254 Autodetect mime type for m->d stickers 2023-09-30 16:21:07 +13:00
60f3b67d2d m->d fix for memorised emojis from other servers 2023-09-27 23:25:56 +13:00
56f16901ca silence the bot in unbridged rooms 2023-09-27 23:24:53 +13:00
95b6fddaa8 fix emoji sheet partial letterboxing 2023-09-27 23:23:46 +13:00
d1e3640078 Add Matrix command handler + emoji command 2023-09-27 08:20:18 +13:00
c1cbdfee82 Other kinds of reaction removals 2023-09-25 23:15:36 +13:00
6dcf3a383a make removing single reactions work correctly 2023-09-25 22:20:23 +13:00
a396e6f596 Bridge the shortcode as part of reactions 2023-09-25 20:19:04 +13:00
8d3ac665c9 Support m->d redacting messages and reactions 2023-09-25 16:26:48 +13:00
2e68c7edf5 clean up 2023-09-24 03:24:56 +13:00