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

14705 commits

Author SHA1 Message Date
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
Jason Volk
0fd5514d49 ircd:Ⓜ️ Add m::member(event) convenience inline interface.
ircd:Ⓜ️:membership: Assertions for event type; optimize branch.
2023-02-18 16:41:33 -08:00
Jason Volk
1a8889503f configure: Upgrade reorder warnings to errors. 2023-02-18 16:41:33 -08:00
Jason Volk
c78a7e96b9 ircd::ctx: Strict uncaught exception assertion on context switch. 2023-02-18 16:41:33 -08:00
Jason Volk
61248a4c5b ircd:Ⓜ️:media::file: Fix illegal context switch; mask interruption. 2023-02-18 16:41:33 -08:00
Jason Volk
f301d6641c ircd:Ⓜ️ Simplify room::events interface; separate event::fetch. 2023-02-18 16:41:33 -08:00
Jason Volk
23c8a6c5cb ircd::db: Shorter paths to valid(iterator); strip noexcept; hot annotate uninlineable. 2023-02-18 16:41:33 -08:00
Jason Volk
6e6afb9d30 ircd::magick: Fix job progress debug log regression. 2023-02-18 16:41:33 -08:00
Jason Volk
716134186e Replace additional #ifdef debug related w/ if constexpr for regression visibility. 2023-02-17 19:10:06 -08:00
Jason Volk
f1676fdb80 ircd:Ⓜ️:dbs: Add missing and fix inconsistent tuple typedefs for columns. 2023-02-17 18:40:12 -08:00
Jason Volk
04c81a41ed ircd:Ⓜ️ Fix various inconsistent format strings; minor cleanup. 2023-02-17 17:25:58 -08:00
Jason Volk
5fb1a6633d ircd:Ⓜ️:room: Additional ctor for event::fetch::opts ref. 2023-02-17 17:06:12 -08:00
Jason Volk
b93348f6e1 ircd: Fix -Wdeprecated-copy-with-user-provided-dtor or remove empty dtors. 2023-02-17 16:51:54 -08:00
Jason Volk
d28d3d8084 ircd:Ⓜ️:room::events: Move nested interfaces out to room::. 2023-02-17 15:24:23 -08:00