0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-20 01:19:27 +02:00
Commit graph

3545 commits

Author SHA1 Message Date
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