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

2295 commits

Author SHA1 Message Date
Jason Volk
a1c8845e1e ircd:Ⓜ️🧾 Normalize module definition names / layout. 2019-02-11 15:57:01 -08:00
Jason Volk
38d4718f20 ircd:Ⓜ️:presence: Normalize module definition names. 2019-02-11 15:57:01 -08:00
Jason Volk
d2744f02c9 modules/console: Improve UX for room events with missing depth=0. 2019-02-11 11:06:11 -08:00
Jason Volk
1babba0e98 modules/console: Add an mc register cmd. 2019-02-11 10:49:34 -08:00
Jason Volk
7531c4b07c modules/console: Start an mc section; add register available cmd. 2019-02-11 10:38:26 -08:00
Jason Volk
2b4e63f6f0 ircd::mods: Rename and expose exports map; add/update console cmds. 2019-02-09 18:43:05 -08:00
Jason Volk
8baf2f608c modules/console: Add more ref detail to event info cmd. 2019-02-09 18:43:04 -08:00
Jason Volk
68be0a321e ircd:Ⓜ️:event: Convert modular components to demangled style. 2019-02-09 18:43:04 -08:00
Jason Volk
6df8fcf244 ircd::mods: Improve return type deduction. 2019-02-09 14:44:01 -08:00
Jason Volk
3151931ee4 Linker options package. 2019-02-08 18:24:20 -08:00
Jason Volk
d39d50e18a modules/federation: Fix missing user_keys / user_devices recipe; fix errors. 2019-02-08 18:05:39 -08:00
Jason Volk
8fd1b57e86 modules/client/sync: Stub device related sync modules. 2019-02-08 09:18:39 -08:00
Jason Volk
5d3b6c0a0b modules/federation/send: Use array eval here. 2019-02-08 07:55:44 -08:00
Jason Volk
80a25cf352 ircd:Ⓜ️:event::auth: Add auth chain traversal. 2019-02-08 07:54:03 -08:00
Jason Volk
2b82dfec76 ircd:Ⓜ️:event::auth: Add iteration by type. 2019-02-08 07:53:39 -08:00
Jason Volk
7ecf7ecb04 modules/console: Add event auth cmd suite. 2019-02-08 03:19:55 -08:00
Jason Volk
e94e74e5e5 modules/m_event: Add event auth rebuild routine. 2019-02-08 03:19:54 -08:00
Jason Volk
30ab2eb9d7 modules/console: Use pretty output for refs cmd. 2019-02-08 03:19:54 -08:00
Jason Volk
4f4d5189c9 modules/m_room: Fix is_complete routine. 2019-02-07 23:54:10 -08:00
Jason Volk
2574ea72a5 modules/console: Fix path traverse regression. 2019-02-07 23:40:43 -08:00
Jason Volk
298750125a modules/console: Determine the event_id for the state request out here if possible. 2019-02-07 23:25:30 -08:00
Jason Volk
1b2c8bf83c modules/federation: Stub user_devices / user_keys. 2019-02-07 23:09:31 -08:00
Jason Volk
b430661bba modules/federation: Stub query_auth (for metrics). 2019-02-07 23:09:30 -08:00
Jason Volk
72a3ff2856 ircd: Employ path_string() at various callsites. 2019-02-07 22:16:19 -08:00
Jason Volk
3528bb41bc modules/console: pretty_oneline() event info references. 2019-02-07 08:19:28 -08:00
Jason Volk
657c8e6902 modules/m_presence: Gief this message a chance in the debuglog. 2019-02-07 08:19:27 -08:00
Jason Volk
34d78c1930 modules/console: Replace w/ fed user keys query cmd. 2019-02-07 08:19:27 -08:00
Jason Volk
f21c08fb19 modules/m_event: Add event refs rebuild util w/ console cmd. 2019-02-06 17:50:10 -08:00
Jason Volk
2b3aec68ee modules/console: Add ref list; improve output of event info cmd. 2019-02-06 17:18:39 -08:00
Jason Volk
4fa07b58a7 modules/console: Add event refs cmd. 2019-02-06 17:18:38 -08:00
Jason Volk
725dd52185 modules/webhook: Improve hmac error handling. 2019-02-05 19:05:17 -08:00
Jason Volk
6cb4020034 ircd:Ⓜ️:dbs: Rename head/refs options to room_head/room_refs; update vmopts and sites. 2019-02-05 19:05:17 -08:00
Jason Volk
59286ec80b modules/console: Tweak formatting; improve params. 2019-02-05 03:56:52 -08:00
Jason Volk
d60a7622e1 modules/webhook: Reverse push list order. 2019-02-05 02:33:51 -08:00
Jason Volk
00c88ca073 modules/vm: Replacements with scope_restore template. 2019-02-05 01:58:12 -08:00
Jason Volk
11af393444 modules/client/sync/rooms/timeline: Bail faster if no room head idx found. 2019-02-05 01:58:12 -08:00
Jason Volk
03cb4a613b modules/m_room_member: Fix improper hook match on local invites. 2019-02-04 22:50:51 -08:00
Jason Volk
25df42ea80 modules/webhook: Add watch handler. 2019-02-04 16:19:12 -08:00
Jason Volk
895358c48d modules/webhook: Minor cleanup; undress these definitions. 2019-02-04 16:18:35 -08:00
Jason Volk
6947c7e953 ircd:Ⓜ️ Move the state/send event iov composer into m_room. 2019-02-04 13:59:01 -08:00
Jason Volk
916afec37b modules/console: Add argument to show event's referenced json::object if available. 2019-01-26 17:30:42 -08:00
Jason Volk
8c5b1f283f modules/client/sync: Various range check fixes; simplify debug stats. 2019-01-26 17:26:05 -08:00
Jason Volk
e3f30546a0 modules/m_presence: Add commented log warning for presence spam. 2019-01-26 16:59:12 -08:00
Jason Volk
c080d5523c ircd:Ⓜ️:presence: Improve get() interface based on realistic usage needs. 2019-01-26 16:59:12 -08:00
Jason Volk
fc162b41b3 modules/client/sync: Add a next_batch param to the query args passed to the range upper-bound. 2019-01-26 15:33:11 -08:00
Jason Volk
80b3cd678e modules/client/sync: Reorg / deinline sync args related. 2019-01-26 13:34:57 -08:00
Jason Volk
938d8b09aa modules/webhook: Tweak github push handler formatting. 2019-01-25 17:27:40 -08:00
Jason Volk
05f39b03d6 modules/client/sync/rooms: Don't skip sync routines based on room head index. 2019-01-25 17:03:29 -08:00
Jason Volk
33601e88a1 modules/client/sync: Increase default fibers for now; relax assertion. 2019-01-25 16:32:26 -08:00
Jason Volk
54352bff36 modules/m_event: Add back membership to pretty_oneline(). 2019-01-25 15:42:58 -08:00
Jason Volk
d2deab7e50 modules/m_noop: Update header / comment. 2019-01-25 14:53:59 -08:00
Jason Volk
41b059addd modules/m_state: Add a state clear routine. 2019-01-25 13:59:34 -08:00
Jason Volk
5b3bee79a6 ircd::fs: Normalize buffering for path interface; add path features. 2019-01-25 11:49:24 -08:00
Jason Volk
2886924bf0 ircd::fs: Reorg path interface related. 2019-01-25 10:39:37 -08:00
Jason Volk
5b5a88c86a modules/console: Add prefix filter param to conf list cmd. 2019-01-24 15:58:01 -08:00
Jason Volk
02b471eb95 modules/console: Increase table width for conf list cmd. 2019-01-24 13:38:34 -08:00
Jason Volk
d64a49428e ircd:Ⓜ️ Demote membership from top-level key; remove from m::event tuple. 2019-01-24 12:52:26 -08:00
Jason Volk
5d3dd964a0 ircd:Ⓜ️:event: Move essential() stripping routines to module. 2019-01-24 12:05:58 -08:00
Jason Volk
64229eb755 ircd:Ⓜ️:vm: Expose json_source dbs option to vmopts interface. 2019-01-24 11:37:26 -08:00
Jason Volk
f1a6654f21 ircd:Ⓜ️ Remove any options which toggle full json persistence. 2019-01-24 11:37:26 -08:00
Jason Volk
92154be55d ircd:Ⓜ️ Use event::keys::selection bitset in event::fetch::opts rather than event::keys. 2019-01-23 15:36:02 -08:00
Jason Volk
e491cf5694 modules/webhook: Add github issues handler. 2019-01-22 15:30:49 -08:00
Jason Volk
c30dfac408 modules/webhook: Simplify string escapes. 2019-01-21 15:34:57 -08:00
Jason Volk
e2431a3f18 modules/client/sync: Use better ctx::parallel interface for non-trivial arguments. 2019-01-21 12:40:40 -08:00
Jason Volk
963d207bf6 modules/webhook: Handle github pull_request hook type. 2019-01-20 14:12:51 -08:00
Jason Volk
be65ec7417 modules/webhook: Improve find_party; use url of found party. 2019-01-20 13:57:15 -08:00
Jason Volk
0a3db57bc2 modules/webhook: Use dynamic buffer for output. 2019-01-19 16:56:20 -08:00
Jason Volk
c634b23840 modules/webhook: Add github ping handler. 2019-01-19 16:23:20 -08:00
Jason Volk
89cd08ac22 modules: Preliminary webhook module. 2019-01-19 16:17:38 -08:00
Jason Volk
af3fe14e6d modules/client/sync/rooms: Checkpoint. 2019-01-18 14:54:04 -08:00
Jason Volk
573bda441d modules/console: Adjust aio cmd formatting. 2019-01-18 14:33:42 -08:00
Jason Volk
0c3bf20d33 modules/s_listen: Allow connections only after runlevel RUN; add log msgs. 2019-01-18 10:14:38 -08:00
Jason Volk
aeea524ac9 ircd::net: Improve listener interface w/ instance reference in callbacks. 2019-01-18 10:14:37 -08:00
Jason Volk
d639eceba2 ircd: Move runlevel related into ircd::run:: namespace. 2019-01-18 09:08:56 -08:00
Jason Volk
c5598ed60a modules/client/sync/rooms/state: Use post-fetch key filter here for now; checkpoint. 2019-01-16 18:39:40 -08:00
Jason Volk
c3dcd5f586 modules/client/sync/rooms/state: Add fetch options w/ json request. 2019-01-16 16:46:01 -08:00
Jason Volk
9cbed56017 modules/console: Show some more event cmd info. 2019-01-16 16:38:14 -08:00
Jason Volk
f857e25ea7 ircd:Ⓜ️:event: Add a source json::object as a member. 2019-01-16 14:35:10 -08:00
Jason Volk
d798124c03 modules/media: Prevent saving full JSON for internal media and presence events. 2019-01-16 13:51:44 -08:00
Jason Volk
becbcec430 modules/console: Finesse compressed cache statistics back into db cache output. 2019-01-16 13:00:40 -08:00
Jason Volk
5ae495031f ircd:Ⓜ️:event::fetch: Improve fetch options related; minor cleanup. 2019-01-16 12:19:25 -08:00
Jason Volk
4b88fcd157 ircd:Ⓜ️:vm: Factor opts.json into db::txn's reserve bytes. 2019-01-15 19:03:52 -08:00
Jason Volk
52a9ca9635 ircd:Ⓜ️:vm: Add json vm option. 2019-01-15 19:03:52 -08:00
Jason Volk
15c13d5c9b modules/console: Improve event info cmd. 2019-01-15 15:36:18 -08:00
Jason Volk
7c998e48ed ircd:Ⓜ️:dbs: Cleanup / reorg write-indexers stack. 2019-01-15 13:00:15 -08:00
Jason Volk
cbf456a388 ircd: Rename and refactor ircd::assertion interface into ircd::panic. 2019-01-13 16:37:31 -08:00
Jason Volk
3fae228c1a ircd::json: Simplify json::object interface: eliminate path traversing overloads. 2019-01-12 16:47:48 -08:00
Jason Volk
8421dd46b6 modules/client/register: Support the inhibit_login option. 2019-01-12 12:34:34 -08:00
Jason Volk
0f6363f3e5 modules/client/register: Fix flows regression; minor cleanup. 2019-01-12 12:33:00 -08:00
Jason Volk
3a3dfe40d1 modules/client: Implement the register/available endpoint. 2019-01-12 11:51:57 -08:00
Jason Volk
6a0b384d8f modules/console: Workaround https://github.com/facebook/rocksdb/issues/4878 2019-01-11 18:15:46 -08:00
Jason Volk
ba5701acca modules/client/sync: Improve parallel; comments; dynamic memory for large buffers. 2019-01-11 17:41:23 -08:00
Jason Volk
fe15e0d6a6 ircd::db: Use the proper cache query here. 2019-01-11 17:40:27 -08:00
Jason Volk
47bda85f3f modules/console: Add event cached cmd. 2019-01-11 17:40:14 -08:00
Jason Volk
56b1e760cf modules/client/sync/rooms: Create a directory for ephemeral. 2019-01-11 13:58:23 -08:00
Jason Volk
11f905274e modules/client: Use the event::idx sequence difference for unsigned.age. 2019-01-10 16:58:44 -08:00
Jason Volk
86ae182f64 modules/client/sync: Fix rooms.ephemeral item. 2019-01-10 16:58:44 -08:00
Jason Volk
f1d5b0798e modules/m_event: Improve pretty_oneline() for edu's. 2019-01-10 16:58:43 -08:00
Jason Volk
4c495e1f44 modules/client/sync: Various cleanup / simplify. 2019-01-10 16:58:37 -08:00
Jason Volk
26ee1c9b5c ircd:Ⓜ️ Minor cleanup. 2019-01-10 13:16:41 -08:00
Jason Volk
2d860b25a8 ircd:Ⓜ️:sync: Checkpoint. 2019-01-09 20:39:12 -08:00
Jason Volk
6c96e0d785 ircd:Ⓜ️:events: Simplify the for_each iteration interface. 2019-01-09 17:11:00 -08:00
Jason Volk
d3adde8ef4 modules/s_dns_resolver: Compare server address state; add debug log on IO's. 2019-01-08 17:17:41 -08:00
Jason Volk
174213586a modules/federation: Use the m::log logger here. 2019-01-08 17:17:41 -08:00
Jason Volk
443905859f ircd:Ⓜ️:sync: Additional abstraction; checkpoint polylog /sync modules. 2019-01-08 17:17:41 -08:00
Jason Volk
af6fcb24f4 modules/client/sync: Add a README to the /sync directory. 2019-01-08 12:51:06 -08:00
Jason Volk
f9db516edc modules/console: Add user tokens cmd. 2019-01-07 11:24:03 -08:00
Jason Volk
5ed81532ba modules/Makefile: Minor cleanup. 2019-01-05 18:36:37 -08:00
Jason Volk
b878f577d5 ircd:Ⓜ️:user: Add a query for user to user visibility. 2019-01-04 14:47:46 -08:00
Jason Volk
61e88e75bc modules/client/sync: Additional sync items reorganization. 2019-01-04 14:47:01 -08:00
Jason Volk
86911226ed ircd:Ⓜ️ Preliminary modular client sync system. 2019-01-03 17:21:02 -08:00
Jason Volk
9324731136 modules/console: Count total bytes in db files cmd. 2018-12-31 14:25:13 -08:00
Jason Volk
af37529470 ircd:Ⓜ️:vm: Add a second sequence number; split out pdu write function. 2018-12-30 17:09:57 -08:00
Jason Volk
aa7333bd00 modules/vm: Fix format of propagated errors. 2018-12-30 16:12:52 -08:00
Jason Volk
a461e8a5aa modules/console: Improve output of client cmd. 2018-12-30 14:00:05 -08:00
Jason Volk
1f3dbe3948 modules: Use the global-dynamic tls-model for modules. 2018-12-29 19:43:17 -08:00
Jason Volk
0e58aceee9 modules/media: Optimize various event fetches. 2018-12-29 19:43:17 -08:00
Jason Volk
bccc2b5536 modules/s_dns_resolver: Stricter bounds checks on all operations. 2018-12-29 19:43:17 -08:00
Jason Volk
3466597981 ircd::fs: Various reorg; cleanup. 2018-12-29 19:43:17 -08:00
Jason Volk
8f9912b766 modules/s_conf: Optimize conf room queries. 2018-12-28 18:45:26 -08:00
Jason Volk
c93cd90db1 ircd::aio: Simplify stats. 2018-12-28 16:30:27 -08:00
Jason Volk
30dc2ce7ed ircd::fs: Various cleanup / renames. 2018-12-28 15:30:29 -08:00
Jason Volk
d3d06b90f8 modules/console: Update aio info cmd. 2018-12-27 14:58:04 -08:00
Jason Volk
3fd61ba361 modules/client/sync: Prefetching defaults to false for now. 2018-12-23 17:41:47 -08:00
Jason Volk
956a8e239c Use more aggressive tls-model options. 2018-12-23 17:36:35 -08:00
Jason Volk
b1bd4e8863 modules: Use the apropos matrix logger for various log messages. 2018-12-22 17:44:18 -08:00
Jason Volk
6e3cf1471f modules/console: Add ctx prof cmd. 2018-12-22 17:24:48 -08:00
Jason Volk
d5ffc6b0de ircd::ctx: Improve prof related; add full ticker of counters. 2018-12-22 15:17:18 -08:00
Jason Volk
cb2b3e7c16 ircd: Minor link options package. 2018-12-21 14:38:14 -08:00
Jason Volk
2c5d6bb7ba ircd::fs::aio: Preliminary io_submit queue to leverage disk controller optimizations. 2018-12-21 10:36:05 -08:00
Jason Volk
36c1b359ab modules/client/sync: Optimize the room state iteration strategy. 2018-12-19 15:05:07 -08:00
Jason Volk
605cce9ed1 ircd::db: Propagate the FlushOptions.allow_write_stall option; improve sort cmd. 2018-12-19 13:58:09 -08:00
Jason Volk
5a0a9989e4 ircd::log: Rename facility to level. 2018-12-19 12:52:08 -08:00
Jason Volk
7137280b05 modules/console: Use incremental reads from proc anyway. 2018-12-19 12:35:22 -08:00
Jason Volk
eaea2c40a4 modules/console: Add credits to console. 2018-12-19 12:35:22 -08:00
Jason Volk
a6f5895867 modules/console: Negate any ANSI colors in conf output. 2018-12-18 18:10:06 -08:00
Jason Volk
fae947d433 ircd::db: Add a background cancel interface w/ console cmd. 2018-12-16 18:37:51 -08:00
Jason Volk
183af6a449 modules/console: Simplify proc cmd listing output. 2018-12-15 20:29:54 -08:00
Jason Volk
e16eefb8fb modules/console: Add a proc cmd. 2018-12-15 18:17:59 -08:00
Jason Volk
70d4b32c3d ircd::db: Add interface for pause/continue of background work w/ console cmd. 2018-12-14 17:27:48 -08:00
Jason Volk
4387b092ad modules/console: Show request time in client list. 2018-12-13 12:26:44 -08:00
Jason Volk
04f3dc4d17 ircd::fs: Make fs::error inherit from std::system_error. 2018-12-12 17:32:24 -08:00
Jason Volk
62874ff498 ircd::db: Add src and dst level arguments to db::compact files interface. 2018-12-12 15:53:16 -08:00
Jason Volk
aac898a4b8 modules/console: Improve SST full info cmd output. 2018-12-12 14:48:07 -08:00
Jason Volk
bf8e6695e2 modules/console: Add db opts cmd. 2018-12-12 10:23:42 -08:00
Jason Volk
52344457ec modules/console: Various db info formatting tweaks. 2018-12-12 10:12:24 -08:00
Jason Volk
7f7ece5fb1 modules/console: Omit zero values in db infos. 2018-12-12 10:12:24 -08:00
Jason Volk
d7da57e073 ircd::db: Add log level interface w/ console cmd. 2018-12-12 10:12:23 -08:00
Jason Volk
8e11620100 ircd::db: Distinguish range compact from files compact in interface. 2018-12-11 16:30:28 -08:00
Jason Volk
e686f0fafe modules/console: Add file count to db files column cmd. 2018-12-10 19:33:12 -08:00
Jason Volk
ad449e3290 modules/vm: Fix redundancy in log message. 2018-12-10 18:54:58 -08:00
Jason Volk
f1556f880e modules/console: Split db compact into db compact files. 2018-12-10 18:44:41 -08:00
Jason Volk
4f1b9b6f6f modules/console: Tweak sst info output formatting. 2018-12-10 16:32:11 -08:00
Jason Volk
fc6be1fbc8 modules/console: Only compact files if range argument is not given. 2018-12-10 15:01:00 -08:00
Jason Volk
a6bd8ec9aa modules/console: Allow an all-column argument to db compact cmd. 2018-12-10 14:53:12 -08:00
Jason Volk
8d6c7e3576 ircd::db: Add WAL information interface w/ console cmd. 2018-12-10 14:14:55 -08:00
Jason Volk
f7792c085e modules/vm: Cleanup/simplify error handlers. 2018-12-10 13:14:39 -08:00
Jason Volk
45bf911952 ircd::conf: Add feature to toggle whether conf item is persisted in a db. 2018-12-08 16:27:32 -08:00
Jason Volk
5d3f6bf79e modules/webroot: Check if webroot path exists on load. 2018-12-08 15:53:47 -08:00
Jason Volk
1ba22a21ba ircd: Disperse accumulated global options as conf items in namespaces. 2018-12-08 15:36:34 -08:00
Jason Volk
587bf4e820 modules/console: Fix hostport parse; fix peer.hostcanon reference. 2018-12-07 12:47:23 -08:00
Jason Volk
0866cf4f7f modules/m_room: Minor formatting. 2018-12-06 19:20:30 -08:00
Jason Volk
6de17431ff ircd: Reverse arguments for url::encode()/decode(); minor reorg. 2018-12-06 16:41:47 -08:00
Jason Volk
c75ccd5a1c modules/console: Add cmd to display amount of a room's state in cache. 2018-12-03 17:35:16 -08:00
Jason Volk
2a2a8bcf86 modules/m_state: Checkpoint preliminary GC util. 2018-12-03 17:34:43 -08:00
Jason Volk
b025de1068 modules/m_room: Minor cleanup. 2018-12-03 17:32:21 -08:00
Jason Volk
b088ebf228 ircd:Ⓜ️:app: Add initial application service registration structure; start app handler directory. 2018-12-02 16:50:26 -08:00
Jason Volk
f44f1cf89d modules/client/sync: Fix sync timeout behavior. 2018-12-01 17:23:42 -08:00
Jason Volk
3f6ae85f8f ircd::db: Add automated column drop support; update existing descriptors. 2018-11-30 14:43:51 -08:00
Jason Volk
da51c55410 modules/federation/invite: Commentary; minor cleanup. 2018-11-30 13:00:16 -08:00
Jason Volk
e54b32986c modules/s_fetch: Checkpoint. 2018-11-30 12:59:44 -08:00
Jason Volk
13bce714ab ircd::rfc1035: Add constant for name buffer size. 2018-11-29 18:04:19 -08:00
Jason Volk
339940ddfc modules/media: Disable compression for blocks. 2018-11-29 15:42:27 -08:00
Jason Volk
1365bed78c modules/m_room: Improve the is_complete util. 2018-11-29 15:28:37 -08:00
Jason Volk
0b0d20884d ircd:Ⓜ️:state: Eliminate remaining test-protocol iterations. 2018-11-29 15:10:51 -08:00
Jason Volk
d35dad46c2 configure: Add EXTRA_LIBS rather than modifying LIBS here. 2018-11-29 13:46:45 -08:00
Jason Volk
3ab6d4df79 ircd::fs::aio: Improve stats related. 2018-11-29 13:46:44 -08:00
Jason Volk
67772facef ircd::fs::aio: Add specific read and write stat counters. 2018-11-28 15:01:00 -08:00
Jason Volk
5cdd2e6376 ircd::fs::aio: Add statistics for AIO subsystem w/ console cmd. 2018-11-27 19:54:24 -08:00
Jason Volk
0da335c03c modules/client/sync: Minor hackstops for now. 2018-11-15 18:39:51 -08:00
Jason Volk
be96cf3ca4 modules: Stub an m_state module; fix description in m_room. 2018-11-14 00:16:19 -08:00
Jason Volk
c28e152954 modules/s_dns: Replace magic numbers with proper qtypes. 2018-11-13 23:19:57 -08:00
Jason Volk
aedc4c73b1 modules/console: Add additional depth column to room roots output. 2018-11-13 19:05:16 -08:00
Jason Volk
5b0af2f509 modules/m_room: Add utility to clear the state root entries for all room events. 2018-11-13 19:05:16 -08:00
Jason Volk
10e358d835 modules/console: Add the die cmd; move exit cmd. 2018-11-13 10:40:00 -08:00
Jason Volk
af93d55927 ircd: Minor cleanup: simplify decl; fix comment; relax log level. 2018-11-08 23:05:12 -08:00
Jason Volk
36bb0d3175 ircd: Integrate all boost::system::system_error with stdlib. 2018-11-08 23:05:11 -08:00
Jason Volk
64d4aef76f modules/console: Displays resource list w/ stats in cmd. 2018-11-06 21:43:08 -08:00
Jason Volk
fdff7428ce ircd::client: Add request counting stats; console cmd related. 2018-11-06 21:34:28 -08:00
Jason Volk
d49b3ba7dd ircd::resource: Minor reorg class layout / opts. 2018-11-05 19:14:53 -08:00
Jason Volk
13bea46f34 modules/client/sync: Ensure response buffer scales with large flush watermark values. 2018-11-04 18:11:55 -08:00
Jason Volk
c6e2dbe55b modules/client/sync: Use conf item for linear vs. polylog threshold. 2018-11-04 18:11:37 -08:00
Jason Volk
9299b0df9f ircd: Make ircd::terminate / ircd::assertion funcjects. 2018-11-04 18:00:24 -08:00
Jason Volk
6b1fd6c559 ircd:Ⓜ️:dbs: Remove the _event_bad column; patch event exists/good/bad stack. 2018-11-02 19:42:20 -07:00
Jason Volk
8311c1e7ff ircd::db: Improve supported compressions listing w/ console cmd. 2018-11-02 18:02:27 -07:00
Jason Volk
b8b6fbea37 modules/s_conf: Add default_conf w/ console cmd to set item to default value. 2018-11-02 04:49:56 -07:00
Jason Volk
cf46ad916c modules/s_conf: Add prefix argument to rehash_conf for selective rehash. 2018-11-02 04:48:57 -07:00
Jason Volk
5dcc7cd93b ircd::db: Add error report state w/ interface w/ console cmd. 2018-10-31 15:53:43 -07:00
Jason Volk
0f7e17a519 ircd::db: Add resume from error interface w/ console cmd. 2018-10-31 15:03:32 -07:00
Jason Volk
2c957cc656 modules/m_room_power_levels: Add preliminary power eval. 2018-10-31 13:11:42 -07:00
Jason Volk
7b307e6151 modules/vm: Simplify head fetch before write commit. 2018-10-31 12:24:19 -07:00
Jason Volk
73c85c14e1 modules/vm: Calc reserve_bytes and obtain sequence numbers later. 2018-10-31 11:37:40 -07:00
Jason Volk
d59f5c40ad modules/console: Separate and label auth/state in state_ids cmd output. 2018-10-31 11:28:13 -07:00
Jason Volk
4a1df6af85 modules/m_room: Add a ctx yield interval in the state prefetch loop. 2018-10-27 14:03:32 -07:00
Jason Volk
806e1c95f7 modules/s_dns_resolver: Fix the timeout context shutdown. 2018-10-27 13:44:40 -07:00
Jason Volk
6868282ecf modules/console: Improve db general info w/ column list. 2018-10-27 13:44:40 -07:00
Jason Volk
57a46d8f92 modules/m_room_join_rules: Add infolog message on notify. 2018-10-25 18:19:54 -07:00
Jason Volk
1998105c96 modules/m_room_member: Implement can_join_room eval hook. 2018-10-25 18:19:54 -07:00
Jason Volk
0229022faa modules/m_room_create: Move hook to vm.eval point; add some checks; add debug log on notify. 2018-10-25 18:09:30 -07:00
Jason Volk
4457f4442e modules/federation/send_*: Allow for missing top-level membership in all checks. 2018-10-25 14:28:43 -07:00
Jason Volk
9ad3a0720c modules/s_dns_resolver: Use specific value for steady_point sentinel. 2018-10-25 13:39:02 -07:00
Jason Volk
ddc1849677 modules/m_room_join_rules: Update join_rules hook to send w/ m::rooms iface. 2018-10-24 18:08:46 -07:00
Jason Volk
133cb4825c ircd:Ⓜ️:rooms: Add central linkage to send a summary to !public. 2018-10-24 18:08:46 -07:00
Jason Volk
6c0a8b2c34 modules/federation: Implement publicrooms endpoint. 2018-10-24 18:08:46 -07:00
Jason Volk
8ab9d74218 modules/client/publicrooms: Unify GET and POST handlers; remove cruft. 2018-10-24 18:08:46 -07:00
Jason Volk
18f46bccd7 modules/client/publicrooms: Update endpoint for server and pagination keying. 2018-10-24 18:08:46 -07:00
Jason Volk
2174a66ea9 modules/console: Add console cmd to iterate public rooms via interface. 2018-10-24 17:31:22 -07:00
Jason Volk
72bfd645da ircd:Ⓜ️:rooms: Retype and rekey the state in !public organized by server. 2018-10-24 17:31:22 -07:00
Jason Volk
af0cca91c3 modules/console: Add room state keys iteration cmd. 2018-10-24 17:31:22 -07:00
Jason Volk
d95b86c7a8 modules/m_rooms: Add preliminary remote fetch and process function; console trigger. 2018-10-24 17:31:22 -07:00
Jason Volk
e85917abb1 ircd:Ⓜ️:rooms: Add public rooms count for total_room_count_estimate; cleanup. 2018-10-24 17:31:21 -07:00
Jason Volk
f7c7850465 ircd:Ⓜ️:rooms: Add and use interface for publicrooms iteration. 2018-10-24 17:31:21 -07:00
Jason Volk
0291a0d83e ircd:Ⓜ️:rooms: Move iteration base to module; fix interface return types. 2018-10-24 17:31:21 -07:00
Jason Volk
62177dca20 modules: Start an m_rooms unit; move publicrooms summary chunk generation. 2018-10-24 17:31:21 -07:00
Jason Volk
96338208aa modules: Start an m.room.power_levels protocol module. 2018-10-24 12:01:56 -07:00
Jason Volk
16ac997220 ircd:Ⓜ️:users: Add lower_bounding for_each; prefix search to users console cmd. 2018-10-23 14:17:42 -07:00
Jason Volk
33aea3fd19 ircd:Ⓜ️ Start a users coarse convenience interface. 2018-10-23 13:32:00 -07:00
Jason Volk
002dea97ec modules/client/user: Move user create to m_user. 2018-10-23 13:22:08 -07:00
Jason Volk
727b9fb16a modules/s_dns_resolver: Improve the worker shutdown process and related. 2018-10-23 12:25:57 -07:00
Jason Volk
bf4cdbf878 modules/s_dns_resolver: Additional checks before allowing entry to resolver. 2018-10-23 11:23:17 -07:00
Jason Volk
68a136c85d modules/s_dns_resolver: Fix missing fmtstr argument. 2018-10-23 11:22:22 -07:00
Jason Volk
325c2a34b3 modules/s_dns_resolver: Remove redundant dtor interruption. 2018-10-23 10:16:44 -07:00
Jason Volk
242516c853 ircd:Ⓜ️ Add central interface for room state prefetch; add console cmd; apply to client sync. 2018-10-23 10:01:36 -07:00
Jason Volk
c83d17396b modules: Rename vm_fetch to s_fetch. 2018-10-23 09:13:48 -07:00
Jason Volk
1b24e14841 modules/console: Add detailed SST table statistics. 2018-10-22 13:52:20 -07:00
Jason Volk
87224e8cf4 modules/console: Add db columns listing cmd; add ID to output. 2018-10-22 07:10:23 -07:00
Jason Volk
8be65012ec ircd::db: Refactor column indexing and state to handle dropped columns. 2018-10-22 07:09:55 -07:00
Jason Volk
d3e61abe7d ircd::db: Implement interface for column dropping. 2018-10-22 04:34:05 -07:00
Jason Volk
d02bdfe436 modules/console: Add table detail to db column info cmd. 2018-10-21 10:27:53 -07:00
Jason Volk
7755e61e9e modules/console: Reformat db files cmd outputs. 2018-10-21 10:19:07 -07:00
Jason Volk
2b0fd97b86 modules/console: Add per column db info summary. 2018-10-21 04:33:04 -07:00
Jason Volk
5a9c264981 modules/client/sync: Promote polylog stats overview log message to infolog. 2018-10-21 00:24:26 -07:00
Jason Volk
ceb9559a56 modules/console: Add time cmd to time cmds. 2018-10-18 17:32:18 -07:00
Jason Volk
c3988c6859 modules/console: Split console_command entry function for internal use. 2018-10-18 17:32:18 -07:00
Jason Volk
7eb091cad0 modules/console: Add count argument to room state cmd. 2018-10-18 17:31:27 -07:00
Jason Volk
8ed4dc9623 modules/client/sync: Add some stats and debug log to sync. 2018-10-18 07:46:53 -07:00
Jason Volk
e24fb3237c modules/m_room_message: Show event_id in infolog string. 2018-10-17 22:00:50 -07:00
Jason Volk
d276426a27 modules/federation/query: Fix directory query for room_id. 2018-10-17 10:09:05 -07:00
Jason Volk
02f64c7f34 ircd: Add ios unit to provide a more central control point for asio. 2018-10-17 05:12:10 -07:00
Jason Volk
1b72722386 modules: Start an m_room_message protocol handler stub. 2018-10-16 11:55:30 -07:00
Jason Volk
46154c61c2 modules/media/media: Add some bloom on blocks table. 2018-10-16 09:13:53 -07:00
Jason Volk
18977fabe1 modules/client/sync: Condition on conf items for prefetches of polylog state/timeline. 2018-10-16 09:13:53 -07:00
Jason Volk
8f05718e2b modules/s_dns: More descriptive log messages on timeouts. 2018-10-14 04:12:28 -07:00
Jason Volk
0843ff5f79 modules/client/sync: Checkpoint some structural changes. 2018-10-14 03:58:26 -07:00
Jason Volk
5e35e0593a modules/console: Fix feds resend regression after vm::accept removal. 2018-10-11 01:37:15 -07:00
Jason Volk
f216f60583 ircd:Ⓜ️:vm: Add more options for fine-grained hook call control during eval. 2018-10-11 01:30:31 -07:00
Jason Volk
11818f6c3e modules/client/sync: Minor simplify. 2018-10-09 21:34:58 -07:00
Jason Volk
9aa6e2b768 ircd:Ⓜ️ Rename most vm.notify hooks to vm.effect; Refactor vm::accept related. 2018-10-09 20:56:12 -07:00
Jason Volk
5a5cf35042 modules/s_dns_cache: Abstract templates for cache related; minor reorg. 2018-10-03 15:55:01 -07:00
Jason Volk
0df3eafea2 modules/s_dns: Simplify/breakdown callback stack related. 2018-10-03 14:33:53 -07:00
Jason Volk
95c6f69e5d ircd::net::dns: Add explicit qtype to opts and integrate w/ query stack. 2018-10-02 22:53:23 -07:00
Jason Volk
7af6ecdeed modules/console: Fix constructing hostport from srv record tgt. 2018-10-02 21:16:15 -07:00
Jason Volk
fdb3f9bc4a ircd::conf: Disambiguate string item access via cast conversion. 2018-10-02 15:58:03 -07:00
Jason Volk
88dfc8841d modules/vm_fetch: Checkpoint cruft removal. 2018-10-01 14:00:51 -07:00
Jason Volk
450ec3523e modules/s_dns: Consolidate DNS related into units of a single module. 2018-10-01 13:56:00 -07:00
Jason Volk
0e6221b8dc ircd::net::dns: Move closure chains out to modules/s_dns; minor reorg. 2018-10-01 12:47:49 -07:00
Jason Volk
5b7cf5a8eb ircd::net::dns: Reorg namespace structure related. 2018-10-01 12:03:31 -07:00
Jason Volk
05cc6ddf83 ircd::net: Move resolver service out to modules/s_resolver. 2018-09-30 20:18:32 -07:00
Jason Volk
5a627efaad ircd::net::dns: Move cache related out to modules/s_dns. 2018-09-30 20:18:32 -07:00
Jason Volk
da8beda0c3 ircd:Ⓜ️🆔 Support intuitive constructions of m::node::id. 2018-09-30 17:58:16 -07:00
Jason Volk
ede0f79c3d modules/s_conf: Eliminate the redundant conf reload after runlevel RUN transition. 2018-09-29 19:57:14 -07:00
Jason Volk
960ffe1f16 modules/console: Add mem trim cmd. 2018-09-27 16:27:16 -07:00
Jason Volk
f023d05e66 ircd::allocator: Pretty IEC units for memory info. 2018-09-27 01:53:03 -07:00
Jason Volk
d5c3724428 modules/client/sync: Fix index minmax for stable notification counting. 2018-09-27 00:59:17 -07:00
Jason Volk
b382e51e20 modules/console: Retweak cache cmd output. 2018-09-26 18:28:37 -07:00
Jason Volk
5e843d0494 modules/console: Tweak formatting of db cache output. 2018-09-26 15:40:54 -07:00
Jason Volk
24b7aa56db modules/console: Improve output of db__txn cmd. 2018-09-26 15:36:31 -07:00
Jason Volk
6b63d2e5af modules/console: Fix db txns cmd. 2018-09-26 15:28:30 -07:00
Jason Volk
13c323a29d modules/console: Reformat cache cmd table; add pinned usage. 2018-09-26 02:44:20 -07:00
Jason Volk
533d129322 ircd::db: Enable histogram interface; partial data tally. 2018-09-25 22:18:37 -07:00
Jason Volk
c90b530656 ircd:Ⓜ️:feds: Add central interface linkage for feds head. 2018-09-25 17:14:48 -07:00
Jason Volk
04cb15cc79 modules/console: Add type selection to room state cmd. 2018-09-25 16:37:07 -07:00
Jason Volk
cf783d2729 ircd:Ⓜ️:room: Refactor out additional test protocol iterations; minor reorg. 2018-09-25 16:37:07 -07:00
Jason Volk
64ccbea79d ircd:Ⓜ️:room: Refactor out remaining "test protocol" iterations from state interface. 2018-09-25 16:02:19 -07:00
Jason Volk
081125c362 modules/console: Add more output on db overview. 2018-09-25 15:06:13 -07:00
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
014aa5b80e modules/s_conf: Handle errors on conf item create here. 2018-09-25 00:33:40 -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
8ce3325905 modules/client/sync: Catch and drop exception around account_data. 2018-09-22 16:01:10 -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