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

266 commits

Author SHA1 Message Date
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
Jason Volk
d56241657f modules/federation/sender: Use json::undefined_integer here. 2018-05-21 17:46:19 -07:00
Jason Volk
52e4c8b0ff modules/federation/send: Use proper undefined_integer symbol. 2018-05-20 19:10:56 -07:00
Jason Volk
b00da0f95f modules/federation/federation: Split apart feds head; add feds perspective. 2018-05-19 18:49:04 -07:00
Jason Volk
8c87fbed46 modules/federation: Add various conf items for flush high-watermarks. 2018-05-08 00:15:18 -07:00
Jason Volk
003ecf6357 ircd: Remove / update various ctx::interrupted catch blocks for ctx::terminated. 2018-05-06 02:06:08 -07:00
Jason Volk
39d73fac3e modules/federation/federation: Add feds state. 2018-05-05 03:36:47 -07:00
Jason Volk
18634c122b modules/federation/federation: Improve version; move ostream to modules/console. 2018-05-05 03:36:47 -07:00
Jason Volk
7e694c0a50 modules/federation/backfill: Cleanup; increase default limit. 2018-04-30 23:35:53 -07:00
Jason Volk
6a3f30afb6 modules/federation/federation: Improve format of backfill grid. 2018-04-30 22:40:48 -07:00
Jason Volk
6036af66b8 modules/federation: Fix state related event_id parameter. 2018-04-30 10:45:41 -07:00
Jason Volk
87f792b8eb modules/federation/backfill_ids: Chunk direct to socket. 2018-04-30 10:38:00 -07:00
Jason Volk
7e96e00184 modules/federation/state_ids: Chunk direct to socket. 2018-04-30 10:35:04 -07:00
Jason Volk
4a25f3be72 modules/federation/backfill: Chunk direct to socket. 2018-04-30 10:25:44 -07:00
Jason Volk
8daa14c2b1 modules/federation/state: Chunk direct to socket. 2018-04-30 10:25:31 -07:00
Jason Volk
de838e982d modules/federation/federation: Show depth in feds head; cleanup unused returns. 2018-04-30 08:54:56 -07:00
Jason Volk
c03ca13f17 modules/federation/federation: Add feds backfill event grid w/ cmd. 2018-04-30 08:51:03 -07:00
Jason Volk
8432d022f5 modules/federation/federation: Improve feds head output. 2018-04-30 08:07:33 -07:00
Jason Volk
ec4453404e modules/federation/federation: Split feds version request / response. 2018-04-30 05:43:56 -07:00
Jason Volk
bc5ab4a1b1 modules/federation/federation: Add feds head w/ cmd. 2018-04-30 05:31:38 -07:00
Jason Volk
42b9f06edb modules/federation/federation: Fix references of the origin into the remote. 2018-04-30 05:30:50 -07:00
Jason Volk
49a2cddc45 modules: federation/federation library; move feds commands (prelim). 2018-04-27 18:02:42 -07:00
Jason Volk
02bc9032e8 ircd:Ⓜ️ Add event::idx to top() tuple. 2018-04-18 15:04:46 -07:00
Jason Volk
7659ef3acc ircd:Ⓜ️ Reorder top() tuple; use strong type template std::get'ers. 2018-04-18 15:03:42 -07:00
Jason Volk
d6e5723014 modules/federation/sender: Fix various issues; propagate context interruption. 2018-04-15 18:02:41 -07:00
Jason Volk
19d7e05605 ircd::resource: Allow each resource method to specify its timing. 2018-04-15 18:02:41 -07:00
Jason Volk
3f48d3b70a modules/federation/send: Tweak pdu evaluation logging options. 2018-04-13 16:22:13 -07:00
Jason Volk
8bf7c05ed8 modules/federation/send: Undefined the depth value when creating the edu pseudo-event. 2018-04-08 13:00:35 -07:00
Jason Volk
c849a30aa1 ircd:Ⓜ️ Improve interface to current event convenience suite. 2018-04-05 22:16:32 -07:00
Jason Volk
8d0681e7b1 ircd::ctx: Eliminate the std future_status and simplify our real-use interfaces. 2018-04-05 22:16:32 -07:00
Jason Volk
257276d082 modules/federation: Add backfill_ids endpoint handler. 2018-04-04 22:54:59 -07:00
Jason Volk
ca75899407 modules/federation: Backfill. 2018-04-04 22:54:58 -07:00
Jason Volk
ba8171ce63 modules/federation/send_join: Populate the auth_chain array in response. 2018-04-04 22:54:58 -07:00
Jason Volk
1a0c359a6d modules/federation/make_join: Spit out some auth_event for synapse to chew on. 2018-04-04 22:54:58 -07:00
Jason Volk
d09e0dedde modules/federation: Check if origin matches the verified X-Matrix origin for now. 2018-04-04 22:54:58 -07:00
Jason Volk
4ef168386b modules/federation/make_leave: Add missing structure. 2018-04-04 22:54:58 -07:00
Jason Volk
d2d6ba0f18 modules/federation: Add send_leave endpoint handler. 2018-04-03 23:34:10 -07:00
Jason Volk
4720431d72 modules/federation: Add make_leave endpoint handler. 2018-04-03 23:34:09 -07:00
Jason Volk
50911da57f modules/federation: Add state endpoint handler. 2018-04-03 23:34:09 -07:00
Jason Volk
dffef130db modules/federation: Add state_ids endpoint handler. 2018-04-03 23:34:09 -07:00
Jason Volk
b767aab018 modules/federation: Add send_join endpoint handler. 2018-04-03 23:34:09 -07:00
Jason Volk
c929a39795 modules/federation/invite: Check path parameters match event in body. 2018-04-03 23:34:09 -07:00
Jason Volk
60f983b953 modules/federation: Add make_join endpoint handler. 2018-04-03 23:34:09 -07:00
Jason Volk
66871bd598 modules/federation: Add invite endpoint; functional response w/o eval. 2018-04-02 23:20:50 -07:00
Jason Volk
bf127104f1 modules/federation: Add query endpoint; add profile handler. 2018-04-02 23:20:50 -07:00
Jason Volk
b938669ba3 modules/federation/send: Remove unnecessary exception handler here. 2018-03-28 18:12:34 -07:00
Jason Volk
28c7494acb modules/federation: Add get_groups_publicised stub to shut it up. 2018-03-28 01:29:58 -07:00
Jason Volk
b49cdb84e8 modules/federation/sender: Synchronize with vm accept under shared lock. 2018-03-27 01:50:17 -07:00
Jason Volk
80278462e3 modules/federation/sender: Remember how to use own synchronization primitives; fix origin call. 2018-03-26 23:29:57 -07:00
Jason Volk
1846dd379d modules/federation/sender: Consistent origin from node::id; fix curtxn assignment. 2018-03-21 17:12:49 -07:00
Jason Volk
67aaa00b63 modules/federation/sender: Determine a purge flow for errored nodes. 2018-03-15 22:25:16 -07:00
Jason Volk
a48426e25d ircd/modules: Migrate some log messages to new facilities. 2018-03-15 22:25:16 -07:00
Jason Volk
ffafb70511 modules/federation/sender: Recv timeout worker only calls cancel, not erase. 2018-03-14 18:09:01 -07:00
Jason Volk
56b23af467 modules/federation/sender: Unified EDU/PDU path when room_id is available. 2018-03-14 16:26:16 -07:00
Jason Volk
02b6df94f4 modules/federation/sender: Query ircd::server for peer error before new node creation. 2018-03-14 16:26:16 -07:00
Jason Volk
5a933ee713 modules/federation: Checkpoint preliminary sender. 2018-03-14 16:26:16 -07:00
Jason Volk
9fa98055ff modules/federation/get_missing_events: Implement get_missing_events handler. 2018-03-08 21:27:32 -08:00
Jason Volk
901a77266e ircd:Ⓜ️:vm: Massage edus through the core eval path; rename inserted to accept. 2018-03-07 13:28:15 -08:00
Jason Volk
51a3e0f33b modules/federation/event: Update event fetch method. 2018-03-02 08:02:20 -08:00
Jason Volk
af47471830 modules/federation: Add version endpoint. 2018-02-19 16:51:28 -08:00
Jason Volk
e3c419d25d modules/federation/send: Increase the PUT payload_max. 2018-02-10 21:28:49 -08:00
Jason Volk
be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk
e8a7f0aeef modules/federation: Fix the /event/ response. 2018-01-24 18:40:19 -08:00
Jason Volk
fffea204b9 modules: Add preliminary federation/get_missing_events handler. 2018-01-23 16:35:28 -08:00
Jason Volk
f931308850 ircd/modules: Update resource / opts construction arguments. 2017-12-12 14:59:40 -07:00
Jason Volk
03dea97bb2 ircd: Add preliminary RFC3986 grammar; move urlencoding there. 2017-12-12 14:59:40 -07:00
Jason Volk
5d53cdab5e ircd:Ⓜ️ Checkpoint matrix. 2017-11-30 11:23:47 -08:00
Jason Volk
4793e4906c ircd:Ⓜ️ Checkpoint matrix top-half / modules. 2017-11-30 11:23:44 -08:00
Jason Volk
f89d6f651c modules: Add preliminary federation and media directories. 2017-11-30 11:23:40 -08:00