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

1007 commits

Author SHA1 Message Date
Jason Volk
56984d59e9 ircd:Ⓜ️ Fix various occurrences of state_key="" considered falsy. 2023-02-24 18:51:18 -08:00
Jason Volk
5d7a4e4b36 ircd:Ⓜ️:room::create: Add an initial local aliases event with the canonical alias. 2023-02-24 18:11:58 -08:00
Jason Volk
44bdc2f94b ircd:Ⓜ️:homeserver: Relax check on options precluding port numbers. 2023-02-23 19:03:35 -08:00
Jason Volk
6cb41fced9 ircd:Ⓜ️:fed::well_known: Fix duplicate well_known queries. 2023-02-23 19:03:35 -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
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
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
72dce4364c ircd:Ⓜ️ Add convenience suite to extract creator from event tuple. 2023-02-20 15:15:01 -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
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
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
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
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
d28d3d8084 ircd:Ⓜ️:room::events: Move nested interfaces out to room::. 2023-02-17 15:24:23 -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
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
1607ce0a1f ircd:Ⓜ️:room::create: Generate join_rules event for all non-internal rooms. 2023-02-16 10:52:16 -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
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
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
e1ca32e89a ircd:Ⓜ️:create: Fix m.room.create content.type conflict w/ user provided content. 2023-02-12 18:44:20 -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
Jason Volk
ccfc05709f ircd:Ⓜ️:dbs: Add present state queries on delete operations; move branches for clarity. 2023-02-10 21:06:38 -08:00
Jason Volk
0fdeda3743 ircd:Ⓜ️:room: Add consolidated room::purge interface w/ options. 2023-02-10 12:27:52 -08:00
Jason Volk
ae5af6a7ed ircd:Ⓜ️:room::events: Add optional bool to convey validity on nothrow overload; minor inline. 2023-02-10 11:40:05 -08:00
Jason Volk
1910d8e85e ircd:Ⓜ️:event: Add interface to purge event; consolidate; cleanup. 2023-02-09 20:24:36 -08:00
Jason Volk
1c6d216daf ircd::util: Generalize util::boolean into returns template. 2023-02-09 19:17:45 -08:00
Jason Volk
fd6f06c1af Replace various #if 0 with if constexpr for regression visibility. 2023-02-09 11:41:11 -08:00
Jason Volk
aa8ce19c7c ircd: Internalize various loghead utils; remove legacy ostream operators. 2023-02-09 11:41:11 -08:00
Jason Volk
fe0f398e14 ircd::util: Add popcount wrapping; consolidate callsites. 2023-02-07 20:04:26 -08:00
Jason Volk
f54b31358a ircd:Ⓜ️:homeserver: Replace use of instance_multimap w/ instance_map. 2023-02-05 18:47:31 -08:00
Jason Volk
4fe55722c9 ircd:Ⓜ️:vm::fetch: Replace coarse sleep() w/ prev wait notify. 2023-02-05 18:45:08 -08:00
Jason Volk
9ecf389007 ircd:Ⓜ️:vm: Add vm::notify interface w/ yielding wait for event_id. 2023-02-05 18:45:08 -08:00
Jason Volk
dc873d8c8f ircd:Ⓜ️:event: Add exists_count() convenience; simplify various popcounts. 2023-02-05 18:45:08 -08:00
Jason Volk
e621e20afc ircd:Ⓜ️:vm: Split vm::sequence into unit. 2023-02-05 18:45:08 -08:00
Jason Volk
df67d08897 ircd::util: Optimize instance_multimap w/ allocator::node. 2023-02-05 18:45:08 -08:00
Jason Volk
ca801f4666 ircd:Ⓜ️:vm::fetch: Split prev result eval from prev. 2023-02-05 11:27:32 -08:00
Jason Volk
c3bcb03b31 ircd:Ⓜ️:sync::item: Use string_view of item name for ctor. 2023-02-04 20:16:20 -08:00
Jason Volk
86560ab273 ircd:Ⓜ️:typing: Fix dead interruption point; move guard into loop. 2023-02-04 20:16:20 -08:00
Jason Volk
32140fedf3 ircd:Ⓜ️ Add event horizon data in pretty_detailed(event) output. 2023-02-04 20:16:20 -08:00
Jason Volk
d39c3a8b61 ircd:Ⓜ️:room::bootstrap: Mask all errors nothrow to continue auth chain eval. 2023-02-02 18:51:03 -08:00
Jason Volk
5e32f88b0d modules/client: Add stub for dehydrated device. 2023-02-02 16:37:03 -08:00
Jason Volk
28dbaf459d ircd:Ⓜ️:rooms: Filter rooms summaries for my server to those with aliases from server. 2023-01-24 22:46:44 -08:00
Jason Volk
4cece76e1c ircd:Ⓜ️:room::aliases: Add has_server() optimized count(server)>0 to interface. 2023-01-24 22:44:03 -08:00
Jason Volk
207a890b7a ircd:Ⓜ️:room::power: Add 'historical' key to default generated. 2023-01-19 19:58:23 -08:00
Jason Volk
6bbde81b44 Ensure EXTRA_*FLAGS is properly appended after other build flags. 2023-01-18 08:11:02 -08:00
Jason Volk
336f740036 ircd:Ⓜ️:vm: Fix propagation of faults to evaluator as expected by opts mask. 2023-01-18 08:11:02 -08:00
Jason Volk
f516b86e4d configure: Eliminate clang runtime profiling infrastructure. 2023-01-14 16:44:47 -08:00
Jason Volk
d766564958 ircd:Ⓜ️:fed: Remove any legacy trailing slashes from urls. 2023-01-08 19:26:02 -08:00
Jason Volk
4549f44f08 ircd:Ⓜ️:get: Fix mismatched integer comparison. 2022-10-05 13:53:52 -07:00
Jason Volk
baef0e3bc7 ircd:Ⓜ️:trace: Add interface for the trace. 2022-09-28 15:05:43 -07:00
Jason Volk
b4f869a616 ircd:Ⓜ️:room::messages: Add option toggling redacted query. 2022-09-28 15:05:42 -07:00
Jason Volk
00829d2118 ircd:Ⓜ️:room::messages: Move m.replace related out of class; fix errors. 2022-09-28 13:30:56 -07:00
Jason Volk
5f758aaa3b ircd:Ⓜ️:events::annotates: Interface to scan the key of the m.annotation rel_type. 2022-09-28 09:55:51 -07:00
Jason Volk
e2d70f249f ircd:Ⓜ️:events::relates: Interface to scan the rel_type of the M_RELATES ref type. 2022-09-28 09:54:10 -07:00
Jason Volk
6092fabe42 ircd:Ⓜ️:room::message: Fix reply fallback accepting non-mxid careted names. 2022-09-21 16:39:05 -07:00
Jason Volk
50c5c43d29 ircd:Ⓜ️:room::type: Fix ascending order seek correctness; for now. 2022-08-20 11:07:38 -07:00
Jason Volk
cf8e4092c9 ircd:Ⓜ️:user::rooms: Simplify interface w/ util::closure_bool. 2022-08-19 20:57:35 -07:00
Jason Volk
04559a28f6 ircd:Ⓜ️:user::rooms: Add prefetch loop. 2022-08-19 20:57:35 -07:00
Jason Volk
7a90776056 ircd:Ⓜ️ Additional pretty_msgline() opts for time ago / body delim. 2022-08-19 11:13:57 -07:00
Jason Volk
f931912f3e ircd:Ⓜ️:event::fetch: Improve codegen w/ dtor linkage. 2022-08-18 15:01:38 -07:00
Jason Volk
c010920f7c ircd:Ⓜ️:relates: Add reverse iteration; consolidate abi, inline interface. 2022-08-17 18:15:30 -07:00
Jason Volk
e2017efcce ircd:Ⓜ️:event::refs: Add reverse iteration; inline interface. 2022-08-17 18:15:30 -07:00
Jason Volk
16e6707c3e ircd:Ⓜ️:keys: Add key_id to debug log for single fetch path. 2022-08-17 17:09:31 -07:00
Jason Volk
13cd2656c9 ircd:Ⓜ️:fed::well_known: Use proper http::category; minor split/reorg. 2022-08-17 13:05:39 -07:00
Jason Volk
727749e9de ircd:Ⓜ️:room: Add interface to room messages. 2022-08-17 13:05:39 -07:00
Jason Volk
2bf10c1234 ircd:Ⓜ️:relates: Add sender checking; move option bits to class member. 2022-08-17 11:09:05 -07:00
Jason Volk
6885bafc49 ircd:Ⓜ️ Add parallel get() suite to interface. 2022-08-17 11:09:05 -07:00
Jason Volk
a8b5912e98 ircd:Ⓜ️:room::type: Add directional iteration deduced by range. 2022-08-16 21:20:32 -07:00
Jason Volk
206afc25b0 ircd:Ⓜ️:room::message: Add interface for edit contents. 2022-08-16 13:43:00 -07:00
Jason Volk
fedf1e976a ircd:Ⓜ️:relates: Add interface around the rel_type for the relation ref type. 2022-08-16 13:43:00 -07:00
Jason Volk
d743925776 ircd:Ⓜ️:room::message: Fix incorrect reply fallback parse. 2022-08-15 12:38:21 -07:00
Jason Volk
ed50a9f360 ircd:Ⓜ️:media: Optimize file room writes w/ journal bypass. 2022-08-11 13:28:12 -07:00
Jason Volk
d15e95b2ac ircd:Ⓜ️:media: Fix conf items outside of ircd.m. namespace. 2022-08-10 18:20:52 -07:00
Jason Volk
479d22466e ircd:Ⓜ️:vm: Add starting timestamp to eval state w/ specific event eval timestamp.
modules/console: Add eval timestamps to output of vm cmd table.
2022-08-10 18:20:52 -07:00
Jason Volk
94d9444988 ircd:Ⓜ️ Add granular options for pretty_msgline(). 2022-08-10 18:20:52 -07:00
Jason Volk
10554d51b5 ircd:Ⓜ️ Use room::message for proper body in pretty_msgline(). 2022-08-10 18:20:52 -07:00
Jason Volk
1c2105425c ircd:Ⓜ️:fed::well_known: Fix result check throwing without fallback defaulting. 2022-08-10 18:20:52 -07:00
Jason Volk
06b70cc274 ircd:Ⓜ️:vm: Fix require_content=false behavior as described by option's doc. 2022-08-10 18:20:52 -07:00
Jason Volk
4a254dd3ac ircd:Ⓜ️ Split vm.conforms hook handles into unit. 2022-08-10 18:20:52 -07:00