Commit graph

729 commits

Author SHA1 Message Date
f6c749acca Add "please try invite" message when joinRoom in /api/link-space fails 2025-08-31 20:11:38 +09:00
ecb4ae0315 Fill in more of reg for other people to test with 2025-08-31 19:44:36 +09:00
37da02d13a Fix /api/link-space joinRoom() for remote spaces 2025-08-31 19:44:36 +09:00
74172f3d3d Update tests for new types and code path 2025-08-31 19:44:36 +09:00
af79c96aeb Cleanup 2025-08-31 19:44:36 +09:00
91d62e7b28 Fix matrix api joinRoom() for remote rooms
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.

It seems like the "via" information can also be stored in the
"m.space.parent" in the states of the room, but hopefully this shouldn't
be needed in sane implementations
2025-08-31 19:44:36 +09:00
c71044fdec Only edit events if the text has changed 2025-08-29 00:09:18 +12:00
954d41269c Store directs in database rather than account data 2025-08-21 11:30:23 +12:00
5e4bea6ce6 Remove useless loop 2025-08-21 00:47:50 +12:00
344822cec0 Minor copyedit 2025-08-17 18:25:34 +12:00
a7abdfdc25 Persist cookies longer than session 2025-08-17 18:24:27 +12:00
2a0e22a122 Don't explode if it can't send follow-up errors
This _should_ be awaited all the way up, but it didn't work for me,
and better safe than sorry I guess?
2025-08-13 20:49:02 +12:00
160efc5592 Update dependencies 2025-08-13 20:30:19 +12:00
106aea4031 Remove silly stringify 2025-08-13 13:41:50 +12:00
ca8bbe076c Replace PK multiple attempts with cache lookup 2025-08-13 13:32:26 +12:00
7bfe140d08 More precise power level checking 2025-08-05 01:40:56 +12:00
67291a3736 Get member data when running backfill 2025-08-05 01:25:09 +12:00
6c23c5725a Fix default power property usage 2025-08-05 00:53:33 +12:00
50ca219fc1 Fix retrying d->m errors 2025-08-05 00:06:01 +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
cf39737b5a Move to util 2025-08-04 18:09:39 +12:00
9a33ba3ed2 Fix evil encrypted file event with null url 2025-07-21 12:46:51 +12:00
baf024af84 Fix invalid power level state changes 2025-06-23 10:09:34 +12:00
10a3185823 Give sims enough power to send to read-only rooms 2025-06-22 22:35:33 +12:00
65498e6cd1 Don't archive threads that are part of a forum 2025-06-22 19:04:25 +12:00
639912fee3 Don't overwrite space parent of self-service rooms 2025-06-22 18:51:24 +12:00
50a047249b Check hierarchy instead of m.space.child 2025-06-22 18:38:20 +12:00
efaa59ca92 Update CloudStorm (requires node 22+!) 2025-06-21 22:57:31 +12:00
4b5fb59d96 Fix directory with emoji files 2025-06-21 17:02:57 +12:00
7d83f114ba Fix channel links inside lists 2025-06-21 14:45:49 +12:00
408475dabb Fix guild emoji upload command 2025-06-17 17:18:44 +12:00
d5d51b4e7e Don't search for excessively long text 2025-06-17 14:54:34 +12:00
e0c0b7c9c2 Set up emojis in-process if needed 2025-06-16 23:10:55 +12:00
2c15468c22 Fix m->d then d->m reactions not merging 2025-06-16 22:50:34 +12:00
edf60bcd2d Remove provider line from Tenor gifs 2025-06-15 21:18:33 +12:00
890e80854f m->d: render tables 2025-06-09 12:07:11 +12:00
65a591e924 Add documentation for info API 2025-06-08 23:02:50 +12:00
45de3f8be4 Info API: Use HTTPS for avatar URLs 2025-06-08 22:52:07 +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
c50d238552 Suppress error when adding to a super reaction 2025-06-04 11:31:22 +12:00
8d4d505ab9 d->m: preserve unknown messages when syncing pins 2025-05-29 11:57:34 +12:00
2a6284968f Fix replying to a message that had a new emoji
Without this, the emoji consistency assertion would fail because we must
call transformContent to upload the emoji to Matrix.
2025-05-26 00:18:56 +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
60a53f76bb Update dependencies 2025-04-16 22:50:49 +12:00
2522a74d7c Only ack read receipts if the event was bridged 2025-04-16 22:45:07 +12:00
d326894b8a Fix PK member lookup error messages 2025-04-16 22:44:48 +12:00
b0ffb45e55 Allow un-reacting in read-only rooms 2025-04-16 22:42:09 +12:00