Commit graph

69 commits

Author SHA1 Message Date
d0f7d79d78 Fix duplicated data appearing on Matrix 2025-11-18 14:48:59 +13:00
d95a114377 Fix matrix api joinRoom() for remote rooms (#60)
When using self-service mode and trying to link with a remote matrix
room (room not in the same HS as the bridge user), then we need to add
the "via" HSs to join the room with, or else it fails.

We get it from the "m.space.child" in the "children_state" of the space
hierarchy.

Co-authored-by: Cadence Ember <cadence@disroot.org>
Reviewed-on: cadence/out-of-your-element#60
Co-authored-by: Elliu <elliu@hashi.re>
Co-committed-by: Elliu <elliu@hashi.re>
2025-11-02 07:50:16 +00:00
5b7433de32 Make tests time zone independent 2025-10-07 14:09:50 -05:00
bb711c26ac API endpoint for message info 2025-05-12 14:30:49 +12:00
dd63ac7d44 New error trace stringifier 2025-03-12 16:01:36 +13:00
a8670323a0 m->d: fix image captions spec, fix upload issues 2025-02-28 00:39:03 +13:00
d0ac5b58a7 Let anybody run tests 2025-02-16 09:37:21 +13:00
984d4362a5 Remove node-fetch 2025-02-11 12:51:58 +13:00
b2078620be Code coverage for matrix log in & guild settings 2025-02-08 16:05:35 +13:00
a90d3b9055 Code coverage for link/unlink endpoints 2025-02-07 16:56:10 +13:00
a29d019d17 Make read-only Discord channels read-only on Matrix 2025-02-05 16:57:45 +13:00
f7e2c89e65 Test setup for new web pages 2025-02-05 14:57:05 +13:00
f42eb6495f New unicode emoji processor 2025-01-17 18:05:34 +13:00
06b6a63ee3 Sync pins back from Matrix to Discord 2025-01-07 12:24:03 +13:00
4c62124cee Improve invite QR generation 2025-01-06 21:53:48 +13:00
0fe02dce22 Fix web page exploding for unlinked guilds
Now it should at least show something, though features
like invite won't work correctly. More work needed.
2024-12-28 20:01:27 +13:00
c599dff590 Tests and coverage for web 2024-12-24 01:06:19 +13:00
6f7ed829b8 Create and populate guild_id column 2024-10-05 02:23:58 +13:00
9f9d1f615e Test coverage for all interactions 2024-09-30 23:35:09 +13:00
f77602afa6 Add tests for privacy interaction 2024-09-30 16:26:12 +13:00
33915a595d Add tests for reactions interaction 2024-09-30 01:42:12 +13:00
61803c3838 Add tests for matrix info interaction 2024-09-30 01:19:03 +13:00
bad8c5b8c2 Test invite interaction & code coverage 2024-09-30 00:51:55 +13:00
50bd9fd9d7 Remove colorette dependency transitively 2024-09-16 00:54:31 +12:00
15472b4a46 Move test files out of matrix CDN
matrix.org LOVES her! learn this one simple trick
2024-09-15 22:56:55 +12:00
cc7831a313 Remove token from config file 2024-09-13 23:47:11 +12:00
915c34646a Fix references from moving all those files 2024-09-12 17:16:59 +12:00
decc32f7e6 Change getPublicUrlForMxc function for authmedia 2024-09-12 16:59:48 +12:00
37f3a59d8e Interactive initial setup 2024-09-05 15:36:43 +12:00
5d91f999f2 Make power migration testable 2024-08-28 02:53:27 +12:00
b8793dae0f Sync new power system to newly created rooms 2024-08-26 01:42:56 +12:00
24a3b9b0f4 Refactor kstate resource uploading 2024-06-06 12:13:06 +12: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
e236a25da2 Download images data aot for testing 2024-02-20 22:23:08 +13:00
e0d96cde19 d->m: Better text for links to unbridged channels 2024-02-14 11:57:15 +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
6c3164edd6 m->d: Emoji sprite sheet supports APNG 2024-02-01 16:38:17 +13:00
67dc31f747 Fix tests that hard-coded cadence.moe 2024-01-20 18:23:48 +13:00
64beb6c996 Code coverage for lottie 2024-01-18 17:03:17 +13:00
2df7c665cb m->d: Message links are now guessed when unknown 2023-11-30 16:27:40 +13:00
8d452102d5 d->m: Message links are now guessed when unknown 2023-11-23 16:11:46 +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
1ad1c6b525 Add tests for all room privacy levels 2023-10-13 00:51:38 +13:00
48d69c0539 Start work on pinned events 2023-10-10 17:41:53 +13:00
bf0691f9bb Refactor reaction removals and add tests 2023-10-10 14:03:53 +13:00
e3b2c844d8 Fix emoji_id references and add tests 2023-10-07 20:58:46 +13:00
1d99b91ef7 Add database migrations 2023-10-01 01:26:42 +13:00
d81aa51787 orm: fix pluck, add basic tests 2023-09-19 01:23:52 +12:00