Commit graph

164 commits

Author SHA1 Message Date
cba79658fa Don't post new embeds for old messages 2025-11-10 00:45:56 +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: #60
Co-authored-by: Elliu <elliu@hashi.re>
Co-committed-by: Elliu <elliu@hashi.re>
2025-11-02 07:50:16 +00:00
cffd3c9f2e Fix converting discord channel links 2025-10-10 12:26:01 -06:00
5b7433de32 Make tests time zone independent 2025-10-07 14:09:50 -05:00
954d41269c Store directs in database rather than account data 2025-08-21 11:30:23 +12:00
160efc5592 Update dependencies 2025-08-13 20:30:19 +12:00
e306b95764 Add test case for something that was irking me 2025-08-04 23:27:56 +12:00
2614493646 Look harder for username data 2025-08-04 18:10:08 +12:00
9a33ba3ed2 Fix evil encrypted file event with null url 2025-07-21 12:46:51 +12:00
10a3185823 Give sims enough power to send to read-only rooms 2025-06-22 22:35:33 +12:00
edf60bcd2d Remove provider line from Tenor gifs 2025-06-15 21:18:33 +12:00
557b7653e2 Test coverage for message info API 2025-06-08 22:29:10 +12:00
ab396bd581 Generate embeds for invites with events 2025-06-08 21:52:28 +12:00
bb711c26ac API endpoint for message info 2025-05-12 14:30:49 +12:00
7a59f48c0a New emoji storage and bug fixes in setup 2025-05-12 14:29:34 +12:00
b0ffb45e55 Allow un-reacting in read-only rooms 2025-04-16 22:42:09 +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
6df8d9a079 Display limited replies to unbridged messages 2025-02-24 01:41:32 +13:00
62be5f7091 Code coverage for web settings 2025-02-21 16:41:43 +13:00
fbc1b6f419 Code quality 2025-02-20 11:36:51 +13:00
6eed4ec54a Allow anyone to react in read-only rooms 2025-02-19 13:56:01 +13:00
d0ac5b58a7 Let anybody run tests 2025-02-16 09:37:21 +13:00
b6e12044a8 Update dependencies 2025-02-11 13:24:30 +13:00
984d4362a5 Remove node-fetch 2025-02-11 12:51:58 +13:00
6a1be91071 Fix scanning forwarded messages for mentions 2025-02-10 00:24:59 +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
5b06d5984a Do cache space members in member_cache 2025-01-20 02:33:24 +13:00
f42eb6495f New unicode emoji processor 2025-01-17 18:05:34 +13:00
8ad299b04c Add foreign keys to database 2025-01-17 11:33:29 +13:00
93cacba283 Make sure client hint change applies
Will eventually remove it fully in v4.
2025-01-08 01:25:17 +13:00
3e5034cff5 Remove read receipts visibility client hint
This is a failed experiment that is long past its time. It needs to go.
2025-01-08 01:07:46 +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
0d8b9d5705 Forwarded messages code coverage and plaintext fix 2024-11-01 16:50:28 +13:00
1b539cfa64 Forwarding text messages 2024-11-01 16:39:56 +13:00
49948ae2c1 Support forwarded messages 2024-10-31 17:34:25 +13:00
4167a01ed1 Add test template for forwarded message 2024-10-25 16:51:20 +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
b0a0e62a86 Adapt createRoom/space/invite to self-service 2024-09-25 01:58:26 +12:00