Commit graph

536 commits

Author SHA1 Message Date
0f1cf7a20c Fix calls to syncUser/registerUser 2024-03-07 09:13:25 +13:00
043f178d1e Map Discord member permissions to sim user PLs
Including PL 20 for members who can mention everyone.
2024-03-06 17:40:06 +13:00
bf3d219716 Add helper for permission calculations 2024-03-06 17:37:55 +13:00
2fb68900c7 d->m: Support permissioned @everyone -> @room
This only works if #9 is fixed in the future.
2024-03-06 13:04:51 +13:00
e2d0ea41d5 Improve video embed formatting 2024-03-06 11:38:46 +13:00
1e8066ca0a Embed URL should only appear when embed has title 2024-03-06 09:45:18 +13:00
15e5ad88af m->d: Disambiguated the desc of splitDisplayName 2024-03-04 17:07:51 -05: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
8d037ff559 Update discord libraries 2024-02-21 00:19:29 +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
e236a25da2 Download images data aot for testing 2024-02-20 22:23:08 +13:00
6e41f85996 Silly fix for emoji sprite sheet 2024-02-20 22:23:08 +13:00
77b7772062 Upload code block in case of incompatible backtick 2024-02-19 17:05:56 +13:00
16f9c81097 Update discord-markdown 2024-02-16 12:05:58 +13:00
19a34a6385 d->m: PK reply to attachment now uses native reply 2024-02-16 10:06:30 +13:00
141ae835df add test for anchor tags 2024-02-14 21:34:31 +13:00
Wonder Collective
7a9e1168fe fix anchor tags where href and content are the same 2024-02-14 21:15:58 +13:00
e0d96cde19 d->m: Better text for links to unbridged channels 2024-02-14 11:57:15 +13:00
553a9441d7 Hopefully this will log PK API failures 2024-02-14 11:49:13 +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
ae4e299cf3 More code coverage for getViaServers 2024-02-13 23:35:02 +13:00
4f37aaf6a6 Code coverage for getViaServers 2024-02-13 23:32:52 +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
Wonder Collective
355ebfe2af m->d: spoiler reasons & reply-quote separation
a few m2d converter improvements
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
f79833c444 m->d: Only care about data-mx-spoiler on span 2024-02-13 22:58:11 +13:00
fd11e3fd10 Finish adding via parameters to all room links 2024-02-13 16:52:21 +13:00
13d1f86d31 d->m: Fix conversion of PK replies to Discord user 2024-02-13 14:38:41 +13:00
d673296619 Embed text with pipe instead of arrow 2024-02-13 11:41:00 +13:00
789a90a893 WIP tests for via parameters 2024-02-13 08:27:58 +13:00
a9f57fc252 WIP add via parameters 2024-02-12 23:07:55 +13:00
4286829b42 Update discord libraries 2024-02-10 16:54:38 +13:00
30afaa1e17 Add getViaServers function 2024-02-09 17:29:05 +13:00
3fb2c983e0 Fix pngjs install 2024-02-07 23:00:41 +13:00
cfc89c40f9 d->m: test: guessed @mentions don't change in code 2024-02-07 16:53:50 +13:00
0e701b2d54 Fix speedbump in threads 2024-02-07 14:52:12 +13:00
0f25e73d67 Merge branch 'hotfix-v1.5.1' 2024-02-07 14:48:49 +13:00
c7fb6fd52e Improve test coverage 2024-02-02 15:55:02 +13:00
69922c4a14 PK d->m replies are now native Matrix replies 2024-02-01 22:23:08 +13:00
98477dc0f6 PK mentions now include member name 2024-02-01 22:22:48 +13:00
64671519bd PK: Fix saving proxy values to DB 2024-02-01 21:43:10 +13:00
6c3164edd6 m->d: Emoji sprite sheet supports APNG 2024-02-01 16:38:17 +13:00
f48c1f3f31 PK: Fix mentions/replies using UUID 2024-01-31 13:09:39 +13:00
3d87bd9da5 PK: Use webhook name as bridged name 2024-01-30 22:01:06 +13:00
c084aa0156 Add the @ sign in the other order 2024-01-22 23:36:19 +13:00