0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-02 20:09:16 +01:00
Commit graph

970 commits

Author SHA1 Message Date
Jason Volk
525db9f5e3 modules/console: Ensure different serializations available w/ raw/source arguments. 2020-05-12 23:23:37 -07:00
Jason Volk
b91c768c57 ircd:Ⓜ️:vm::eval: Remove sequence_shared state. 2020-05-12 22:27:53 -07:00
Jason Volk
ea420994eb modules/console: Output additional information in hook list cmd. 2020-05-12 22:27:53 -07:00
Jason Volk
3bd3173db0 ircd:Ⓜ️:vm: Replace eval hook::site member with entered hook ptr; add id to console cmd. 2020-05-12 22:27:53 -07:00
Jason Volk
38a12ec0f7 ircd:Ⓜ️🪝 Add integer for easier ident; improve log msgs; console cmd. 2020-05-12 19:21:58 -07:00
Jason Volk
a3b31ce7aa modules/console: Reverse order of vm list. 2020-05-12 19:21:58 -07:00
Jason Volk
b764e75692 ircd:Ⓜ️:vm: Additional fetch phases; split fetch hook sites. 2020-05-11 21:14:25 -07:00
Jason Volk
0fd5570c14 ircd:Ⓜ️:vm: Add enumeration for evaluation phases. 2020-05-11 21:14:25 -07:00
Jason Volk
a1708a687e ircd:Ⓜ️:vm: Rename eval.phase to eval.phase_hook. 2020-05-11 19:25:07 -07:00
Jason Volk
613464c476 modules/console: Use throwing query for room_id(event_id) so grammar error never occurs. (fixes #135) 2020-05-11 03:36:58 -07:00
Jason Volk
88fe138d12 ircd::prof: Add symbol definition for psi::supported=false on non-linux platforms. 2020-05-09 17:28:34 -07:00
Jason Volk
32192bf439 ircd::prof::psi: Additional state relative to last refresh. 2020-05-09 17:28:34 -07:00
Jason Volk
19f4917d9f ircd::prof::psi: Add threshold triggering mechanism to interface. 2020-05-09 17:28:34 -07:00
Jason Volk
05e384d315 ircd::prof::psi: Add interface to poll for PSI linux>=5.2. (#144) 2020-05-09 17:28:34 -07:00
Jason Volk
77a8a3e3c9 modules/console: Add user rooms count cmd. 2020-05-03 14:35:20 -07:00
Jason Volk
ff96eb803d ircd:Ⓜ️:user: Move is_active() to adl'ed active(). 2020-05-02 23:57:53 -07:00
Jason Volk
a8b02549db modules/console: Use pretty_detailed() for fed event cmd; minor reorg. 2020-05-01 10:10:17 -07:00
Jason Volk
6bc0d48a38 ircd:Ⓜ️:pretty: Move part of console event cmd into lib util. 2020-05-01 10:10:16 -07:00
Jason Volk
951d000ae9 modules/console: Add alternative convenience parameters for room restrap cmd. 2020-04-30 18:52:43 -07:00
Jason Volk
2a75027118 modules/console: Improve error msg for peer not found. 2020-04-30 06:29:19 -07:00
Jason Volk
347c600b41 modules/console: Translate a log level string to number in log level cmd. 2020-04-30 03:20:49 -07:00
Jason Volk
becd247de3 modules/console: Add shortcut for 'room get ...' cmd w/ direct 'room_id type state_key' 2020-04-28 22:09:36 -07:00
Jason Volk
8239c35095 modules/console: Allow direct type,state_key parameters in redact cmd. 2020-04-28 01:56:35 -07:00
Jason Volk
8c4aa37c41 modules/console: Allow vmlog during eval cmd; improve cmd. 2020-04-27 18:36:15 -07:00
Jason Volk
5614abc3ba modules/console: Default to @ircd when redact cmd sender not specified. 2020-04-27 16:36:54 -07:00
Jason Volk
0f18b8dc8d modules/console: Fix room state rebuild's room_id parameter translation. 2020-04-27 13:29:47 -07:00
Jason Volk
01c76b078f ircd:Ⓜ️ Disable server notifications for apropos evals. 2020-04-27 13:18:45 -07:00
Jason Volk
fef7faaf23 modules/console: Add space after key in conf list output. 2020-04-27 01:10:51 -07:00
Jason Volk
37335a68d7 ircd:Ⓜ️ Wrap all queries into ircd::server through fed suite. 2020-04-25 21:13:57 -07:00
Jason Volk
f9df9bfbda ircd:Ⓜ️:typing: Move remaining assets into namespace; minor reorg. 2020-04-25 17:34:02 -07:00
Jason Volk
32230ed2d4 ircd::ctx: Profile peak stack usage at slice leave event. 2020-04-23 12:41:39 -07:00
Jason Volk
5a27958fa0 ircd::ctx: Unify access to ctx::stack, expose structure; remove cruft. 2020-04-23 12:41:38 -07:00
Jason Volk
406a893f80 modules/console: Allow better remote host derivation from any alias argument in fed backfill. 2020-04-23 01:09:21 -07:00
Jason Volk
47867d2b68 modules/console: Allow count parameter to be specified without remote for fed backfill. 2020-04-23 01:09:21 -07:00
Jason Volk
0f74e9327d modules/console: Add log flush cmd. 2020-04-22 08:23:55 -07:00
Jason Volk
912bcd3a3c modules/console: Evaluate auth_chain in fed state eval. 2020-04-21 03:34:38 -07:00
Jason Volk
22df705df3 modules/console: Use structured decomposition; minor cleanup; improve formatting. 2020-04-21 03:02:41 -07:00
Jason Volk
48e4316144 modules/console: Use dynamic instead of tls buffers here. 2020-04-21 02:56:10 -07:00
Jason Volk
6943187149 modules/console: Add room power grant / revoke cmds. 2020-04-19 06:13:23 -07:00
Jason Volk
d8d5671e1e modules/console: Add a room power cmd. 2020-04-19 06:13:23 -07:00
Jason Volk
a6cf4c3c91 ircd::fs: Refactor base paths into conf::items. 2020-04-19 06:13:23 -07:00
Jason Volk
fc5e607dce modules/console: Forward fed version on room ID or alias to feds version cmd. 2020-04-16 17:00:48 -07:00
Jason Volk
ea194d9b85 modules/console: Add name filter condition to ctx list cmd. 2020-04-13 14:16:31 -07:00
Jason Volk
3c8a8d01aa ircd:Ⓜ️:bridge: Add timeout conf item; fix queries; add console cmd. 2020-04-11 20:13:15 -07:00
Jason Volk
926c5914a8 ircd:Ⓜ️:bridge: Add config iteration w/ console cmd. 2020-04-11 18:36:33 -07:00
Jason Volk
433a3b3007 ircd:Ⓜ️:app: Rename everything to bridge:: add basic query; simplify config interface. 2020-04-10 19:29:17 -07:00
Jason Volk
eeac3c1eaa ircd::server: Add more efficient peer error boolean query. 2020-04-07 13:19:16 -07:00
Jason Volk
9a0a3dfbf1 ircd:Ⓜ️:vm: Eliminate fault::INTERRUPT and handle ctx::interrupt directly in all cases. 2020-04-07 10:52:15 -07:00
Jason Volk
5fe4d8c4ad ircd:Ⓜ️:fed: Add rooms::complexity request w/ console cmd. 2020-04-05 19:00:09 -07:00
Jason Volk
c76e394a8c modules/console: Fix loop on multiple context id's to interrupt/terminate cmds. 2020-04-05 14:32:21 -07:00
Jason Volk
c4d0ffaec9 ircd:Ⓜ️:event::fetch: Move std::nothrow to leading argument for consistency. 2020-04-02 20:01:14 -07:00
Jason Volk
c973062086 modules/console: Add user devices preliminary omni update trigger cmd. 2020-04-01 20:18:25 -07:00
Jason Volk
fe9635a70e ircd:Ⓜ️:device: Reclassify interface at m::user::devices. 2020-04-01 19:52:31 -07:00
Jason Volk
08525e95d0 modules/console: Add device_id to user tokens list cmd. 2020-04-01 17:33:55 -07:00
Jason Volk
d052249573 ircd:Ⓜ️ Add user::tokens convenience interface; consolidate various direct room access. 2020-04-01 17:30:17 -07:00
Jason Volk
93665cc587 ircd:Ⓜ️ Fix event_id() interface for consistent leading std::nothrow_t. 2020-04-01 16:03:25 -07:00
Jason Volk
f6bef2770d modules/console: Fix room_id check on valid empty argument to user notifications cmd. 2020-03-26 17:20:06 -07:00
Jason Volk
a9885d4a45 modules/console: Require remote argument when event_id has no host. 2020-03-25 18:27:40 -07:00
Jason Volk
00980b547e modules/console: Add prefix-option in room type cmd. 2020-03-24 17:53:22 -07:00
Jason Volk
5776549efe modules/console: Add more options to the user notifications cmd. 2020-03-24 17:45:48 -07:00
Jason Volk
31fd7e664f modules/console: Add room type cmd. 2020-03-24 14:14:39 -07:00
Jason Volk
ab4b31bc13 ircd:Ⓜ️:user::pushrules: Add event_idx of rule as argument to closures.
ircd:Ⓜ️:user::pushers: Add event_idx of rule as argument to closures.
2020-03-23 13:01:24 -07:00
Jason Volk
ed54618ca4 ircd:Ⓜ️:user: Start a user::notifications interface. 2020-03-21 20:49:54 -07:00
Jason Volk
31d04f7677 modules/console: Add user pushers cmd. 2020-03-21 20:49:54 -07:00
Jason Volk
43fdec3671 modules/console: Improve user pushrules cmd output. 2020-03-19 16:25:45 -07:00
Jason Volk
f897ebd134 modules/console: Add preliminary user pushrules cmd. 2020-03-18 16:06:44 -07:00
Jason Volk
75327c19f9 modules/console: Improve SST file info table format; addl info; stack buffers. 2020-03-16 21:11:02 -07:00
Jason Volk
6e570bca16 modules/console: Sort SST files list by creation for output. 2020-03-16 19:23:35 -07:00
Jason Volk
006aa4f0e6 modules/console: Allow nil argument to specify target level for all key ranges. 2020-03-16 00:31:35 -07:00
Jason Volk
cf37e364ce modules/console: Add net service console cmd. 2020-03-12 21:09:56 -07:00
Jason Volk
ffcbc87fdd ircd: Rename try_lex_cast to lex_castable. 2020-03-12 21:09:56 -07:00
Jason Volk
fe70de48b4 modules/console: Disable additional state fetch from fed state cmd. 2020-03-09 18:47:13 -07:00
Jason Volk
44f587714e ircd:Ⓜ️ Tweak various federation request buffer options; related e3e83a6423fd. 2020-03-07 22:02:14 -08:00
Jason Volk
55ffdddc6a ircd:Ⓜ️:fed: Refactor all interfaces using abstract request. 2020-03-07 21:33:44 -08:00
Jason Volk
c0a5a7a89e ircd:Ⓜ️ Simplify various interfaces using string rather than net::hostport remotes. 2020-03-07 17:17:46 -08:00
Jason Volk
a068981452 ircd:Ⓜ️:fed: Simplify and rename well known fetch function. 2020-03-07 14:55:50 -08:00
Jason Volk
6ab71b8fdc ircd:Ⓜ️:fed: Add well-known request for server name resolution w/ console cmd. 2020-03-06 18:28:41 -08:00
Jason Volk
0a90b4d4cc ircd:Ⓜ️:fed: Apply the canon service to all remotes without a service string. 2020-03-06 10:37:28 -08:00
Jason Volk
c44d732443 ircd:Ⓜ️ Rename v1/v2 namespace to fed. 2020-03-05 20:06:14 -08:00
Jason Volk
ae8b2bc0f8 modules/console: Require hostport param for cmd. 2020-03-05 14:18:57 -08:00
Jason Volk
1bfbcabad9 modules/console: Improve peer request table output. 2020-03-04 11:41:51 -08:00
Jason Volk
f4679e1383 modules/console: Improve peer table output format. 2020-03-04 11:15:27 -08:00
Jason Volk
14b962a695 ircd:Ⓜ️:vm: Track evaluation hook phase. 2020-03-02 20:55:08 -08:00
Jason Volk
9f4bc6606e modules/console: Add depth to vm listing; adjust widths. 2020-03-02 19:51:22 -08:00
Jason Volk
cfc199d89e modules/console: Improve output formatting. 2020-03-02 18:34:46 -08:00
Jason Volk
48a8af4252 modules/console: Disable prev fetch on manual feds state eval. 2020-03-01 16:37:29 -08:00
Jason Volk
cb0363f13c ircd:Ⓜ️:rooms: Add dump to file util w/ console cmd. 2020-02-28 20:19:42 -08:00
Jason Volk
cdb0df84b8 modules/console: Remove cruft. 2020-02-28 18:02:49 -08:00
Jason Volk
1bdf52b7bb ircd:Ⓜ️:events: Add preliminary interface to _event_state w/ console cmd. 2020-02-26 18:24:17 -08:00
Jason Volk
41c36836cc modules/console: Add preliminary db cache each cmd for iteration related. 2020-02-19 13:26:23 -08:00
Jason Volk
1e994c0a3e ircd: Increase various 96_KiB default buffer sizes to 128_KiB. 2020-01-23 18:47:23 -08:00
Jason Volk
4522c5a7dd modules/console: Improve fed key cmd output. 2020-01-19 05:59:21 -08:00
Jason Volk
cdfdde3334 ircd::db: Add interface to checksum files per column.
modules/console: Add column params to db check cmd.
2020-01-08 12:32:56 -08:00
Jason Volk
4dcb2ed3a1 modules/console: Replace some larger tls buffers with dynamic. 2019-12-31 12:33:50 -08:00
Jason Volk
74b07825aa modules/console: Optional state_key param in room get cmd. 2019-12-22 01:59:04 -08:00
Jason Volk
14774cf3e2 modules/console: Use pretty/pretty_oneline() in node key cmd. 2019-12-21 14:34:28 -08:00
Jason Volk
25fbf51801 modules/console: Improve feds head diagnostic output detail. 2019-12-10 22:07:51 -08:00
Jason Volk
2ea3cdcc9b modules/console: Fix event refs arg requirement; type reflection lookup. 2019-12-10 11:37:09 -08:00
Jason Volk
12b340c093 ircd:Ⓜ️:room::head: Elaborate the prev_events generating interface; add features. 2019-12-10 11:37:09 -08:00
Jason Volk
6b69e240d8 modules/console: Toggle DWARNING/DERROR to match DEBUG in release-mode compilations. 2019-12-03 16:42:14 -08:00