0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00
Commit graph

14683 commits

Author SHA1 Message Date
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
Jason Volk
36b85a5c78 ircd::db: Optimize make_opts w/ pre-construction and assumptions for noexcept copy. 2023-02-16 16:17:23 -08:00
Jason Volk
d48e6ccb8d ircd::db::database::snapshot: Minor cleanup; inline, noexcept. 2023-02-16 16:01:02 -08:00
Jason Volk
4edf7f0052 modules/federation/invite: Supplement manual membership check for auth=false. (regression d5c0e6063) 2023-02-16 14:31:51 -08:00
Jason Volk
1607ce0a1f ircd:Ⓜ️:room::create: Generate join_rules event for all non-internal rooms. 2023-02-16 10:52:16 -08:00
Jason Volk
416066d01b modules/m_bridge_register: Check if existing config is identical to skip overwrite. 2023-02-15 16:44:23 -08:00
Jason Volk
affd1f2913 cosntruct: Elide empty string append in console recording. 2023-02-15 16:44:23 -08:00
Jason Volk
499bec0a1a configure: Enable -Wunused-result so explicit annotations will warn. 2023-02-15 16:44:23 -08:00
Jason Volk
df85c1c642 ircd:Ⓜ️:resource: Use X-Matrix destination rather than host header to verify. 2023-02-15 10:28:25 -08:00
Jason Volk
60bff84004 modules/m_bridge: Hook configuration updates to start/stop workers automatically. 2023-02-15 09:42:59 -08:00
Jason Volk
62001d9e7e modules/m_bridge_register: Add del()/add() procedures w/ console cmds. 2023-02-15 09:30:52 -08:00
Jason Volk
032b815276 modules/m_bridge: Minor reorg. 2023-02-15 09:29:41 -08:00
Jason Volk
bc3aa62d59 modules/m_bridge_register: Add module w/ bridge set cmd from yam^h^h^hjson file. (closes #11) 2023-02-14 18:43:33 -08:00
Jason Volk
fbd5b3f571 ircd:Ⓜ️:user: Add oper()/deoper() grant and revoke to interface. 2023-02-14 18:43:33 -08:00