Commit graph

472 commits

Author SHA1 Message Date
7e9005216d Switch to new application service library 2024-08-03 22:46:09 +12:00
87cad6c613 Update and unminify rlottie 2024-08-03 22:45:34 +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
541c5e1eb5 Add include_user_id_in_mxid setting 2024-07-21 14:56:58 +12:00
eb98af0ac3 Move packages to npm registry 2024-07-21 01:30:14 +12:00
5a65e6f6da Only retrigger once, just in case 2024-07-17 12:08:04 +12:00
a2f0bb79db Retrigger events that arrive too early 2024-07-16 23:48:03 +12:00
149cee845a Retry PK API if it doesn't return a message 2024-07-16 22:01:20 +12:00
9e51482b60 Recover from webhooks being deleted 2024-07-16 16:51:44 +12:00
8c506ed270 Drop admin permissions correctly 2024-07-15 15:27:21 +12:00
49598c7af7 Fix bulk message deletes
I have finally e2e tested this function
2024-06-20 13:50:38 +12:00
c9aa5b4c64 Update heatsync
This fixes an issue where matrix spaces would be initially created
without a default privacy level.
2024-06-11 10:21:09 +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
1f5865b0d8 Avoid sending ephemeral messages from Discord 2024-05-14 23:09:51 +12:00
b6b65992f7 Forward redaction errors to error handler 2024-05-14 23:07:54 +12:00
5f0e765934 Bridge forums as spaces 2024-03-26 01:11:13 +13:00
642be26313 Enumerate child rooms with hierarchy endpoint 2024-03-26 01:10:38 +13:00
ff7af39802 Exclude generated embeds for discord.com 2024-03-25 18:05:19 +13:00
7a00b95883 Put < > around ALL the matrix.to links 2024-03-23 21:26:42 +13:00
566b2a9d9e Move bridge bot to its real ID in the database 2024-03-23 18:39:37 +13:00
0deb415511 Don't update profile data of the bridge bot 2024-03-19 22:15:44 +13:00
bce3d0f2c9 Fix reflecting generated embeds 2024-03-19 21:58:48 +13:00
c615ea1e61 Reflect immediately generated link embeds 2024-03-19 15:06:31 +13:00
23d85547f3 Send generated embeds as original user 2024-03-17 01:07:50 +13:00
d01c888d02 Support embed generate MESSAGE_UPDATE events 2024-03-15 15:54:13 +13:00
955310b759 Set sim power a little bit better
I should probably change this to use kstate.
2024-03-15 15:52:49 +13:00
08c01e8664 Update dependencies 2024-03-08 12:56:51 +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
cc9e1de49e Remove deep-equal dependency 2024-03-07 12:19:07 +13:00
a190e690b1 Add tests for somePermissions/allPermissions check 2024-03-07 10:22:49 +13:00
12d85c982e Allow Matrixers to @room if Discorders can too 2024-03-07 10:17:39 +13:00
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