0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-06 13:58:56 +01:00
Commit graph

447 commits

Author SHA1 Message Date
Jason Volk
8e9a4b0d3b modules/console: Output format tweaks; pretty(iec()) sizes. 2018-09-25 01:36:13 -07:00
Jason Volk
1b2a22bb39 modules/console: Add conf rehash force option. 2018-09-25 01:20:59 -07:00
Jason Volk
86fffa22ea modules/console: Use human readable size outputs for various. 2018-09-25 00:33:40 -07:00
Jason Volk
4e3efb73d3 ircd::db: Use cfmd rather than live-files way to get column family metadata. 2018-09-24 23:10:27 -07:00
Jason Volk
1a0d297a09 modules/console: Add a wildcard to rebuild present state of all rooms. 2018-09-22 17:30:58 -07:00
Jason Volk
1dad409311 modules/console: Support sst dumping all columns. 2018-09-22 15:04:39 -07:00
Jason Volk
e518bfc709 modules/console: Abstract the sst file output functions. 2018-09-22 15:04:38 -07:00
Jason Volk
e0bed2dc3e ircd::db: Add sst dump writer; move sst tool. 2018-09-22 15:04:38 -07:00
Jason Volk
99ff78f5c7 ircd::db: Create an sst utility space; move fileinfo into sst. 2018-09-22 13:28:44 -07:00
Jason Volk
f7da7d9be8 ircd::db: Support SST dump tooling. 2018-09-21 17:33:34 -07:00
Jason Volk
f2cfa87d49 modules/console: Improve db files output. 2018-09-21 15:09:51 -07:00
Jason Volk
7834c86360 ircd::db: Add support for direct SST file ingestion. 2018-09-21 15:08:57 -07:00
Jason Volk
ae36485d13 ircd::db: Add back the target level to range compact. 2018-09-20 23:30:51 -07:00
Jason Volk
9fb0daa69b modules/console: Update/improve db files cmd. 2018-09-20 23:30:50 -07:00
Jason Volk
65882b7afb modules/console: Fix and improve db compact cmd. 2018-09-19 17:16:08 -07:00
Jason Volk
6a06f2c89e modules/console: More resource information. 2018-09-18 04:26:59 -07:00
Jason Volk
811e9cc95c modules/console: Use client::terminate() now in client clear cmd. 2018-09-18 00:49:36 -07:00
Jason Volk
c580d42da2 modules/console: Add a date cmd. 2018-09-16 21:38:34 -07:00
Jason Volk
3188b03943 ircd:Ⓜ️:typing: Add an iteration of typist state w/ console cmd. 2018-09-16 20:55:12 -07:00
Jason Volk
c5e066d078 modules/console: Add uptime cmd. 2018-09-16 20:55:12 -07:00
Jason Volk
a13fa1936c Merge branch 'leave-cmd' of https://github.com/mujx/construct 2018-09-15 06:53:26 -07:00
Konstantinos Sideris
2915830f0e Simplify leave command 2018-09-15 14:02:06 +03:00
Jason Volk
5b9a6efc54 modules/console: Add cmd to explore posix env vars. 2018-09-15 03:27:26 -07:00
Jason Volk
fe26b5e0c0 modules: thread_local mods::import cannot be used or the module gets stuck. 2018-09-14 07:44:44 -07:00
Jason Volk
eab8b87970 modules/console: Remove unnecessary output of the srv_key. 2018-09-14 00:50:14 -07:00
Jason Volk
c4c40ac2e7 modules/console: Add primitive resource cmd for listing registered resources. 2018-09-13 22:23:28 -07:00
Jason Volk
1768cd1041 modules/console: Add net host cache SRV cmd to clear cache entry(s). 2018-09-13 19:49:25 -07:00
Jason Volk
8317773df0 modules/console: Add net host cache A clear cmd to drop a cache entry(s). 2018-09-13 19:49:25 -07:00
Jason Volk
d97a5ac571 ircd:Ⓜ️:vm: Remove the vm::phase; create fetch_hook. 2018-09-13 18:30:40 -07:00
Jason Volk
11948e47ac ircd: Move m::import to mods::import where it is more appropriate. 2018-09-13 18:19:27 -07:00
Jason Volk
52b39f7d2b modules/console: Support directly entering a room alias at the console. 2018-09-13 08:18:31 -07:00
Jason Volk
1562e5533a modules/console: Make room top output more useful. 2018-09-13 08:14:45 -07:00
Jason Volk
d3766ee0e5 ircd:Ⓜ️ Add room federate query w/ console indicator. 2018-09-12 23:31:32 -07:00
Jason Volk
2ae2bb0eef ircd:Ⓜ️ Add room version query w/ console cmd. 2018-09-12 23:26:15 -07:00
Konstantinos Sideris
f18aa9fcf7 console: Add leave command for room aliases 2018-09-12 19:54:09 +03:00
Jason Volk
6858ea2bb1 ircd:Ⓜ️:vm: Add commitopts (copts) to vm::accepted structure. 2018-09-05 19:43:09 -07:00
Jason Volk
f245fc74c0 modules/console: Add per-cache stats in output to help with churn. 2018-09-05 03:35:35 -07:00
Jason Volk
bfa4d704cc modules/console: No verify on these cmds because they're debug and
perspectives complicates that and defeats the purpose.
2018-09-04 23:28:31 -07:00
Jason Volk
4251a55e53 modules/console: Update event_fetch to use vm fetcher (commit out of order) 2018-09-04 23:25:09 -07:00
Jason Volk
893b633578 modules/console: Add room messages cmd. 2018-09-04 23:24:56 -07:00
Jason Volk
486a40fc39 modules/console: Checkpoint additional key get cmd branch. 2018-09-04 23:22:09 -07:00
Jason Volk
5963786ebf modules/console: Checkpoint the db column drop cmd (incomplete). 2018-09-04 23:21:26 -07:00
Jason Volk
67d202a5e4 modules/console: Fix matching condition. 2018-09-04 01:00:04 -07:00
Jason Volk
63c3dbaaac modules/console: Improve db cache cmd output. 2018-09-03 03:53:36 -07:00
Jason Volk
6311739917 modules/console: Fix table alignment. 2018-09-03 03:48:45 -07:00
Jason Volk
94a2fdacb5 modules/s_conf: Improve rehashing interface; adjust console cmds. 2018-09-02 21:57:30 -07:00
Jason Volk
b30a637dfa modules/console: Add cmds to count peers and DNS cache entries. 2018-09-02 19:24:20 -07:00
Jason Volk
739028eeb5 modules/console: Fix prefix matching in help cmd. 2018-09-01 22:21:42 -07:00
Jason Volk
8a0749b232 modules/console: Use db::has() rather than db::fetch() for cache prefetching. 2018-09-01 21:16:25 -07:00
Jason Volk
f38aadc35b modules/console: Sort clients by id for listing. 2018-09-01 21:16:05 -07:00
Jason Volk
1cedbd7b06 ircd::client: Convert client instance_list to instance_multimap. 2018-09-01 21:05:45 -07:00
Jason Volk
13c9e5bf6f ircd::client: Add interface to respawn contexts after a terminate w/ console cmd. 2018-09-01 07:15:02 -07:00
Jason Volk
fce5be0317 modules/console: Fix alignment. 2018-09-01 01:02:57 -07:00
Jason Volk
ce245cb116 modules/console: Increase this buffer because it's halved for two requests. 2018-08-30 19:36:36 -07:00
Jason Volk
5d82889eae modules/console: Add client clear cmd. 2018-08-30 19:29:47 -07:00
Jason Volk
16f6433230 modules/console: Add net listen load and unload cmds. 2018-08-30 19:25:36 -07:00
Jason Volk
560a5eda44 modules/console: Default empty string for tmp_dh_path param to net listen cmd. 2018-08-30 19:23:50 -07:00
Jason Volk
39756df70f modules/console: Show listener options raw JSON. 2018-08-29 15:55:48 -07:00
Jason Volk
231c95f29e modules/console: Add the verify-keys regen for new crt cmd. 2018-08-28 16:01:47 -07:00
Jason Volk
ed9d8d72ee modules/console: Move this branch to prevent any error'ing before it. 2018-08-28 15:59:08 -07:00
Jason Volk
02d1cd1115 ircd:Ⓜ️ Add central linkage for m::feds::state. 2018-08-26 07:13:47 -07:00
Jason Volk
bbdf21e11a modules/console: Add noparse option to fed event. 2018-08-25 14:56:10 -07:00
Jason Volk
170475f374 ircd:Ⓜ️ Add user::events iterator w/ console cmd. 2018-08-24 14:01:32 -07:00
Jason Volk
0f79ad7b08 ircd:Ⓜ️:room: Officiate random_origin w/ central linkage; use view closure. 2018-08-24 04:19:55 -07:00
Jason Volk
d7ca00c4a1 modules/console: Add peer error filter option for origins random cmd. 2018-08-22 18:10:39 -07:00
Jason Volk
18b591c298 modules/console: Add console cmd to get random origin. 2018-08-22 17:59:14 -07:00
Jason Volk
1552b56590 modules/m_room: Add preliminary purge(); add linkage to console cmd. 2018-08-22 11:58:45 -07:00
Jason Volk
c1e135967a modules/console: Improve room__top cmd w/ more types. 2018-08-21 08:48:00 -07:00
Jason Volk
351a726ac5 modules/console: cmd to iterate through room state type-strings only. 2018-08-21 08:44:42 -07:00
Jason Volk
926a125303 modules/console: Improve/add db__cache subcmds. 2018-08-18 18:00:45 -07:00
Jason Volk
5cd58caa48 modules/console: Add net listen cmd to add server listening sockets. 2018-08-17 12:51:48 -07:00
Jason Volk
19b4e58944 ircd:Ⓜ️ Rename modules map to imports. 2018-08-14 15:51:57 -07:00
Jason Volk
8fb580aaf5 configure/ircd: Overhaul install system directory related. 2018-08-12 16:30:51 -07:00
Jason Volk
7f1dc09d52 modules/console: Add room members count cmd. 2018-07-05 15:59:51 -07:00
Jason Volk
918815a874 modules/console: Add db check cmd. 2018-07-05 15:59:26 -07:00
Jason Volk
5d79f0e83b modules/console: Checkin various cmds' accumulated vmopts; run head reset after sync cmd. 2018-06-12 01:00:14 -07:00
Jason Volk
c352822d94 modules/m_room: Add util to force event into present state w/ console cmd. 2018-06-12 01:00:14 -07:00
Jason Volk
912562f469 ircd:Ⓜ️:vm: Checkpoint phase-as-class skeleton. 2018-06-12 01:00:14 -07:00
Jason Volk
5c919d5503 modules/console: Add reqs optarg to client listing cmd. 2018-06-10 23:07:20 -07:00
Jason Volk
3adf45ddc0 modules/console: Cleanup conformity of output from mem cmd. 2018-06-09 14:41:35 -07:00
Jason Volk
acddfa77f8 ircd::allocator: Add mallinfo to string support w/ console command. 2018-06-09 14:37:31 -07:00
Jason Volk
b198e9bef1 modules/console: Add feds auth cmd. 2018-06-08 20:43:59 -07:00
Jason Volk
c9e847cf58 modules/console: Add auth events to fed head cmd. 2018-06-08 20:34:00 -07:00
Jason Volk
1c4e8564b7 modules/console: Add manual user read receipt cmd. 2018-06-08 20:26:14 -07:00
Jason Volk
a683c52c66 modules/console: Add stage broadcast cmd. 2018-06-08 20:25:53 -07:00
Jason Volk
cd611f4245 modules/console: Catch verify errors in fed event. 2018-06-07 18:37:15 -07:00
Jason Volk
ca1507cd48 modules/console: Add user register cmd. 2018-06-07 13:28:50 -07:00
Jason Volk
252b78b660 modules/console: Add fed frontfill cmd. 2018-06-03 19:25:17 -07:00
Jason Volk
289d855bf2 modules/console: Add empty prev_state in default stage event. 2018-06-03 19:17:03 -07:00
Jason Volk
d437042f38 modules/console: Various improvements to stage. 2018-06-02 14:46:06 -07:00
Jason Volk
e90ed4d41a modules/console: Rename compose to stage. 2018-06-02 09:07:46 -07:00
Jason Volk
6cd9ad2d6f modules/m_room: Checkin room__herd w/ console cmd. 2018-06-01 17:20:35 -07:00
Jason Volk
9a32f006d7 modules/console: Add compose make vector. 2018-06-01 17:15:56 -07:00
Jason Volk
89f3c538a1 modules/console: Add compose make_auth cmd. 2018-06-01 16:12:09 -07:00
Jason Volk
84b2af6b98 modules/console: Add compose make_prev cmd. 2018-06-01 16:11:47 -07:00
Jason Volk
e798d81306 modules/console: Add event visible diagnostic cmd. 2018-05-31 11:13:15 -07:00
Jason Volk
3b7df8069b modules/console: Add room visible diagnostic cmd. 2018-05-31 11:09:33 -07:00
Jason Volk
289f9faf4a modules/console: Add argument to list single peer; left justify hostname. 2018-05-31 10:48:41 -07:00
Jason Volk
bb779b03e9 modules/m_room: Add is_complete(room) diagnostic w/ console cmd. 2018-05-31 09:18:57 -07:00
Jason Volk
c7155c3835 modules/console: List user read ignores when target is omitted. 2018-05-31 02:48:09 -07:00
Jason Volk
f37e090233 modules/client/rooms/receipt: Support read.ignore for rooms and senders; update console cmd. 2018-05-30 13:32:27 -07:00
Jason Volk
411d637c84 modules/console: Add compose send cmd. 2018-05-30 10:05:23 -07:00
Jason Volk
7471417091 modules/console: Add compose copy cmd. 2018-05-30 10:05:01 -07:00
Jason Volk
60fcb54815 modules/console: Add options param for compose final cmd. 2018-05-30 10:04:44 -07:00
Jason Volk
fd0648471f modules/console: Add tag commit count to peer table. 2018-05-30 08:18:40 -07:00
Jason Volk
9787885ca4 modules/console: Add peer close cmd. 2018-05-30 04:59:05 -07:00
Jason Volk
8a173d802d modules/console: Use fs::fd for loopy io. 2018-05-30 04:59:04 -07:00
Jason Volk
fea14c2d41 modules/console: Fix user room presence query event type. 2018-05-29 13:02:28 -07:00
Jason Volk
5f067c2ce6 modules/console: Add peer cancel cmd. 2018-05-29 12:10:51 -07:00
Jason Volk
7bbcf63d8a modules/console: Update the m_room/head_modify prototype. 2018-05-27 08:39:49 -07:00
Jason Volk
8dc3e7c758 modules/console: Add compose finalizer convenience. 2018-05-27 08:39:49 -07:00
Jason Volk
0d833cda4f ircd:Ⓜ️ Add templated payload for hook. 2018-05-26 22:12:11 -07:00
Jason Volk
9a697783a9 modules/client/rooms/receipt: Add feature to not send read receipts to certain users. 2018-05-26 05:28:49 -07:00
Jason Volk
42af033421 modules/s_conf: Provide linkage for conf "rehash" w/ console cmd. 2018-05-25 20:37:33 -07:00
Jason Volk
d77ab74289 modules/m_room: Add manual head modify w/ console cmd suite. 2018-05-25 19:35:29 -07:00
Jason Volk
67e31ed481 modules/console: Add conf item for events dump buffer size; use various size constants. 2018-05-25 18:35:40 -07:00
Jason Volk
a45365ee98 ircd::allocator: Add global allocator profiling suite. 2018-05-25 03:07:30 -07:00
Jason Volk
e2f77e9873 modules/console: Appropriate type in events iteration closures. 2018-05-24 21:36:20 -07:00
Jason Volk
b38bac6a74 modules/console: Allow direction argument for all events iteration ala room events. 2018-05-24 21:32:20 -07:00
Jason Volk
6e3a6d171e modules/console: Move event__dump to events__dump. 2018-05-24 21:00:16 -07:00
Jason Volk
ff21175036 ircd::db: Integrate checkpointing with database name and path schema. 2018-05-24 20:52:49 -07:00
Jason Volk
4ce29f1d22 ircd::db: Add cache clear interface w/ console cmd. 2018-05-24 01:18:58 -07:00
Jason Volk
77755a2ab4 ircd::db: Add interface to rocksdb iostats w/ console cmd. 2018-05-23 16:57:49 -07:00
Jason Volk
91dbd0d58e modules/console: Optimize the room members read query here. 2018-05-23 16:49:41 -07:00
Jason Volk
7d82b27907 modules/console: Default to membership=join for rooms members read; no head on fed backfill. 2018-05-23 16:29:17 -07:00
Jason Volk
1c20df652b ircd::db: Elaborate interface to the rocksdb perf_context. 2018-05-23 16:27:44 -07:00
Jason Volk
08d8ea02b8 modules/console: Hide db tickers of zero unless -a; tweak db base cmd output. 2018-05-23 04:16:30 -07:00
Jason Volk
ac4e6b23f4 modules/m_room: Add preliminary room turbulence analysis. 2018-05-23 02:03:29 -07:00
Jason Volk
31ceecc838 modules/console: Make the default_synapse a conf::item. 2018-05-23 00:46:21 -07:00
Jason Volk
120e296756 modules/console: Increase the default synapse. 2018-05-23 00:43:25 -07:00
Jason Volk
67ddd4bf87 modules/console: Add preliminary composer suite. 2018-05-22 23:02:37 -07:00
Jason Volk
8b15512849 ircd::db: Add database's unique id string interface. 2018-05-22 17:01:01 -07:00
Jason Volk
078b991621 modules/console: Accept a list of ctx id arguments to cmds. 2018-05-22 05:49:38 -07:00
Jason Volk
4cc8ba0b79 modules/m_room: Add head reset w/ console cmd. 2018-05-22 05:16:36 -07:00
Jason Volk
8e804ff48d modules/m_room: Add head rebuilder w/ console cmd. 2018-05-22 02:58:21 -07:00
Jason Volk
7707d0edd1 modules/console: Add client cmd argument to show single client by id. 2018-05-22 01:00:22 -07:00
Jason Volk
7e8ec1ca63 ircd::ctx: Support interrupt suppression; suite. 2018-05-22 00:22:56 -07:00
Jason Volk
198dd95573 modules/console: Output levels when no setter argument supplied. 2018-05-21 17:16:02 -07:00
Jason Volk
c22ae75010 modules/console: Black out log levels not compiled in. 2018-05-21 17:09:37 -07:00
Jason Volk
78513d7998 modules/console: Split room members cmd for full event and just user_id. 2018-05-20 20:18:19 -07:00
Jason Volk
c88ce8168b Revert "ircd:Ⓜ️ Convert hook to template."
This reverts commit 915076296f.
2018-05-20 18:39:32 -07:00
Jason Volk
1103eb7fa8 modules/console: Improve event cmd. 2018-05-20 05:26:14 -07:00
Jason Volk
4b554f4605 modules/console: Add ctx term cmd. 2018-05-19 18:49:08 -07:00
Jason Volk
34d1abb062 modules/console: Add event fetch + sign cmd. 2018-05-19 18:49:07 -07:00
Jason Volk
4be4186730 modules/console: Add state tuple output to room top cmd. 2018-05-19 18:49:07 -07:00
Jason Volk
0839d929c8 modules: Rename s_state to m_room. 2018-05-19 18:49:07 -07:00
Jason Volk
31d0f9daed ircd:Ⓜ️:dbs: Rename opts.idx to opts.event_idx; split internal related. 2018-05-19 18:49:07 -07:00
Jason Volk
11df089f30 modules/s_state: Preliminary tree rebuild from forward iteration; console cmd. 2018-05-19 18:49:06 -07:00
Jason Volk
99553dd7e7 modules/console: Adjust width of state root node id in output. 2018-05-19 18:49:06 -07:00
Jason Volk
7d6baec6b9 modules/console: Use params for cmd. 2018-05-19 18:49:06 -07:00