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

829 commits

Author SHA1 Message Date
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