0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 06:51:08 +01:00
Commit graph

14765 commits

Author SHA1 Message Date
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
Jason Volk
84539e3d95 ircd:Ⓜ️:user::tokens: Allow undefined device_id in ircd.access_token w/o throwing. 2023-02-13 21:15:38 -08:00
Jason Volk
028c456aca ircd::fs: Fix application of O_CREAT based on our expected fd::opts behavior. 2023-02-13 20:30:46 -08:00
Jason Volk
7320ea0fcb ircd::fs: Relax assertions matching empty file reads on asio path. 2023-02-13 19:58:55 -08:00
Jason Volk
fb162605a6 modules/m_bridge: Add conf item for backoff, buffer size; rename txn timeout conf. 2023-02-13 19:25:38 -08:00
Jason Volk
990482308e ircd:Ⓜ️:user::tokens: Add methods to create and add tokens via interface. 2023-02-13 18:53:50 -08:00
Jason Volk
f39e25f972 modules/federation/invite: Re-enable auth fetch attempts for non-synapse invites.
ircd:Ⓜ️:vm::fetch: Attempt auth with tolerated failures when opts.auth=false.
2023-02-12 19:26:02 -08:00
Jason Volk
b0217fd371 ircd::json: Eliminate double-references; optimize ABI.
ircd::json: Inline trivial functions; value optimize.
2023-02-12 19:19:56 -08:00
Jason Volk
45a3b8765f ircd::portable: Fix __builtin_unpredictable macro, takes no value argument. 2023-02-12 19:19:56 -08:00
Jason Volk
e1ca32e89a ircd:Ⓜ️:create: Fix m.room.create content.type conflict w/ user provided content. 2023-02-12 18:44:20 -08:00
Jason Volk
0b8f1c0a9f ircd: Makefile variables for GPU toolchain. 2023-02-11 15:38:14 -08:00
Jason Volk
57305563e7 docker/ubuntu/22.04: Upgrade to llvm-15. 2023-02-11 15:38:14 -08:00
Jason Volk
10a978d629 docker/ubuntu/22.04: Remove unused liburing package. 2023-02-11 13:56:29 -08:00
Jason Volk
d1c3570e04 modules/client/rooms/members: Move prefetching ahead of responses; optimize prefetched key. 2023-02-11 13:22:53 -08:00
Jason Volk
b106fe4c9d ircd::db: Fix read opts not passing cache=false. (regression 94a6cd0d90) 2023-02-11 12:31:57 -08:00
Jason Volk
30cc6b3bdb ircd:Ⓜ️:dbs: Restore purged events to the event horizon. 2023-02-11 12:01:23 -08:00
Jason Volk
603a6a3f99 ircd:Ⓜ️ Additional thread related properties for filter schema. 2023-02-11 12:01:23 -08:00
Jason Volk
08753dc254 ircd:Ⓜ️ Add dbs::opts passed to room::purge and event::purge interfaces. 2023-02-10 23:15:47 -08:00
Jason Volk
8d634fb901 ircd:Ⓜ️:dbs: Rename write_opts to opts and split into header. 2023-02-10 23:15:47 -08:00