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

631 commits

Author SHA1 Message Date
Jason Volk
dc38da5566 ircd:Ⓜ️ Add missing ADL-converted index(event) calls. 2018-05-19 18:49:01 -07:00
Jason Volk
d9b5a7d26a ircd:Ⓜ️ Improve various keys interfaces. 2018-05-19 18:49:01 -07:00
Jason Volk
f160963c02 ircd::db: Split column compact range and files operations for interface. 2018-05-10 17:06:35 -07:00
Jason Volk
a4b1ab4b0e modules/console: Tweak conf list output table. 2018-05-08 16:07:27 -07:00
Jason Volk
c1b98f43b3 modules/console: Sort any vector of results for eval. 2018-05-07 16:52:00 -07:00
Jason Volk
b3a063bdac modules/console: Rework fed key query to allow vector of queries. 2018-05-07 16:34:59 -07:00
Jason Volk
d87bbb4d68 modules/console: Add vm stats cmds. 2018-05-07 16:34:59 -07:00
Jason Volk
957705ad13 modules/console: Add fed keys related. 2018-05-07 16:34:59 -07:00
Jason Volk
1d3f92069f modules/console: Improve output for ctx cmd; add table key. 2018-05-07 12:54:38 -07:00
Jason Volk
4c71ab8fd0 ircd:Ⓜ️🪝 Simplify collections with instance_lists. 2018-05-06 22:28:17 -07:00
Jason Volk
e90603b762 ircd:Ⓜ️🪝 Support arbitrary creation and deletion of hook::site instances. 2018-05-06 14:53:39 -07:00
Jason Volk
48055cb276 ircd::ctx: Add special termination interruption to yanagiba the stack. 2018-05-06 02:06:08 -07:00
Jason Volk
1059688d02 ircd::ctx: Add state for stack usage profiling; clarify some interfaces. 2018-05-05 23:14:11 -07:00
Jason Volk
f55304e0a1 ircd::ctx: Add slice total counter; move check_stack after timing sample. 2018-05-05 22:42:25 -07:00
Jason Volk
2167311b2e modules/console: Add fed state args for auth/state and output spacing. 2018-05-05 22:24:25 -07:00
Jason Volk
a3a628c439 modules/console: Add fed state arguments for auth and state. 2018-05-05 22:24:25 -07:00
Jason Volk
1bde28ac17 modules/console: Add event content argument for more detail. 2018-05-05 22:24:25 -07:00
Jason Volk
ea42490b4e ircd::ctx: Consolidate slice timing to tsc; add public interfacing. 2018-05-05 22:24:25 -07:00
Jason Volk
c98481c334 modules/console: Improve feds state output. 2018-05-05 16:49:17 -07:00
Jason Volk
4647e5f1cb modules/console: Checkpoint feds state w/ count output only. 2018-05-05 03:58:59 -07:00
Jason Volk
18634c122b modules/federation/federation: Improve version; move ostream to modules/console. 2018-05-05 03:36:47 -07:00
Jason Volk
f320cbf05d modules/console: Update the room head cmd. 2018-05-04 20:57:28 -07:00
Jason Volk
85db62ff17 modules/console: Add event bad cmd. 2018-05-04 20:43:05 -07:00
Jason Volk
fb53069c6f ircd::net::dns Include query in callback arguments to prevent any stale captures. 2018-05-01 18:56:22 -07:00
Jason Volk
25c43b6aa2 modules/console: Add host prefetch by room to cache warm for testing etc. 2018-05-01 14:51:13 -07:00
Jason Volk
f40831c8e6 modules/console: Alias host with net__host for ux. 2018-05-01 14:50:52 -07:00
Jason Volk
a03e467cff modules/console: Fetch a head event id as default to feds backfill param. 2018-04-30 22:49:29 -07:00
Jason Volk
1aa3c68724 modules/console: Remove branch for members iteration arguments. 2018-04-30 22:48:30 -07:00
Jason Volk
c03ca13f17 modules/federation/federation: Add feds backfill event grid w/ cmd. 2018-04-30 08:51:03 -07:00
Jason Volk
e6a204263e modules/media: Convey a user_id through the download stack for the file room. 2018-04-30 07:30:34 -07:00
Jason Volk
bc5ab4a1b1 modules/federation/federation: Add feds head w/ cmd. 2018-04-30 05:31:38 -07:00
Jason Volk
44b72023af modules/console: Add room members read cmd. 2018-04-28 21:18:52 -07:00
Jason Volk
42f10271ae modules/console: Add placement parameters in some room cmds. 2018-04-28 02:44:07 -07:00
Jason Volk
ec80e3ddef modules/console: Add room send (non-state) cmd. 2018-04-28 00:18:30 -07:00
Jason Volk
49a2cddc45 modules: federation/federation library; move feds commands (prelim). 2018-04-27 18:02:42 -07:00
Jason Volk
bfbeb388f2 modules/console: Fix the fed head user_id argument. 2018-04-27 16:52:02 -07:00
Jason Volk
8cf95a6ba0 modules/media: Add file download command. 2018-04-27 14:40:44 -07:00
Jason Volk
9168477e69 modules/console: Update room count w/ standard event_filter jsons. 2018-04-26 22:07:03 -07:00
Jason Volk
412c12fd69 modules/console: Fix the state dfs cmd rot. 2018-04-26 21:35:55 -07:00
Jason Volk
4c2f90273a modules/console: Rename room messages to events; add room roots; add special opt. 2018-04-26 21:35:55 -07:00
Jason Volk
8083a5d71c ircd::db: Add WAL fflush; move table flushes to "sort()"; adjust interfaces. 2018-04-26 17:19:29 -07:00
Jason Volk
2625a81279 modules/console: Add hook list / hook base cmd. 2018-04-26 15:32:47 -07:00
Jason Volk
63e662606a modules/console: Add room create cmd. 2018-04-26 15:09:30 -07:00
Jason Volk
d6ce6d9b43 modules/console: Various param improvements. 2018-04-25 23:35:46 -07:00
Jason Volk
96b353fa44 modules/console: Add file room cmd to get file room id. 2018-04-24 18:00:11 -07:00
Jason Volk
40a3263ad9 modules/console: Add a feds resend cmd to reaccept direct to sender. 2018-04-24 17:43:45 -07:00
Jason Volk
2b6fd1c985 modules/console: Allow lists of module names to mod cmds. 2018-04-24 17:41:25 -07:00
Jason Volk
0da3b60823 modules/console: Add console command to output user's room's origins. 2018-04-23 19:50:21 -07:00
Jason Volk
1e0d17935b modules/console: Supply index for event erase write operation. 2018-04-23 18:15:18 -07:00
Jason Volk
ed7375a653 modules/s_control: Move conf commands over to modules/console. 2018-04-23 17:20:00 -07:00
Jason Volk
1ab361a733 modules/console: Split net host cache cmd to participate in cmd tree. 2018-04-23 17:20:00 -07:00
Jason Volk
9817a41c18 modules/console: Add log base cmd w/ list of named loggers and status. 2018-04-23 17:20:00 -07:00
Jason Volk
bb0659fd83 modules/console: Add log level adjustment command. 2018-04-23 17:20:00 -07:00
Jason Volk
7e27be36d9 modules/console: Add log mask cmd suite; recategorize log mark cmd under log. 2018-04-23 17:20:00 -07:00
Jason Volk
3d5c8a5a2f modules/m_receipt: Deconflict receipt user_room type; add usefulness detection. 2018-04-21 16:52:19 -07:00
Jason Volk
0c7b5effaf modules/console: Plug in some of the command-by-mxid stubs. 2018-04-20 23:54:22 -07:00
Jason Volk
f9c00e4f25 modules/console: Add cmd to iterate room members by origin. 2018-04-20 23:54:22 -07:00
Jason Volk
6b32da764d ircd::client: Remove the asynchronous longpoll state. 2018-04-20 19:54:18 -07:00
Jason Volk
9e9a1449ee modules/console: Add cmd to set column or database runtime options. 2018-04-20 15:22:50 -07:00
Jason Volk
47df72b69b modules/console: Add cmd to mark the log. 2018-04-20 15:22:50 -07:00
Jason Volk
6f90708e46 modules/console: Add cmd to dump info to log. 2018-04-20 15:22:50 -07:00
Jason Volk
fcf17db132 ircd: Various fixes / cleanup. 2018-04-20 15:22:49 -07:00
Jason Volk
885e46788b modules/console: Add ctx interrupt cmd. 2018-04-20 00:51:21 -07:00
Jason Volk
e586e22007 modules/console: Add event cmd idx argument. 2018-04-20 00:44:45 -07:00
Jason Volk
f66acf6f8e modules/console: Add ctx base cmd w/ fallback to ctx list. 2018-04-20 00:44:45 -07:00
Jason Volk
0d4176a960 modules/console: Add events subcommand accepting filter-JSON argument. 2018-04-19 14:23:47 -07:00
Jason Volk
a91c4314d4 modules/console: Add room top command. 2018-04-18 15:05:15 -07:00
Jason Volk
7b514deb80 modules/console: Add db base cmd w/ delegation to db list for empty arguments. 2018-04-18 14:27:18 -07:00
Jason Volk
7f3919dd17 ircd:Ⓜ️ Split events iterations into namespace. 2018-04-18 01:25:54 -07:00
Jason Volk
3b7b6f815e modules/console: Add db bytes command. 2018-04-17 14:14:00 -07:00
Jason Volk
359ff91316 modules/console: Add db stats convenience command to passthru to prop rocksdb.stats. 2018-04-17 13:43:10 -07:00
Jason Volk
f0be8745b7 modules/console: Convert event dumper to use vm sequence iteration. 2018-04-16 23:30:14 -07:00
Jason Volk
f06505a967 modules/console: Basic vm events iteration command. 2018-04-16 16:01:10 -07:00
Jason Volk
e009d6763e ircd::db: Fix issues with txn interface. 2018-04-16 15:20:08 -07:00
Jason Volk
39a5272ee3 modules/console: Improve the events database dump process. 2018-04-15 22:33:44 -07:00
Jason Volk
7b54dba291 ircd::db: Expose an interface for some counters; add ticker command. 2018-04-15 16:43:09 -07:00
Jason Volk
0c78bf7a9b ircd::db: Add compaction interface. 2018-04-15 02:42:57 -07:00
Jason Volk
f0dc31d284 modules/console: Add ability to query prop for all columns with "**" key. 2018-04-14 22:01:25 -07:00
Jason Volk
3b7816763e modules/console: Tweak formatting for net host cache list. 2018-04-14 18:17:02 -07:00
Jason Volk
ee5c1f27f2 modules/console: Improve formatting for client list output. 2018-04-14 17:34:07 -07:00
Jason Volk
428e209995 modules/console: Filter error peers by default unless argument. 2018-04-14 00:51:58 -07:00
Jason Volk
f4015c597e modules/console: Make mod list the mod base cmd. 2018-04-14 00:51:30 -07:00
Jason Volk
431d5cfc02 modules/console: Add feds version command. 2018-04-13 23:55:38 -07:00
Jason Volk
e35338b5b2 modules/console: Improve room messages command; incorporate limit argument. 2018-04-13 22:46:31 -07:00
Jason Volk
b95c27826b modules/console: Command to only iterate peers with errors. 2018-04-13 20:02:48 -07:00
Jason Volk
db8972c0ef modules/console: Add client base command to explore the client::list. 2018-04-13 17:40:37 -07:00
Jason Volk
1143789f35 modules/console: Move net peer commands out of net; increase net host cache output widths. 2018-04-13 16:31:37 -07:00
Jason Volk
f557f26322 modules/console: Rename exec cmd to eval; add eval base cmd. 2018-04-13 14:47:17 -07:00
Jason Volk
d07da44718 modules/console: Add user rooms command. 2018-04-13 14:04:36 -07:00
Jason Volk
90597bc59c modules/console: Complete the db prop command. 2018-04-12 23:07:45 -07:00
Jason Volk
345870feb9 modules/console: Add basic user read command. 2018-04-12 02:38:56 -07:00
Jason Volk
a41420d9e5 modules/console: Add user presence iteration command. 2018-04-12 02:27:31 -07:00
Jason Volk
b305e72cef modules/console: Add feds event command with existential consensus report. 2018-04-11 01:28:01 -07:00
Jason Volk
8dd0c56f7d modules/console: Various fixes; buffer size; params. 2018-04-10 21:04:52 -07:00
Jason Volk
9ed97730e6 modules/console: Command to clear all peer errors. 2018-04-10 21:04:25 -07:00
Jason Volk
d12b4bd259 modules/console: db flush and sync commands. 2018-04-09 21:23:54 -07:00
Jason Volk
4b201b026e modules/console: Preliminary rooms list base command. 2018-04-09 20:12:03 -07:00
Jason Volk
564338b2fe modules/console: Add fed public_rooms command. 2018-04-08 22:11:28 -07:00
Jason Volk
130c4970b6 modules/console: Sort fed event_auth output by depth. 2018-04-08 12:52:27 -07:00
Jason Volk
9df6d127af ircd:Ⓜ️:v1: event_auth convenience conversion; fed event_auth output. 2018-04-08 12:45:05 -07:00
Jason Volk
99ce3232d4 modules/console: Fix errors. 2018-04-08 12:41:26 -07:00
Jason Volk
d7b3a56882 modules/console: Improve room get (event) cmd; use params; add output opts. 2018-04-08 12:35:27 -07:00
Jason Volk
b497ce35da modules/console: Add fed event_auth command. 2018-04-08 12:35:27 -07:00
Jason Volk
2770c19ac2 modules/console: Source all timeout values from the options structure. 2018-04-07 02:01:04 -07:00
Jason Volk
e7c7a295c4 modules/console: Add an eval option to fed event. 2018-04-07 02:00:30 -07:00
Jason Volk
ac0d7e9a78 modules/console: Minor fixes. 2018-04-07 02:00:08 -07:00
Jason Volk
ade6ad79d9 modules/console: Support alias to id translation for room cmd suite. 2018-04-06 22:23:18 -07:00
Jason Volk
76e5543efa modules/console: Support alias to id translation for fed command suite. 2018-04-06 22:23:18 -07:00
Jason Volk
124102bf2f modules/console: Add fed send command. 2018-04-06 22:23:18 -07:00
Jason Volk
904ec2455f modules/console: Add a fed sync command. 2018-04-06 03:43:31 -07:00
Jason Volk
8d0681e7b1 ircd::ctx: Eliminate the std future_status and simplify our real-use interfaces. 2018-04-05 22:16:32 -07:00
Jason Volk
022bf95f7f modules/console: Fix fed__head remote opt; various cleanup; named params. 2018-04-05 21:16:51 -07:00
Jason Volk
e6e8a07e99 modules/console: Catch params exception for output to ostream rather than ircd::log. 2018-04-05 20:17:10 -07:00
Jason Volk
f38ed34533 modules/console: Minor cleanup; comments. 2018-04-05 20:01:13 -07:00
Jason Volk
aaf4c1f76b modules/console: Add user activation command suite. 2018-04-04 22:54:59 -07:00
Jason Volk
3d056c66d6 modules/console: Relax head/history eval opts for manual fed state/backfill. 2018-04-04 22:54:59 -07:00
Jason Volk
1217d48fc1 modules/console: Add command to change a user's password. 2018-04-04 22:54:59 -07:00
Jason Volk
9fa017e3aa modules/console: Use named params to parse room__set cmd args. 2018-04-04 22:54:59 -07:00
Jason Volk
86b0f8248f modules/console: Add db command to list files. 2018-04-03 11:52:14 -07:00
Jason Volk
7b38d216b4 ircd:Ⓜ️:v1: Fix user devices query and associated console cmd. 2018-04-02 18:40:52 -07:00
Jason Volk
7392469cad modules/console: Fix missing event_id argument option in fed state cmd. 2018-04-02 18:40:52 -07:00
Jason Volk
37ab0ad00d modules/console: Add fed command to get state ids. 2018-04-02 18:40:52 -07:00
Jason Volk
16154a21df modules/console: Command to unload a loaded module; + report on reload. 2018-03-28 01:29:58 -07:00
Jason Volk
09f345c7b9 modules/console: Add fed groups console command. 2018-03-28 01:29:58 -07:00
Jason Volk
fc212e8399 modules/console: Command to load a module that isn't already loaded. 2018-03-28 00:13:32 -07:00
Jason Volk
98c9e199da modules/console: Add command to list deltas in a single txn by seqnum. 2018-03-27 21:44:01 -07:00
Jason Volk
ce715f62c7 modules/console: Add manual room join w/ injection placement event_id. 2018-03-27 21:44:01 -07:00
Jason Volk
47edaed3a6 ircd::server: Add stats for total bytes up and down to peer and links. 2018-03-26 23:29:58 -07:00
Jason Volk
270120c922 ircd::server: Rename _total() to _size() for bytes accounting. 2018-03-26 23:29:58 -07:00
Jason Volk
16483aaea2 modules/console: Support alternative HTML output; start with 'net peer'. 2018-03-26 00:33:26 -07:00
Jason Volk
1ceaa73e5b modules/console: Extend arguments for options string. 2018-03-26 00:12:16 -07:00
Jason Volk
68382cb209 modules/console: Permute the output type again, now with custom wrapper. 2018-03-26 00:04:47 -07:00
Jason Volk
60a28ab5a8 modules/console: Eliminate output stream global; improve output related; various cleanup. 2018-03-25 23:40:35 -07:00
Jason Volk
e4194e3589 modules/console: Add room alias type to room id cmd. 2018-03-25 18:33:40 -07:00
Jason Volk
f7458f5315 modules/console: Self-reflecting console command tree. 2018-03-25 17:59:07 -07:00
Jason Volk
154f7a9f59 modules/console: Command to raw erase event and rel metadata from db. 2018-03-24 23:29:46 -07:00
Jason Volk
907f2d0435 modules/console: Add net__peer__version to list all gathered peer.server_name. 2018-03-24 18:06:03 -07:00
Jason Volk
429095636f modules/console: Fed event cmd hashes and verifies w/ report. 2018-03-23 00:22:05 -07:00
Jason Volk
5d41b4e00b modules/console: Fix fed event remote argument. 2018-03-23 00:19:55 -07:00
Jason Volk
287b5d6374 modules/console: fed state command mimics fed backfill w/ eval. 2018-03-23 00:19:55 -07:00
Jason Volk
635e09c80e modules/console: Add cmd to iterate event_id txns from seq num w/ limit. 2018-03-22 22:27:12 -07:00
Jason Volk
fcbc2bf650 ircd::db: Add database checkpointing feature. 2018-03-22 20:08:50 -07:00
Jason Volk
977ebd4e47 modules/console: Start a conf cmd; add direct list subcmd for now. 2018-03-22 14:44:54 -07:00
Jason Volk
09923ff758 ircd::server: Add external interface to clear a peer error; w/ console command. 2018-03-12 14:20:39 -07:00
Jason Volk
e123cfb395 modules/console: Add various throwing timeouts. 2018-03-09 17:10:45 -08:00
Jason Volk
b284f707e5 ircd:Ⓜ️:v1: Support query for client_keys; add console command. 2018-03-09 17:10:45 -08:00
Jason Volk
9b6ef1189b ircd:Ⓜ️:v1: Support query for user_devices; add console command. 2018-03-09 17:10:45 -08:00
Jason Volk
003544edad modules/console: Add fed backfill command. 2018-03-08 19:11:47 -08:00
Jason Volk
143c867ad8 modules: Rename s_console back to console so it's not mapped by ircd:Ⓜ️:modules. 2018-03-06 07:50:14 -08:00
Jason Volk
5c1cb57e9c modules: Reorg conf/console related; add s_control. 2018-03-05 05:24:45 -08:00
Jason Volk
9db8b9d6a5 modules/console: Add 'net node'; default list the nodes. 2018-03-03 10:17:05 -08:00
Jason Volk
69df7add10 modules/console: Add command to iterate the room::origins sequence. 2018-03-03 04:06:49 -08:00
Jason Volk
baa7a80b68 ircd: Various fixes; bump default db LRU cache sizes. 2018-03-02 08:02:20 -08:00
Jason Volk
15ec746fc6 modules/console: Add console command suite to view DNS caches. 2018-03-02 08:02:20 -08:00
Jason Volk
aecbf3ebd0 modules/console: Checkin the room state type count command. 2018-02-27 02:36:08 -08:00
Jason Volk
b555e3f446 ircd:Ⓜ️:v1/modules/console: Checkpoint changes to buffers and opts for requests.
Issues:
- The move requirement here for opts is ugly without a better ctor.
- The ad hoc buffer reassignments in m::v1 need to be improved.
2018-02-26 22:02:47 -08:00
Jason Volk
42fcdf392e modules/console: Checkpoint additional fed commands. 2018-02-24 23:54:56 -08:00
Jason Volk
57dc15dba4 modules/console: Add debugmode toggle cmd; test cmd frame; preliminary mxid-deduction stubs. 2018-02-21 16:18:44 -08:00
Jason Volk
fa8e2e7f0e modules/console: Show error where eval stopped in exec. 2018-02-19 20:56:45 -08:00
Jason Volk
8fd89229ef modules/console: Support exec for any specific room_id/event_id/sender. 2018-02-19 20:56:45 -08:00
Jason Volk
0f9fe4a712 modules/console: Fix object size; default bad_command{} in room command. 2018-02-19 19:45:44 -08:00
Jason Volk
d869c479c6 modules/console: Sort the mod list. 2018-02-19 19:45:44 -08:00
Jason Volk
0126fd9701 modules/console: Add fed command handler; add fed version command. 2018-02-19 19:45:44 -08:00
Jason Volk
2e68f18328 modules/console: Add mod reload command. 2018-02-19 00:37:19 -08:00
Jason Volk
632b1e6f0f ircd:Ⓜ️ Curse the cursor.
modules/console: Update dump; add errcount.
2018-02-16 11:53:42 -08:00
Jason Volk
7c030e1af2 modules/console: Add some room commands. 2018-02-15 16:35:50 -08:00
Jason Volk
5a73e631a6 modules/console: Add command to iterate messages forward and backward with seek to depth. 2018-02-13 15:08:52 -08:00
Jason Volk
535232603c modules/console: Add room_id argument to exec command. 2018-02-10 13:12:23 -08:00
Jason Volk
b238818522 ircd:Ⓜ️ Convert room::members/origins iters to test proto; console update; various. 2018-02-10 13:05:01 -08:00
Jason Volk
7f25e368bc modules/console: Add a room command suite. 2018-02-08 21:00:50 -08:00
Jason Volk
7bff223748 modules/console: Adjust the state commands to use a root node ID arg for now. 2018-02-08 13:27:49 -08:00
Jason Volk
0cc37daf9d modules/console: Improve the exec command. 2018-02-08 13:27:48 -08:00
Jason Volk
f5adae46d1 modules/console: Move the preliminary exec command over to conmod. 2018-02-08 10:45:37 -08:00
Jason Volk
a517acea60 modules/console: Add db command with list default sub-command. 2018-02-07 23:15:17 -08:00
Jason Volk
f925c9e5df modules/console: Add command to backup the events database as json::vector to file.
This same vector can be replayed into a new database with an "exec" command.
2018-02-07 00:24:54 -08:00
Jason Volk
da38c9164f modules/console: Partially move/add over key/event command trees. 2018-02-07 00:24:54 -08:00
Jason Volk
02edc327a3 modules/console: Add net command; move net host subcommand into module. 2018-02-06 13:20:24 -08:00
Jason Volk
ee0d6423f3 ircd: Move params back into ircd::util... (w/ manual inclusion). 2018-02-06 13:20:24 -08:00
Jason Volk
44f8868598 modules: Add reloadable console module with library of command handlers. 2018-02-06 12:50:25 -08:00
Jason Volk
b592b69b86 What is the Matrix? Control. 2017-03-10 17:51:18 -08:00
Jason Volk
53f355e41d modules: Add preliminary console to support js-style console.log() et al. 2016-11-25 19:23:49 -08:00