0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-06 22:08:52 +01:00
Commit graph

285 commits

Author SHA1 Message Date
Jason Volk
0d0db66a52 modules/federation/make_leave: Improve error response message. 2020-03-17 08:57:49 -07:00
Jason Volk
3c87dc2677 modules/federation/query: Fix naked origin without service name. 2020-03-08 10:28:11 -07:00
Jason Volk
0a90b4d4cc ircd:Ⓜ️:fed: Apply the canon service to all remotes without a service string. 2020-03-06 10:37:28 -08:00
Jason Volk
c44d732443 ircd:Ⓜ️ Rename v1/v2 namespace to fed. 2020-03-05 20:06:14 -08:00
Jason Volk
bf2219634a modules/federation: Rename sender.int.h to sender.h. 2020-03-04 11:15:27 -08:00
Jason Volk
0be0fe9e82 modules/federation: Fix conf item shared between invite and invite2. 2020-03-03 17:46:28 -08:00
Jason Volk
6a72671507 modules/federation/send: Add conf items for some pdu eval fetch vmopts. 2020-03-03 16:15:04 -08:00
Jason Volk
64b3edd591 modules/federation/send: Fix bool conf item default. 2020-03-03 16:14:47 -08:00
Jason Volk
8baaf366c4 ircd:Ⓜ️:event: Fix signature interface regression; optimize call path. 2020-02-24 11:01:52 -08:00
Jason Volk
c3f0803e49 modules: X-value copy elision hints for clang. 2020-02-12 14:34:26 -08:00
Jason Volk
a90b4e1344 modules/federation/send: Limit evals per node w/ conf item. 2020-01-07 15:16:34 -08:00
Jason Volk
bfdbf60fd1 modules/federation/send: Return HTTP 202 on retry for transaction in progress. 2020-01-07 12:26:31 -08:00
Jason Volk
94c9152061 modules/federation/send: When origin field is used deny on mismatch. 2020-01-06 17:01:21 -08:00
Jason Volk
94aebfb4bf modules/federation/send: urldecode txnid into buffer. 2020-01-06 17:01:21 -08:00
Jason Volk
f952cecfbb ircd:Ⓜ️:vm: Add txnid to opts; propagate from federation send. 2020-01-06 17:01:21 -08:00
Jason Volk
12b340c093 ircd:Ⓜ️:room::head: Elaborate the prev_events generating interface; add features. 2019-12-10 11:37:09 -08:00
Jason Volk
df79d61395 ircd::util: Elide std::function overhead for util::unwind suite. 2019-12-03 13:39:49 -08:00
Jason Volk
d03cf8f7a8 modules: Re-type matrix resource handlers under m::resource. 2019-09-29 14:00:02 -07:00
Jason Volk
4254960ee1 ircd:Ⓜ️ Simplify m::visible(); refactor implementation. 2019-09-24 15:16:19 -07:00
Jason Volk
994b42ca71 modules/federation/query: Improve servers list in directory handler. 2019-09-16 19:59:03 -07:00
Jason Volk
839ca6f000 modules/federation/make_join: Improve error string for propagation. 2019-09-16 13:39:48 -07:00
Jason Volk
ea33e0326e ircd:Ⓜ️:rooms::summary: Refactor for per-origin result synthesis and learning. 2019-09-15 14:59:36 -07:00
Jason Volk
0c45fb827d ircd:Ⓜ️:vm: Add a specific edu option to vmopts. 2019-09-13 15:26:44 -07:00
Jason Volk
1e62b68286 ircd:Ⓜ️:vm: Move conform hook to pdu branch. 2019-09-13 13:38:05 -07:00
Jason Volk
4e0db779f7 modules/federation/send: Tweak pdu eval opts. 2019-09-13 13:32:20 -07:00
Jason Volk
6ecca7fcb7 modules/federation/send: Increase coarse timeout for now. 2019-09-09 12:12:42 -07:00
Jason Volk
f942c3ffc6 modules/federation/send: Allow interrupt propagation for eval. 2019-09-08 18:22:05 -07:00
Jason Volk
f67eafd078 ircd:Ⓜ️:vm::fetch: Remove/reorg stale fetch related options. 2019-09-05 18:10:44 -07:00
Jason Volk
957d90e63d modules/federation/send: Quiet vm::fault::EXISTS from the warnlog on eval. 2019-09-03 18:01:50 -07:00
Jason Volk
a52ad73e87 ircd:Ⓜ️:room: Rename room::messages to room::events. 2019-08-30 14:43:19 -07:00
Jason Volk
163fda95e0 modules/federation/make_leave: Send room_version in response top level. (#18) 2019-08-18 05:59:55 -07:00
Jason Volk
52657ca410 ircd:Ⓜ️:room::auth::chain: Simplify interface. 2019-08-18 05:46:42 -07:00
Jason Volk
8454ae0275 ircd:Ⓜ️:room::head: Simplify interface; move to module. 2019-08-18 03:09:34 -07:00
Jason Volk
59618c6a44 ircd:Ⓜ️ Move event::auth to room::auth; move to module. 2019-08-18 03:09:34 -07:00
Jason Volk
23a5c99165 modules/federation/invite2: Fix room version unquoting. (#18) 2019-08-17 11:50:08 -07:00
Jason Volk
ad126fecdf modules/federation/sender: Add branch to support send from user to servers in all rooms. 2019-08-17 02:59:13 -07:00
Jason Volk
fca330e1c1 ircd:Ⓜ️:room: Reorg / slim the class member function interface.
ircd:Ⓜ️:room: Rename interface function.
2019-08-14 01:09:34 -07:00
Jason Volk
84e79a64e6 ircd:Ⓜ️:rooms: Refactor interface; split rooms::summary; split module. 2019-08-12 23:55:07 -07:00
Jason Volk
b8adc69599 ircd:Ⓜ️ Move MEMBERSHIP_MAX_SIZE into room.
ircd:Ⓜ️:room: Add a room version max size constant.
2019-07-25 14:29:07 -07:00
Jason Volk
2f2bc867fb ircd: Improve various context names for consistency. 2019-07-20 18:42:15 -07:00
Jason Volk
aa8c0487e5 modules/federation/sender: Increase per-event error log level. 2019-07-17 15:20:21 -07:00
Jason Volk
4e5b9696f5 modules/federation/make_join: Room version match against query string params. 2019-07-15 17:36:01 -07:00
Jason Volk
2906eebd3f modules/federation/make_join: Add room_version to make_join response. 2019-07-15 17:20:47 -07:00
Jason Volk
c1b3dc1142 modules/federation/sender: Don't propagate exceptions outside of the hook handler. 2019-07-13 23:20:03 -07:00
Jason Volk
56ab4f397c modules/federation/invite2: Process the dual-signed event. 2019-07-13 23:20:03 -07:00
Jason Volk
63a238fa76 modules/federation/sender: Fix event_id regression. 2019-07-13 23:20:03 -07:00
Jason Volk
3b088e8bc1 modules/federation/get_missing_events: Fix unwrapped prev_events iteration. 2019-07-11 16:24:43 -07:00
Jason Volk
c39aad4d3f ircd:Ⓜ️:vm: Factor room_version into eval. 2019-07-10 06:52:56 -07:00
Jason Volk
43d66420cd Update incompatible uses of event_id. 2019-07-10 03:50:37 -07:00
Jason Volk
9d5edac0b9 modules/federation: Employ check_id() at endpoints claiming event_id path param. 2019-07-10 02:12:16 -07:00
Jason Volk
719a965d9f ircd:Ⓜ️:event: Remove prev_state from top level. 2019-07-09 02:33:27 -07:00
Jason Volk
e0655229c5 ircd::room::auth: Improve make_refs and cleanup interface related. 2019-07-09 02:03:03 -07:00
Jason Volk
aa78f6f85c ircd:Ⓜ️:event::conforms: Update event_id related conditions. 2019-07-08 18:57:45 -07:00
Jason Volk
100a5bf518 modules/federation/invite2: Put back the event_id that synapse stripped; various fixes. 2019-07-06 01:25:28 -07:00
Jason Volk
261151f539 ircd:Ⓜ️:fetch: Remove ambiguating event_id() util. 2019-07-05 23:45:00 -07:00
Jason Volk
4a289c065a ircd:Ⓜ️:event: Add event_id member; reorg ctors. 2019-07-05 23:45:00 -07:00
Jason Volk
8b4b47fd03 modules/federation/invite2: Split out post-processing w/ exception scope. 2019-07-05 23:45:00 -07:00
Jason Volk
fff2891d2d modules/federation/invite: Increase default. 2019-07-05 18:49:57 -07:00
Jason Volk
79b3ec9951 modules/federation/invite2: Recombine event checks subroutine. 2019-07-05 18:49:57 -07:00
Jason Volk
bc84247519 modules/federation: Implement 12.2 /v2/invite. 2019-07-03 19:58:13 -07:00
Jason Volk
9a850c1637 modules/federation/invite: Verify the invite event before adding our signature to it. 2019-06-30 02:11:14 -07:00
Jason Volk
80655da66e Misc fixes for clang. 2019-06-24 01:34:14 -07:00
Danilo Spinella
4682e1fae4 ircd: Fix ambiguous references to BSD stringops. 2019-06-06 03:49:54 -07:00
Jason Volk
2c2ea2a668 modules/federation/state: Add non-spec query parameters to toggle items. 2019-06-04 22:06:12 -07:00
Jason Volk
f598c8b34f modules/federation/send_leave: Remove space. 2019-06-04 22:04:26 -07:00
Jason Volk
6ac41d99ac modules/federation/send_join: Add non-spec query parameters to return ids only. 2019-06-04 22:00:52 -07:00
Jason Volk
ba00228a8d modules/federation/send_join: Add query parameters to toggle large datasets in response. 2019-06-04 21:55:51 -07:00
Jason Volk
a51daa7008 modules/federation/invite: Add conf item for venkmanism; minor cleanup. 2019-06-04 21:55:00 -07:00
Jason Volk
645ce4d8e2 modules: Implement 13.29 room server access control list checks.
fixes #47.
2019-05-26 20:41:13 -07:00
Jason Volk
eec6c40653 ircd:Ⓜ️ Abort the experimental id::node. 2019-05-26 19:13:20 -07:00
Jason Volk
250b600ead ircd::resource: Reduce m:: type dependency in request structure. 2019-05-06 11:16:44 -07:00
Jason Volk
80fb8699a1 ircd:Ⓜ️ Add a membership string size constant. 2019-04-27 18:32:45 -07:00
Jason Volk
f95d66a914 modules/federation/event_auth: Use visibility call for all logic rather than special case here. 2019-04-27 18:32:45 -07:00
Jason Volk
ae85585454 modules/federation/state_ids: Fix mislabeled name. 2019-04-24 17:23:16 -07:00
Jason Volk
5d97076008 modules/federation/state_ids: Add non-spec optimization query parameters. 2019-04-24 17:12:15 -07:00
Jason Volk
c2e22399ce modules/federation/state_ids: Swap auth_chain and pdu_ids order in response. 2019-04-24 17:10:48 -07:00
Jason Volk
5860a395a0 modules/federation/event_auth: Make an exception to the visibility for cases. 2019-04-23 20:03:00 -07:00
Jason Volk
20385e2677 modules/federation/invite: Set enforcement of prev fetching on invite event to false. 2019-04-23 19:23:21 -07:00
Jason Volk
ee6760a655 modules/s_fetch: Tweak prev event checking options; fix condition; dispatch state_ids(). 2019-04-22 18:55:34 -07:00
Jason Volk
e3b1be2910 ircd:Ⓜ️:vm: Refactor various fetch related options. 2019-04-22 12:27:43 -07:00
Jason Volk
56dd0ed8e7 ircd:Ⓜ️:vm: Add opts to pass user_id/node_id of evaluator. 2019-04-22 12:25:50 -07:00
Jason Volk
4668545688 modules: Move federation/federation to s_feds. 2019-04-18 16:38:53 -07:00
Jason Volk
84ee13742c modules/federation/federation: Use polymorphic request base. 2019-04-18 16:23:03 -07:00
Jason Volk
0edd47d383 ircd:Ⓜ️:feds: Add vector of operations to API. 2019-04-18 15:26:03 -07:00
Jason Volk
bc922724cd ircd:Ⓜ️:feds: Refactor interface into opcode ABI. 2019-04-18 05:16:21 -07:00
Jason Volk
08cd894cd0 ircd:Ⓜ️:feds: Point to the opts in result struct. 2019-04-18 04:15:13 -07:00
Jason Volk
59982907d3 ircd:Ⓜ️:feds: Add feds::auth; update console cmd. 2019-04-18 04:13:21 -07:00
Jason Volk
672dc48d1d modules/federation/federation: Minor assertion; prevent trouble with ctx::exception_handler. 2019-04-17 23:02:33 -07:00
Jason Volk
8cc01dfc4d modules/federation: Return the response x val rather than default construction in handlers. 2019-04-17 21:34:18 -07:00
Jason Volk
0fa4bdcff7 ircd:Ⓜ️:rooms: Consolidate / refine the rooms iteration interface. 2019-04-17 20:47:50 -07:00
Jason Volk
0c6845253d modules/federation/make_leave: Upgrade to json::stack; use m::room:: interfaces. 2019-04-17 07:14:40 -07:00
Jason Volk
fd6c2fb2aa modules/federation/make_join: Upgrade to json::stack; use m::room:: interfaces. 2019-04-17 07:12:22 -07:00
Jason Volk
655d56a849 modules/federation: Add access conditions for make_join/make_leave. 2019-04-17 05:24:28 -07:00
Jason Volk
adc2d9d66f modules/federation/federation: Block on destruction of incomplete request. 2019-04-16 18:33:01 -07:00
Jason Volk
035e03a35e modules/federation/federation: Make all origin string-copying calls the same. 2019-04-15 17:09:35 -07:00
Jason Volk
eace5e309c ircd:Ⓜ️:feds: Add / upgrade backfill. 2019-04-12 01:53:57 -07:00
Jason Volk
360cc01dc8 ircd:Ⓜ️:feds: Migrate feds::perspective() to interface. 2019-04-12 00:55:16 -07:00
Jason Volk
06e381ce2b ircd:Ⓜ️:feds: Use a misc arg vector of string_view's. 2019-04-12 00:52:29 -07:00
Jason Volk
302969f100 ircd:Ⓜ️:feds: Add namespace \brief. Reorg impl layout. 2019-04-12 00:33:29 -07:00
Jason Volk
dc93610914 ircd:Ⓜ️:feds: Add feds::event to interface. 2019-04-12 00:16:27 -07:00