Commit graph

68 commits

Author SHA1 Message Date
20dabf4ad5 Only offer to link channels the bridge can access 2025-02-24 02:14:46 +13:00
6df8d9a079 Display limited replies to unbridged messages 2025-02-24 01:41:32 +13:00
31cf91d778 Partially revert fbc1b6f
Since that commit, setup has not worked, because setup loads client
which loads packets which prepares a statement for a table that does not
exist yet, as database migrations have not been run.

Alteratively, we could do migrations earlier in setup, but those would
send a lot of log lines to the terminal in the middle of interactive
prompting.
2025-02-22 12:26:38 +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
6b919d2a82 Add setting for d->m URL previews 2025-02-18 01:11:26 +13:00
331f2f6a38 Update dependencies 2025-02-18 00:08:46 +13:00
98ff9b0e8f Remove async from presence update 2025-02-17 19:35:37 +13:00
506e8a8269 Fix types for combining channels with threads 2025-02-17 16:01:47 +13:00
a5fd30d535 Qualify kind of stream 2025-02-16 17:44:17 +13:00
0d0ca98e13 Don't add unwanted key to initial room creation 2025-02-16 17:32:59 +13:00
a05868f418 Fix m->d encrypted files 2025-02-16 17:15:01 +13:00
ac40c54e40 Hot-reload Presence instances 2025-02-13 01:16:52 +13:00
cfaada6797 Rewrite presence code 2025-02-12 16:50:45 +13:00
984d4362a5 Remove node-fetch 2025-02-11 12:51:58 +13:00
381861ee8e Sadly, the presence API is worse than I hoped 2025-02-11 01:37:23 +13:00
0f435e930e Per-guild presence sync settings
On by default for existing and small guilds.
Off for new large guilds.
Can be toggled either way.
2025-02-10 16:54:30 +13:00
8ad0117fd2 d->m: Presence 2025-02-10 15:23:55 +13:00
6a1be91071 Fix scanning forwarded messages for mentions 2025-02-10 00:24:59 +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
ad51079448 Don't overwrite room custom topics 2025-02-01 23:12:50 +13:00
17ea92a8c2 Fix unlinking left rooms 2025-02-01 22:11:32 +13:00
5b21344a65 Add room list debugger 2025-02-01 01:40:59 +13:00
b1b9124052 Fully support unlinking channels 2025-01-31 15:09:01 +13:00
a579b509d3 Catch PK API network errors 2025-01-28 16:08:43 +13:00
eadefef6a3 Clean up member_cache when unbridging 2025-01-21 15:08:12 +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
14574b4e2c Support alternate Discord hosts 2025-01-17 11:40:34 +13:00
8ad299b04c Add foreign keys to database 2025-01-17 11:33:29 +13:00
931cacea6a Don't add channels/threads to the public directory 2025-01-16 08:44:13 +13:00
6bb31deeaf Ignore missed messages if channel was just added 2025-01-16 08:40:26 +13:00
85269ea153 Hopefully prevent checkMissed errors from crashing 2025-01-12 13:11:51 +13:00
a3e94a215a Hide error if sendTyping request fails 2025-01-12 13:05:16 +13:00
6e55061760 Use kstate for d->m pins updates 2025-01-08 11:31:43 +13:00
0c1b4c5e8e Remove unhelpful guard preventing d->m pin syncing 2025-01-08 09:37:30 +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
97043d90cc await it a bit further up the chain 2025-01-05 19:27:40 +13:00
4f040e40d6 Autocreate space if autocreating the room 2024-12-02 16:33:18 +13:00
559d9329f2 Fix voice messages not being delivered 2024-11-30 22:56:22 +13:00
07d6eb3c12 Fix existingPartZero assertion error 2024-11-02 20:35:52 +13:00
14115c0e06 Attempt retrigger after speedbump 2024-11-01 17:25:11 +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
b23b818192 Use attachment proxy for external_url 2024-10-31 17:34:50 +13:00
49948ae2c1 Support forwarded messages 2024-10-31 17:34:25 +13:00
ac165845d7 Remove unused parameter 2024-10-31 14:42:15 +13:00
e5f7c7fdcb Proxy discord attachment links within embeds 2024-10-31 11:53:34 +13:00