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

14918 commits

Author SHA1 Message Date
Jason Volk
73c5a4f36b modules/federation/sender: Multiple workers; use ctx::queue; fix legacy externs. 2023-02-23 19:03:35 -08:00
Jason Volk
137824eb77 construct: Interpose IORING_SETUP_COOP_TASKRUN where supported. 2023-02-23 19:03:35 -08:00
Jason Volk
9154233db5 modules/federation/sender: Downgrade flush error to DERROR on shutdown. 2023-02-23 19:03:35 -08:00
Jason Volk
2948bf7cd1 ircd::http: Recognize additional proxy related headers for now. #189 2023-02-23 19:03:29 -08:00
Jason Volk
a104e44e3e ircd::http: Simplify interface w/ util::closure_bool. 2023-02-23 15:11:46 -08:00
Jason Volk
9eec649b4d ircd::util: Add missing default construction for closure_bool. 2023-02-23 15:11:46 -08:00
Jason Volk
7472177a78 ircd::http: Strongly type headers view in request/response head structs. 2023-02-23 15:11:46 -08:00
Jason Volk
b0ad960bae modules/federation/make_join: Add conf fuse to bypass version compat. 2023-02-22 16:04:12 -08:00
Jason Volk
cc7bc15d89 ircd:Ⓜ️:rooms::summary: Add room_type to /publicRooms response. 2023-02-22 16:04:12 -08:00
Jason Volk
21bc6c4e97 ircd:Ⓜ️:rooms::summary: Ensure properties appear in /publicRooms response. 2023-02-22 16:04:12 -08:00
Jason Volk
73f4a68b8f modules/media: Fix missing url decoding of mxc path params. 2023-02-22 16:04:12 -08:00
Jason Volk
314dacdce0 modules/console: Improve bad command error format; improve subcommands display. 2023-02-22 16:04:12 -08:00
Jason Volk
cd6eb8ed0a ircd:Ⓜ️:fed: Remove legacy trailing slash on key/server request. 2023-02-22 16:04:12 -08:00
Jason Volk
bb84740517 ircd:Ⓜ️:event::append: Move prev_content to unsigned (since v1.2 "no known server impl...") 2023-02-22 16:04:12 -08:00
Jason Volk
9c856c4f34 modules/client/rooms: Stub GET /threads endpoint. 2023-02-22 16:04:12 -08:00
Jason Volk
5141982828 ircd:Ⓜ️:room::missing: Move event::fetch out of loop body. 2023-02-22 16:04:12 -08:00
Jason Volk
5856c2fd0e ircd:Ⓜ️:room::stats: Optimize byte counter with pipelined iteration. 2023-02-22 16:04:12 -08:00
Jason Volk
2060fb2993 ircd:Ⓜ️:get: Support empty key for full _event_json. 2023-02-22 16:04:12 -08:00
Jason Volk
e7cf7ab0fc ircd:Ⓜ️:room: Rename room::content to room::iterate and abstract. 2023-02-22 16:04:12 -08:00
Jason Volk
9cb3bf2c28 ircd:Ⓜ️:event::append: Add conf item to exclude org.matrix.dummy_event fake read receipts. 2023-02-22 16:04:12 -08:00
Jason Volk
6b62fb1fe6 ircd::util::returns: Eliminate std::function w/ template lambda. 2023-02-22 16:04:12 -08:00
Jason Volk
364f7d9c3e ircd::db: Annotate the entire rocksdb API surface noexcept in one fell swoop. 2023-02-22 16:04:11 -08:00
Jason Volk
647babdcbe ircd::db: Consistent interruption masking on rocksdb entry; minor cleanup. 2023-02-22 16:04:11 -08:00
Jason Volk
61f12bb751 ircd::client: Add conf item for pool dispatch flags. 2023-02-21 10:40:00 -08:00
Jason Volk
ff666cc75a modules/console: Format db io and perf output into lines. 2023-02-21 10:17:20 -08:00
Jason Volk
b1bb516bba ircd::client: Fix conf::item action prior to target initialization. 2023-02-20 20:46:48 -08:00
Jason Volk
34bd1e0709 ircd::ctx::pool: Add option for dispatch strategy; behavior changed by default. 2023-02-20 20:15:44 -08:00
Jason Volk
ea92976369 ircd::ctx::queue: Add options for FIFO and LIFO strategies to interface. 2023-02-20 20:15:44 -08:00
Jason Volk
e961b23d1e ircd::ctx::dock: Add options for waiters; support queuing strategies. 2023-02-20 20:15:44 -08:00
Jason Volk
96d5b6fe57 ircd::ctx::list: Add mid-list insertion suite to interface. 2023-02-20 20:15:44 -08:00
Jason Volk
1627986fed ircd::ctx: Simplify ctx::list abi; tweak hot section. 2023-02-20 18:08:52 -08:00
Jason Volk
cfaf6a90f1 modules/client/rooms/members: Fix missing event::append usage for stream to client. 2023-02-20 15:15:01 -08:00
Jason Volk
93bed7bc63 modules/client/sync/rooms: Fix m.room.create not synced to creator prior to join. 2023-02-20 15:15:01 -08:00
Jason Volk
72dce4364c ircd:Ⓜ️ Add convenience suite to extract creator from event tuple. 2023-02-20 15:15:01 -08:00
Jason Volk
884c2e68b7 ircd::asio: Interpose workaround for bug in io_uring_service::get_sqe() boost 1.81. 2023-02-20 10:31:13 -08:00
Jason Volk
e479a17f51 modules/console: Display the eval spread as a difference in vm cmd; adjust fmt. 2023-02-19 19:57:14 -08:00
Jason Volk
c30776fc59 ircd::ctx::pool: Upgrade various opts sites to designated inits; minor inline. 2023-02-19 19:57:14 -08:00
Jason Volk
5a35d63b64 ircd::ctx::dock: Deduplicate prologue/epilogue in wait() suite. 2023-02-19 17:39:32 -08:00
Jason Volk
17f0923eff ircd::db::database::logger: Additional conditions for debug level in any build mode. 2023-02-19 16:06:46 -08:00
Jason Volk
6e33d52bda ircd::db::database: Hide dangerous best_efforts_recovery behind all-caps options. 2023-02-19 13:33:47 -08:00
Jason Volk
06583f7bfb ircd::db::database: Use INFO level for table file closed on shutdown. 2023-02-18 22:19:30 -08:00
Jason Volk
5bd594d165 ircd::json::stack: Split into directory; inlines; abi simplification. 2023-02-18 21:30:11 -08:00
Jason Volk
c521a20fb3 ircd:Ⓜ️:vm: Add evaluator identity suite; add #IDENT fault code. 2023-02-18 17:53:09 -08:00
Jason Volk
262bde6fdf ircd:Ⓜ️:vm: Add #DENIED fault code. 2023-02-18 17:35:44 -08:00
Jason Volk
de1a566909 ircd:Ⓜ️:vm::fault: Add missing to switch; improve formatting; minor cleanup. 2023-02-18 17:08:39 -08:00
Jason Volk
0f3fea3b72 modules/federation/send_join: Implement federation §10.0 Join amplification attack. 2023-02-18 16:41:33 -08:00
Jason Volk
1e0919de71 modules/federation/sender: Add amplification override condition. 2023-02-18 16:41:33 -08:00
Jason Volk
e177accad8 ircd:Ⓜ️:vm::opts: Additional doc for notify; minor reorg. 2023-02-18 16:41:33 -08:00
Jason Volk
9bf8e08753 modules/federation/sender: Cleanup; separate handle conditions, use m::member(). 2023-02-18 16:41:33 -08:00
Jason Volk
62d175b17c ircd:Ⓜ️🪝 Fix call to m::membership() for non-member event. 2023-02-18 16:41:33 -08:00