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

3881 commits

Author SHA1 Message Date
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
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
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
da6fd3e3ab ircd::http: Move version mismatch to unlikely segment.
ircd:Ⓜ️:vm: Reduce branches.

ircd::http: Minor cleanup.
2019-09-14 16:33:14 -07:00
Jason Volk
9319df1a1b ircd:Ⓜ️:rooms::summary: Export state key manip utils to interface. 2019-09-14 16:08:33 -07:00
Jason Volk
1b4693601d modules/console: Add type/sender/state_key to table if available. 2019-09-14 15:49:10 -07:00
Jason Volk
3ac8bd2e60 modules/conf: Bypass update call on init for not-existent items. 2019-09-14 15:30:05 -07:00
Jason Volk
1011e2b9a3 modules/conf: Add conf_updated(event_idx) overload handling errors on event::fetch. 2019-09-14 15:30:05 -07:00
Jason Volk
653fc148d3 ircd:Ⓜ️:fetch: Only check signature for v1 events. 2019-09-14 14:45:19 -07:00
Jason Volk
12d969cdfd ircd:Ⓜ️:fetch: Fix error in signature checker. 2019-09-14 14:18:51 -07:00
Jason Volk
deeb731d42 modules/client/search: Update the handler with skeleton structure. 2019-09-14 13:51:24 -07:00
Jason Volk
2238bf1df3 ircd:Ⓜ️:room::bootstrap: Fix make_join eval options. 2019-09-13 18:41:06 -07:00
Jason Volk
a2ffebeb06 ircd:Ⓜ️:rooms::summary: Use server name as fetch target. 2019-09-13 18:41:06 -07:00
Jason Volk
f8e3030819 modules/client/directory/list: Use local rooms::summary::set() overload. 2019-09-13 18:04:53 -07:00
Jason Volk
9eae6be223 ircd:Ⓜ️:rooms: Add summary iteration based on alias hosts. 2019-09-13 17:48:35 -07:00
Jason Volk
e4a95c9928 ird:Ⓜ️:rooms: Remove summary iteration based on room_id.host(). 2019-09-13 17:45:04 -07:00
Jason Volk
4753e7aada ircd:Ⓜ️:rooms: Only test join_rule if room is not summarized in !public. 2019-09-13 17:26:28 -07:00
Jason Volk
4b949e7b01 modules/m_vm_fetch: Fix state fetch condition. 2019-09-13 16:32:26 -07:00
Jason Volk
97881ac976 ircd:Ⓜ️:vm::eval: Fix generation and scope duration of event_id in array eval. 2019-09-13 15:39:06 -07:00
Jason Volk
0c45fb827d ircd:Ⓜ️:vm: Add a specific edu option to vmopts. 2019-09-13 15:26:44 -07:00
Jason Volk
bfc493ce64 ircd:Ⓜ️:vm::fetch: Only synchronize state for the parent eval. 2019-09-13 14:17:11 -07:00
Jason Volk
54c29274f2 ircd:Ⓜ️:room::server_acl: Propagate exceptions through check(). 2019-09-13 14:10:27 -07:00
Jason Volk
c5d9181d23 modules/console: Display number of pdus completed in vm cmd. 2019-09-13 14:06:08 -07:00
Jason Volk
7867bb6a4f modules/m_room_create: Optimize check. 2019-09-13 13:40:24 -07:00
Jason Volk
1e62b68286 ircd:Ⓜ️:vm: Move conform hook to pdu branch. 2019-09-13 13:38:05 -07:00
Jason Volk
4e0db779f7 modules/federation/send: Tweak pdu eval opts. 2019-09-13 13:32:20 -07:00
Jason Volk
e3d0eb34fe ircd:Ⓜ️:vm::fetch: Propagate vm::opts to any recursive eval. 2019-09-13 13:28:23 -07:00
Jason Volk
e71e93fe5f modules/console: Improve client cmd output format. 2019-09-13 12:44:59 -07:00
Jason Volk
2aa218c366 ircd::net::dns::cache: Fix callback loop assumptions.
ircd::net::dns::resolver: Fix the timeout worker iteration approach.
2019-09-12 20:11:48 -07:00
Jason Volk
5fa545f879 modules/m_keys: Minor cleanup. 2019-09-12 20:11:48 -07:00
Jason Volk
1bba6f12a6 modules/console: Fix conditions for done/pipe flag in output. 2019-09-12 20:11:48 -07:00
Jason Volk
5c895ab65f modules/console: Improve vm cmd output. 2019-09-12 20:11:48 -07:00
Jason Volk
a60750ab86 modules/console: Add ios latency diagnostic. 2019-09-12 12:37:49 -07:00
Jason Volk
d3039669f5 ircd::net::dns::cache: Add equality operations for waiter. 2019-09-12 11:57:42 -07:00
Jason Volk
3157aa5405 ircd::net::dns::cache:: Deinline waiter ctor. 2019-09-12 11:57:42 -07:00
Jason Volk
9c68d01d86 ircd:Ⓜ️:room: Remove cruft. 2019-09-12 11:57:42 -07:00
Jason Volk
5c89a2b030 modules/console: Format help cmd list into columns. 2019-09-12 09:57:06 -07:00
Jason Volk
80f8ae9547 ircd::net::dns: Add assertions; expect callback; fix error. 2019-09-11 20:11:09 -07:00
Jason Volk
ba3d82abe7 ircd::server: Use interface function to query canceled. 2019-09-11 18:06:34 -07:00
Jason Volk
c7168d3016 ircd::net::dns::resolver: Increase worker stack sizes. 2019-09-11 15:36:46 -07:00
Jason Volk
2527965c91 ircd:Ⓜ️:vm: Consolidate duplicate eval condition branches. 2019-09-11 13:12:36 -07:00
Jason Volk
83c58cf42e ircd::net::dns: Deduplicate requests at resolve() entry. 2019-09-11 12:17:27 -07:00
Jason Volk
47204888d6 ircd::net::dns: End catch block before invoking callbacks. 2019-09-11 11:50:36 -07:00
Jason Volk
fe4c7bb12e modules/console: Output peer flags in listing. 2019-09-11 11:40:24 -07:00
Jason Volk
f36a743471 ircd:Ⓜ️:vm: Add branch expectations for execute path. 2019-09-11 11:33:53 -07:00
Jason Volk
eee2c9481f modules/console: Add local members counts to room top. 2019-09-11 10:55:19 -07:00
Jason Volk
0241f2b9a1 ircd:Ⓜ️:room::members: Add host argument to interface stack for more efficient queries. 2019-09-11 10:53:48 -07:00
Jason Volk
090fac34bc modules/console: Combine vm/eval cmds; improve output. 2019-09-11 09:49:12 -07:00
Jason Volk
fcb70510ab ircd:Ⓜ️:init::backfill: Increase default concurrent room conf. 2019-09-11 09:16:54 -07:00
Jason Volk
7ca872006e modules/console: Use better status/flags in table output. 2019-09-11 09:16:54 -07:00
Jason Volk
08b3b6cddc ircd:Ⓜ️:fetch: Add run::level check in start(). 2019-09-10 21:39:00 -07:00
Jason Volk
6cbef6b000 modules/console: Additional columns for peer request diagnostic. 2019-09-10 21:39:00 -07:00
Jason Volk
da695998ff ircd::net::dns::cache: Unconditional broadcast after invoking waiting callbacks. 2019-09-10 21:39:00 -07:00
Jason Volk
ec4c6c46ac ircd:Ⓜ️:vm: Partial revert of a35328f38; remove mutex; use sequencing. 2019-09-10 14:45:54 -07:00
Jason Volk
ee3dcf5075 ircd:Ⓜ️:init::backfill: Additional worker terminator based on runlevel change. 2019-09-10 14:30:33 -07:00
Jason Volk
95a8623a51 ircd::net::dns::cache: Delete copy/move semantics for internal buffers. 2019-09-10 14:02:43 -07:00
Jason Volk
09369b19ff ircd:Ⓜ️:init::backfill: Fix stale comment. 2019-09-10 14:02:43 -07:00
Jason Volk
83332a724b ircd:Ⓜ️:init::backfill: Improve graceful termination propagation and handling. 2019-09-10 14:02:43 -07:00
Jason Volk
b28c5e0573 ircd::net::dns::cache: Add a mutex around the waiters list manipulations. 2019-09-10 14:02:43 -07:00
Jason Volk
b6149b429e ircd::ctx::dock: Add noexcept to interface observers.
ircd::ctx: Propagate noexcept on hot leafs;

ircd::ctx::list: Deinline size().
2019-09-10 11:06:11 -07:00
Jason Volk
1c5343be79 modules/m_room_power_levels: Ignore invalid user mxids in array. 2019-09-09 19:59:59 -07:00
Jason Volk
83376d8ed4 modules/console: Add standalone redact cmd. 2019-09-09 19:34:27 -07:00
Jason Volk
7a6c872870 modules/console: Add vg cmd. 2019-09-09 18:04:42 -07:00
Jason Volk
ebb2f21d61 ircd:Ⓜ️:vm: Add stack usage assertion at eval entry. 2019-09-09 12:53:34 -07:00
Jason Volk
db8e28f585 ircd:Ⓜ️:vm: Notify the sequence::dock under fewer conditions. 2019-09-09 12:17:20 -07:00
Jason Volk
6ecca7fcb7 modules/federation/send: Increase coarse timeout for now. 2019-09-09 12:12:42 -07:00
Jason Volk
5b088551ae modules/client/sync: Minor cleanup;
modules/client/sync: Consolidate header.
2019-09-09 12:08:07 -07:00
Jason Volk
3e694d50cf ircd:Ⓜ️:init::backfill: More checks for interruption of loops. 2019-09-09 11:34:18 -07:00
Jason Volk
0862263204 ircd:Ⓜ️:vm: Notify all for sequence::dock on unwind. 2019-09-08 19:58:58 -07:00
Jason Volk
a35328f384 ircd:Ⓜ️:vm: Add inner lock around write commitment. 2019-09-08 19:58:58 -07:00
Jason Volk
f942c3ffc6 modules/federation/send: Allow interrupt propagation for eval. 2019-09-08 18:22:05 -07:00
Jason Volk
b3fc7bdb35 modules/m_init_backfill: Reference a static dummy instance for when_any(). 2019-09-08 18:22:05 -07:00
Jason Volk
0bc027ebab modules/net_dns_resolver: Lock tags mutex for cancel_all() on termination; add assertion. 2019-09-08 18:22:05 -07:00
Jason Volk
3e1be63a49 ircd:Ⓜ️:init::backfill: Fix non-volatile reference to result involving extern conf item. 2019-09-08 18:22:05 -07:00
Jason Volk
af1d6e20cd modules/m_room_events: Fix export attribute. 2019-09-08 15:33:56 -07:00
Jason Volk
e2f2120739 ircd:Ⓜ️:init::backfill: Disable the rooms count estimate at start. 2019-09-07 22:11:18 -07:00
Jason Volk
49752c3663 ircd:Ⓜ️:rooms: Reorder proffer conditions. 2019-09-07 22:03:02 -07:00
Jason Volk
82ef916256 ircd:Ⓜ️:events: Add rebuilder for type/sender meta columns. 2019-09-07 20:35:27 -07:00
Jason Volk
2739696e8f ircd:Ⓜ️:rooms: Add options construction from string; simplify. 2019-09-07 20:05:48 -07:00
Jason Volk
3343585556 modules/console: Add local_only() related information to room top. 2019-09-07 19:29:24 -07:00
Jason Volk
e66bb73c4c ircd:Ⓜ️:init::backfill: Clarify log message; rename function. 2019-09-07 19:23:13 -07:00
Jason Volk
29f8309c10 modules/client/rooms/receipt: Use matrix-org/matrix-doc/2285 m.hidden tag for server-side ignores. 2019-09-07 18:42:37 -07:00
Jason Volk
71027c9383 ircd:Ⓜ️:init::backfill: Only backfill rooms with a locally joined user. 2019-09-07 16:56:17 -07:00
Jason Volk
415491b9b6 ircd:Ⓜ️:rooms: Improve options interface for meta-characteristics. 2019-09-07 16:56:17 -07:00
Jason Volk
7c01d9e77a ircd:Ⓜ️:fetch: Tweak log message format. 2019-09-07 15:32:37 -07:00
Jason Volk
5232da8ea4 ircd:Ⓜ️:init::backfill: Improve infolog msgs; add comments; minor cleanup. 2019-09-07 15:22:12 -07:00
Jason Volk
f092da733c ircd:Ⓜ️:room::events: Make a signed integer comparison here. 2019-09-07 14:53:12 -07:00
Jason Volk
9e5a670b95 modules/console: Move crt to net listen crt.
modules/console: Move typing to user typing.

modules/console: Remove cruft.
2019-09-07 13:50:25 -07:00
Jason Volk
592181a09f modules/net_dns: Ensure placement new pos is a copy of the pointer before inc. 2019-09-07 13:22:36 -07:00
Jason Volk
208c081a62 modules/console: Fix room state space rebuild parameters. 2019-09-06 19:19:06 -07:00
Jason Volk
d3421a8985 modules/console: Add more filtration arguments to peer list cmd.
modules/console: Increase table widths; improve peer request cmd.
2019-09-06 18:37:56 -07:00
Jason Volk
5eb3c7830f ircd:Ⓜ️:init::backfill: Concurrent initial backfill workers. 2019-09-06 16:31:41 -07:00
Jason Volk
5972f65cfb ircd:Ⓜ️:init::backfill: Skip backspill off prev events below the viewport depth. 2019-09-06 16:03:35 -07:00
Jason Volk
deef0777e1 ircd:Ⓜ️:init::backfill: Fetch recent missing events after initial headfill. 2019-09-06 15:50:58 -07:00
Jason Volk
d164c41049 ircd:Ⓜ️:room::events: Increase default. 2019-09-06 15:03:29 -07:00
Jason Volk
3e4918062d ircd:Ⓜ️:init::backfill: Add interruption checks for clean breaks. 2019-09-06 14:53:16 -07:00
Jason Volk
1afa0daf3f modules/m_vm_fetch: Preliminary state acquire hook. 2019-09-06 14:33:35 -07:00
Jason Volk
0bbc45e634 modules/m_vm_fetch: Fix error in debuglog msg. 2019-09-06 14:33:35 -07:00
Jason Volk
e842f6c383 ircd:Ⓜ️🧾 Implement matrix-org/matrix-doc#2285 Hidden read receipts. 2019-09-06 12:18:29 -07:00
Jason Volk
6a59036f4e ircd:Ⓜ️🧾 Reorg/rename interface; simplify impl; add options argument.
ircd:Ⓜ️🧾 Remove central linkage cruft for interface.
2019-09-06 11:57:02 -07:00
Jason Volk
7d0c44eb3c modules/m_receipt: Add comments/docs on flow. 2019-09-06 10:56:49 -07:00
Jason Volk
91044cf1f0 modules/m_room_join: Remove duplicate join event check until content checked. 2019-09-05 23:25:19 -07:00
Jason Volk
425aa83900 ircd:Ⓜ️:rooms: Add options for user_id / room_alias related. 2019-09-05 21:36:16 -07:00
Jason Volk
652a866a0e modules/client/publicrooms: Improve UX for partial alias search term inputs. 2019-09-05 21:36:16 -07:00
Jason Volk
c006190655 ircd:Ⓜ️:rooms: Allow for full state iteration without server state_key. 2019-09-05 21:36:16 -07:00
Jason Volk
31b67dc646 ircd:Ⓜ️:rooms: Add proffer rule for partial alias search terms. 2019-09-05 21:36:16 -07:00
Jason Volk
b0e60fc3fc modules/m_keys: Fix feds::keys result interpretation. 2019-09-05 21:36:16 -07:00
Jason Volk
51c6620e2c modules/m_vm_fetch: Prevent recursive backfill out of handler; remove viewport condition. 2019-09-05 21:36:16 -07:00
Jason Volk
dfdee1eac9 ircd:Ⓜ️ Consolidate viewport calculation data sources; signed integer conf item. 2019-09-05 21:36:16 -07:00
Jason Volk
9425f26321 modules/m_room_bootstrap: Re-broadcast join event after more servers discovered. 2019-09-05 21:36:16 -07:00
Jason Volk
6300b5a9fb modules/m_vm_fetch: Split and reorg handler stack; add conf items. 2019-09-05 21:36:16 -07:00
Jason Volk
6831f195aa ircd:Ⓜ️:room::events: Add viewport metric concept; conf item. 2019-09-05 18:10:44 -07:00
Jason Volk
f67eafd078 ircd:Ⓜ️:vm::fetch: Remove/reorg stale fetch related options. 2019-09-05 18:10:44 -07:00
Jason Volk
5fddfd5366 modules/m_vm_fetch: Remove evaltab; simplify handlers. 2019-09-04 19:28:42 -07:00
Jason Volk
9e69dff5dd modules/console: Increase width for ip6. 2019-09-04 14:02:38 -07:00
Jason Volk
794ef036e1 modules/m_room_bootstrap: Fetch federation keys for state events concurrently. 2019-09-04 13:39:02 -07:00
Jason Volk
6586a9e084 modules/m_room_bootstrap: Additional infolog messages during process.
modules/m_room_bootstrap: Suppress already-evaluated warnings.
2019-09-04 13:39:00 -07:00
Jason Volk
8d2cc457f1 modules/console: Improve room top missing/gaps output. 2019-09-04 11:56:50 -07:00
Jason Volk
1c16e15753 modules/net_dns: Fix placement offset in results buffer. 2019-09-04 11:12:59 -07:00
Jason Volk
791c64c35b ircd:Ⓜ️:fetch: Clear request on retry; elaborate comparator; minor cleanup. 2019-09-03 22:14:53 -07:00
Jason Volk
957d90e63d modules/federation/send: Quiet vm::fault::EXISTS from the warnlog on eval. 2019-09-03 18:01:50 -07:00
Jason Volk
196ee9e157 modules/m_fetch: Increase worker stack size. 2019-09-03 17:57:32 -07:00
Jason Volk
2c3aca9a4a ircd:Ⓜ️:fetch: Improve handle worker; request_cleanup() related. 2019-09-03 17:55:05 -07:00
Jason Volk
cca4f223ff ircd:Ⓜ️:fetch: Deduplicate requests with shared futures. 2019-09-03 15:56:14 -07:00
Jason Volk
74679a3a5f ircd:Ⓜ️:fetch: Fix initialization order for server::request buf; add linkage for dtor. 2019-09-03 14:43:34 -07:00
Jason Volk
2579313bad modules/console: Remove cruft. 2019-09-03 11:10:30 -07:00
Jason Volk
6e8a7a4162 modules/m_fetch: Fix debuglog msg argument bitrot. 2019-09-03 10:07:08 -07:00
Jason Volk
5c591582a2 modules/m_vm_fetch: Backfill backshore gaps off prev_events. 2019-08-31 02:03:47 -07:00
Jason Volk
1cad69bf41 modules/m_fetch: Simplify/fix comparator suite. 2019-08-31 02:03:47 -07:00
Jason Volk
557c8a3c86 modules/m_room_redaction: Query for sender match rather than event hostpart. 2019-08-31 00:23:45 -07:00
Jason Volk
52fd0d1b2e ircd:Ⓜ️:room::events::missing: Add limited iteration overload. 2019-08-31 00:17:11 -07:00
Jason Volk
a89b5a5662 modules/console: Add recent missing to room top; minor fixes/reorg; formatting. 2019-08-30 23:59:47 -07:00
Jason Volk
003575c418 ircd:Ⓜ️:room::events: Rename missing to horizon; reimplement missing. 2019-08-30 23:43:34 -07:00
Jason Volk
217b2d51d5 ircd:Ⓜ️ Add additional horizon rebuilders. 2019-08-30 22:57:15 -07:00
Jason Volk
91cc12db84 modules/console: Add event horizon rebuild cmd. 2019-08-30 22:57:15 -07:00
Jason Volk
3d5b2ca262 ircd:Ⓜ️:room::events::missing: Add count() to interface. 2019-08-30 22:57:15 -07:00
Jason Volk
56d80751ec ircd:Ⓜ️:room::events::missing: Implement iteration; console cmd. 2019-08-30 22:57:15 -07:00
Jason Volk
10cb380473 ircd:Ⓜ️:room::events: Reorg sounding / gaps related interfaces; reorder definitions. 2019-08-30 19:41:48 -07:00
Jason Volk
6775ee2f3b ircd:Ⓜ️:room: Move m::room::events non-member tools to module; rename/reorg count(). 2019-08-30 16:21:50 -07:00
Jason Volk
a52ad73e87 ircd:Ⓜ️:room: Rename room::messages to room::events. 2019-08-30 14:43:19 -07:00
Jason Volk
284bb7653a ircd:Ⓜ️:fetch: Fix lower_bound() result equality check; comparison operations. 2019-08-30 00:01:36 -07:00
Jason Volk
75f726bc9c modules/console: Add recent gaps diagnostic to room top; reduce other output. 2019-08-29 22:27:07 -07:00
Jason Volk
36ce489926 ircd:Ⓜ️:init::backfill: Add hinting to fetch and vmopts; add success infolog msg. 2019-08-29 22:22:28 -07:00
Jason Volk
fc61fd6b70 ircd:Ⓜ️:fetch: Add backfill support; minor reorg. 2019-08-29 22:14:08 -07:00
Jason Volk
3cdedc0030 modules/console: Add a raw argument to fed auth cmd. 2019-08-29 22:14:08 -07:00
Jason Volk
11f1038737 modules/m_vm_fetch: Use m::fetch interface for auth chain. 2019-08-29 22:14:07 -07:00
Jason Volk
8f29d519c1 modules/console: Improve fetch cmd suite. 2019-08-29 22:14:07 -07:00
Jason Volk
a93f5a54d6 ircd:Ⓜ️:fetch: Support v1::event_auth operation with interface. 2019-08-29 22:14:07 -07:00
Jason Volk
9b23b4d907 ircd:Ⓜ️:fetch: Add remote hinting to fetch::opts. 2019-08-29 22:14:07 -07:00
Jason Volk
ac573cd21d ircd:Ⓜ️:fetch: Cleanup/document interface; add basis for operation abstraction. 2019-08-29 21:32:10 -07:00
Jason Volk
26e08c2fc4 modules/client/rooms/read_markers: Ignore duplicate m.fully_read submissions from cliot. 2019-08-29 02:17:48 -07:00
Jason Volk
25464212c6 modules/m_command: Improve tag matching and output in \read command. 2019-08-28 18:07:09 -07:00
Jason Volk
035dbbab88 ircd:Ⓜ️:typing: Add user control over sending and receiving typing events per room. 2019-08-28 16:48:36 -07:00
Jason Volk
04b17bc9d7 ircd:Ⓜ️:typing: Interface cleanup. 2019-08-28 16:48:36 -07:00
Jason Volk
29b8ec0510 modules/client/sync/rooms/unread_notifications: Faster report from '\read all' command. 2019-08-28 02:06:05 -07:00
Jason Volk
4e5d67dfe9 ircd:Ⓜ️:init::backfill: Break from worker loop on runlevel change. 2019-08-27 20:58:52 -07:00
Jason Volk
1323b30f34 ircd:Ⓜ️:fetch: Move auth_chain() to vm::fetch module. 2019-08-27 20:58:52 -07:00
Jason Volk
0001d11b6c ircd:Ⓜ️:init::backfill: Perform eval of room heads. 2019-08-27 18:46:10 -07:00
Jason Volk
8543b4c56a ircd:Ⓜ️:fetch: Add configurable response checking to unit.
ircd:Ⓜ️:fetch: Fix error.
2019-08-27 17:50:02 -07:00
Jason Volk
766dfe027d ircd:Ⓜ️:keys::cache: Add has() to interface. 2019-08-27 16:26:58 -07:00
Jason Volk
3d4ea0a313 modules/m_fetch: Unsplit the header back into the module. 2019-08-27 15:03:44 -07:00
Jason Volk
c57bc9077c ircd:Ⓜ️:fetch: Add future result interface; refactor eval out of flow. (fixes #103) (closes #131)
modules: Split m_vm_fetch from m_fetch.
2019-08-26 16:17:09 -07:00
Jason Volk
30b2f8bfee modules/console: Only show implicit help for negative retval. 2019-08-26 11:36:20 -07:00
Jason Volk
cf1d80c3b4 modules/net_dns: Prevent duplicate error name in exception. 2019-08-26 11:36:20 -07:00
Jason Volk
6f60b9bed8 ircd:Ⓜ️ Simplify send() impl linkage. 2019-08-25 19:44:00 -07:00
Jason Volk
9b5ffb0b1f modules: Split m::createroom related from client/. 2019-08-25 19:44:00 -07:00
Jason Volk
f298e95373 modules: Split out client/user related interface impls. 2019-08-25 19:44:00 -07:00
Jason Volk
8a860b61ce modules: Split m::leave(room) impl from client/rooms. 2019-08-25 19:44:00 -07:00
Jason Volk
2fdbaa88a4 modules/client/rooms/join: Minor modernizations. 2019-08-25 19:44:00 -07:00
Jason Volk
22d5b3350a modules: Split m::join impl out of client/rooms. 2019-08-25 19:43:57 -07:00
Jason Volk
afd918d19a modules/client/keys: Typedefs in anonymous namespace to prevent cross-module linkage. (#109) 2019-08-25 17:37:06 -07:00
Jason Volk
299e4a2256 ircd::net::dns::resolver: Disable interrupt on shutdown; obtain mutex. 2019-08-25 17:33:06 -07:00
Jason Volk
885499ad99 ircd:Ⓜ️:room: Start a spec faithful display_name(room) diagnostic. 2019-08-25 16:05:10 -07:00
Jason Volk
4bf39ee1f2 modules: Start an m.room.name module w/ length check conforms hook. 2019-08-25 14:28:20 -07:00
Jason Volk
c1e3b9f405 modules/console: Add a user mitsein command. 2019-08-25 14:28:20 -07:00
Jason Volk
5870f1d90b modules/client/sync/rooms/timeline: Improve messages iteration event_idx/event_id seek related. 2019-08-25 13:59:05 -07:00
Jason Volk
9a7f53e33c modules/magick: Document and improve #89 solution. 2019-08-25 13:54:05 -07:00
Jason Volk
3d445fd26c modules/client/rooms/members: Add prefetch iterations. 2019-08-24 20:37:37 -07:00
Jason Volk
24a27f4a20 modules/magick: (Fixes #89) 2019-08-24 20:26:05 -07:00
Jason Volk
ca681b8c3c modules/conf: Prefetch on init. 2019-08-24 19:41:57 -07:00
Jason Volk
7d6180dd23 modules/m_init_backfill: Bypass initial backfill on read_only/write_avoid. 2019-08-24 19:19:34 -07:00
Jason Volk
48dfc78473 modules/client/send_to_device: Add origin to injected event. 2019-08-23 21:13:53 -07:00
Jason Volk
01936d1a7f modules/m_vm: Condition room_id validity (for alternative targets). 2019-08-23 21:12:16 -07:00
Jason Volk
1677137440 modules/client/keys/query: Break up large json::stack append. 2019-08-23 18:40:06 -07:00
Jason Volk
1a5f27a2de modules/client/keys/query: Increase buffer. 2019-08-23 18:27:51 -07:00
Jason Volk
29ab5a7563 Revert "modules/m_init_backfill: Disable by default for now."
This reverts commit f9d9d5ef55.
2019-08-23 18:01:43 -07:00
Jason Volk
9877d3bdf0 ircd:Ⓜ️:vm: Conditions for present state table. 2019-08-23 17:17:01 -07:00
Jason Volk
c4d10e3c5a modules/m_event: Tweak flags. 2019-08-23 16:27:32 -07:00
Jason Volk
e39a0807a2 modules/console: Improve user read output. 2019-08-23 16:09:52 -07:00
Jason Volk
97c9e4e04d modules/m_command: Enrich the arguments for the read command. 2019-08-23 15:11:28 -07:00
Jason Volk
60de3edb6f modules/m_receipt: Minor rename. 2019-08-23 14:54:37 -07:00
Jason Volk
01a751ca96 modules/console: Add rooms head reset cmd. 2019-08-22 09:26:02 -07:00
Jason Volk
8ad0d46cff ircd:Ⓜ️:room::state: Move rebuild iterations out from interface. 2019-08-22 08:02:17 -07:00
Jason Volk
5a22fa7370 ircd:Ⓜ️:room::auth: Propagate interruption. 2019-08-22 07:03:59 -07:00
Jason Volk
7bd716a103 ircd:Ⓜ️:room::auth: Improve conditions to conduct check. 2019-08-22 06:02:02 -07:00
Jason Volk
652ffa8ea2 ircd:Ⓜ️:room::state: Improve coarse rebuild interface. 2019-08-22 06:02:02 -07:00
Jason Volk
cf662a833a modules/m_event: Simplify format. 2019-08-22 03:18:58 -07:00
Jason Volk
118efe5cc7 ircd:Ⓜ️:room::state: Remove cruft. 2019-08-22 02:38:29 -07:00
Jason Volk
ac08202346 ircd:Ⓜ️:room::auth::check: Query for user mxid state_key only. 2019-08-22 02:25:03 -07:00
Jason Volk
061b85de5b ircd:Ⓜ️:room::auth: Reorg check() stack interface related. 2019-08-22 02:25:03 -07:00
Jason Volk
065c0bd426 ircd:Ⓜ️:media: Start a weak central interface; move core utils into namespace. 2019-08-22 01:53:28 -07:00
Jason Volk
d3a82de4cd modules/console: Improve room state output with pretty_stateline(). 2019-08-21 02:29:09 -07:00
Jason Volk
586468501f modules/console: Show some top auth data in room top. 2019-08-21 01:33:05 -07:00
Jason Volk
15dc7d17ef modules/m_event: Add pretty_stateline() for state event detail. 2019-08-21 00:40:20 -07:00
Jason Volk
d55bb7a762 modules/m_room_create: Fix overzealous condition. 2019-08-20 22:59:05 -07:00
Jason Volk
04efec92e3 modules/console: Improve room state space output format. 2019-08-20 22:57:17 -07:00
Jason Volk
063bd39b09 ircd:Ⓜ️:room::auth: Remove noexcept on interface for IO termination propagation. 2019-08-20 22:26:52 -07:00
Jason Volk
5e87a2e941 ircd:Ⓜ️:room::auth: Improve error hierarchy. 2019-08-20 22:26:52 -07:00
Jason Volk
224c67032a modules/console: Show help rather than bad command if possible. 2019-08-20 21:23:18 -07:00
Jason Volk
a5e422cc03 modules/console: Minor simplify cmd. 2019-08-20 21:23:18 -07:00
Jason Volk
2638a316b6 modules/magick: Add missing export attributes. 2019-08-20 21:23:18 -07:00
Jason Volk
fd953d4b10 ircd:Ⓜ️:events::type: Add has()/has_prefix() to interface. 2019-08-20 21:23:18 -07:00
Jason Volk
204989802d ircd:Ⓜ️:events: Split and reorganize API sections into specific namespaces. 2019-08-20 21:23:18 -07:00
Jason Volk
d320ce0b47 modules/console: Add basic room messages count as default for room count cmd. 2019-08-20 21:23:18 -07:00
Jason Volk
9a0e9c0356 modules/console: Add room head count cmd. 2019-08-20 01:25:18 -07:00
Jason Volk
26058e86ce ircd:Ⓜ️:users: Improve users iteration w/ optimized events:: interface. 2019-08-19 19:44:03 -07:00
Jason Volk
6a8a7451d9 ircd:Ⓜ️:events: Optimize query pattern for sender iterations. 2019-08-19 19:35:58 -07:00
Jason Volk
e58434705e ircd:Ⓜ️:dbs: Augment event_sender with a second key domain. 2019-08-19 18:40:12 -07:00
Jason Volk
14a0834c48 modules/web_hook: Support organization/member_invited action. 2019-08-19 15:29:40 -07:00
Jason Volk
50d18d73cb modules/web_hook: Support organization/member_removed detail; tweak format. 2019-08-19 15:23:54 -07:00
Jason Volk
bfc6a522f2 modules/console: Improve room top format. 2019-08-18 08:48:26 -07:00
Jason Volk
7016241df2 modules/client/rooms/state: Fix param check; avoid parv[] assertions. 2019-08-18 07:31:40 -07:00
Jason Volk
4d88f4bb4f ircd:Ⓜ️:create: Implement trusted_private_chat preset power_levels. 2019-08-18 06:48:13 -07:00
Jason Volk
3418f85a67 Revert "m::create: Ensure m.room.join_rules event is created on spec preset rooms."
This reverts commit 0a2510bc89.
2019-08-18 06:15:02 -07:00
Jason Volk
163fda95e0 modules/federation/make_leave: Send room_version in response top level. (#18) 2019-08-18 05:59:55 -07:00
Jason Volk
19c2d7da8e ircd:Ⓜ️:room::auth: Fix incorrectly resolved index() call. (#18) 2019-08-18 05:56:08 -07:00
Jason Volk
52657ca410 ircd:Ⓜ️:room::auth::chain: Simplify interface. 2019-08-18 05:46:42 -07:00
Jason Volk
8baa2265e4 modules/m_room_join_rules: Fix circular dep w/ specific import. (#109) 2019-08-18 05:34:59 -07:00
Jason Volk
a49560cd1a modules/console: Fix argument interpretation to make the state::space key properly. 2019-08-18 04:57:18 -07:00
Jason Volk
01df345789 modules/m_room_auth: Add room check to rule 2. 2019-08-18 04:13:12 -07:00
Jason Volk
911e68e5f5 ircd:Ⓜ️:room::auth: Fetch join_rules for invite auth_events. 2019-08-18 04:13:12 -07:00
Jason Volk
17846bdeb1 modules/net_dns: Simplify room create hook related. 2019-08-18 03:09:34 -07:00
Jason Volk
8454ae0275 ircd:Ⓜ️:room::head: Simplify interface; move to module. 2019-08-18 03:09:34 -07:00
Jason Volk
59618c6a44 ircd:Ⓜ️ Move event::auth to room::auth; move to module. 2019-08-18 03:09:34 -07:00
Jason Volk
e3ced849ee ircd:Ⓜ️:room: Remove old cruft. 2019-08-18 00:32:01 -07:00
Jason Volk
59a6d4f6b5 modules: Stub modules in place for m_event/m_room; reorder load list. 2019-08-18 00:32:00 -07:00
Jason Volk
1ec8ab2d0d modules/key/server: Fix assertion from 7420bf1156. (Fixes #129) 2019-08-17 11:58:46 -07:00
Jason Volk
8b41b95067 modules/m_room_member: Relax target member auth event check in 5. c. iii. 2019-08-17 11:53:31 -07:00
Jason Volk
23a5c99165 modules/federation/invite2: Fix room version unquoting. (#18) 2019-08-17 11:50:08 -07:00
Jason Volk
5e6fcf8758 modules/m_room_member: Only enforce 5. b. iii. if sender member auth event supplied in the tab. 2019-08-17 09:42:48 -07:00
Jason Volk
7fa5948fd3 modules/vm: Check auth during eval. 2019-08-17 08:34:46 -07:00
Jason Volk
b18a1a3ebd modules/client/createroom: Remove the parent property. 2019-08-17 08:30:58 -07:00
Jason Volk
1e8b5b91da modules/client/send_to_device: Fix top object. 2019-08-17 07:54:16 -07:00
Jason Volk
167c669468 modules/m_typing: Fix origin property requirement. (regression from c760eb0a) 2019-08-17 04:17:36 -07:00
Jason Volk
c63374849a modules/client/sync/rooms/ephemeral/receipt: Make ephemeral/receipt phase aware; no initial. 2019-08-17 04:13:57 -07:00
Jason Volk
9bab37d585 modules/client/sync/rooms/account_data: Make handler phase aware. (closes #105) 2019-08-17 03:43:01 -07:00
Jason Volk
add1bb6dac modules/m_room_power_levels: Use exception for failure. 2019-08-17 03:29:09 -07:00
Jason Volk
45a435d8f9 modules/console: Add cmd to set a user presence. 2019-08-17 02:59:13 -07:00
Jason Volk
ad126fecdf modules/federation/sender: Add branch to support send from user to servers in all rooms. 2019-08-17 02:59:13 -07:00
Jason Volk
1541b2d52e ircd:Ⓜ️:user: Move rooms::origins to user::servers interface. 2019-08-17 02:59:13 -07:00
Jason Volk
34e87c08c3 ircd:Ⓜ️:user::mitsein: Simplify interface. 2019-08-17 02:59:13 -07:00
Jason Volk
16f1ba2b11 ircd:Ⓜ️:vm: Fix dependence on room_id without bypass mechanism in injector. 2019-08-17 02:59:13 -07:00
Jason Volk
9973c80916 modules/m_presence: Move federation send hook here; complete functionality. 2019-08-17 02:59:13 -07:00
Jason Volk
c760eb0a12 ircd:Ⓜ️:vm: Use bitmask of properties to generate in vm::copts. 2019-08-17 00:44:14 -07:00
Jason Volk
5f4b6d5f1a ircd:Ⓜ️:user::filter: Move remaining to module. 2019-08-16 22:18:30 -07:00
Jason Volk
a295d52f89 modules/client/sync/presence: Elide offline presence events on initial sync. 2019-08-16 06:35:18 -07:00
Jason Volk
09b52a2e65 modules/m_room_redaction: Make redacts target room check an auth rule. 2019-08-16 05:32:32 -07:00
Jason Volk
100f5c646a ircd:Ⓜ️:sync: Fix phased polylog invocation conditions; eliminate initial flag. (#105) 2019-08-16 04:50:39 -07:00
Jason Volk
fc742ae2d0 ircd: Fix warning/error.
ircd: Minor cleanup.
2019-08-16 03:32:13 -07:00
Jason Volk
125ff95875 ircd:Ⓜ️:room::state: Simplify util interface arguments. 2019-08-16 02:25:50 -07:00
Jason Volk
34c1b13fa3 modules/client/profile: Ensure there's an eptr before calling rethrow. 2019-08-16 02:19:49 -07:00
Jason Volk
d17286515b ircd:Ⓜ️:room::state: Simplify/consolidate iteration interface. 2019-08-16 02:19:49 -07:00
Jason Volk
6727f14326 modules/console: Use the interface provided prefix type iteration here. 2019-08-16 02:19:49 -07:00
Jason Volk
5ce05fade4 modules/client/sync/rooms/state: Log an error on unexpected fetch failure. 2019-08-16 02:19:49 -07:00
Jason Volk
dc47cc7a93 modules/client/profile: Wrap and rethrow remote http error in m::error here. 2019-08-16 02:19:49 -07:00
Jason Volk
ec96b6564b modules/net_dns: Improve module init/fini; add cache completion waiter. 2019-08-16 02:19:49 -07:00
Jason Volk
49e1fd1eea ircd:Ⓜ️ Move user::mitsein to module. (#109) 2019-08-16 02:19:49 -07:00
Jason Volk
76de6b4ac2 ircd:Ⓜ️:create: Cleanup/Comments for m.room.create/room create related. 2019-08-16 02:19:49 -07:00
Jason Volk
65e79a584a ircd:Ⓜ️ Improve room_version event_id related conditions. 2019-08-16 02:19:48 -07:00
Jason Volk
cd347d53cb ircd:Ⓜ️:create: Add a central room_version default conf item. 2019-08-16 02:19:48 -07:00
Jason Volk
183241b506 modules/client/presence: Remove presence lists stub. (matrix-org/matrix-doc#1817) 2019-08-16 02:19:48 -07:00
Jason Volk
593c21ce46 ircd:Ⓜ️:vm: Minor init/fini infolog msg tweak. 2019-08-16 02:19:48 -07:00
Jason Volk
87717bc10b modules/console: Augment room state rebuild present with remote_joined_only option. 2019-08-16 02:19:48 -07:00
Jason Volk
7fb0958080 ircd::json::tuple: Split additional non-member templates into header; constexpr member get()/at(). 2019-08-15 00:05:48 -07:00
Jason Volk
08120bb194 modules/client/rooms/relations: Improve w/ chunked encoding; visibility checks; event append. (#126) 2019-08-14 23:56:24 -07:00
Jason Volk
74bd6cfabf modules/client/rooms: Implement Client (unstable) rooms/relations. (Closes #126) 2019-08-14 09:28:05 -07:00
Jason Volk
f9d9d5ef55 modules/m_init_backfill: Disable by default for now. 2019-08-14 09:13:29 -07:00
Jason Volk
58b4fe8d2b modules/client/sync/rooms/unread_notifications: Apply the exposure depth paradigm to linear update. 2019-08-14 03:34:24 -07:00
Jason Volk
c01f19080b ircd:Ⓜ️:init::backfill: add conf item to enable worker. 2019-08-14 02:47:39 -07:00
Jason Volk
e6a9394a46 ircd:Ⓜ️:init::backfill: Acquire remote head.
ircd:Ⓜ️:init::backfill: To the fetch unit.
2019-08-14 02:38:02 -07:00
Jason Volk
1c42206307 ircd:Ⓜ️:feds: Add an exclude_myself option. 2019-08-14 01:52:32 -07:00
Jason Volk
3d808022ed ircd:Ⓜ️:feds: Rename interface function. 2019-08-14 01:26:02 -07:00
Jason Volk
fca330e1c1 ircd:Ⓜ️:room: Reorg / slim the class member function interface.
ircd:Ⓜ️:room: Rename interface function.
2019-08-14 01:09:34 -07:00
Jason Volk
67f6a36b3f ircd:Ⓜ️:fetch: Declare lt operators above request set. 2019-08-13 23:39:05 -07:00
Jason Volk
c95d1e56ee ircd:Ⓜ️:init: Add preliminary worker context loop for backfill unit. (#78) 2019-08-13 23:39:05 -07:00
Jason Volk
623a283671 modules/client/directory/room: Implement Client 10.2.3 DELETE roomAlias. 2019-08-13 22:12:48 -07:00
Jason Volk
da495a8810 modules/client/directory/room: Require authentication for PUT. 2019-08-13 22:09:25 -07:00
Jason Volk
423284547d modules/client/directory/room: Remove power check. (Fixes #128) 2019-08-13 22:01:51 -07:00
Jason Volk
e828dfbf13 mocdules/client/directory/room: Move existing check into loop; add comments. 2019-08-13 22:00:49 -07:00
Jason Volk
743c2331ae modules/client/directory/room: Fix type for log va_rtti. 2019-08-13 21:40:51 -07:00
Jason Volk
6df832607f modules: Use m.notice msgtype for html responses. 2019-08-13 07:15:39 -07:00
Jason Volk
74cef5d74d ircd:Ⓜ️:rooms: Add room::lonly() related to interface. 2019-08-13 05:09:14 -07:00
Jason Volk
c7f9521a3f ircd:Ⓜ️:users: Rename for consistency. 2019-08-13 03:00:08 -07:00
Jason Volk
94354e2d63 modules/client/thirdparty/protocols: Update the URL to shut R!ot up. [skip ci] 2019-08-13 00:08:32 -07:00
Jason Volk
84e79a64e6 ircd:Ⓜ️:rooms: Refactor interface; split rooms::summary; split module. 2019-08-12 23:55:07 -07:00
Jason Volk
2f4b05afdf modules/client/notifications: Add stub array. (#87) 2019-08-12 04:26:22 -07:00
Jason Volk
76889eab6e ircd:Ⓜ️:user::highlight: Add for_each() to interface; simplify stack (#87). 2019-08-12 04:10:28 -07:00
Jason Volk
a4d61ba51b modules/m_receipt: Only broadcast if the user has membership=join. 2019-08-12 03:40:56 -07:00
Jason Volk
9b2a227294 modules/web_hook: Fix quotations around author name. 2019-08-12 03:29:11 -07:00
Jason Volk
ad571640e0 ircd:Ⓜ️:events: Reduce call count in for_each_sender loop. 2019-08-12 03:03:37 -07:00
Jason Volk
ddfae956d2 modules/client/directory/user: Add avatar_url and display_name to results.
modules/client/directory/user: Increase buffer size.
2019-08-12 03:03:37 -07:00
Jason Volk
2c57890e0f modules/client/sync: Increase the linear buffer size. 2019-08-12 01:39:16 -07:00
Jason Volk
53b54e0f62 modules/client/sync/rooms/state: Fix left rooms members droptimization. 2019-08-12 01:39:16 -07:00
Jason Volk
947ac356d0 modules/m_command: Add support for public response-to-room. 2019-08-12 01:39:16 -07:00
Jason Volk
2d928bfa4a modules/console: Use m::room_id() for room id cmd. 2019-08-12 01:39:16 -07:00
Jason Volk
4ab2623ef2 modules/conf: Don't rehash on run; don't rehash on !conf create either. 2019-08-12 01:39:16 -07:00
Jason Volk
b60edf3212 ircd:Ⓜ️ Eliminate the !nodes room related. 2019-08-12 01:39:16 -07:00
Jason Volk
f24bf54799 ircd:Ⓜ️ Eliminate the user::users room references. 2019-08-12 01:39:16 -07:00
Jason Volk
cd477e8ce7 modules/console: Add some basic feedback on user mxid cmd. 2019-08-12 01:39:16 -07:00
Jason Volk
a4cb296099 modules/m_user: Eliminate the !users room from m::create(user). 2019-08-12 01:39:16 -07:00
Jason Volk
3dfd8e5c75 modules/client/directory/user: Modernize w/ m::users:: and json::stack. 2019-08-12 01:39:16 -07:00
Jason Volk
0c05241fec ircd:Ⓜ️:users: Refactor !users room out of the users:: interface. 2019-08-11 23:30:50 -07:00
Jason Volk
8779cfd866 ircd:Ⓜ️ Move m::users to module. 2019-08-11 23:30:50 -07:00
Jason Volk
7315c37018 modules/console: Improve format for v3+ rooms. 2019-08-11 18:18:45 -07:00
Jason Volk
aa4147b02a ircd:Ⓜ️:sync: Fix conditions for non-phased non-initial sync items. 2019-08-11 08:15:36 -07:00
Jason Volk
9bab532c3e ircd:Ⓜ️:sync: Add interruption points in polylog caller; state iteration. 2019-08-11 08:00:41 -07:00
Jason Volk
f4b860e612 modules/client/sync/rooms/state: Remove assertion. 2019-08-11 05:20:39 -07:00
Jason Volk
f8df61536a modules/m_presence: Modernize; remove old flag. 2019-08-11 04:38:50 -07:00
Jason Volk
f14a23aaf6 modules/client/sync/presence: Disable interruption on concurrent wait. 2019-08-11 04:38:50 -07:00
Jason Volk
84d4b091fe modules/client/sync/device_one_time_keys_count: Fix error. 2019-08-10 23:22:28 -07:00
Jason Volk
07cdc73593 modules/m_room_power_levels: Diverge auth rule 10.b. 2019-08-10 00:53:38 -07:00
Jason Volk
111ffd2216 modules/m_room_member: Fix auth event existence conditional branches in auth hooks. 2019-08-10 00:38:40 -07:00