0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 22:41:12 +01:00
Commit graph

2087 commits

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