0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-12 21:11:14 +01:00
Commit graph

218 commits

Author SHA1 Message Date
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
Jason Volk
2ce53fef3c modules/federation/federation: Abstract the m::feds request process. 2019-04-12 00:09:32 -07:00
Jason Volk
ebdbc0864c modules/s_fetch: Enable recursive fetch. 2019-04-11 08:08:47 -07:00
Jason Volk
c9c171ed5b ircd:Ⓜ️:feds: Refine the feds preliminary central interface. 2019-04-11 06:27:28 -07:00
Jason Volk
19ca15eff7 modules/federation/invite: Minor cleanup. 2019-03-30 15:25:11 -07:00
Jason Volk
98c3c15e89 modules/federation/invite: Attempt to make use of invite_room_state carried in request. 2019-03-30 15:25:05 -07:00
Jason Volk
bfda1b35d0 modules/federation/invite: Disable prev event requirement on invite eval. 2019-03-27 14:09:40 -07:00
Jason Volk
e6320e0716 modules/federation/state: Seek an event_id before starting chunked encoding to allow 404. 2019-03-22 21:57:18 -07:00
Jason Volk
7f27cdbf1d modules/federation/state_ids: Seek an event_id before starting chunked encoding to allow 404. 2019-03-22 21:06:28 -07:00
Jason Volk
77648137e9 Revert "ircd: Remove use of all unwind::exceptional and unwind::nominal devices."
This reverts commit 4f243826c2.
2019-03-22 21:06:28 -07:00
Jason Volk
4f243826c2 ircd: Remove use of all unwind::exceptional and unwind::nominal devices. 2019-03-12 18:41:05 -07:00
Jason Volk
77896456c4 modules/federation/user_keys_query: Omit devices without keys from response. 2019-03-09 18:48:59 -08:00
Jason Volk
197168059b ircd:Ⓜ️:vm: Create a conform hook; move checks into conform hookfns. 2019-03-09 14:00:00 -08:00
Jason Volk
90752f1fb4 modules/federation/send_join: Add required spec "origin" in response. 2019-03-06 15:02:43 -08:00
Jason Volk
0c38d78bba modules/federation/send_leave: Respond with so-called empty response. 2019-03-06 15:02:43 -08:00
Jason Volk
09c2d7cbe5 modules/federation: Minor cleanup/simplification. 2019-03-06 00:22:18 -08:00
Jason Volk
d70e46718b modules/federation: Remove these unnecessary checks. 2019-03-03 16:49:51 -08:00
Jason Volk
bfb2efc1ac modules/federation/send_join: Improve response; include proper auth_chain. 2019-03-03 15:45:43 -08:00
Jason Volk
aa6b8352da modules/federation/query: Respond with full profile when no field query parameter. 2019-03-03 14:45:18 -08:00
Jason Volk
b9cf3e6c18 modules/federation/send: Disable notifies for edu evals. 2019-02-27 18:07:38 -08:00
Jason Volk
456a3fcc49 modules/federation/send: Allow conf item to control self-send protection. 2019-02-22 15:40:53 -08:00
Jason Volk
190662f16d modules/federation/sender: Hack other send targets carried in event's room_id. 2019-02-22 15:40:53 -08:00
Jason Volk
7c69752114 modules/federation/user_keys_query: Add the unsigned.device_display_name to response. 2019-02-21 16:29:32 -08:00
Jason Volk
7f9b06e2c3 modules/federation: Split up user_keys module. 2019-02-21 13:42:43 -08:00
Jason Volk
380b1679a1 modules/federation/user_keys: Implement 21.2 POST user/keys/query. 2019-02-21 13:42:43 -08:00
Jason Volk
7f37400dcb ircd:Ⓜ️:user: Reorg user::profile interface. 2019-02-21 11:53:25 -08:00
Jason Volk
0efd723edb ircd:Ⓜ️:device: Develop interface; use individual state events for properties. 2019-02-20 13:36:29 -08:00
Jason Volk
3820912b0e modules/federation/user_devices: Implement GET response. 2019-02-19 17:48:42 -08:00
Jason Volk
476f198075 modules/federation: Explicit path parameter checking for clearer error msgs. 2019-02-18 10:33:35 -08:00
Jason Volk
9314bd7b5b modules/federation/query_auth: Stub a NOT_IMPLEMENTED for now because synapse doesn't use this. 2019-02-18 09:59:59 -08:00
Jason Volk
6a6d190a02 modules/federation: Add auth_chain to state and state_ids response. 2019-02-16 15:25:36 -08:00
Jason Volk
f275cf8c83 ircd:Ⓜ️:event::auth::chain: No closing over full event; overload void closure. 2019-02-16 15:25:36 -08:00
Jason Volk
ed87eb31e0 modules/federation/query: Add my_host() in response for now. 2019-02-16 15:25:36 -08:00
Jason Volk
a380186001 ircd:Ⓜ️ Various cleanup; toward demangled linkage; mark size indicating stack use. 2019-02-16 15:25:36 -08:00
Jason Volk
23a04dee6a modules/federation/event_auth: Return the spec event_auth. 2019-02-14 16:58:39 -08:00
Jason Volk
1a6d173a0b ircd:Ⓜ️:room::state: Change return value from event::id to event::idx for simple get(). 2019-02-13 16:01:18 -08:00
Jason Volk
d39d50e18a modules/federation: Fix missing user_keys / user_devices recipe; fix errors. 2019-02-08 18:05:39 -08:00
Jason Volk
5d3b6c0a0b modules/federation/send: Use array eval here. 2019-02-08 07:55:44 -08:00
Jason Volk
1b2c8bf83c modules/federation: Stub user_devices / user_keys. 2019-02-07 23:09:31 -08:00
Jason Volk
b430661bba modules/federation: Stub query_auth (for metrics). 2019-02-07 23:09:30 -08:00
Jason Volk
d64a49428e ircd:Ⓜ️ Demote membership from top-level key; remove from m::event tuple. 2019-01-24 12:52:26 -08:00
Jason Volk
cbf456a388 ircd: Rename and refactor ircd::assertion interface into ircd::panic. 2019-01-13 16:37:31 -08:00
Jason Volk
174213586a modules/federation: Use the m::log logger here. 2019-01-08 17:17:41 -08:00
Jason Volk
6de17431ff ircd: Reverse arguments for url::encode()/decode(); minor reorg. 2018-12-06 16:41:47 -08:00
Jason Volk
da51c55410 modules/federation/invite: Commentary; minor cleanup. 2018-11-30 13:00:16 -08:00
Jason Volk
9299b0df9f ircd: Make ircd::terminate / ircd::assertion funcjects. 2018-11-04 18:00:24 -08:00
Jason Volk
4457f4442e modules/federation/send_*: Allow for missing top-level membership in all checks. 2018-10-25 14:28:43 -07:00
Jason Volk
6c0a8b2c34 modules/federation: Implement publicrooms endpoint. 2018-10-24 18:08:46 -07:00
Jason Volk
d276426a27 modules/federation/query: Fix directory query for room_id. 2018-10-17 10:09:05 -07:00
Jason Volk
9aa6e2b768 ircd:Ⓜ️ Rename most vm.notify hooks to vm.effect; Refactor vm::accept related. 2018-10-09 20:56:12 -07:00
Jason Volk
da8beda0c3 ircd:Ⓜ️🆔 Support intuitive constructions of m::node::id. 2018-09-30 17:58:16 -07:00
Jason Volk
faf714335c modules/federation/send: Only accept edu's directly from the transmitter. 2018-09-06 06:00:21 -07:00
Jason Volk
ee8165dfd4 modules/federation/invite: Enable. 2018-09-05 21:23:50 -07:00
Jason Volk
11e14bbb37 modules/federation/send: Check for self-sends here. 2018-09-04 23:42:46 -07:00
Jason Volk
a6b4bc976f modules/federation/sender: Checkpoint this until vm notify is fixed. 2018-09-04 22:50:23 -07:00
Jason Volk
bc01919298 modules/federation/send: Increase this value for now for spinapps. 2018-09-04 22:49:38 -07:00
Jason Volk
4f2e1a4acd modules: Reduce various chunked json buffer mgmt boilerplates. 2018-09-04 22:48:23 -07:00
Jason Volk
4cdec1bce6 modules/federation/federation: Renamespace m::feds to m::feds::v1. 2018-08-25 19:40:51 -07:00
Jason Volk
6c71f43d1b modules/federation/get_missing_events: Update get_missing_events per spec; and chunked stream. 2018-08-22 21:01:22 -07:00
Jason Volk
3278324db0 modules/federation/query: Respond to directory for room_alias. 2018-08-22 15:17:32 -07:00
Jason Volk
123edd6ebb modules/federation/federation: Typedef a specific closure prototype here. 2018-06-12 01:00:15 -07:00
Jason Volk
9810be9798 modules/federation/get_missing_events: Fix member name. 2018-06-03 19:25:17 -07:00
Jason Volk
dc5dab62e8 modules/federation/backfill_ids: Raise default max limit; minor cleanup. 2018-06-03 14:51:47 -07:00
Jason Volk
6356f62de2 modules/federation/get_missing_events: No break on missing event; check path parc. 2018-06-02 19:49:38 -07:00
Jason Volk
b79494adb9 modules/federation: Implement event_auth endpoint. 2018-06-02 19:46:58 -07:00
Jason Volk
fba300d900 modules/federation/event: Convert endpoint to use json::stack response. 2018-05-31 11:40:18 -07:00
Jason Volk
118671309d modules/federation: Add various visibility conditionals. 2018-05-31 05:56:02 -07:00
Jason Volk
88d3026cc7 ircd:Ⓜ️:vm: More granular notification broadcast options. 2018-05-27 19:56:04 -07:00