0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-04 21:08:57 +01:00
Commit graph

11202 commits

Author SHA1 Message Date
Jason Volk
601f26983e ircd:Ⓜ️ Support vector of membership states in optimal aggregate query. 2019-09-18 12:30:51 -07:00
Jason Volk
0d25e68c50 ircd:Ⓜ️ Support query for non-membership with empty string to interface. 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
9a446d6c42 ircd:Ⓜ️:event: Faster bail on event_idx=0 to m::get(). 2019-09-18 10:27:00 -07:00
Jason Volk
41cfb47de4 ircd: Add strncpy++ tool. 2019-09-18 09:50:14 -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
e94a21aa7d ircd:Ⓜ️:redacted: Add prefetch() to interface. 2019-09-17 21:06:03 -07:00
Jason Volk
26154de7c4 ircd:Ⓜ️:event::refs: Add prefetch() to interface. 2019-09-17 21:06:03 -07:00
Jason Volk
1cf54095b4 ircd:Ⓜ️:event::refs: Minor cleanup; formatting; use static_assert. 2019-09-17 21:06:03 -07:00
Jason Volk
a3163a5ae7 ircd:Ⓜ️ Use util::boolean for m::redacted. 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
a5a0adb2c5 ircd:Ⓜ️:event::refs: Fix use of tls buffer in this context. 2019-09-17 20:19:27 -07:00
Jason Volk
1128187bf5 ircd::net: Unconditionally check opened(); handle unexpected on dtor. 2019-09-17 20:17:37 -07:00
Jason Volk
9b5a391e14 ircd::net: Use non-future close() in open() callback on error. 2019-09-17 20:17:37 -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
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