0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 07:50:57 +01:00
Commit graph

314 commits

Author SHA1 Message Date
Jason Volk
58c96bf758 modules/federation/query: url::decode the field query string param. 2023-03-07 15:49:01 -08:00
Jason Volk
ae10f735ec modules: Stub federation/timestamp_to_event; stub client/rooms/timestamp_to_event. 2023-03-06 19:03:48 -08:00
Jason Volk
48950bf1c9 modules/federation/send_join: Use parsed version; fix braced scalar init (clang). 2023-03-06 18:43:01 -08:00
Jason Volk
1d58cd2266 modules/federation/send_leave: Implement v2. 2023-03-06 18:42:37 -08:00
Jason Volk
ce6b4496b3 modules/federation/make_join: Check visibility only for non-public rooms. 2023-02-24 17:45:35 -08:00
Jason Volk
8fae18d8ea modules/federation: Add missing top-level spec transaction fields. 2023-02-24 16:07:37 -08:00
Jason Volk
4519ecf6e3 modules/federation/send_join: Tolerate join event prev_state not found w/o throwing. 2023-02-24 00:35:49 -08:00
Jason Volk
73c5a4f36b modules/federation/sender: Multiple workers; use ctx::queue; fix legacy externs. 2023-02-23 19:03:35 -08:00
Jason Volk
9154233db5 modules/federation/sender: Downgrade flush error to DERROR on shutdown. 2023-02-23 19:03:35 -08:00
Jason Volk
b0ad960bae modules/federation/make_join: Add conf fuse to bypass version compat. 2023-02-22 16:04:12 -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
4edf7f0052 modules/federation/invite: Supplement manual membership check for auth=false. (regression d5c0e6063) 2023-02-16 14:31:51 -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
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
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
d5c0e60633 modules/federation/invite: Workaround matrix-org/synapse@c06b2b7142 matrix-org/synapse#13823 2023-01-13 19:37:49 -08:00
Jason Volk
81169ab47a modules/federation/invite: Consolidate eval; elaborate invite_room_state exercise. 2023-01-13 19:37:49 -08:00
Jason Volk
ee52a9f24b modules/federation/invite: Fix invite request routing to proper handler version. 2022-11-19 15:21:04 -08:00
Jason Volk
ced3df67c6 modules/federation/send: Add m.txn log facility; improve debuglog related. 2022-08-31 13:35:56 -07:00
Jason Volk
d4bd109661 modules/media: Remove legacy resources.
modules/federation: Merge invite and invite2 units.

modules/federation: Redact send_join and rooms legacy resources.
2022-07-18 16:58:02 -07:00
Jason Volk
894a2ad679 modules/federation/event: Minor modernizations; fix typos. 2022-07-04 22:25:18 -07:00
Jason Volk
eb10f235cf modules/federation: Implement GET /hierarchy. 2022-07-02 13:36:18 -07:00
Jason Volk
5a4a395fc2 Add noexcept to various lambdas (gcc-11). 2022-06-29 14:42:42 -07:00
Jason Volk
08fce729c5 Fix redundant moves (gcc-11). 2022-06-29 13:26:01 -07:00
Jason Volk
211ea6ba55 ircd: Fixes for macro collision (gnu++20). 2022-06-19 20:14:23 -07:00
Jason Volk
3d380d09a3 ircd:Ⓜ️ Fix various const reference range construction warnings in clang. 2021-02-26 14:52:33 -08:00
Jason Volk
a6061a447a modules/federation/invite: Disable emption checks on invite; fix regression. 2021-02-07 11:16:39 -08:00
Jason Volk
485f412eed modules/federation/send: Open JSON top object on all reply branches. 2021-01-12 13:55:45 -08:00
Jason Volk
3db37a3a4d modules/federation/user_devices: Respond w/ master_keys/self_signing_keys. 2021-01-04 13:01:13 -08:00
Jason Volk
e9239a4135 modules/federation/user_keys_query: Respond w/ master_keys/self_signing_keys. 2021-01-04 13:01:13 -08:00
Jason Volk
01df07717b modules/federation/send: Implement spec txn response output from eval. 2020-12-15 16:56:07 -08:00
Jason Volk
56ea0a14af modules/federation/sender: Use preallocated response content buffer. 2020-12-15 16:56:07 -08:00
Jason Volk
ce9cac3d9f modules/federation/publicrooms: Remove constraint on pagination token. (thanks @auscompgeek) 2020-12-12 00:35:36 -08:00
Jason Volk
736a6d320c modules/federation/event_auth: Implement auth_chain_ids construct protocol extension. 2020-12-10 08:34:22 -08:00
Jason Volk
23a9589fd4 modules/federation/get_missing_events: Log dwarning msg for missed event seek. 2020-12-09 20:52:55 -08:00
Jason Volk
86555fbee6 modules/federation: Deduplicate and integrate /state/ and /state_ids/ in same unit. 2020-11-11 22:49:39 -08:00
Jason Volk
cb84859ccd modules/federation/backfill: Fix property name (regression 6b1305df8a). 2020-11-08 02:25:31 -08:00
Jason Volk
6b1305df8a modules/federation: Replace backfill_ids endpoint with pdu_ids query parameter. 2020-11-05 22:10:53 -08:00
Jason Volk
0d4898b0cd modules/federation/get_missing_events: Use static closure; replace unquote() w/ json::string. 2020-10-24 01:59:11 -07:00
Jason Volk
e79c619ece modules/federation/get_missing_events: Improve limit value clamp; conf items; defaults. 2020-10-24 01:59:11 -07:00
Jason Volk
7fd084c8ce modules/federation/version: Reorg into namespace; additional properties. 2020-09-29 00:36:46 -07:00
Jason Volk
9457b1d34b modules/federation/publicrooms: Implement Federation r0.4.0-15.2 (matrix-org/matrix-doc/#2197). 2020-05-29 01:02:50 -07:00
Jason Volk
0eb4401897 modules/federation/publicrooms: Replace use of nullary my_host(). 2020-05-29 00:30:40 -07:00
Jason Volk
b764e75692 ircd:Ⓜ️:vm: Additional fetch phases; split fetch hook sites. 2020-05-11 21:14:25 -07:00
Jason Volk
0fd5570c14 ircd:Ⓜ️:vm: Add enumeration for evaluation phases. 2020-05-11 21:14:25 -07:00