0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-15 09:31:46 +02:00
Commit graph

14996 commits

Author SHA1 Message Date
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
Jason Volk 4e209855de modules/m_room_member: Add configurable to delist public room after last local user leaves. 2023-02-17 14:33:32 -08:00
Jason Volk b4938361c6 modules/m_room_member: Add configurable hook to purge room after last local user leaves. 2023-02-17 14:22:44 -08:00
Jason Volk 77cd8832c1 ircd:Ⓜ️:room::create: Implement room_alias_name in initial room creation. 2023-02-17 13:24:33 -08:00
Jason Volk 92ca127f54 modules/m_room_join_rules: Refactor effect hook to remove public->invite rooms from directory. 2023-02-17 13:06:35 -08:00
Jason Volk c7033a4df1 ircd::gpt: Add micro-benchmark start/stop probes. 2023-02-16 21:13:18 -08:00
Jason Volk be1d6ed454 ircd: Add function_bool convenience template alias. 2023-02-16 20:53:30 -08:00
Jason Volk 47f670b7a2 ircd:Ⓜ️:room::events: Split nested interfaces into headers/units. 2023-02-16 20:43:24 -08:00
Jason Volk edab741e9f ircd:Ⓜ️:dbs: Properly reverse the event horizon for purged references. (30cc6b3bdb) 2023-02-16 19:20:05 -08:00
Jason Volk b3ba3eb443 ircd::db: Fix debug constexpr disagreement. (regression 6fd08ba0a3) 2023-02-16 16:21:38 -08:00