0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-11 08:02:59 +01:00
Commit graph

541 commits

Author SHA1 Message Date
Jason Volk
dcfa6c9d48 ircd:Ⓜ️:fed: Add conf item for well-known fetch timeout. 2020-03-11 18:47:17 -07:00
Jason Volk
34a7954b67 ircd:Ⓜ️:room::bootstrap: Use non-reference for explicit operator cast (GCC 9.2.1). 2020-03-11 15:11:53 -07:00
Jason Volk
59ad4731ae modules/m_relation: Add hook to discover and fetch events from m_relates_to. 2020-03-10 23:03:14 -07:00
Jason Volk
de4792f539 ircd:Ⓜ️:room::origins: Optimize origins iteration w/ conditional key regeneration. 2020-03-09 14:41:36 -07:00
Jason Volk
3b2342e001 ircd:Ⓜ️:room::origins: Simplify callstack; remove unused iteration. 2020-03-09 14:41:36 -07:00
Jason Volk
dad4750971 ircd:Ⓜ️:fetch: Propagate interrupt through handlers. 2020-03-09 09:48:37 -07:00
Jason Volk
08d9c95401 ircd:Ⓜ️:fetch: Reduce error log level/verbosity for fetch start failures. 2020-03-09 09:48:36 -07:00
Jason Volk
c4ef486ebd ircd:Ⓜ️:fed: Simplify cache record composition; use json::members iov. 2020-03-09 09:10:45 -07:00
Jason Volk
dc1778bce7 ircd:Ⓜ️:room::bootstrap: Use indirect for fed::opts initialization. 2020-03-08 18:54:47 -07:00
Jason Volk
dcc0aae886 ircd:Ⓜ️:homeserver: Run conf item update callbacks at construction for now. 2020-03-08 14:29:22 -07:00
Jason Volk
56a8f6494d ircd:Ⓜ️:fetch: Fix conf item type. 2020-03-08 14:09:59 -07:00
Jason Volk
1ee5cbdeee ircd:Ⓜ️:room::server_acl: Propagate interrupt without critical log. 2020-03-08 13:03:14 -07:00
Jason Volk
97747219a4 ircd:Ⓜ️:fed: Rename property in well-known cache record. 2020-03-07 23:59:22 -08:00
Jason Volk
44f587714e ircd:Ⓜ️ Tweak various federation request buffer options; related e3e83a6423fd. 2020-03-07 22:02:14 -08:00
Jason Volk
63aa71ce58 ircd:Ⓜ️:fed: Implement federation 3.1 well-known for server name resolution. 2020-03-07 21:33:44 -08:00
Jason Volk
55ffdddc6a ircd:Ⓜ️:fed: Refactor all interfaces using abstract request. 2020-03-07 21:33:44 -08:00
Jason Volk
c0a5a7a89e ircd:Ⓜ️ Simplify various interfaces using string rather than net::hostport remotes. 2020-03-07 17:17:46 -08:00
Jason Volk
dddb8e4254 ircd:Ⓜ️:fed: Mitigate some remaining event_id.host() to derive a remote. 2020-03-07 14:55:50 -08:00
Jason Volk
a068981452 ircd:Ⓜ️:fed: Simplify and rename well known fetch function. 2020-03-07 14:55:50 -08:00
Jason Volk
bfeceea645 ircd:Ⓜ️:rooms::summary: Minor cleanup. 2020-03-07 12:16:33 -08:00
Jason Volk
6ab71b8fdc ircd:Ⓜ️:fed: Add well-known request for server name resolution w/ console cmd. 2020-03-06 18:28:41 -08:00
Jason Volk
0a90b4d4cc ircd:Ⓜ️:fed: Apply the canon service to all remotes without a service string. 2020-03-06 10:37:28 -08:00
Jason Volk
c44d732443 ircd:Ⓜ️ Rename v1/v2 namespace to fed. 2020-03-05 20:06:14 -08:00
Jason Volk
a46bf7dcbe ircd::net: Eliminate the legacy canon_port/canon_service defaults.
ircd:Ⓜ️ Move canon_port/canon_service into matrix lib.
2020-03-05 14:18:55 -08:00
Jason Volk
f3fbcc6ab6 ircd:Ⓜ️:vm: Eliminate head resolves for type; related c3f50d5bab. 2020-03-04 12:57:27 -08:00
Jason Volk
9789772307 ircd:Ⓜ️:feds: Minor simplify. 2020-03-04 11:15:28 -08:00
Jason Volk
c3f50d5bab ircd:Ⓜ️:vm: Add special condition disabling room head update based on type. 2020-03-03 21:38:46 -08:00
Jason Volk
0907f5d6f2 ircd:Ⓜ️:vm: Elaborate eval error handlers; add room_id to error msgs. 2020-03-03 21:38:46 -08:00
Jason Volk
e664ba22d8 ircd:Ⓜ️:vm: Simplify hook name call for log msgs. 2020-03-03 19:15:02 -08:00
Jason Volk
2896b721ff ircd:Ⓜ️:typing: Handle and log exceptions in timeout worker stack. 2020-03-03 14:47:47 -08:00
Jason Volk
c14bef8cd9 ircd:Ⓜ️:typing: Fix iteration condition in timeout worker loop. 2020-03-03 14:47:07 -08:00
Jason Volk
14b962a695 ircd:Ⓜ️:vm: Track evaluation hook phase. 2020-03-02 20:55:08 -08:00
Jason Volk
d08a4f6f24 ircd:Ⓜ️:vm: Simplify call for hook name in debuglog. 2020-03-02 19:51:24 -08:00
Jason Volk
694b90b04e ircd:Ⓜ️:room::power: Replace unquote() w/ json::string type. 2020-03-02 16:46:00 -08:00
Jason Volk
61fa79acb8 ircd:Ⓜ️:room::bootstrap: Log completion with notice level. 2020-03-02 16:46:00 -08:00
Jason Volk
6123040239 ircd:Ⓜ️:init::backfill: Add conf item for local_joined_only option; default true. 2020-03-02 16:45:50 -08:00
Jason Volk
f471093d3e ircd:Ⓜ️:user::rooms: Use _event_state to eliminate the ircd.member type. 2020-03-01 17:13:15 -08:00
Jason Volk
2ee8d7a1fb ircd:Ⓜ️:keys: Use dynamic buffer for query. 2020-03-01 16:16:13 -08:00
Jason Volk
257e335dad ircd:Ⓜ️:pretty: Relax definedness requirement of fields. 2020-03-01 14:20:05 -08:00
Jason Volk
84a4262a9d ircd:Ⓜ️:homeserver: Tweak shutdown order; interrupts first. 2020-03-01 11:26:52 -08:00
Jason Volk
cb0363f13c ircd:Ⓜ️:rooms: Add dump to file util w/ console cmd. 2020-02-28 20:19:42 -08:00
Jason Volk
8d9a9eccfb ircd:Ⓜ️:rooms: Add prefetch context on iteration. 2020-02-28 20:19:42 -08:00
Jason Volk
d402eddb98 ircd::run: Place out-of-line default ctor/dtor definitions.
ircd::http::error: Place out-of-line dtor definition.

ircd:Ⓜ️:error: Place out-of-line dtor definition.

ircd::exception: Place out-of-line dtor definition.

ircd:Ⓜ️:vm: Place out-of-line ctor definitions for copts/opts.
2020-02-28 12:36:45 -08:00
Jason Volk
89d8f7cf27 ircd:Ⓜ️:homeserver: Terminate backfill first on shutdown for now. 2020-02-28 10:56:17 -08:00
Jason Volk
a8a3166936 ircd:Ⓜ️:typing: Simplify typing context termination. 2020-02-28 10:12:38 -08:00
Jason Volk
e27dd573ad ircd:Ⓜ️:homeserver: Consolidate legacy shutdown procedure on primary dtor for now. 2020-02-27 16:25:47 -08:00
Jason Volk
db6b809a2b ircd:Ⓜ️:node: Fallback to old_verify_keys after verify_keys. 2020-02-27 13:39:31 -08:00
Jason Volk
1bdf52b7bb ircd:Ⓜ️:events: Add preliminary interface to _event_state w/ console cmd. 2020-02-26 18:24:17 -08:00
Jason Volk
df05533c2c ircd:Ⓜ️:dbs: Fix partial event_state key constructions.
ircd:Ⓜ️:dbs: Add checks for key part size before integer conversion.
2020-02-26 17:55:23 -08:00
Jason Volk
0c896d7c58 ircd:Ⓜ️:typing: Ensure termination of timeout worker on unload. 2020-02-26 15:32:06 -08:00
Jason Volk
a48e481a44 ircd:Ⓜ️:dbs: Fix incorrect constant used. 2020-02-26 14:17:43 -08:00
Jason Volk
b07f8d633e ircd:Ⓜ️:homeserver: Move module unload to same unit as load. 2020-02-25 13:31:11 -08:00
Jason Volk
8baaf366c4 ircd:Ⓜ️:event: Fix signature interface regression; optimize call path. 2020-02-24 11:01:52 -08:00
Jason Volk
b0c0970d69 ircd:Ⓜ️:fetch: Prevent fetch requests from starting based on global conditions. 2020-02-22 14:00:31 -08:00
Jason Volk
fca41d5e22 ircd:Ⓜ️:typing: Fix clamp on configured timeout max for typists. 2020-02-21 12:50:58 -08:00
Jason Volk
1765ba8921 ircd:Ⓜ️:typing: Add conf item for timeout worker interval. 2020-02-21 12:24:17 -08:00
Jason Volk
d7748fb1b3 ircd:Ⓜ️:typing: Increase stack size for timeout worker; attribute; minor cleanup. 2020-02-21 12:24:06 -08:00
Jason Volk
055fa1ee74 ircd:Ⓜ️:typing: Remove duplicate. 2020-02-21 12:24:06 -08:00
Jason Volk
e9cc354f01 ircd:Ⓜ️ Fix empty iteration condition. 2020-02-20 19:46:56 -08:00
Jason Volk
50535e89bb ircd:Ⓜ️ Minor rename. 2020-02-20 18:43:47 -08:00
Jason Volk
a4f48eaab8 ircd:Ⓜ️:vm::eval: Conduct parallel fetch of new keys for vector eval. 2020-02-20 18:43:47 -08:00
Jason Volk
20bc23abde ircd:Ⓜ️:dbs: Replace pairs with tuples for reference lifetime issue w/ clang. 2020-02-20 16:25:51 -08:00
Jason Volk
a13d9282ac ircd:Ⓜ️:vm::eval: Add vector_view construction and eval to interface/stack. 2020-02-20 14:49:33 -08:00
Jason Volk
70dd2d7ba6 ircd:Ⓜ️:init::backfill: Add infolog during iteration; improve warning as per similar msgs. 2020-02-20 12:37:45 -08:00
Jason Volk
4f924bd280 ircd:Ⓜ️:room::head: Add condition to fix duplicate append. 2020-02-19 13:27:27 -08:00
Jason Volk
ec78085e45 ircd:Ⓜ️:room::head: Tolerate erroneous/inconsistent entries in head. 2020-02-19 13:27:22 -08:00
Jason Volk
860087b6ce ircd:Ⓜ️ Rethrow ircd::error to prevent shlib RTTI/personality dependency for m::error. 2020-02-19 13:27:06 -08:00
Jason Volk
c3f0803e49 modules: X-value copy elision hints for clang. 2020-02-12 14:34:26 -08:00
Jason Volk
37eaff3b67 Tweak tls-models. 2020-02-11 15:37:14 -08:00
Jason Volk
b8c26b37b6 ircd:Ⓜ️ Remove unnecessary module attributes. 2020-02-01 22:18:49 -08:00
Jason Volk
5ecffa8481 ircd:Ⓜ️:init::backfill: Fix structured binding access from closure clang mishap. 2020-02-01 22:18:49 -08:00
Jason Volk
42e3570c9f ircd:Ⓜ️ Fix alignment specifiers for clang. 2020-02-01 22:18:49 -08:00
Jason Volk
6b8730d94f ircd:Ⓜ️:request: Increase buffer size configured default. 2020-01-26 17:00:08 -08:00
Jason Volk
5d47caee1e ircd:Ⓜ️ Output missing event_id for v3+ events in multi-line pretty. 2020-01-23 19:12:49 -08:00
Jason Volk
61c2fd77e6 ircd:Ⓜ️:event: Skip erroneous append inputs. 2020-01-17 17:27:34 -08:00
Jason Volk
da81130db9 ircd:Ⓜ️:keys: Use single supplied buffer for request. 2020-01-11 23:31:53 -08:00
Jason Volk
c4c9bb2762 ircd:Ⓜ️:events: Optimize db get options in dumper. 2020-01-11 23:31:53 -08:00
Jason Volk
be955faf2d ircd:Ⓜ️:events: Log errors and attempt to continue dump loop. 2020-01-08 18:25:31 -08:00
Jason Volk
7a5bb70f16 ircd:Ⓜ️:events: Use event_json column for dump. 2020-01-08 18:25:31 -08:00
Jason Volk
47df2bc4e2 ircd:Ⓜ️:events: FADV_DONTNEED on events dump fd. 2020-01-08 18:25:31 -08:00
Jason Volk
048cfe7019 ircd:Ⓜ️:events: Reduce default dump buffer size. 2020-01-08 18:25:31 -08:00
Jason Volk
3500ec86dc ircd:Ⓜ️:events: Improve dump loop and infolog. 2020-01-08 18:25:31 -08:00
Jason Volk
33b06a27fb ircd:Ⓜ️:init::backfill: Set nice values for worker pool. 2020-01-06 15:25:44 -08:00
Jason Volk
d9c7985376 ircd:Ⓜ️:sync: Add next_batch central convenience; add branding to token. 2020-01-06 13:24:21 -08:00
Jason Volk
a90297b843 ircd:Ⓜ️:room::aliases::cache: Improve response room_id condition. 2020-01-02 14:00:49 -08:00
Jason Volk
8ff493916a ircd:Ⓜ️:keys: Send old keys to cache first. 2019-12-25 00:12:06 -08:00
Jason Volk
1adccbecac ircd:Ⓜ️:createroom: Add empty arrays on create event for spinapps. 2019-12-22 02:24:40 -08:00
Jason Volk
06373848bc ircd:Ⓜ️:keys: Send old_verify_keys contents to cache.
ircd:Ⓜ️:keys: Minor cleanup.
2019-12-21 14:34:27 -08:00
Jason Volk
ff1912ea5f modules/vm_execute: Reduce debuglog on phase hook for now. 2019-12-11 20:53:52 -08:00
Jason Volk
ba5352e560 ircd:Ⓜ️:room: Add annotate() convenience reaction. 2019-12-11 14:09:22 -08:00
Jason Volk
6fa63f8bf0 ircd:Ⓜ️:room: Add react() convenience sender. 2019-12-11 14:07:24 -08:00
Jason Volk
bf2df9c223 ircd:Ⓜ️ Add a tuple structure for m_relates_to. 2019-12-11 11:01:11 -08:00
Jason Volk
0912ca12a0 ircd:Ⓜ️:room::head: Log and propagate errors during generate. 2019-12-10 12:12:57 -08:00
Jason Volk
8dfbe808d6 ircd:Ⓜ️:room::head: Add room version hint to opts to reduce query. 2019-12-10 12:06:54 -08:00
Jason Volk
275f5aa3cd ircd:Ⓜ️:room::head: Improve/cleanup generator related. 2019-12-10 12:06:54 -08:00
Jason Volk
5c74bfbd7f ircd:Ⓜ️:event: Add event::my(event::idx) query util; branch for event:🆔:host() use. 2019-12-10 12:06:54 -08:00
Jason Volk
12b340c093 ircd:Ⓜ️:room::head: Elaborate the prev_events generating interface; add features. 2019-12-10 11:37:09 -08:00
Jason Volk
fb0973eaae ircd:Ⓜ️:init::backfill: Optimize gossip with single trans/interaction to remote. 2019-12-03 16:29:51 -08:00
Jason Volk
1f3276505b ircd:Ⓜ️:init::backfill: Initial gossip protocol (for forward extremities). 2019-12-03 15:22:52 -08:00
Jason Volk
c04d940e98 ircd:Ⓜ️:init::backfill: Minor branch reflow in the handler closure. 2019-12-03 13:51:59 -08:00
Jason Volk
df79d61395 ircd::util: Elide std::function overhead for util::unwind suite. 2019-12-03 13:39:49 -08:00
Jason Volk
21ad249f74 ircd:Ⓜ️:event::fetch: Move default opts ctor out of line. 2019-12-03 12:09:25 -08:00
Jason Volk
e1e67f7603 ircd:Ⓜ️🆔 Inline ctors with missy jumps. 2019-10-09 22:15:49 -07:00
Jason Volk
b3b526ccc2 ircd:Ⓜ️:vm: Minor cleanup. 2019-10-09 16:30:45 -07:00
Jason Volk
75f35ad696 ircd:Ⓜ️🆔 Fix visibility discrepancy. 2019-10-07 20:53:27 -07:00
Jason Volk
317408fb75 matrix: Fix redundant module entry. 2019-10-07 17:45:12 -07:00
Jason Volk
1d1f04126b ircd:Ⓜ️:dbs: Add _event_state column. 2019-10-05 22:24:21 -07:00
Jason Volk
82cd48752d matrix: Switch to local-dynamic tls-model for lib. 2019-10-05 20:28:54 -07:00
Jason Volk
2b2374db6c ircd: Split all non-matrix definitions back to lib; rename module to net_dns_cache. 2019-10-05 17:37:44 -07:00
Jason Volk
1980fd5e73 modules/client/rooms/invite: Move invite definition to lib. 2019-10-05 15:50:18 -07:00
Jason Volk
5c5c98dcfb ircd:Ⓜ️:resource: Fix token callstack considerations. 2019-10-04 15:16:07 -07:00
Jason Volk
f8e74fbc36 ircd:Ⓜ️:homeserver: Fix remaining module init for now. 2019-10-04 15:08:49 -07:00
Jason Volk
7ec7390211 ircd:Ⓜ️:init::backfill: Fix interface; reenable for primary. 2019-10-04 14:36:52 -07:00
Jason Volk
6122a7eb1f ircd:Ⓜ️:homeserver: Additional construction conditions. 2019-10-04 14:18:06 -07:00
Jason Volk
a796d33170 ircd:Ⓜ️:homeserver: Re-add the custom key directory conf item; fixes. 2019-10-04 14:14:01 -07:00
Jason Volk
eaf64ba732 ircd:Ⓜ️ Reduce infolog noise here; fixes. 2019-10-04 13:55:06 -07:00
Jason Volk
1f88439bc1 ircd:Ⓜ️:homeserver: Additional my_ tools. 2019-10-04 13:55:06 -07:00
Jason Volk
1add5349ac ircd:Ⓜ️:homeserver:🔑 Add the verify_keys generation subroutine. 2019-10-04 13:55:06 -07:00
Jason Volk
6f798df65c ircd:Ⓜ️:homeserver: Refactor conf related; patch self:: related; console cmds. 2019-10-04 13:49:37 -07:00
Jason Volk
08ea932c59 ircd:Ⓜ️ Simplify/remove homeserver::rooms related. 2019-10-04 12:48:02 -07:00
Jason Volk
b8f37894bc ircd:Ⓜ️ Reorder modules again. 2019-10-03 19:12:10 -07:00
Jason Volk
61d050024f modules/net_dns_cache: Fix room creation related; various. 2019-10-03 18:54:35 -07:00
Jason Volk
096d46e198 ircd:Ⓜ️ Fix/tweak module list. 2019-10-03 12:15:41 -07:00
Jason Volk
723997fd2e ircd:Ⓜ️:homeserver: Additional construction; bootstrap related. 2019-10-03 12:15:23 -07:00
Jason Volk
8764f523d4 ircd:Ⓜ️:vm: Move core from modules to matrix; split units. 2019-10-03 12:14:29 -07:00
Jason Volk
710b97dc62 ircd:Ⓜ️:user: Belated move of m::user definitions into lib. 2019-10-02 18:30:56 -07:00
Jason Volk
77cd60b970 ircd:Ⓜ️:event: Relax reporting of all exceptions leeward of this frame. 2019-10-02 17:14:54 -07:00
Jason Volk
e7c66d86d9 ircd::run: Add another runlevel; eliminate main callback; simplify. 2019-10-02 16:49:30 -07:00
Jason Volk
dbb3c55db5 matrix: Add m::homeserver; preliminary virtual origin networks. 2019-10-01 17:56:01 -07:00
Jason Volk
9c49e8bdb5 ircd:Ⓜ️ Remove tls fingerprint related. 2019-09-30 20:38:57 -07:00
Jason Volk
31ee90c056 ircd:Ⓜ️:self: Move the signoff/signon greeting to self.cc. 2019-09-30 14:23:28 -07:00
Jason Volk
85845dcff2 Abstract ircd::resource from ircd:Ⓜ️:resource; fix header stack. 2019-09-29 14:00:02 -07:00
Jason Volk
5f4d8afd86 ircd:Ⓜ️:user: Remove noexcept for I/O interrupt; minor cleanup. 2019-09-28 01:19:25 -07:00
Jason Volk
8259ac6a31 ircd:Ⓜ️ Improve fetch init/fini for now. 2019-09-27 21:18:07 -07:00
Jason Volk
f6992ca3e1 matrix: Split matrix base unit. 2019-09-27 19:35:26 -07:00
Jason Volk
7b4dcbc488 matrix: Split room definitions; various reorg. 2019-09-27 19:35:26 -07:00
Jason Volk
6f1ff08841 ircd:Ⓜ️ Split event definitions. 2019-09-27 19:35:26 -07:00
Jason Volk
91beed59bd ircd:Ⓜ️ Generate conf room id on the fly; various static linting. 2019-09-27 19:35:26 -07:00
Jason Volk
183e44e0b6 modules: Distill all API's from modules up to matrix lib. 2019-09-27 19:35:26 -07:00
Jason Volk
d3809d43e5 Reorganize Makefiles. 2019-09-27 19:35:26 -07:00
Jason Volk
89e0a7fc82 ircd: Move matrix application related to derived library. 2019-09-27 19:35:26 -07:00