0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-01 16:28:19 +02:00
Commit graph

379 commits

Author SHA1 Message Date
Jason Volk 78ea123004 ircd:Ⓜ️:room::power: Consistent integer level and string level conversions. 2020-04-30 18:52:43 -07:00
Jason Volk b37df3f719 modules/admin: Implement GET (undocumented) /admin/users/@user/admin. 2020-04-30 01:12:46 -07:00
Jason Volk cfb9362744 ircd:Ⓜ️:user: Add is_oper() to interface; minor cleanup. 2020-04-30 01:06:01 -07:00
Jason Volk a8870908a5 ircd:Ⓜ️:fed: Remove fallback branch. 2020-04-29 03:37:35 -07:00
Jason Volk f649a31925 ircd:Ⓜ️:fed: Add a default ttl when read from content. 2020-04-29 03:37:35 -07:00
Jason Volk cffe801148 ircd:Ⓜ️:fed: Simplify cached result copy and test. 2020-04-29 03:37:35 -07:00
Jason Volk 86a601521d ircd:Ⓜ️:fed: Fixes for supplied well-known buffer undersizing. 2020-04-29 03:21:18 -07:00
Jason Volk c4149eba47 ircd:Ⓜ️:sync: Inline apropos() suite. 2020-04-28 03:07:13 -07:00
Jason Volk 434916bb7e ircd:Ⓜ️:room::bootstrap: Response tuple typedef is versionless. 2020-04-27 23:35:06 -07:00
Jason Volk 4c8e306a94 ircd:Ⓜ️:fed: Improve cache characteristic for fallback on expired records. 2020-04-27 23:35:06 -07:00
Jason Volk 7f4da633f3 ircd:Ⓜ️:vm: Fix auth check type conditioning present state update. 2020-04-27 22:37:36 -07:00
Jason Volk 6818f98ae6 ircd:Ⓜ️:vm: Add missing fault::AUTH exception. 2020-04-27 22:37:36 -07:00
Jason Volk 9c61677b0b ircd:Ⓜ️:room::auth: Split out event::idx fetch tools; minor reorg. 2020-04-27 22:37:36 -07:00
Jason Volk dfe1133cfb ircd:Ⓜ️:vm: Unconditional dbtxn building; condition opts.write for committing only. 2020-04-27 18:36:15 -07:00
Jason Volk c027a567ce ircd:Ⓜ️:sync: Move args structure to central lib; eliminate local module header. 2020-04-27 00:16:58 -07:00
Jason Volk 447bf8e42d ircd:Ⓜ️:acquire: Prevent federation notify for any results of m::acquire. 2020-04-26 20:24:12 -07:00
Jason Volk e87a26c142 ircd:Ⓜ️:fed: Use single codepath for request target; use canonize rewrite. 2020-04-26 16:19:37 -07:00
Jason Volk cbb988d31c ircd:Ⓜ️:typing: Add timeout context terminator (missing f9df9bfbd). 2020-04-26 04:17:39 -07:00
Jason Volk 86a7ed52c2 ircd:Ⓜ️:init::backfill: Add a startup delay w/ conf item. 2020-04-25 23:52:59 -07:00
Jason Volk 37335a68d7 ircd:Ⓜ️ Wrap all queries into ircd::server through fed suite. 2020-04-25 21:13:57 -07:00
Jason Volk 267e978247 ircd:Ⓜ️:fed: Add indirection interface. 2020-04-25 21:13:57 -07:00
Jason Volk f9df9bfbda ircd:Ⓜ️:typing: Move remaining assets into namespace; minor reorg. 2020-04-25 17:34:02 -07:00
Jason Volk ea97994fe3 ircd:Ⓜ️:fed: Return origin rather than empty result. 2020-04-25 00:51:38 -07:00
Jason Volk a1633aefbe ircd:Ⓜ️:homeserver: Restore -noautomod functionality. 2020-04-24 23:00:14 -07:00
Jason Volk 11f2eff4d9 Add -defaults program option to restore from broken configurations. 2020-04-24 21:58:57 -07:00
Jason Volk 0b2152a136 ircd:Ⓜ️ Split init::backfill into acquire interface. 2020-04-24 15:24:37 -07:00
Jason Volk 38f5b6e477 ircd:Ⓜ️:typing: Improve timeout work loop related. 2020-04-24 13:35:27 -07:00
Jason Volk ba06958d69 ircd:Ⓜ️ Start a netburst interface; move cache_warm_origin; invoke from resource. 2020-04-23 05:16:48 -07:00
Jason Volk 87f873ad45 ircd:Ⓜ️:init::backfill: Split gossip routine into separate interface. 2020-04-23 04:19:53 -07:00
Jason Volk 2e2c85902e ircd:Ⓜ️ Add additional membership multi-test convenience tool. 2020-04-23 01:42:41 -07:00
Jason Volk 1882f7b507 ircd:Ⓜ️:node: Start preliminary mitsein interface. 2020-04-23 01:21:55 -07:00
Jason Volk 17d73eeae7 ircd:Ⓜ️:node: Cleanup/reorg node interface related. 2020-04-21 19:22:07 -07:00
Jason Volk ebeb60a84a ircd:Ⓜ️:keys: Consistent boolean return values from interface. 2020-04-21 19:22:06 -07:00
Jason Volk 538a2dab5c ircd:Ⓜ️:room::bootstrap: Adjust interface allowing for multiple remote server arguments. 2020-04-21 19:22:06 -07:00
Jason Volk a60b3b16dd ircd:Ⓜ️:init::backfill: Fix conf item namespace. 2020-04-21 00:12:04 -07:00
Jason Volk b979a20457 ircd:Ⓜ️:room::bootstrap: Move util to bootstrap::required(). 2020-04-21 00:12:04 -07:00
Jason Volk b4a16c6678 ircd:Ⓜ️:vm: Improve release sequencing. 2020-04-20 20:45:38 -07:00
Jason Volk 61942819f2 ircd:Ⓜ️:vm: Restore sequence number stackfully on completion. 2020-04-20 20:19:30 -07:00
Jason Volk 7306ef4eb0 ircd:Ⓜ️:vm: Reverse the sequence value format in loghead. 2020-04-20 20:17:30 -07:00
Jason Volk 69f4c2b224 ircd:Ⓜ️:resource: Obtain version information for request if possible. 2020-04-19 20:20:43 -07:00
Jason Volk 8fda624be2 ircd:Ⓜ️:room::power: Add grant/revoke suite. 2020-04-19 06:13:23 -07:00
Jason Volk 2bf38286ba ircd::fs: Callsite changes for fs::base reorg. 2020-04-19 06:13:23 -07:00
Jason Volk 90fd775482 ircd:Ⓜ️:room::power: Cleanup with decompositions. 2020-04-19 06:13:23 -07:00
Jason Volk 2c7af26bdc ircd:Ⓜ️:room::power: Add collection iteration. 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 5ea8ac362c Enable link-time optimization for central libraries with clang. 2020-04-18 01:26:31 -07:00
Jason Volk 17e62957d9 ircd:Ⓜ️:room::state: Fix incorrect count() delegation on empty type; improve. 2020-04-17 23:40:56 -07:00
Jason Volk 541accaf7b ircd:Ⓜ️:room::state: Fix missing history query path for has(type). 2020-04-17 23:40:56 -07:00
Jason Volk 01f2564df7 ircd:Ⓜ️:room::state: Optimize has(type). 2020-04-17 23:40:56 -07:00
Jason Volk 43cabd52d5 matrix/Makefile.am: Minor cleanup. 2020-04-17 21:19:28 -07:00
Jason Volk 10a1468676 ircd:Ⓜ️:room::origins: Fix bug causing repeated last result. 2020-04-16 18:04:35 -07:00
Jason Volk 549e4df476 ircd:Ⓜ️:join: Fix condition for bootstrap of local rooms (regression 09ba5ee455). 2020-04-16 17:13:09 -07:00
Jason Volk 09ba5ee455 ircd:Ⓜ️:join: Unify condition for bootstrap; fix bootstrap on invite. 2020-04-16 15:45:07 -07:00
Jason Volk 7e44e524d2 ircd:Ⓜ️:user::devices: Ensure some stream_id value is sent with the device list update. 2020-04-16 14:34:38 -07:00
Jason Volk 6eb1724a2b ircd:Ⓜ️:user::registar: Don't send account.options,registration for puppets. 2020-04-15 17:03:01 -07:00
Jason Volk b3c6932332 modules/client/register: Refactor bridge codepath; m.login.application_service. 2020-04-15 17:00:05 -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 6bbe8b8855 ircd:Ⓜ️:event::append: Add checkpoint enclosing event object; fix empty object. 2020-04-14 15:31:41 -07:00
Jason Volk 79a4394626 ircd::json::stack: Simplify checkpoint interface controls. 2020-04-14 15:31:41 -07:00
Jason Volk cb41660c94 ircd: Applications of loopless copy overload for single character. 2020-04-13 23:58:33 -07:00
Jason Volk 053398c74d ircd:Ⓜ️:room::power: Add defaults m.room.encryption, m.room.server_acl, m.room.tombstone at creator level. 2020-04-13 15:09:59 -07:00
Jason Volk f511051e56 ircd:Ⓜ️:user::rooms: Add missing default inits for query tuple. 2020-04-13 11:12:21 -07:00
Jason Volk 93e878e8ba ircd:Ⓜ️:resource: Add as_token support and puppetting user_id. 2020-04-12 17:10:20 -07:00
Jason Volk 43f0f198f5 ircd:Ⓜ️:user::registar: Simplify parse for optional string in object. 2020-04-12 17:09:14 -07:00
Jason Volk 817ceee911 ircd:Ⓜ️:resource::request: Fixed buffer for remote string. 2020-04-12 17:09:14 -07:00
Jason Volk 0ff5ac43a6 ircd:Ⓜ️:resource::request: Eliminate origin w/ node_id. 2020-04-12 17:09:14 -07:00
Jason Volk db33bea8dc ircd:Ⓜ️:resource: Cleanup; simplify resource::request construction. 2020-04-12 15:19:17 -07:00
Jason Volk 3b985043d6 ircd:Ⓜ️:request::x_matrix: Cleanup interface; simplify extra split; structured bindings. 2020-04-12 14:47:20 -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 d4418e3857 ircd:Ⓜ️:homeserver: Create the !bridge room on bootstrap for now. 2020-04-11 17:47:35 -07:00
Jason Volk b0128a7ecd ircd:Ⓜ️:homeserver: Add missing !control room creation on bootstrap. 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 d340ed1fdd ircd:Ⓜ️:events::rebuild: Minor fix indentation. 2020-04-09 16:38:53 -07:00
Jason Volk eeac3c1eaa ircd::server: Add more efficient peer error boolean query. 2020-04-07 13:19:16 -07:00
Jason Volk bd702d0314 ircd:Ⓜ️:vm::execute: Fix determination for internal room on creations. 2020-04-07 12:59:47 -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 1bdc87c55e ircd:Ⓜ️:dbs: Add explicit truncations to limit specific key elements. 2020-04-07 10:52:15 -07:00
Jason Volk dcd50f3427 ircd:Ⓜ️:user::devices: Drop updates from unknown users. 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 5fe4d8c4ad ircd:Ⓜ️:fed: Add rooms::complexity request w/ console cmd. 2020-04-05 19:00:09 -07:00
Jason Volk c1692de5ed ircd::json: Abstract the source json::object out of m::event for all tuples by default. 2020-04-05 16:15:23 -07:00
Jason Volk 5f5b312a3e ircd:Ⓜ️:dbs: Simplify key decompositions. 2020-04-04 20:34:43 -07:00
Jason Volk dd9157315c ircd:Ⓜ️:visible: Minor move conditional return before present room construction. 2020-04-03 17:17:29 -07:00
Jason Volk 89be45b42f ircd:Ⓜ️:dbs: Minor cleanup comparators with structured bindings. 2020-04-03 15:26:43 -07:00
Jason Volk 8474cf761c ircd:Ⓜ️:room::head: Fix signed unsigned integer comparison. 2020-04-03 15:17:58 -07:00
Jason Volk 47deac63d3 ircd:Ⓜ️🆔 Fix v3 / v4 validation false negative on construction. 2020-04-03 11:30:37 -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 762a93fe30 ircd:Ⓜ️:vm: Allow dummy events to resolve heads. 2020-04-02 17:16:54 -07:00
Jason Volk b31b0eb691 ircd:Ⓜ️:fed: Add convenience delegator for send. 2020-04-01 20:37:51 -07:00
Jason Volk b2a9efc6f9 ircd:Ⓜ️:user::devices: Fix property iteration closure conditions. 2020-04-01 19:52:31 -07:00
Jason Volk adab45fb6a ircd:Ⓜ️:user::devices: Add existential test before iteration of any properties. 2020-04-01 19:52:31 -07:00
Jason Volk f51bcf5939 ircd:Ⓜ️:user::devices: Simplify the existential test. 2020-04-01 19:52:31 -07:00
Jason Volk fe9635a70e ircd:Ⓜ️:device: Reclassify interface at m::user::devices. 2020-04-01 19:52:31 -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 88987b0e85 ircd:Ⓜ️:user::pushrules: Use non-throwing query to the room state. 2020-04-01 16:03:25 -07:00
Jason Volk 8b160d218e ircd:Ⓜ️:device: Use non-throwing query for device_id event_idx. 2020-04-01 15:38:51 -07:00
Jason Volk 116b0dfcb7 ircd:Ⓜ️:device_list_update: Add preliminary broadcast; add update on deletion. 2020-04-01 14:11:35 -07:00