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

3603 commits

Author SHA1 Message Date
Jason Volk
08ea932c59 ircd:Ⓜ️ Simplify/remove homeserver::rooms related. 2019-10-04 12:48:02 -07:00
Jason Volk
61d050024f modules/net_dns_cache: Fix room creation related; various. 2019-10-03 18:54:35 -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
cfc76f1777 ircd::net::dns: Move resolver into libircd proper. 2019-10-03 12:14:29 -07:00
Jason Volk
7e51d5dfca ircd:Ⓜ️:vm: Make debuglog on accept conf item default to true. 2019-10-03 09:26:18 -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
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
d03cf8f7a8 modules: Re-type matrix resource handlers under m::resource. 2019-09-29 14:00:02 -07:00
Jason Volk
85845dcff2 Abstract ircd::resource from ircd:Ⓜ️:resource; fix header stack. 2019-09-29 14:00:02 -07:00
Jason Volk
f6992ca3e1 matrix: Split matrix base unit. 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
Jason Volk
fb3c6b47a4 modules: Split net_dns_cache from net_dns unit; same shared object. 2019-09-27 19:35:26 -07:00
Jason Volk
7934756858 ircd:Ⓜ️ Split user registration API from client/register; minor reorg. 2019-09-27 19:35:26 -07:00
Jason Volk
9c8c13e91d ircd:Ⓜ️ Preliminary module sorting for consolidated libmatrix archive. 2019-09-27 19:35:26 -07:00
Jason Volk
39b84cbb5f modules: Split user profile related API from hooks; into module. 2019-09-27 19:35:26 -07:00
Jason Volk
d7d3b54e5c modules/m_room_message: Split highlight auth hook to module. 2019-09-27 19:35:26 -07:00
Jason Volk
ef7954f994 modules: Split event::horizon / event::pretty to modules. 2019-09-27 19:35:25 -07:00
Jason Volk
aa907ef813 modules: Split m::create() from m_room_create.so to m_create.so 2019-09-27 19:35:25 -07:00
Jason Volk
17ea721eda modules/m_breadcrumb_rooms: Add missing export macros. 2019-09-25 12:56:29 -07:00
Jason Volk
67c00f7283 modules/console: Fix error. 2019-09-24 20:39:48 -07:00
Jason Volk
6dcdbba06b ircd::magick: Minor cleanup. 2019-09-24 18:34:03 -07:00
Jason Volk
7ea609ee67 modules/console: Add events type counts cmd. 2019-09-24 17:40:44 -07:00
Jason Volk
b3f45daff8 modules/client/sync/rooms/ephemeral/receipt: Add prefetch loops for polylog sync. 2019-09-24 16:33:06 -07:00
Jason Volk
0d9d5a8c24 modules/m_breadcrumb_rooms: Update for room::events prefetching interface here. 2019-09-24 16:01:29 -07:00
Jason Volk
8880eadfd5 ircd:Ⓜ️:room::events: Additional prefetch()/preseek() related interfaces. 2019-09-24 15:46:11 -07:00
Jason Volk
080cec4dba modules/client/rooms/members: Replace counterproductive query in prefetch loop. 2019-09-24 15:16:19 -07:00
Jason Volk
4254960ee1 ircd:Ⓜ️ Simplify m::visible(); refactor implementation. 2019-09-24 15:16:19 -07:00
Jason Volk
5d9ec170f8 ircd:Ⓜ️:vm: Add event origin for internal room paranoid check in eval. 2019-09-24 14:31:14 -07:00
Jason Volk
49ce16d74b modules/client/rooms/ephemeral/receipt: Minor cleanup. 2019-09-23 23:26:07 -07:00
Jason Volk
575bacee8d ircd:Ⓜ️:room::events: Simplify count() suite. 2019-09-23 23:26:07 -07:00
Jason Volk
df0fae203e modules/client/initialSync: Simplify json::stack usage. 2019-09-23 20:11:20 -07:00
Jason Volk
a984c2a454 modules/client/sync/to_device: Use m::query(); minor cleanup. 2019-09-23 19:46:32 -07:00
Jason Volk
35f9810dbd modules/client/rooms/members: Fix at token usage. 2019-09-23 14:51:24 -07:00
Jason Volk
82a2f14481 ircd::net::dns::cache: Hook vm.effect rather than vm.notify. 2019-09-23 14:18:22 -07:00
Jason Volk
183acf8efc ircd:Ⓜ️:sync: Increase token buffer; use function reference. 2019-09-23 14:18:22 -07:00
Jason Volk
b518820357 modules/console: Fix argument order. 2019-09-23 13:31:05 -07:00
Jason Volk
7b24eace2b modules/client/rooms/members: Impove/cleanup at/since parameter related. 2019-09-23 13:00:30 -07:00
Jason Volk
2b3de2ea69 ircd::resource: Add assertions; fix error. 2019-09-23 12:58:34 -07:00
Jason Volk
4368f1af7a modules/m_room_member: Move membership hook back to vm.effect for now. 2019-09-22 22:31:07 -07:00
Jason Volk
db74d89f23 modules/m_room_aliases: Add rooms summary trigger on alias change. 2019-09-22 21:47:35 -07:00
Jason Volk
fe0127d0ec modules/m_room_join_rules: Fix room summary trigger. 2019-09-22 21:45:19 -07:00
Jason Volk
16d45ef8d5 modules/m_room_member: Fix m::get() overload for integer value. 2019-09-22 21:09:36 -07:00
Jason Volk
39ade19ae3 ircd::ctx: Switch from steady_timer to deadline_timer. 2019-09-22 20:59:54 -07:00
Jason Volk
a20659b1d8 ircd::ios: Profile the latency of handler execution. 2019-09-22 16:27:54 -07:00
Jason Volk
3de5381d61 modules/console: Minor cleanup; more fences for latency test. 2019-09-21 12:52:36 -07:00
Jason Volk
1731ff8bad modules/client/rooms/leave: Override any mismatch between room and user_room. 2019-09-20 15:20:37 -07:00
Jason Volk
57da17f7fa modules/m_room_member: Add chronology condition for ircd.member state. 2019-09-20 15:20:37 -07:00
Jason Volk
fd30c4701c ircd::net::dns: Wait on cache before resolver on fini; replace regressed (26cd9cec85). 2019-09-20 12:34:10 -07:00
Jason Volk
99d080767f ircd: Add interface to backtrace(3). 2019-09-19 22:07:41 -07:00
Jason Volk
a8b140ad6d modules/conf: Remove noexcept to propagate termination. 2019-09-19 22:07:41 -07:00
Jason Volk
26cd9cec85 ircd::net::dns::resolver: Wait for all tags before net teardown on fini. 2019-09-19 14:03:48 -07:00
Jason Volk
d4b0dbaa8c modules: Move room::events::horizon::rebuild() to m_room_events.so. 2019-09-19 11:08:59 -07:00
Jason Volk
578a0e03fd modules/client/rooms/events: Prevent EDU's from being sent to client here. 2019-09-19 10:20:40 -07:00
Jason Volk
fa698123dc modules/console: Add bare metal latency as control result. 2019-09-19 00:03:05 -07:00
Jason Volk
362122c951 modules/client/sync/rooms/state: Use the viewport size item for iteration depth. 2019-09-18 14:48:32 -07:00
Jason Volk
da6ae72b69 modules/client/sync/rooms/state: Simplify and optimize member event fetching at phase=0. 2019-09-18 14:29:40 -07:00
Jason Volk
2603953809 modules/client/sync/rooms/state: Simplify phase=0 concurrency w/ prefetch. 2019-09-18 14:29:40 -07:00
Jason Volk
6ed0db3274 modules/client/rooms/messages: Abandon prefetching in the messages handler.
Aborted due to collisions and stalls. Note that messages are already prefetched
by the breadcrumb_rooms handler on room change.
2019-09-18 13:09:19 -07:00
Jason Volk
1d449ed134 modules/client/rooms/members: Support multiple membership constraint query paramters for optimization. 2019-09-18 12:30:51 -07:00
Jason Volk
321b7e32c1 modules/client/rooms/forget: Simplify checks. (closes #130) 2019-09-18 12:30:51 -07:00
Jason Volk
11699baff0 ircd:Ⓜ️ Consolidate m::membership() suite to header; minor cleanup. 2019-09-18 12:30:50 -07:00
Jason Volk
cdce334b80 modules/client/rooms/messages: Hoist prefetching into branch; disable here for now. 2019-09-17 23:17:51 -07:00
Jason Volk
404da37cc4 modules/client/rooms/messages: Cleanup loop; improve prefetch; reduce density of branches. 2019-09-17 22:38:38 -07:00
Jason Volk
be2ae27af6 modules/client/sync/rooms/timeline: Fix loop conditions. 2019-09-17 22:21:55 -07:00
Jason Volk
5bf60df98b ircd:Ⓜ️:event::apend: Skip the redacted query if event is room head. 2019-09-17 21:06:03 -07:00
Jason Volk
fe8f9ee611 modules/client/sync/rooms/timeline: Conditional prev_batch; minor cleanup. 2019-09-17 20:19:27 -07:00
Jason Volk
c77353fd9c modules/client/sync/rooms/timeline: Add conditional prefetch on down iteration. 2019-09-17 20:19:27 -07:00
Jason Volk
252a89fbaa modules/client/rooms/messages: Issue prefetches to pipeline the fetch loop. 2019-09-17 20:17:37 -07:00
Jason Volk
049ac86564 ircd:Ⓜ️:event::append: Minor cleanup; reduce density of branches. 2019-09-17 20:17:37 -07:00
Jason Volk
b3323c3f8d ircd:Ⓜ️:event::append: Add option to bypass redaction query. 2019-09-17 20:17:37 -07:00
Jason Volk
25bcd24e5f ircd:Ⓜ️:media::file: Eliminate block buffering here. 2019-09-17 20:17:37 -07:00
Jason Volk
dc1364c735 ircd:Ⓜ️:media::block: Add zero-copy block::get() closure. 2019-09-17 20:17:37 -07:00
Jason Volk
e357974d6f ircd:Ⓜ️:media::file: Fully pipeline data block and event requests during file read. 2019-09-17 12:41:20 -07:00
Jason Volk
e267b5232d ircd:Ⓜ️:media::block: Add prefetch() to interface. 2019-09-17 11:35:50 -07:00
Jason Volk
fb12a0384e modules/m_breadcrumb_rooms: Hook breadcrumb rooms to track focused room; prefetch viewport. 2019-09-16 19:59:03 -07:00
Jason Volk
05641c356b ircd:Ⓜ️:media::file: Add prefetching for events during read iteration. 2019-09-16 19:59:03 -07:00
Jason Volk
994b42ca71 modules/federation/query: Improve servers list in directory handler. 2019-09-16 19:59:03 -07:00
Jason Volk
2fccad88f2 ircd:Ⓜ️:vm: Tweak debuglog message points; fix missing facilities. 2019-09-16 19:59:03 -07:00
Jason Volk
fd5907a99d ircd:Ⓜ️:vm: Evaluate auth against present and relative state in sequence. 2019-09-16 16:33:47 -07:00
Jason Volk
c0f4640a74 modules/console: Default to local users for users cmd. 2019-09-16 14:08:29 -07:00
Jason Volk
839ca6f000 modules/federation/make_join: Improve error string for propagation. 2019-09-16 13:39:48 -07:00
Jason Volk
8f4def84f4 modules/client/rooms/invite: Remove unnecessary check. 2019-09-16 13:33:35 -07:00
Jason Volk
fc4148d874 ircd:Ⓜ️:room::bootstrap: Relax check; fix error on join after accepting invite. 2019-09-16 13:24:40 -07:00
Jason Volk
c29fca7b4d ircd:Ⓜ️:vm: Ensure eval.event_id is assigned on inject. 2019-09-16 13:24:19 -07:00
Jason Volk
e73ebfd151 ircd:Ⓜ️:fetch: Throw on loop break to properly set request.eptr and finish(). 2019-09-16 12:38:01 -07:00
Jason Volk
c7de8aec82 ircd:Ⓜ️:init::backfill: Only ask the server which provided the unknown head for the event. 2019-09-16 12:30:44 -07:00
Jason Volk
a9b86c5594 ircd:Ⓜ️:fetch: Add an attempt_limit option to interface; minor cleanup. 2019-09-16 12:30:36 -07:00
Jason Volk
2d1911a2b1 ircd:Ⓜ️:fetch: Add conf item for backfill limit default. 2019-09-16 12:12:43 -07:00
Jason Volk
49ed79e9df ircd:Ⓜ️:fetch: Rename opts::limit to opts::backfill_limit. 2019-09-16 12:09:30 -07:00
Jason Volk
a6efe6986c modules/client/sync/rooms/timeline: Add comment. [skip ci] 2019-09-16 12:06:25 -07:00
Jason Volk
2115bf7cf4 ircd:Ⓜ️:user: Move definitions from modules/client to m_user. 2019-09-16 11:03:45 -07:00
Jason Volk
7fa72e8f39 ircd:Ⓜ️ Move the m::redact() definition out of client/rooms modules. 2019-09-16 10:55:23 -07:00
Jason Volk
3f65055892 modules/client/sync/rooms/state: Employ prev_content elision on some appends. 2019-09-15 20:04:23 -07:00
Jason Volk
b4b07debbd ircd:Ⓜ️:event::append: Add option to elide query for state prev_content. 2019-09-15 19:47:03 -07:00
Jason Volk
56e9f5e009 ircd:Ⓜ️:event::append: Only query for ignores for non-self sender; minor cleanup. 2019-09-15 19:36:39 -07:00
Jason Volk
da38ffc49c ircd:Ⓜ️:room::bootstrap: Simplify process; remove cruft. 2019-09-15 19:36:39 -07:00
Jason Volk
f9c47eee58 ircd:Ⓜ️:room::bootstrap: Reuse any existing join event on bootstrap. 2019-09-15 19:36:39 -07:00