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

981 commits

Author SHA1 Message Date
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
Jason Volk
ed5dfd0031 ircd:Ⓜ️:fetch: Split fetch_check related into unit. 2022-08-10 18:20:52 -07:00
Jason Volk
c32928981b ircd:Ⓜ️:dbs::init: Split unit; preliminary schema update vector; ctor exceptions. 2022-08-06 22:47:59 -07:00
Jason Volk
49615517cc ircd:Ⓜ️:room::content: Move prefetch buffer to class member. 2022-08-05 18:38:32 -07:00
Jason Volk
e45dc31797 ircd:Ⓜ️:vm::eval: Use closure_bool for_each(); reduce direct instance_list iteration. 2022-08-05 17:57:19 -07:00
Jason Volk
14eb419045 ircd:Ⓜ️ Add m.in_reply_to to m::relates tuple and reuse in m::room::message. 2022-08-04 18:25:49 -07:00
Jason Volk
b75f0ea1ef ircd:Ⓜ️ Move multi-key fetch from vm:: to keys::; minor reorg. 2022-08-03 20:26:33 -07:00
Jason Volk
71f0d15910 ircd:Ⓜ️:dbs: Deduplicate m.in_reply_to extraction w/ a4ec2dd8ab. 2022-08-02 20:49:21 -07:00
Jason Volk
35199dffb3 ircd:Ⓜ️:room::message: Add interface to extract rich reply fallbacks. 2022-08-02 20:49:21 -07:00
Jason Volk
504e0a1883 ircd:Ⓜ️:room::message: Name m.relates_to in the tuple. 2022-08-02 15:56:04 -07:00
Jason Volk
c33ddd278a ircd:Ⓜ️ Use proper character overload for optimal tokens(). 2022-08-02 13:18:58 -07:00
Jason Volk
9f79bb54b8 ircd:Ⓜ️:fetch: Stub branch to make use of redacted_by. 2022-07-30 23:28:19 -07:00
Jason Volk
0ba3c5629f ircd:Ⓜ️:room::events::missing: Dedup inner loop; optimize w/ parallel query. 2022-07-30 20:58:59 -07:00
Jason Volk
03262e09a9 ircd:Ⓜ️:dbs: Add conf items for less aggressive compact trig on large columns. 2022-07-29 23:56:52 -07:00
Jason Volk
c76aec69a9 ircd:Ⓜ️:dbs: Upgrade descriptors to designated initializers. 2022-07-29 22:30:09 -07:00
Jason Volk
a2197e87df ircd:Ⓜ️:resource: Unstable is also a version (undocumented). 2022-07-29 17:35:58 -07:00
Jason Volk
69dcd7acd9 ircd::mods: Eliminate RTLD_DEEPBIND by linking modules -Bsymbolic. 2022-07-27 16:22:42 -07:00
Jason Volk
c002e03242 configure: Add PROFILE_USE conditional and subst. 2022-07-27 14:32:47 -07:00
Jason Volk
065343069a Fix -flto flag compat erosion w/ gcc. 2022-07-20 12:03:59 -07:00
Jason Volk
041c4822bc ircd:Ⓜ️ Fix conflicting TLS models for static member buffers. 2022-07-20 10:42:13 -07:00
Jason Volk
741c211848 configure: Add conditional flags for forced pch w/ clang. 2022-07-20 09:56:22 -07:00
Jason Volk
216a2b64cb Move -include arguments to preprocessor flags. 2022-07-20 09:56:22 -07:00
Jason Volk
3a5f7e0aac ircd::resource: Implement more complex path routing. 2022-07-20 09:56:22 -07:00
Jason Volk
e4d517415b ircd:Ⓜ️:acquire: Add conf items to default some opts; rename and raise submit max. 2022-07-18 16:58:02 -07:00
Jason Volk
d4bd109661 modules/media: Remove legacy resources.
modules/federation: Merge invite and invite2 units.

modules/federation: Redact send_join and rooms legacy resources.
2022-07-18 16:58:02 -07:00
Jason Volk
93a7575352 ircd:Ⓜ️:resource: Abstract request::version to ircd::request::agent. 2022-07-18 16:58:02 -07:00
Jason Volk
45a4c80e79 ircd:Ⓜ️:media: Log file room write errors and debug at completion. 2022-07-13 22:48:14 -07:00