Commit graph

254 commits

Author SHA1 Message Date
ee266f844a Move reaction_part to new events when possible 2024-08-28 17:18:50 +12:00
65de8aaf98 Code coverage 2024-08-28 13:01:59 +12:00
5af7d6bf42 Add test for a generated embed on a reply 2024-08-28 11:51:02 +12:00
2c27879afb Add another async/await, just to be safe 2024-08-28 02:09:27 +12:00
71c553a9cf Test cases for bridging author command metadata 2024-08-28 02:05:51 +12:00
818311bcb4 Use kstate $url feature for channel icons 2024-08-28 01:35:53 +12:00
a6c961984d An emoji can be a single character 2024-08-28 01:31:57 +12:00
42bfd034cf Bridge command author metadata to Matrix 2024-08-28 00:50:48 +12:00
ddb211f8f3 Make permissions command apply recursively 2024-08-28 00:17:34 +12:00
3a84658e8b Make a helper for the room hierarchy 2024-08-27 19:10:38 +12:00
be405d3eed Highly experimental message interactions 2024-08-27 02:17:10 +12:00
b8793dae0f Sync new power system to newly created rooms 2024-08-26 01:42:56 +12:00
2c93ff1e6d Match old and new formats of reply rep 2024-08-16 12:04:09 +12:00
87cad6c613 Update and unminify rlottie 2024-08-03 22:45:34 +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
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
24a3b9b0f4 Refactor kstate resource uploading 2024-06-06 12:13:06 +12:00
1f5865b0d8 Avoid sending ephemeral messages from Discord 2024-05-14 23:09:51 +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
0deb415511 Don't update profile data of the bridge bot 2024-03-19 22:15:44 +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
cc9e1de49e Remove deep-equal dependency 2024-03-07 12:19:07 +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
47ac49a855 Rearrange code (self-review) 2024-03-04 17:02:38 +13:00
19a34a6385 d->m: PK reply to attachment now uses native reply 2024-02-16 10:06:30 +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
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
0e701b2d54 Fix speedbump in threads 2024-02-07 14:52:12 +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