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

2129 commits

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