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

10984 commits

Author SHA1 Message Date
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
6102c0a8b2 ircd:Ⓜ️:room::events: Improve comment [skip ci]. 2019-09-17 11:03:30 -07:00
Jason Volk
b3f646b478 ircd:Ⓜ️:room::events: Add prefetch() convenience to interface. 2019-09-17 10:35:58 -07:00
Jason Volk
b6b630c3d1 ircd:Ⓜ️ Fallback to default opts prefetch for properties without columns. 2019-09-17 10:29:45 -07:00
Jason Volk
54ba30d3d1 ircd:Ⓜ️:dbs: Tweak default event_idx block size. 2019-09-16 19:59:03 -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
b0c386d54a ircd:Ⓜ️ Use room::events for exists(room_id) impl. 2019-09-16 13:43:46 -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
38e924992b ircd::server: Set peer error fron resolve/open_links exception handlers. 2019-09-16 11:44:09 -07:00
Jason Volk
7c69eda4a6 ircd::server: Prevent loopbacking at peer::open_links() stage. 2019-09-16 11:38:38 -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
0879a1396f doc: Improve style guide; add link to top readme. [skip ci] 2019-09-16 10:43:59 -07:00
Jason Volk
eda3283b29 doc: Improve architecture; add to top readme. [skip ci] 2019-09-16 10:02:15 -07:00
Jason Volk
322a686d2f README: Tweak format / presentation. [skip ci] 2019-09-16 09:28:24 -07:00
Jason Volk
2dce9fb67d ircd:Ⓜ️:event::fetch: End catch block for context switch. 2019-09-15 20:27:55 -07:00
Jason Volk
568a2881df ircd:Ⓜ️:event::refs: Branch on the event_idx sentinel here. 2019-09-15 20:21:17 -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
Jason Volk
8fe92eea9b ircd:Ⓜ️ Fix the existential room test. 2019-09-15 19:36:39 -07:00
Jason Volk
0f00468bb8 modules/client/sync/rooms/timeline: Add case to linear-sync a backfill of timeline events on join. 2019-09-15 19:36:39 -07:00
Jason Volk
52a6c82a93 construct::console: Use context::DISPATCH flag for faster response. 2019-09-15 19:36:39 -07:00
Jason Volk
efadd20ce8 Revert "ircd::fs::aio: Use defer to post the chaser." [skip ci]
This reverts commit 726f131cc2.

Revert "construct: Set asio::io_context concurrency hint to 1."

This reverts commit 0d1b3de7c0.
2019-09-15 19:36:39 -07:00
Jason Volk
ec22842c63 ircd:Ⓜ️:event::append: Fix exclusion of redacts property. 2019-09-15 19:36:39 -07:00
Jason Volk
ea33e0326e ircd:Ⓜ️:rooms::summary: Refactor for per-origin result synthesis and learning. 2019-09-15 14:59:36 -07:00
Jason Volk
cd952963da ircd:Ⓜ️:event: Add parse error reporting on fetch assignments. 2019-09-15 14:46:26 -07:00
Jason Volk
fdad8445dc ircd:Ⓜ️:event: Add parse error reporting with event_id on some ctors. 2019-09-15 14:46:26 -07:00