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

425 commits

Author SHA1 Message Date
Jason Volk
da761ca5aa ircd:Ⓜ️:dbs: Increase some cache defaults. 2020-05-14 12:09:41 -07:00
Jason Volk
b4df449068 ircd:Ⓜ️:vm: Improve core sequence conditions.
ircd:Ⓜ️:vm: Simplify transaction sharing with parent.
2020-05-12 22:38:26 -07:00
Jason Volk
b2b989708d ircd:Ⓜ️:vm: Improve loghead; debuglog formats. 2020-05-12 22:27:53 -07:00
Jason Volk
b91c768c57 ircd:Ⓜ️:vm::eval: Remove sequence_shared state. 2020-05-12 22:27:53 -07:00
Jason Volk
987a3eeb6b ircd:Ⓜ️:vm::eval: Add pointer to parent eval; related utils.
ircd:Ⓜ️:vm::eval: Add pointer to child evals; maintain stack.
2020-05-12 22:27:53 -07:00
Jason Volk
32c4ee29c5 ircd:Ⓜ️:vm::eval: Use delegation ctor on overloads. 2020-05-12 22:27:53 -07:00
Jason Volk
13003986bc ircd:Ⓜ️:vm::eval: Minor static interface reorg. 2020-05-12 22:27:53 -07:00
Jason Volk
69cd2608ac ircd:Ⓜ️:vm: Tweak branch expectation related. 2020-05-12 22:27:53 -07:00
Jason Volk
3bd3173db0 ircd:Ⓜ️:vm: Replace eval hook::site member with entered hook ptr; add id to console cmd. 2020-05-12 22:27:53 -07:00
Jason Volk
adde714df4 ircd:Ⓜ️🪝 Add callsite overloads which maintain pointer to current hfn. 2020-05-12 19:21:58 -07:00
Jason Volk
38a12ec0f7 ircd:Ⓜ️🪝 Add integer for easier ident; improve log msgs; console cmd. 2020-05-12 19:21:58 -07:00
Jason Volk
a247334744 ircd:Ⓜ️🪝 Minor interface reorg. 2020-05-12 19:21:58 -07:00
Jason Volk
bdcf62cbc0 ircd:Ⓜ️:vm: Use scope reset on eval.sequence_shared values. 2020-05-12 19:21:58 -07:00
Jason Volk
fd35d6fb68 ircd:Ⓜ️:typing: Manage interruptions during the timeout loop. 2020-05-12 19:21:58 -07:00
Jason Volk
b2bb4b1be6 ircd:Ⓜ️:vm: Move the write_prepare/transaction allocation earlier. 2020-05-12 19:21:56 -07:00
Jason Volk
84fea17624 ircd:Ⓜ️:vm::execute: Reduce debuglog messages. 2020-05-12 04:41:07 -07:00
Jason Volk
c83f820e7f ircd:Ⓜ️:vm: Add missing phase indication during verify. 2020-05-12 04:41:07 -07:00
Jason Volk
d46b6bb27b ircd:Ⓜ️:vm: Skip existential check for issued events. 2020-05-12 04:41:07 -07:00
Jason Volk
3af0ebe53a ircd:Ⓜ️:fetch: Tweak conditions allowing requests based on runlevel. 2020-05-12 04:41:07 -07:00
Jason Volk
ef80b1aff8 ircd:Ⓜ️:homeserver: Read-parse loop over events for bootstrap from vector. 2020-05-11 21:14:25 -07:00
Jason Volk
b764e75692 ircd:Ⓜ️:vm: Additional fetch phases; split fetch hook sites. 2020-05-11 21:14:25 -07:00
Jason Volk
0fd5570c14 ircd:Ⓜ️:vm: Add enumeration for evaluation phases. 2020-05-11 21:14:25 -07:00
Jason Volk
a1708a687e ircd:Ⓜ️:vm: Rename eval.phase to eval.phase_hook. 2020-05-11 19:25:07 -07:00
Jason Volk
91d1c8147d ircd:Ⓜ️:room::bootstrap: Rename internal namespace to avoid conflict. 2020-05-11 16:54:24 -07:00
Jason Volk
109c30a76c ircd: Apply devirtualization optimizations for clang.
matrix: Apply devirtualization optimizations for clang.
2020-05-11 01:58:25 -07:00
Jason Volk
1cc57495a4 ircd:Ⓜ️:homeserver: Fix missing error format string specifiers. 2020-05-10 18:53:45 -07:00
Jason Volk
b0776fd0f8 ircd:Ⓜ️:homeserver: Preliminary bootstrap from event vector. 2020-05-10 03:52:28 -07:00
Jason Volk
554478da49 ircd:Ⓜ️:homeserver: Consolidate/simplify ctor/dtor for now. 2020-05-10 03:02:20 -07:00
Jason Volk
0bd1d03bbc ircd:Ⓜ️:homeserver: Unload any loaded modules for ctor error. 2020-05-09 19:56:20 -07:00
Jason Volk
9a2382b444 ircd:Ⓜ️:homeserver: Prevent exception propagation for signoff(homeserver). 2020-05-09 19:41:10 -07:00
Jason Volk
befe43f45a ircd:Ⓜ️:acquire: Add options to toggle operations. 2020-05-09 19:01:25 -07:00
Jason Volk
ed931bcf6e ircd:Ⓜ️:events: Cleanup fd options for dumper. 2020-05-09 18:58:01 -07:00
Jason Volk
17f41f83d4 ircd:Ⓜ️:user::filter: Return the filter id of an existing filter rather than empty. 2020-05-07 14:14:34 -07:00
Jason Volk
59f4e3cf34 ircd:Ⓜ️:dbs: Ensure truncation of origin component of room_joined key. 2020-05-05 19:57:32 -07:00
Jason Volk
7d949427e3 ircd:Ⓜ️:fed: Fix cache content buffer overwrite causing erroneous well-known fallback results. 2020-05-05 16:13:32 -07:00
Jason Volk
970f84304e ircd:Ⓜ️:fed: Remove unused buffer. 2020-05-05 16:05:22 -07:00
Jason Volk
8029d25c2d ircd:Ⓜ️:keys: Fix response handling for feds parallel key request. 2020-05-05 14:03:48 -07:00
Jason Volk
3fe0729340 ircd:Ⓜ️:keys: Add proper feds opts for error handling; fix exception escape. 2020-05-05 13:20:05 -07:00
Jason Volk
e4cfe61551 modules/admin: Implement (undocumented) users/deactivate. 2020-05-02 23:57:53 -07:00
Jason Volk
ff96eb803d ircd:Ⓜ️:user: Move is_active() to adl'ed active(). 2020-05-02 23:57:53 -07:00
Jason Volk
1a1826bded ircd:Ⓜ️:fed: Another attempt at well-known expired-entry fallback. 2020-05-02 23:57:52 -07:00
Jason Volk
4e9664ebce ircd:Ⓜ️:room::auth: Allow an incorrect fifth event; warning remains. 2020-05-01 10:10:17 -07:00
Jason Volk
84347857c6 ircd:Ⓜ️:room::power: Use conf items to seed all default values. 2020-05-01 10:10:17 -07:00
Jason Volk
a507785f8f ircd:Ⓜ️:pretty: Show membership for applicable events in pretty multiline. 2020-05-01 10:10:17 -07:00
Jason Volk
6bc0d48a38 ircd:Ⓜ️:pretty: Move part of console event cmd into lib util. 2020-05-01 10:10:16 -07:00
Jason Volk
9cb01e7237 ircd:Ⓜ️:fed::state: Make event_id parameter optional; remove head fetch. 2020-05-01 08:59:12 -07:00
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