0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 06:51:08 +01:00
Commit graph

991 commits

Author SHA1 Message Date
Jason Volk
5a223d3e8c ircd:Ⓜ️🆔 Use the ircd::parse template rather than spirit::qi directly. 2022-06-24 21:31:07 -07:00
Jason Volk
110610f774 ircd:Ⓜ️ Tweak symbol related linkflags for library.
Fix $EXTRA_ flags placement; improve Makefile formatting.
2022-06-24 21:31:05 -07:00
Jason Volk
99f1740289 Fixes for gcc (gnu++20) (gcc-12). 2022-06-20 18:24:55 -07:00
Jason Volk
9ffbd8be37 ircd:Ⓜ️:fed: Implement request-side for knock suite. 2022-06-19 20:27:13 -07:00
Jason Volk
da022616d9 ircd:Ⓜ️:fed: Implement request-side for MSC3030 w/ console cmd.
matrix-org/matrix-spec-proposals#3030
2022-06-19 20:27:13 -07:00
Jason Volk
3807a4d832 ircd:Ⓜ️:fed: Add hierarchy request w/ console cmd. 2022-06-19 20:27:13 -07:00
Jason Volk
b815ac8bec ircd::fs: Eliminate user-defined ctors on various opts for designated inits. 2022-06-19 20:27:13 -07:00
Jason Volk
ffa62d0f4c ircd::json: Remove redundant typedef; simplify.
ircd:Ⓜ️ Fix ambiguous (C++20).
2022-06-19 20:14:22 -07:00
Jason Volk
e68856dff3 ircd:Ⓜ️:media::file: Use structured binding; minor cleanup. 2022-06-19 20:14:22 -07:00
Jason Volk
98d97ba0e6 modules/media: Additional assertion related; error logging; minor cleanup. 2022-06-19 20:14:22 -07:00
Jason Volk
147ae27669 modules/media: Improve type and property schema. 2022-06-19 20:14:22 -07:00
Jason Volk
d9c9ee3bbe modules/media: Use standard b64 w/ padding for content. 2022-06-19 20:14:22 -07:00
Jason Volk
58d61f4675 ircd:Ⓜ️:media::file: Switch to b64 urlsafe for room_id. 2022-06-19 20:14:22 -07:00
Jason Volk
96587f2e6d modules/media: Eliminate blocks database; encode data into event content. (#139) 2022-06-19 20:14:22 -07:00
Jason Volk
472391d5d3 modules/client/rooms: Implement client 11.36.2 GET /hierarchy. 2022-06-19 19:55:02 -07:00
Jason Volk
78257751ba We work hard with our own hands. When we are cursed, we bless; when we are persecuted, we endure it.
-- 1 Corin 4:12
2022-06-17 21:34:02 -07:00
Jason Volk
1cb26977aa ircd:Ⓜ️:vm::fetch: Fix illegal context switch in catch block. 2022-06-17 21:34:02 -07:00
Jason Volk
bee829f4a0 ircd:Ⓜ️ Disable the WAL for bootstrap eval txns. 2022-06-17 21:11:54 -07:00
Jason Volk
ffd61f3a2f ircd:Ⓜ️ Add db::sopts passthru in dbs::write_opts. 2022-06-17 21:11:54 -07:00
Jason Volk
202521b9ef ircd:Ⓜ️ Fix spacing. [ci skip] 2022-06-17 21:11:54 -07:00
Jason Volk
37b98a04f3 ircd:Ⓜ️ Fix bootstrap interrupt/terminate exception related. 2022-06-17 21:11:54 -07:00
Jason Volk
705374720b ircd:Ⓜ️ Fix bootstrap event/s counter; add coarse pct indicator. 2022-06-17 21:11:54 -07:00
Jason Volk
401f61e564 ircd::json: Remove unit linkages for constant expression values. 2022-06-17 21:11:54 -07:00
Jason Volk
3cc9743c2c ircd:Ⓜ️:vm: Remove static decls for functions moved to other unit. 2022-06-17 21:11:53 -07:00
Jason Volk
756d16220e ircd:Ⓜ️ Fix range-loop-construct warning (clang). 2022-06-17 21:11:53 -07:00
Jason Volk
4821f6d2db ircd: Move any externally used interfaces out of init objects. 2022-06-17 21:11:53 -07:00
Jason Volk
1055d66f94 Modernize various parser grammars; remove empty ctors. 2022-06-17 21:11:53 -07:00
Jason Volk
3d672ab9bc Rename common instance variables of window_buffer for clarity. 2022-06-17 21:11:53 -07:00
Jason Volk
e8915b1b28 ircd:Ⓜ️:homeserver: Bootstrap tweaks. 2022-06-17 21:11:53 -07:00
Jason Volk
90d4d8248c configure: Add -ljemalloc to LIBS; fix byzantine allocator linkages. 2022-06-17 21:11:53 -07:00
Jason Volk
952e3d1f02 ircd:Ⓜ️ Use buffer size constants. 2022-06-17 21:11:53 -07:00
Jason Volk
fb771478ee ircd:Ⓜ️ Move module name list out of m::matrix object to internal. 2022-06-17 21:11:53 -07:00
Jason Volk
0d8f069fbf ircd:Ⓜ️:events: Fix indentation; minor cleanup. 2022-06-17 21:11:53 -07:00
Jason Volk
5f5c1db9b1 ircd:Ⓜ️:homeserver: Fix net_dns_cache.so loading w/ -noautomod. 2022-06-17 21:11:52 -07:00
Jason Volk
0d4661e1ef ircd:Ⓜ️:dbs: Optimize branch complex. 2021-08-01 00:35:32 -07:00
Jason Volk
498265c5f0 ircd:Ⓜ️:room::state: Suppress verbose debuglog msg to warning. 2021-05-11 20:56:09 -07:00
Jason Volk
858479b6ab Move -include options from CPPFLAGS to CXXFLAGS. 2021-04-22 12:27:57 -07:00
Jason Volk
50f577ec6e ircd:Ⓜ️:homeserver::bootstrap: Use hugepage for event json map. 2021-03-16 12:58:22 -07:00
Jason Volk
3d380d09a3 ircd:Ⓜ️ Fix various const reference range construction warnings in clang. 2021-02-26 14:52:33 -08:00
Jason Volk
337ffbe740 ircd:Ⓜ️:init::backfill: Add cleanup/fix operations; conf items toggles. 2021-02-17 10:35:32 -08:00
Jason Volk
028fb60d1f ircd:Ⓜ️:homeserver: Tweak bootstrap vector options; smaller batch size. 2021-02-17 10:35:32 -08:00
Jason Volk
00ad278e72 ircd:Ⓜ️:room::events: Refactor range count; iterate faster; relax caller requirements. 2021-02-10 23:38:44 -08:00
Jason Volk
475f22c9a1 ircd:Ⓜ️:room::events: Improve seek_idx() impl; cleanup; modernize. 2021-02-10 23:38:44 -08:00
Jason Volk
53806a7973 ircd:Ⓜ️:room::events: Add lower_bound to seek_idx() for relaxed seek. 2021-02-10 23:38:44 -08:00
Jason Volk
efca102ef3 ircd:Ⓜ️:request: Consolidate request content buffers; remove complex tls. 2021-02-10 00:57:27 -08:00
Jason Volk
2a34c748bb ircd:Ⓜ️:homeserver::keys: Use conf item for valid_until_ts. 2021-02-09 22:42:55 -08:00
Jason Volk
2e5da32c7a ircd:Ⓜ️:bridge: Add thirdparty/protocol query. 2021-02-04 21:13:42 -08:00
Jason Volk
7d7846c57a ircd:Ⓜ️:bridge: Refactor query interface; simplify. 2021-02-04 21:13:42 -08:00
Jason Volk
207997ac95 ircd:Ⓜ️:bridge: Refactor config interface; remove central !bridge room related. 2021-02-03 18:01:15 -08:00
Jason Volk
4562c0c2e5 ircd:Ⓜ️:room: Skip invalid fetches in room purge. 2021-02-02 07:54:26 -08:00
Jason Volk
6424e0bde9 ircd:Ⓜ️ Add oper trapdoor to visibility check. 2021-02-02 07:54:26 -08:00
Jason Volk
e1db70ca04 ircd:Ⓜ️:bridge: Add make_uri() utility. 2021-02-02 07:54:26 -08:00
Jason Volk
e0f7c431cb ircd:Ⓜ️:vm: Additional stats; instrumentation around write txn. 2021-02-02 07:54:26 -08:00
Jason Volk
5a7208729a ircd:Ⓜ️ Add format argument to pretty_msgline(); add text fmt w/ console arg. 2021-01-30 19:20:50 -08:00
Jason Volk
47372dbd73 ircd:Ⓜ️ Improve pretty_msgline(); eliminate small tls buf. 2021-01-30 19:20:45 -08:00
Jason Volk
caf38d076a ircd:Ⓜ️🧾 Simplify receipt freshness decisional. 2021-01-25 22:27:44 -08:00
Jason Volk
744744f88a ircd:Ⓜ️ Query range of messages user is presently engaged in reading. 2021-01-25 00:12:10 -08:00
Jason Volk
2d0a565ede ircd:Ⓜ️ Add viewing(user) for currently viewing room w/ console cmd. 2021-01-25 00:06:19 -08:00
Jason Volk
bc7a2edc45 ircd:Ⓜ️ Fix br3adcrumbs again. (related 8e7c1c3eb2) 2021-01-24 21:42:03 -08:00
Jason Volk
383637ae51 ircd:Ⓜ️:dbs: Add conf items for content / event_json file size. 2021-01-12 13:55:45 -08:00
Jason Volk
165454dd85 ircd:Ⓜ️:acquire: Use backfill for potentially softfailed state. 2021-01-12 13:55:45 -08:00
Jason Volk
ee23dae92a ircd:Ⓜ️:init::backfill: More aggressive pool size default. 2021-01-12 13:55:45 -08:00
Jason Volk
9740b15fb9 ircd:Ⓜ️:vm: Additional emption related fault codes. 2021-01-12 13:55:45 -08:00
Jason Volk
b47171f8f9 ircd:Ⓜ️:dbs: Increase content column cache default. 2021-01-08 01:37:45 -08:00
Jason Volk
0f8647dfa6 ircd:Ⓜ️:init::backfill: Fix invalid termination of finished context. 2021-01-08 01:37:45 -08:00
Jason Volk
a49fa17c7e modules: Implement s2s unstable 22.3 m.signing_key_update handler. 2021-01-04 13:17:30 -08:00
Jason Volk
d6e01f5a43 ircd:Ⓜ️ Add signing_key_update schema. 2021-01-04 13:17:30 -08:00
Jason Volk
c799f378d1 ircd:Ⓜ️ Structure for CrossSignKey. 2021-01-04 08:47:21 -08:00
Jason Volk
3e2e876ebe ircd:Ⓜ️:gossip: Fix attempt hash; msb on remote. 2020-12-28 19:41:40 -08:00
Jason Volk
ff0a6c2ce7 ircd:Ⓜ️:user::mitsein: Replace string w/ hash for seen state. 2020-12-28 19:33:14 -08:00
Jason Volk
30d7c11db7 ircd:Ⓜ️:presence: Add prefetch() to interface. 2020-12-28 19:33:14 -08:00
Jason Volk
5b4065048e ircd:Ⓜ️:sync: Include device_id in synchron loghead output. 2020-12-28 19:33:14 -08:00
Jason Volk
85dd862760 ircd:Ⓜ️:room::content: Add larger prefetch ring. 2020-12-28 02:35:18 -08:00
Jason Volk
07733e6682 ircd:Ⓜ️:event::append: Use consistent quoting around ids in format strings. 2020-12-28 02:01:26 -08:00
Jason Volk
67448469ae ircd:Ⓜ️:event::append: Add visibility query support w/ option. 2020-12-28 02:01:26 -08:00
Jason Volk
9efe14ba6d ircd:Ⓜ️:event::append: Support event_filter in options; minor reorg. 2020-12-28 02:01:26 -08:00
Jason Volk
e51ddb1ee6 ircd:Ⓜ️:filter: Modernize some match conditions; use non-throwing queries. 2020-12-28 02:01:26 -08:00
Jason Volk
a5d3cfbfa6 ircd:Ⓜ️:typing: Drop typing events for rooms w/o local joined user. 2020-12-26 11:55:01 -08:00
Jason Volk
0c600eba94 ircd:Ⓜ️:vm: Fix cases incorrectly removing signatures prior to verify stage. 2020-12-22 18:40:30 -08:00
Jason Volk
eb18ae9daf ircd:Ⓜ️ Add argument to toggle sigs in m::essential(). 2020-12-22 18:40:30 -08:00
Jason Volk
92b960730a ircd:Ⓜ️:sync: Undress since token for clear-cache+reload in R!ot. (matrix-org/matrix-doc/#2855) 2020-12-22 18:40:30 -08:00
Jason Volk
bd90d02cb9 ircd:Ⓜ️:homeserver: Enable prefetch of references during bootstrap for now. 2020-12-21 01:19:33 -08:00
Jason Volk
4d48be4aa6 ircd:Ⓜ️:dbs: Propagate appendix bits to horizon resolver options. 2020-12-19 22:53:13 -08:00
Jason Volk
59d4b987b5 ircd:Ⓜ️:vm: Add array-wide reference event_id pre-prefetcher. 2020-12-19 22:53:13 -08:00
Jason Volk
d034ac7a7b ircd:Ⓜ️:dbs: Remove requirement for opts.event_idx in prefetch(). 2020-12-19 22:53:13 -08:00
Jason Volk
90de5f88b8 ircd:Ⓜ️:dbs: Simplify/deduplicate various auth/prev index transform related. 2020-12-19 22:53:12 -08:00
Jason Volk
6c71ec39b2 ircd:Ⓜ️ Parallel event::idx convenience for event::auth; simplify definitions. 2020-12-19 22:53:12 -08:00
Jason Volk
237992b9ed ircd:Ⓜ️:vm: Check for cached error of remote; use single container. 2020-12-18 21:21:25 -08:00
Jason Volk
c9b4fe6797 ircd:Ⓜ️:acquire: Add conditions to skip subroutine when opts cause overlap. 2020-12-18 19:58:51 -08:00
Jason Volk
a029cdec5f ircd:Ⓜ️:acquire: Add conditions respecting depth range options to acquire_timeline(). 2020-12-18 19:58:51 -08:00
Jason Volk
9655a6311f ircd: Simplify the async main init fiasco w/ continuation callback. 2020-12-18 17:41:26 -08:00
Jason Volk
2e7ede7242 ircd:Ⓜ️:vm::eval: Use non-throwing query for signatures object. 2020-12-18 17:39:49 -08:00
Jason Volk
e86e42cdf9 ircd:Ⓜ️:pretty: Add content column for select state types. 2020-12-18 02:45:03 -08:00
Jason Volk
2e72ae2994 ircd:Ⓜ️:vm: Move larger branches out of execute() into statics. 2020-12-18 02:45:03 -08:00
Jason Volk
018f2655b6 ircd:Ⓜ️:acquire: Add divulgence acquisition algorithm to suite. 2020-12-17 01:49:20 -08:00
Jason Volk
45591b6877 ircd:Ⓜ️:room::auth: Simplify parallel transform+query. 2020-12-17 01:49:20 -08:00
Jason Volk
7a11acbacd ircd:Ⓜ️:event: Separate out event::auth from event::prev header, unit, callsites. 2020-12-16 21:39:08 -08:00
Jason Volk
9e5384525b ircd:Ⓜ️:acquire: Fix missing value propagation to state_vmopts. 2020-12-16 21:39:07 -08:00
Jason Volk
c3f0f37b30 ircd:Ⓜ️:vm: Add phase to reject events not needed by any local user. 2020-12-16 14:41:17 -08:00
Jason Volk
dfcf032b96 ircd:Ⓜ️:vm: Additional comments; minor simplifications. 2020-12-16 14:41:17 -08:00
Jason Volk
e1e8286436 ircd:Ⓜ️:event: Add bool argument to skip verify restringify. 2020-12-16 14:41:17 -08:00
Jason Volk
06ccb59a77 ircd:Ⓜ️:vm::fetch: Improve exception handling for better error messages. 2020-12-15 16:56:07 -08:00
Jason Volk
853064120d ircd:Ⓜ️:vm: Move DUPCHK into execute_pdu(). 2020-12-15 16:56:07 -08:00
Jason Volk
e71c89fa86 ircd:Ⓜ️:vm: Support output/error transcription to evaluator json::stack. 2020-12-15 16:56:07 -08:00
Jason Volk
08473f64d6 ircd:Ⓜ️:vm: Fix possible sequence conflict; assert uniqueness; minor cleanup. 2020-12-14 04:09:43 -08:00
Jason Volk
e91c845de5 ircd::ctx: Minor move misplaced comment. [ci skip]
ircd:Ⓜ️:acquire: Remove stale comment. [ci skip]
2020-12-12 18:18:28 -08:00
Jason Volk
5748c21c3e ircd:Ⓜ️:user::rooms: Simplify/dedup membership query detail. 2020-12-12 00:35:36 -08:00
Jason Volk
20204d5917 ircd:Ⓜ️:fed::event_auth: Use single endpoint w/ auth_chain_ids instead of state_ids. 2020-12-10 11:47:52 -08:00
Jason Volk
42f7b05775 ircd:Ⓜ️:resource: Add log facility w/ debug; minor cleanup. 2020-12-10 08:34:22 -08:00
Jason Volk
d8115cccc9 ircd:Ⓜ️:vm::eval: Improve mfetch_keys related during eval. 2020-12-10 08:34:22 -08:00
Jason Volk
f8ad44b16a ircd:Ⓜ️:vm: Add distinct phase for unique check; reorder phase enum. 2020-12-10 08:34:22 -08:00
Jason Volk
a7edf142c7 ircd:Ⓜ️:vm::eval: Minor interface cleanup; unit reorg. 2020-12-10 08:34:22 -08:00
Jason Volk
09d7822de9 ircd:Ⓜ️:fed::well_known: Minor simplify/remove condition. 2020-12-09 23:50:49 -08:00
Jason Volk
4b1c8956a6 ircd:Ⓜ️:gossip: Implement multi-round loop; add console cmds. 2020-12-09 20:52:55 -08:00
Jason Volk
2351cc071f ircd:Ⓜ️:acquire: Move tail cleanup to dtor. 2020-12-09 20:52:55 -08:00
Jason Volk
401e7ee7e8 ircd:Ⓜ️:room::head::fetch: Refactor one() convenience interface; add abstract overload. 2020-12-09 02:16:50 -08:00
Jason Volk
38d6911f98 ircd:Ⓜ️:room::state::history: Add event_idx class member; improve 6768c23811 condition. 2020-12-08 03:33:06 -08:00
Jason Volk
2b6bb16bf4 ircd:Ⓜ️:vm::fetch: Perform pre-sort for full received auth_chain. 2020-12-07 14:18:42 -08:00
Jason Volk
97bb18d2e6 ircd:Ⓜ️:room::bootstrap: Perform pre-sort for full received auth_chain. 2020-12-07 14:18:42 -08:00
Jason Volk
1ab61a11d9 ircd:Ⓜ️:vm: Improve present state txn composition; fix conditions. 2020-12-06 17:25:21 -08:00
Jason Volk
21dc2dc4f8 ircd:Ⓜ️ Minor simplifications. 2020-12-06 15:03:32 -08:00
Jason Volk
6768c23811 ircd:Ⓜ️:room::state::history: Make the upper depth bound inclusive. 2020-12-06 12:14:02 -08:00
Jason Volk
3b0f2b7ad5 ircd:Ⓜ️:room::state: Hoist event::fetch instance for faster seek in rebuilder. 2020-12-06 12:14:02 -08:00
Jason Volk
3b351b30f0 ircd:Ⓜ️:room::state: Improve log/diagnostic on rebuild. 2020-12-06 12:14:02 -08:00
Jason Volk
9a17cb08f8 ircd:Ⓜ️:vm: Move txn creation branches into function. 2020-12-06 10:36:47 -08:00
Jason Volk
bf5b03adc4 ircd:Ⓜ️:vm: Add earlier PREINDEX phase with prefetches for txn. 2020-12-06 10:27:27 -08:00
Jason Volk
54a591e45c ircd:Ⓜ️:dbs: Improve prefetch handlers; remove opts; split interface. 2020-12-06 10:27:27 -08:00
Jason Volk
24d7a9220a ircd:Ⓜ️:vm: Show write call result to debug log msg. 2020-12-06 10:27:27 -08:00
Jason Volk
9cdc6f8a47 ircd:Ⓜ️:homeserver::bootstrap: Use explicit calls to bitset::set(). 2020-12-06 10:27:27 -08:00
Jason Volk
84b5bf536c ircd:Ⓜ️:vm::fetch: Replace redundant state fetch/eval w/ m::acquire. 2020-12-06 10:27:27 -08:00
Jason Volk
7eaad92e3c ircd:Ⓜ️:acquire: Improve hint selection complex for state fetch. 2020-12-06 10:27:27 -08:00
Jason Volk
1622ef89af ircd:Ⓜ️:gossip: Refactor interface; zero-worker implementation. 2020-12-06 10:27:27 -08:00
Jason Volk
058f20fe30 ircd:Ⓜ️:sync: Add missing stats for the linear handler base. 2020-12-03 06:01:38 -08:00
Jason Volk
a013c44f9e ircd:Ⓜ️:sync: Eliminate small tls buffers. 2020-12-03 06:01:38 -08:00
Jason Volk
779fc767d9 ircd:Ⓜ️🆔 Deinline ctor; construct string_view tight to valid mxid. 2020-12-03 01:37:33 -08:00
Jason Volk
a3a5bfbf30 ircd:Ⓜ️:vm: Fix placement of DUPCHK; adhere to opts.unique; remove redundant re-check. 2020-12-02 20:47:37 -08:00
Jason Volk
c93dd98b05 ircd:Ⓜ️:vm: Simplify redaction authority options; fix conditions. 2020-12-01 06:14:35 -08:00
Jason Volk
9344f3bc35 ircd:Ⓜ️:vm::fetch: Improve various hint selections. 2020-12-01 05:52:07 -08:00
Jason Volk
25bee046b3 ircd:Ⓜ️:vm: Add opts to conditions for edu branch. 2020-12-01 05:52:07 -08:00
Jason Volk
d2427fe4da ircd:Ⓜ️:room: Use string_view literal for better template inst. 2020-12-01 02:59:46 -08:00
Jason Volk
5b8092e407 ircd:Ⓜ️:vm: Add branch to grab room version from input. 2020-12-01 02:59:46 -08:00
Jason Volk
362096b34a ircd:Ⓜ️:room: Implement proper throwing overload for m::version(). 2020-12-01 02:59:46 -08:00
Jason Volk
3db3770302 ircd:Ⓜ️:vm: Only call mass fetcher for multiple evals. 2020-12-01 02:11:56 -08:00
Jason Volk
7fe0e9106f ircd:Ⓜ️:vm: Consolidate codepath; eval member counters; fix console related. 2020-12-01 02:11:56 -08:00
Jason Volk
4a715c8f0a ircd:Ⓜ️ Fix missing interrupt propagation in some worker base frames. 2020-12-01 00:00:54 -08:00
Jason Volk
0c88c84bb8 ircd:Ⓜ️:vm: Reconstruct event tuple from any canonized source. 2020-11-30 08:05:13 -08:00
Jason Volk
f80a31620c ircd:Ⓜ️:room::head: Fix erroneous empty string result. 2020-11-30 00:48:54 -08:00
Jason Volk
d49227c848 ircd:Ⓜ️:vm: Add redacted canonization cases prior to eval. 2020-11-29 23:55:09 -08:00
Jason Volk
f5fe4c7566 ircd:Ⓜ️:vm: Minor cleanup; move branch; comments. 2020-11-29 19:49:15 -08:00
Jason Volk
a9f6782309 ircd:Ⓜ️:vm: Improve event_id preposition prior to eval. 2020-11-29 19:49:15 -08:00
Jason Volk
02dc164d66 ircd:Ⓜ️:vm: Add canonization point prior to core eval. 2020-11-29 19:49:15 -08:00
Jason Volk
d4cab12056 ircd:Ⓜ️:dbs: Add branch to canonize content for select column types. 2020-11-29 19:49:15 -08:00
Jason Volk
9ea6fe65c3 ircd:Ⓜ️:event: Consolidate various thread-local buffers. 2020-11-29 19:49:15 -08:00
Jason Volk
770fabcacd ircd: Add target to preprocess PGO data bundled in text form.
matrix: Add target to preprocess PGO data bundled in text form.
2020-11-28 14:35:45 -08:00
Jason Volk
716f26216d configure: Consolidate applications of -fmax-errors/-ferror-limit. 2020-11-28 12:42:32 -08:00
Jason Volk
42d4596c51 ircd:Ⓜ️:fetch: Fix cleanup condition call to start(). 2020-11-27 20:06:19 -08:00
Jason Volk
ded8f05064 ircd::tokens: Simplify interface w/ closure template; eliminate named closure.
ircd::tokens: Minor interface cleanup; inline linkages.
2020-11-27 20:06:19 -08:00
Jason Volk
0f851d1d98 ircd: Use thin mode for LTO.
matrix: Use thin mode for LTO.
2020-11-27 17:29:28 -08:00
Jason Volk
5fdc492470 ircd:Ⓜ️ Add parallel index() overload for event::prev. 2020-11-27 17:27:55 -08:00
Jason Volk
595c51e17e ircd:Ⓜ️ Pass fetch result origin as node_id to evals. 2020-11-27 16:58:20 -08:00
Jason Volk
e06b033218 ircd:Ⓜ️:fetch: Pass the respondent's origin string with result. 2020-11-21 17:19:21 -08:00
Jason Volk
2a46ce767a ircd:Ⓜ️:acquire: Toggle fetch::op based on limit. 2020-11-21 17:19:21 -08:00
Jason Volk
214af71f09 ircd:Ⓜ️:fetch: Fix overzealous condition preventing authoritative redaction. 2020-11-21 00:26:47 -08:00
Jason Volk
1b69454f85 ircd:Ⓜ️:vm::fetch: Additional information for auth fetch hint. 2020-11-20 22:14:19 -08:00
Jason Volk
28c4b38641 ircd:Ⓜ️:init::backfill: Add conf item for acquire attempt_max. 2020-11-20 20:38:07 -08:00
Jason Volk
5872604280 ircd:Ⓜ️:acquire: Pass an attempt cap from opts to m::fetch. 2020-11-20 20:38:07 -08:00
Jason Volk
e1d52b28ce ircd:Ⓜ️:acquire: Add state dispatch component; minor cleanup. 2020-11-20 20:38:07 -08:00
Jason Volk
a5da068d0d ircd:Ⓜ️:room::state: Add fetch interface similar to room::head; w/ console cmd. 2020-11-20 18:28:32 -08:00
Jason Volk
e9fb24bdd9 ircd:Ⓜ️:acquire: Add vm::opts to interface options; add per-operation eval opts. 2020-11-20 16:50:17 -08:00
Jason Volk
b897071ce3 ircd:Ⓜ️:vm: Add options over existing state fetch decisions. 2020-11-20 13:55:19 -08:00
Jason Volk
1c0a9f3020 ircd:Ⓜ️:acquire: Use class linkage; tweak option interface; add instance_list. 2020-11-19 19:06:04 -08:00
Jason Volk
7d091f8d55 ircd:Ⓜ️:init::backfill: Improve worker termination and release of context. 2020-11-19 19:06:04 -08:00
Jason Volk
a80c6f9c1c ircd:Ⓜ️:acquire: Prevent duplicate fetch during submit. 2020-11-18 21:02:49 -08:00
Jason Volk
99b9ab4167 ircd:Ⓜ️:acquire: Granular targeting options for procurement. 2020-11-18 17:19:07 -08:00
Jason Volk
2aa1d6520a ircd:Ⓜ️:user::registar: Allow full mxid argument w/ localname extraction. 2020-11-16 07:22:12 -08:00
Jason Volk
f558c05483 ircd:Ⓜ️:acquire: Improve work cycle; additional debuglog; tweak options. 2020-11-15 05:48:25 -08:00
Jason Volk
32732a847b ircd:Ⓜ️ Use canonical path constructions for all generated amalgams. 2020-11-15 02:27:33 -08:00
Jason Volk
bb7cda6fec ircd:Ⓜ️:room::events: Increase the viewport size. 2020-11-13 22:49:57 -08:00
Jason Volk
e3eb555cc4 ircd:Ⓜ️:acquire: Use backfill method; dilate to next sounding. 2020-11-13 21:07:14 -08:00
Jason Volk
04c398cc0c ircd:Ⓜ️:room::events::sounding: Improve depth-seek semantics of base iterations. 2020-11-13 00:52:31 -08:00
Jason Volk
4521054078 ircd:Ⓜ️:room::events: Remove event_idx value from result twain/hazard tool results. 2020-11-13 00:52:31 -08:00
Jason Volk
4b60068809 ircd:Ⓜ️:room::aliases: Improve aliases cache::get related. 2020-11-11 22:49:39 -08:00
Jason Volk
85bd984da7 ircd:Ⓜ️:events::missing: Reverse primary iteration; improve interface related. 2020-11-11 22:49:39 -08:00
Jason Volk
4212f46372 ircd:Ⓜ️:acquire: Refactor acquire to inline-worker model; add console cmd. 2020-11-11 22:49:39 -08:00
Jason Volk
aca6aae5fd modules/m_room_tombstone: Invalidate alias cache entries for effect. 2020-11-11 22:49:39 -08:00
Jason Volk
86555fbee6 modules/federation: Deduplicate and integrate /state/ and /state_ids/ in same unit. 2020-11-11 22:49:39 -08:00
Jason Volk
6f8beb26c8 ircd:Ⓜ️:dbs: Additional cleanup w/ integrated type checking. 2020-11-11 22:49:39 -08:00
Jason Volk
9b4dd43cf2 ircd:Ⓜ️:dbs: Cleanup event_refs indexer/prefetcher API usage/syntax. 2020-11-11 22:49:39 -08:00
Jason Volk
a4da3a2b83 ircd:Ⓜ️:dbs: Add runlevel QUIT handler for bgcancel(events). 2020-11-11 13:11:57 -08:00
Jason Volk
e44fcf62bf ircd:Ⓜ️:fetch: Fix missing condition for initial random target selection. 2020-11-08 06:39:24 -08:00
Jason Volk
bcf8f0531f ircd:Ⓜ️:request: Reclaim small tls buffer. 2020-11-08 02:25:31 -08:00
Jason Volk
b59e5cd166 ircd:Ⓜ️:fetch: Simplify adherence to attempt limit option. 2020-11-08 02:25:31 -08:00
Jason Volk
0f84f959a7 ircd:Ⓜ️:fetch: Fix erroneous direct assignment to request.origin. 2020-11-06 22:06:16 -08:00
Jason Volk
ef6f98eeec ircd:Ⓜ️:fetch: Fix erroneous return before starting (30d4a89db9). 2020-11-06 22:06:16 -08:00
Jason Volk
e2f495c4a8 ircd:Ⓜ️:room::head::fetch: Add opts for result limitations. 2020-11-05 22:10:54 -08:00
Jason Volk
6fe770b4bf ircd:Ⓜ️:room::head: Add fetch interface. 2020-11-05 22:10:54 -08:00
Jason Volk
6b1305df8a modules/federation: Replace backfill_ids endpoint with pdu_ids query parameter. 2020-11-05 22:10:53 -08:00
Jason Volk
f3886d60d8 ircd: Replace callsites w/ template deduced mutable_cast. 2020-11-05 22:10:53 -08:00
Jason Volk
a6d47ccfcd ircd:Ⓜ️ Simplify various future timed wait()/get() related. 2020-11-05 22:10:53 -08:00
Jason Volk
8a078b78fd ircd:Ⓜ️:room: Optimize internal(room) query pattern. 2020-11-05 22:10:53 -08:00
Jason Volk
c56b4a4ee9 ircd:Ⓜ️:dbs: Add conf item toggling indexer prefetching. 2020-11-05 22:10:53 -08:00
Jason Volk
c17c96d965 ircd:Ⓜ️:homeserver::bootstrap: Improve error reporting w/ file byte offset. 2020-11-05 22:10:53 -08:00
Jason Volk
038bb33576 ircd:Ⓜ️:homeserver::bootstrap: Fix redundant message prepend during error propagation. 2020-11-05 22:10:53 -08:00
Jason Volk
d3b33ec811 ircd:Ⓜ️:dbs: Add prefetch handlers; mechanism and related options. 2020-10-31 12:05:51 -07:00
Jason Volk
ae2d112612 ircd:Ⓜ️:prefetch: Prefetch index; prevent blocking on translation. 2020-10-31 12:05:51 -07:00
Jason Volk
30d4a89db9 ircd:Ⓜ️:fetch: Additional legacy event_id hostpart fallback. 2020-10-29 07:49:04 -07:00
Jason Volk
1244002de3 ircd:Ⓜ️:fetch: Test viability of supplied remote hint before selecting. 2020-10-29 04:49:51 -07:00
Jason Volk
cdb52ba99a ircd:Ⓜ️:fetch: Cleanup/Improve remote selection related. 2020-10-29 04:49:51 -07:00
Jason Volk
a07498f0fe ircd:Ⓜ️:fetch: Fix clang loop reference variable warning. 2020-10-29 04:49:51 -07:00
Jason Volk
a92bb97e80 ircd:Ⓜ️:fed::well_known: Assertion for throw option expectation. 2020-10-29 04:49:51 -07:00
Jason Volk
30796e5729 ircd::buffer: Fix template name conflicts for clang-11; apply inline linkages.
ircd::json::tuple: Fix template name related for clang-11.

ircd::ctx: Fix template related for clang-11; inline linkages.

ircd:Ⓜ️🪝 Fix template related for clang-11.
2020-10-29 04:06:59 -07:00
Jason Volk
f6a5e8daf3 ircd:Ⓜ️:app: Implement stdin to app from room. 2020-10-28 05:39:09 -07:00
Jason Volk
55e7b83ca7 ircd:Ⓜ️:app: Improve stdout handler; member state off of worker stack. 2020-10-28 04:35:45 -07:00
Jason Volk
f026e81a07 ircd: Instrument against string_view(string&&) impossible construction.. 2020-10-28 03:31:55 -07:00
Jason Volk
813b686e97 ircd:Ⓜ️:app: Add autorun mechanism; conf items; program options. 2020-10-27 04:11:44 -07:00
Jason Volk
5ed2022517 ircd:Ⓜ️:app: Additional conf item to enable w/ persist. 2020-10-27 04:11:44 -07:00
Jason Volk
5c1980da70 ircd:Ⓜ️:room: Add preliminary interface specific to event content. 2020-10-27 04:11:44 -07:00
Jason Volk
cc8c9942a4 ircd:Ⓜ️:push::request: Add conf item to toggle functionality. 2020-10-25 00:30:35 -07:00
Jason Volk
891cba3fb9 modules/m_pusher: Implement Push Gateway 3.1 POST Server Behavior. (closes #63) 2020-10-25 00:30:35 -07:00
Jason Volk
3cbf610cd0 ircd:Ⓜ️:user::pushers: Additional derivative utils for interface. 2020-10-25 00:09:59 -07:00
Jason Volk
5265b955f6 modules/m_pusher: Add preliminary pusher hook; worker loop. 2020-10-24 07:31:31 -07:00
Jason Volk
8d1e9dee65 ircd:Ⓜ️:push: Disable the default underride rule for m.room.message. 2020-10-24 06:27:36 -07:00
Jason Volk
27fe4a9d81 ircd:Ⓜ️:app: Add restriction binpath; improve stdio to room; improve console cmd. 2020-10-24 06:26:44 -07:00
Jason Volk
1874400bdd ircd:Ⓜ️:resource: Fix regression in Host string compare con canon port. 2020-10-24 01:59:11 -07:00
Jason Volk
0e32ff76cb ircd:Ⓜ️:fetch: Add last resort fallback to mxid host. 2020-10-21 00:34:05 -07:00
Jason Volk
5d7f56a5ce ircd:Ⓜ️:app: Application management infrastructure w/ cmd suite. 2020-10-20 23:20:41 -07:00
Jason Volk
33e54f1ccb ircd:Ⓜ️:acquire: Minor cleanup; fix comment. 2020-10-20 23:20:41 -07:00
Jason Volk
8385a63886 ircd:Ⓜ️🆔 Relax user_id character grammar. 2020-10-20 22:34:45 -07:00
Jason Volk
263596b584 ircd:Ⓜ️:fed::well_known: Remove unused debuglog buffer. 2020-10-20 22:19:34 -07:00
Jason Volk
b407769e21 ircd:Ⓜ️:fed::well_known: Add condition for result extrication w/ OK code.
ircd:Ⓜ️:fed::well_known: Add internal buffer w/ copy for m_server.
2020-10-20 20:55:30 -07:00
Jason Volk
676e657368 ircd:Ⓜ️:fed::well_known: Fix expiration condition. 2020-10-16 14:32:06 -07:00
Jason Volk
f1557bee78 modules/widget: Stub GET ui/v1 w/ some params. 2020-10-16 03:48:57 -07:00
Jason Volk
ccdd712188 modules/widget: Stub GET /widget/account. 2020-10-16 03:48:57 -07:00
Jason Volk
7b15568737 modules/widget: Start widget support; stub registration endpoint. 2020-10-16 03:48:57 -07:00
Jason Volk
a4f105d390 ircd:Ⓜ️:events: Use better buffer size constant. 2020-10-16 02:40:39 -07:00
Jason Volk
a9a54f11de ircd:Ⓜ️:feds: Add prelink loop before request loop w/ options toggle. 2020-10-16 02:40:39 -07:00
Jason Volk
d04008a45f ircd:Ⓜ️:fed: Add non-blocking prelink to interface. 2020-10-16 02:40:39 -07:00
Jason Volk
785d9e3af4 ircd:Ⓜ️:keys: Add key id to error string if possible. 2020-10-16 02:40:39 -07:00
Jason Volk
f0803714e5 ircd:Ⓜ️:keys: Improve pretty(m::keys) output order. 2020-10-16 02:40:39 -07:00
Jason Volk
c11e8e85ed ircd:Ⓜ️:fed::well_known: Refactor to single-worker pattern. 2020-10-16 01:40:40 -07:00
Jason Volk
142179e4a5 ircd:Ⓜ️:fed::well_known: Convert to future interface w/ dummy impl. 2020-10-15 04:55:38 -07:00
Jason Volk
7bac03372d ircd:Ⓜ️:fed: Improve observer interface; employ opts; document/comments. 2020-10-14 22:04:04 -07:00
Jason Volk
3f6d90c7a8 ircd:Ⓜ️:fed: Move head fetch convenience to room::head interface. 2020-10-14 22:04:04 -07:00
Jason Volk
888c62c156 ircd:Ⓜ️:fed::well_known: Simplify interface; add opts struct. 2020-10-14 22:04:04 -07:00
Jason Volk
7f94cdeeea ircd:Ⓜ️:events::refs: Reduce default readahead. 2020-10-14 02:22:45 -07:00
Jason Volk
62fdaaa389 ircd:Ⓜ️:events::refs: Add unbounded column scan w/ console cmd. 2020-10-12 18:07:39 -07:00
Jason Volk
325145ab29 ircd:Ⓜ️:events::source: Disable readahead for descending access pattern. 2020-10-11 17:36:03 -07:00
Jason Volk
d4f6e3e8ea ircd:Ⓜ️:event::refs: Simplify closure typename. 2020-10-11 11:42:48 -07:00
Jason Volk
26f9acb81f ircd:Ⓜ️:fed::well_known: Move loose request stack objects into struct. 2020-10-10 19:07:04 -07:00
Jason Volk
21d681d59e ircd:Ⓜ️:vm: Assume hash match; bypass query for internal rooms. 2020-10-09 03:50:24 -07:00