0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00
Commit graph

4395 commits

Author SHA1 Message Date
Jason Volk
e479a17f51 modules/console: Display the eval spread as a difference in vm cmd; adjust fmt. 2023-02-19 19:57:14 -08:00
Jason Volk
262bde6fdf ircd:Ⓜ️:vm: Add #DENIED fault code. 2023-02-18 17:35:44 -08:00
Jason Volk
0f3fea3b72 modules/federation/send_join: Implement federation §10.0 Join amplification attack. 2023-02-18 16:41:33 -08:00
Jason Volk
1e0919de71 modules/federation/sender: Add amplification override condition. 2023-02-18 16:41:33 -08:00
Jason Volk
9bf8e08753 modules/federation/sender: Cleanup; separate handle conditions, use m::member(). 2023-02-18 16:41:33 -08:00
Jason Volk
f301d6641c ircd:Ⓜ️ Simplify room::events interface; separate event::fetch. 2023-02-18 16:41:33 -08:00
Jason Volk
04c81a41ed ircd:Ⓜ️ Fix various inconsistent format strings; minor cleanup. 2023-02-17 17:25:58 -08:00
Jason Volk
d28d3d8084 ircd:Ⓜ️:room::events: Move nested interfaces out to room::. 2023-02-17 15:24:23 -08:00
Jason Volk
4e209855de modules/m_room_member: Add configurable to delist public room after last local user leaves. 2023-02-17 14:33:32 -08:00
Jason Volk
b4938361c6 modules/m_room_member: Add configurable hook to purge room after last local user leaves. 2023-02-17 14:22:44 -08:00
Jason Volk
92ca127f54 modules/m_room_join_rules: Refactor effect hook to remove public->invite rooms from directory. 2023-02-17 13:06:35 -08:00
Jason Volk
4edf7f0052 modules/federation/invite: Supplement manual membership check for auth=false. (regression d5c0e6063) 2023-02-16 14:31:51 -08:00
Jason Volk
416066d01b modules/m_bridge_register: Check if existing config is identical to skip overwrite. 2023-02-15 16:44:23 -08:00
Jason Volk
60bff84004 modules/m_bridge: Hook configuration updates to start/stop workers automatically. 2023-02-15 09:42:59 -08:00
Jason Volk
62001d9e7e modules/m_bridge_register: Add del()/add() procedures w/ console cmds. 2023-02-15 09:30:52 -08:00
Jason Volk
032b815276 modules/m_bridge: Minor reorg. 2023-02-15 09:29:41 -08:00
Jason Volk
bc3aa62d59 modules/m_bridge_register: Add module w/ bridge set cmd from yam^h^h^hjson file. (closes #11) 2023-02-14 18:43:33 -08:00
Jason Volk
84539e3d95 ircd:Ⓜ️:user::tokens: Allow undefined device_id in ircd.access_token w/o throwing. 2023-02-13 21:15:38 -08:00
Jason Volk
fb162605a6 modules/m_bridge: Add conf item for backoff, buffer size; rename txn timeout conf. 2023-02-13 19:25:38 -08:00
Jason Volk
f39e25f972 modules/federation/invite: Re-enable auth fetch attempts for non-synapse invites.
ircd:Ⓜ️:vm::fetch: Attempt auth with tolerated failures when opts.auth=false.
2023-02-12 19:26:02 -08:00
Jason Volk
d1c3570e04 modules/client/rooms/members: Move prefetching ahead of responses; optimize prefetched key. 2023-02-11 13:22:53 -08:00
Jason Volk
8d634fb901 ircd:Ⓜ️:dbs: Rename write_opts to opts and split into header. 2023-02-10 23:15:47 -08:00
Jason Volk
0fdeda3743 ircd:Ⓜ️:room: Add consolidated room::purge interface w/ options. 2023-02-10 12:27:52 -08:00
Jason Volk
1910d8e85e ircd:Ⓜ️:event: Add interface to purge event; consolidate; cleanup. 2023-02-09 20:24:36 -08:00
Jason Volk
8ce326da5b modules/client/sync/rooms/ephemeral/receipt: Fix receipts skipped on events prior to range. 2023-02-09 12:11:32 -08:00
Jason Volk
fd6f06c1af Replace various #if 0 with if constexpr for regression visibility. 2023-02-09 11:41:11 -08:00
Jason Volk
aa8ce19c7c ircd: Internalize various loghead utils; remove legacy ostream operators. 2023-02-09 11:41:11 -08:00
Jason Volk
500413701b modules/client/rooms/aliases: Fix spec conformance; only return local aliases. 2023-02-08 13:23:53 -08:00
Jason Volk
81f38c24eb modules/client/sync/rooms/ephemeral/receipt: Optimize w/ dedicated prefetch loop. 2023-02-07 21:49:50 -08:00
Jason Volk
41e6d77fa5 modules/m_listen: Support listener configuration from env vars. #190 2023-02-07 21:00:30 -08:00
Jason Volk
34061a7600 modules/console: Add immutable memtable property queries to db info cmd. 2023-02-07 20:04:26 -08:00
Jason Volk
e6a77a80d6 modules/stats: Fix unbuffered output generating too many chunks. 2023-02-05 20:54:16 -08:00
Jason Volk
db974f6c50 modules/client/room_keys/version: Stub PUT method parameter gathering. 2023-02-05 19:42:28 -08:00
Jason Volk
8bdb266149 modules/console: Allow normal head resolve on manual evals.
(possible regression 1a7447837)
2023-02-04 13:20:44 -08:00
Jason Volk
16c6f41756 modules/console: Avoid flushing output while iterating volatile lists. 2023-02-02 18:51:03 -08:00
Jason Volk
e470c77a75 modules/m_bridge: Add runlevel handler to terminate workers; fix hang prior to unload. 2023-02-02 18:51:03 -08:00
Jason Volk
5e32f88b0d modules/client: Add stub for dehydrated device. 2023-02-02 16:37:03 -08:00
Jason Volk
f5a0a2fe11 modules/client/room_keys/keys: Implement client 11.12.3.2.2 DELETE. 2023-02-02 16:37:03 -08:00
Jason Volk
6033d316f3 modules/client/room_keys/keys: Update method GET for new spec; dedup internal state_key. 2023-02-02 16:37:03 -08:00
Jason Volk
5036879dc4 modules/client/keys/query: Update for new spec format. 2023-02-02 16:37:03 -08:00
Jason Volk
08e01bb9a7 modules/client/versions: Add some more versions. 2023-02-02 16:37:03 -08:00
Jason Volk
3c3fb030bc modules/console: Add room msghtml cmd. 2023-01-28 19:46:43 -08:00
Jason Volk
f99c1e05f4 modules/client/rooms/relations: Fix inclusion of request event in relations response. 2023-01-27 11:18:37 -08:00
Jason Volk
6f002f0b21 modules/console: Add rep prefix cmd. 2023-01-27 11:18:37 -08:00
Jason Volk
ede3d5a651 ircd:Ⓜ️:rooms: Add requesting user_id/node_id to query opts for access ctrl. 2023-01-24 22:44:03 -08:00
Jason Volk
db4ebe1ba7 modules/client/profile: Respond with empty object for user's own empty profile. 2023-01-24 12:13:17 -08:00
Jason Volk
5d73109f0d modules/federation/send_join: Respond with the state and chain prior to the join. 2023-01-19 19:58:23 -08:00
Jason Volk
7d5247d1ca modules/federation/send_join: Support omit_members query parameter.
modules/federation/send_join: Reply with resident-server signed event.

modules/federation/send_join: Respond with servers_in_room.
2023-01-19 19:58:23 -08:00
Jason Volk
3aeeaccd42 modules/client/sync/rooms/state: Skip reflow for own-room join. 2023-01-19 19:58:23 -08:00
Jason Volk
377179a52f modules/m_room_member: Add automatic m.direct account_data for next-generation dm. 2023-01-19 19:58:22 -08:00