Commit graph

77 commits

Author SHA1 Message Date
283cf66906 Move reply previews to one line, fix android small text 2024-08-16 01:08:01 +12:00
2c3b653b54 Consistently add @ to m->d matrix mentions 2024-07-31 00:06:32 +12:00
f9eb043c10 Update dependencies 2024-07-31 00:00:48 +12:00
742d34f15e Fork turndown for Discord-like link escaping 2024-07-30 23:45:44 +12:00
a6251e850c Use small text for m->d replies 2024-07-30 23:45:26 +12:00
24a3b9b0f4 Refactor kstate resource uploading 2024-06-06 12:13:06 +12:00
07a133eba9 Fix "...\nhttps://..." corrupting the link 2024-05-25 22:46:28 +12:00
7a00b95883 Put < > around ALL the matrix.to links 2024-03-23 21:26:42 +13:00
f5ffc09fab Convert @room to @everyone using permissions 2024-03-07 16:23:23 +13:00
25cd8cb289 Use allowed_mentions instead of disableEveryone 2024-03-07 13:07:10 +13:00
47ac49a855 Rearrange code (self-review) 2024-03-04 17:02:38 +13:00
c5d6c5e4c7 Rearrange testing emoji sheet images 2024-03-04 13:19:50 +13:00
18ef337aef Add test case for unreachable emojis
This test is for commit 6e41f85
2024-02-23 11:48:23 +13:00
6738290d99 m->d: Reliably put < > around matrix.to links
This replaces the turndown brackets system with a regexp over body
and formatted_body.
2024-02-21 00:00:11 +13:00
77b7772062 Upload code block in case of incompatible backtick 2024-02-19 17:05:56 +13:00
141ae835df add test for anchor tags 2024-02-14 21:34:31 +13:00
310bf2282c Code coverage for silly reply previews 2024-02-14 11:39:50 +13:00
67939860b2 Consolidate convertEmoji function 2024-02-14 11:32:07 +13:00
369e0862e5 m->d: Fix reply previews saying undefined 2024-02-14 11:04:54 +13:00
56f959e9f3 m->d: test: spoiler reasons 2024-02-13 23:03:56 +13:00
e999fcf819 m->d: test: Line break between reply and quote msg 2024-02-13 23:03:56 +13:00
7756a34a5f m->d: Gracefully handle replies to redacted event 2024-02-13 22:58:21 +13:00
cfc89c40f9 d->m: test: guessed @mentions don't change in code 2024-02-07 16:53:50 +13:00
c7fb6fd52e Improve test coverage 2024-02-02 15:55:02 +13:00
f48c1f3f31 PK: Fix mentions/replies using UUID 2024-01-31 13:09:39 +13:00
4591b5ae03 m->d: Fix glitched mention when Element disambigs 2024-01-22 23:10:33 +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
d0a3c3ce29 m->d: Remove rare "In reply to" fallback text 2024-01-10 22:42:13 +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
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
b7f90db20a Fix reply preview "undefined" on embed description 2023-10-14 19:27:45 +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
0e56255f82 Improve code coverage 2023-10-07 22:47:31 +13:00
475cd5b724 Add new WHERE feature to my funny orm 2023-10-06 12:31:10 +13:00
a49b46381c Fix displayname/display_name discrepancy 2023-10-04 23:23:57 +13:00
9e22101f66 Fix bug quoting reply to msg with blockquote 2023-10-02 00:14:46 +13:00
60f3b67d2d m->d fix for memorised emojis from other servers 2023-09-27 23:25:56 +13:00
2e68c7edf5 clean up 2023-09-24 03:24:56 +13:00