0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-09 03:58:38 +02:00
Commit graph

3887 commits

Author SHA1 Message Date
Jason Volk 0568719030 modules/client/rooms/join: Convey any available (non-spec) server_name to m::join(). 2020-04-21 23:05:28 -07:00
Jason Volk b471713582 modules/client/join: Convey available server_name data to join system. 2020-04-21 23:05:28 -07:00
Jason Volk 912bcd3a3c modules/console: Evaluate auth_chain in fed state eval. 2020-04-21 03:34:38 -07:00
Jason Volk cbcd6c288c modules/m_control: Don't propagate exception after unloading the module it originated from. 2020-04-21 03:08:54 -07:00
Jason Volk 22df705df3 modules/console: Use structured decomposition; minor cleanup; improve formatting. 2020-04-21 03:02:41 -07:00
Jason Volk 48e4316144 modules/console: Use dynamic instead of tls buffers here. 2020-04-21 02:56:10 -07:00
Jason Volk fa8bc645af modules/client/sync/rooms/timeline: Fix join event not updating client state. 2020-04-20 18:14:52 -07:00
Jason Volk f8c98015f8 modules/client/sync/rooms/timeline: Fix rejoin events not appearing in timeline in linear handler. 2020-04-20 18:14:52 -07:00
Jason Volk b798864d18 modules/client/rooms/invite: Capture additional r0.6.0 required fields. 2020-04-20 00:51:01 -07:00
Jason Volk 59e24e19bd modules/federation/send: Relax default restrictions on parallel evaluations. 2020-04-20 00:38:14 -07:00
Jason Volk 1a0a24d91a modules/client/keys/claim: Use proper resource method flag. 2020-04-19 23:25:03 -07:00
Jason Volk 6943187149 modules/console: Add room power grant / revoke cmds. 2020-04-19 06:13:23 -07:00
Jason Volk d8d5671e1e modules/console: Add a room power cmd. 2020-04-19 06:13:23 -07:00
Jason Volk 0b41a1e78d ircd:Ⓜ️:room::power: Simplify iteration interface. 2020-04-19 06:13:23 -07:00
Jason Volk a6cf4c3c91 ircd::fs: Refactor base paths into conf::items. 2020-04-19 06:13:23 -07:00
Jason Volk 8e42efae02 modules/federation/send: Enable the prev_wait functionality for evals from here. 2020-04-17 18:00:58 -07:00
Jason Volk 5c0ad71066 ircd:Ⓜ️:vm::fetch: Add conf item for in-flight race check interval time. 2020-04-17 18:00:58 -07:00
Jason Volk de8f32e86a ircd:Ⓜ️:vm::fetch: Add vm::opts and conf items for prev fetch wait backoff. 2020-04-17 18:00:58 -07:00
Jason Volk 6124bf612c modules/m_vm_fetch: Allow prev_fetch to check if events arrived elsehow while waiting. 2020-04-16 18:53:29 -07:00
Jason Volk 7b0f17368d modules/m_vm_fetch: Minor cleanup. 2020-04-16 18:53:18 -07:00
Jason Volk 1f8e07d73d modules/client/join: Minor clarify that event_id is returned here. 2020-04-16 17:11:20 -07:00
Jason Volk fc5e607dce modules/console: Forward fed version on room ID or alias to feds version cmd. 2020-04-16 17:00:48 -07:00
Jason Volk c576c0765a modules/client/sync/to_device: Conditions to pass to_device '*'. 2020-04-16 15:56:48 -07:00
Jason Volk ad4f28a2ce modules/client/keys/claim: Improve errorlog message for keys claim. 2020-04-16 15:46:20 -07:00
Jason Volk d475d86be7 modules/client/publicrooms: Improve pagination logic related; remvoe default limit. 2020-04-16 13:55:52 -07:00
Jason Volk 028db422be modules/client/rooms/invite: Fix event_id to array x-value. 2020-04-15 22:15:00 -07:00
Jason Volk 5d9c022f75 modules/client/rooms/invite: Check if remote already signed the invite before requesting. 2020-04-15 22:01:51 -07:00
Jason Volk 9db5919d6c modules/client/rooms/invite: Fix log namespace; fix use after move; add debuglog. 2020-04-15 20:51:13 -07:00
Jason Volk 2eb5300713 modules/m_vm_fetch: Workaround for loss of PDU lookahead and the zealous fetch problem. 2020-04-15 20:06:41 -07:00
Jason Volk d1a5930ba9 modules/client/login: Fix for fully qualified requested device_id; verify hostpart. 2020-04-15 17:29:13 -07:00
Jason Volk b3c6932332 modules/client/register: Refactor bridge codepath; m.login.application_service. 2020-04-15 17:00:05 -07:00
Jason Volk 3fc4bac384 Merge branch 'master' of https://github.com/yangm97/construct 2020-04-15 16:25:59 -07:00
Jason Volk 2b6b69658b modules/client/rooms/initialsync: Support limit query parameter. 2020-04-15 16:09:55 -07:00
Jason Volk 44b8c6da71 modules/client/rooms/initialsync: Optimize state iteration w/o event_id indirection. 2020-04-15 16:09:55 -07:00
Yan Minari 24cb228901
feat(bridge): relax register flow for AS puppet registration
Signed-off-by: Yan Minari <yangm97@gmail.com>
2020-04-15 16:07:02 -03:00
Jason Volk a7cc30b046 modules/client/sync/device_one_time_keys_count: Fix erroneous result placement. 2020-04-14 20:33:55 -07:00
Jason Volk df39547fa1 modules/client/sync/account_data: Fix return value from push_rules handler when no rules. 2020-04-14 19:25:48 -07:00
Jason Volk 9d5d2cc184 modules/client/sync: Minor indentation [skip ci]. 2020-04-14 19:14:09 -07:00
Jason Volk 1edc00d6e5 modules/client/register: Add branch for authenticated user requests. 2020-04-14 18:32:41 -07:00
Jason Volk ae68e4f93a modules/client/register: Use m::resource to ensure features at this endpoint. 2020-04-14 18:30:41 -07:00
Jason Volk 75a8b2b621 modules/client/login: Support both full mxid and localpart to login. 2020-04-14 18:25:16 -07:00
Jason Volk 79a4394626 ircd::json::stack: Simplify checkpoint interface controls. 2020-04-14 15:31:41 -07:00
Jason Volk 868b515c67 modules/media: Implement r0.6.0-13.8.2.6 GET conf𝑖g. 2020-04-14 01:34:59 -07:00
Jason Volk a7d1bc9419 modules/m_room_member: Remove cruft. 2020-04-13 16:59:30 -07:00
Jason Volk 592f6fe673 modules/client/register: Use better default flows. 2020-04-13 16:02:52 -07:00
Jason Volk ea194d9b85 modules/console: Add name filter condition to ctx list cmd. 2020-04-13 14:16:31 -07:00
Jason Volk 0ff5ac43a6 ircd:Ⓜ️:resource::request: Eliminate origin w/ node_id. 2020-04-12 17:09:14 -07:00
Jason Volk 3c8a8d01aa ircd:Ⓜ️:bridge: Add timeout conf item; fix queries; add console cmd. 2020-04-11 20:13:15 -07:00
Jason Volk 926c5914a8 ircd:Ⓜ️:bridge: Add config iteration w/ console cmd. 2020-04-11 18:36:33 -07:00
Jason Volk 21d9f4792b configure: Disable all __assert_fail() overrides unless explicit --with-assert option. 2020-04-11 15:11:43 -07:00
Jason Volk e26b14c10a modules/m_control: Workaround the control room hook regression. 2020-04-10 19:29:17 -07:00
Jason Volk cddc124f94 modules/m_control: Minor cleanup. 2020-04-10 19:29:17 -07:00
Jason Volk 0b5716762d modules/client/user: Minor fix formatting. 2020-04-10 19:29:17 -07:00
Jason Volk a6ee1a3cec modules/client/keys/claim: Increase default timeouts quia synapse. 2020-04-10 19:29:17 -07:00
Jason Volk 433a3b3007 ircd:Ⓜ️:app: Rename everything to bridge:: add basic query; simplify config interface. 2020-04-10 19:29:17 -07:00
Jason Volk ce5ebd4a1a modules/client/sync/presence: Assert content.user_id made it to presence linear. 2020-04-08 20:16:02 -07:00
Jason Volk 2451e3933f modules/client/rooms/messages: Add postprefetching loop to optimize pagination. 2020-04-08 13:49:06 -07:00
Jason Volk 8af5eea783 modules/client/rooms/messages: Fix loop condition off by one. 2020-04-08 13:26:50 -07:00
Jason Volk eeac3c1eaa ircd::server: Add more efficient peer error boolean query. 2020-04-07 13:19:16 -07:00
Jason Volk 4108945a2c ircd:Ⓜ️:app: Reorg from old module stubs; start central unit. 2020-04-07 12:50:33 -07:00
Jason Volk fe63f9a3db modules/key/query: Implement federation 3.3.2.2 POST method. 2020-04-07 11:57:12 -07:00
Jason Volk f93ad3d816 modules/key/query: Implement federation 3.3.2.1 key query GET handler. 2020-04-07 11:48:59 -07:00
Jason Volk 124bfc4783 modules/federation/rooms: Ensure m::resource::response is used here. 2020-04-07 10:52:15 -07:00
Jason Volk 9a0a3dfbf1 ircd:Ⓜ️:vm: Eliminate fault::INTERRUPT and handle ctx::interrupt directly in all cases. 2020-04-07 10:52:15 -07:00
Jason Volk 4e18b56896 modules/m_vm_fetch: Fix delicate conversion (regression ffdf1632f5). 2020-04-07 10:52:14 -07:00
Jason Volk ca29c2ef7b modules/federation: Add rooms module; add complexity handler stub. 2020-04-05 19:00:32 -07:00
Jason Volk 5fe4d8c4ad ircd:Ⓜ️:fed: Add rooms::complexity request w/ console cmd. 2020-04-05 19:00:09 -07:00
Jason Volk ffdf1632f5 modules/m_vm_fetch: Minor clarity for result object. 2020-04-05 17:08:58 -07:00
Jason Volk c76e394a8c modules/console: Fix loop on multiple context id's to interrupt/terminate cmds. 2020-04-05 14:32:21 -07:00
Jason Volk e089103a30 modules/m_vm_fetch: Tweak interrupt propagation paths; fix specific propagations. 2020-04-03 17:37:34 -07:00
Jason Volk 27a015b9dc modules/client/sync: Minor cleanup; use structured binding for m::top().
modules/client/events: Minor cleanup; use structured binding for m::top().
2020-04-03 15:17:35 -07:00
Jason Volk c4d0ffaec9 ircd:Ⓜ️:event::fetch: Move std::nothrow to leading argument for consistency. 2020-04-02 20:01:14 -07:00
Jason Volk 22e71d57e2 modules/federation/user_device: Mark use of zero value for stream_id here. 2020-04-02 17:16:27 -07:00
Jason Volk 1cabd663fb modules/federation: Add comments in txn handler; minor cleanup. 2020-04-02 14:41:11 -07:00
Jason Volk c973062086 modules/console: Add user devices preliminary omni update trigger cmd. 2020-04-01 20:18:25 -07:00
Jason Volk fe9635a70e ircd:Ⓜ️:device: Reclassify interface at m::user::devices. 2020-04-01 19:52:31 -07:00
Jason Volk 6c0e6d49fb ircd:Ⓜ️:device: Remove remaining access_token_to_id interface related. 2020-04-01 17:35:10 -07:00
Jason Volk 08525e95d0 modules/console: Add device_id to user tokens list cmd. 2020-04-01 17:33:55 -07:00
Jason Volk d052249573 ircd:Ⓜ️ Add user::tokens convenience interface; consolidate various direct room access. 2020-04-01 17:30:17 -07:00
Jason Volk d1812f0c44 ircd:Ⓜ️ Fix m::index() interface for consistent leading std::nothrow_t. 2020-04-01 16:20:11 -07:00
Jason Volk 93665cc587 ircd:Ⓜ️ Fix event_id() interface for consistent leading std::nothrow_t. 2020-04-01 16:03:25 -07:00
Jason Volk 327407cc76 modules/client/send_to_device: Propagate interrupts.
modules/m_device_list_update: Propagate interrupts.
2020-04-01 13:44:39 -07:00
Jason Volk 926bd56bde modules/m_device_list_update: Add functionality to hook; switch to vm.effect. 2020-04-01 13:44:38 -07:00
Jason Volk 746689086a modules/federation/user_keys_claim: Implement 22.1 POST /user/keys/claim. 2020-03-31 17:27:19 -07:00
Jason Volk 1680e5107b modules/m_relation: Fix event_id unmarshal. 2020-03-31 16:50:07 -07:00
Jason Volk 0bb3a33fa2 modules/client/keys/claim: Relax user mxid construction in response; minor cleanup. 2020-03-31 16:02:14 -07:00
Jason Volk 0d9ddbdc53 modules/federation/send: Improve exception handling and propagation. 2020-03-31 14:50:46 -07:00
Jason Volk cec762de94 modules/client/send_to_device: Move target into content.
modules/federation/sender: Adjust special cases.
2020-03-31 14:17:44 -07:00
Jason Volk 82e01fcc09 modules/client/register_email: Allow and default undefined id_server property. 2020-03-31 13:39:19 -07:00
Jason Volk 31aa8a0d0c modules/client/versions: Add m.require_identity_server. 2020-03-31 13:39:19 -07:00
Jason Volk 07d7dc2801 modules/client/keys/device_signing/upload: Add flows object on error. 2020-03-31 13:11:41 -07:00
Jason Volk 13054243a5 modules/client/sync/presence: Add mitsein condition to linear handler. 2020-03-31 12:54:49 -07:00
Jason Volk 954381b280 modules/client/room_keys/keys: Implement GET method (partial). 2020-03-31 12:12:08 -07:00
Jason Volk b75e0a20e1 modules/client/room_keys/keys: Implement PUT method. 2020-03-31 12:11:56 -07:00
Jason Volk 5d685e6b40 modules/client/sync/to_device: Add linear handler.
modules/client/sync/to_device: Reduce event append between handlers.
2020-03-31 10:37:50 -07:00
Jason Volk 44218e9d86 modules/client/sync/to_device: Condition for specific syncing device on polylog. 2020-03-30 22:04:29 -07:00
Jason Volk b2b1db1eb2 modules/client/sync/to_device: Use m::room::type events iterator for polylog. 2020-03-30 21:55:23 -07:00
Jason Volk b710ed8862 modules/client/room_keys/version: Implement DELETE method. 2020-03-30 19:13:44 -07:00
Jason Volk 2cbd0c736a modules/client/keys/device_signing/upload: Requisite stub; request elements. 2020-03-30 19:02:28 -07:00
Jason Volk d28730538c modules/client/room_keys/version: Implement GET method. 2020-03-30 19:02:28 -07:00