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

170 commits

Author SHA1 Message Date
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
08753dc254 ircd:Ⓜ️ Add dbs::opts passed to room::purge and event::purge interfaces. 2023-02-10 23:15:47 -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
4cece76e1c ircd:Ⓜ️:room::aliases: Add has_server() optimized count(server)>0 to interface. 2023-01-24 22:44:03 -08: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
6092fabe42 ircd:Ⓜ️:room::message: Fix reply fallback accepting non-mxid careted names. 2022-09-21 16:39:05 -07:00
Jason Volk
727749e9de ircd:Ⓜ️:room: Add interface to room messages. 2022-08-17 13:05:39 -07:00
Jason Volk
206afc25b0 ircd:Ⓜ️:room::message: Add interface for edit contents. 2022-08-16 13:43:00 -07:00
Jason Volk
8461fbcbd5 ircd:Ⓜ️:room::message: Add url to tuple; minor reorg. 2022-08-14 17:27:32 -07:00
Jason Volk
49615517cc ircd:Ⓜ️:room::content: Move prefetch buffer to class member. 2022-08-05 18:38:32 -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
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
0ba3c5629f ircd:Ⓜ️:room::events::missing: Dedup inner loop; optimize w/ parallel query. 2022-07-30 20:58:59 -07:00
Jason Volk
11f878209f ircd:Ⓜ️:room::events: Comment on ctors; minor assertions. 2022-07-09 14:10:28 -07:00
Jason Volk
3e3483a2d1 Convert static member constexprs to non-reference type. 2022-06-28 17:42:49 -07:00
Jason Volk
53806a7973 ircd:Ⓜ️:room::events: Add lower_bound to seek_idx() for relaxed seek. 2021-02-10 23:38:44 -08:00
Jason Volk
401e7ee7e8 ircd:Ⓜ️:room::head::fetch: Refactor one() convenience interface; add abstract overload. 2020-12-09 02:16:50 -08:00
Jason Volk
38d6911f98 ircd:Ⓜ️:room::state::history: Add event_idx class member; improve 6768c23811 condition. 2020-12-08 03:33:06 -08:00
Jason Volk
a5da068d0d ircd:Ⓜ️:room::state: Add fetch interface similar to room::head; w/ console cmd. 2020-11-20 18:28:32 -08:00
Jason Volk
85bd984da7 ircd:Ⓜ️:events::missing: Reverse primary iteration; improve interface related. 2020-11-11 22:49:39 -08:00
Jason Volk
e2f495c4a8 ircd:Ⓜ️:room::head::fetch: Add opts for result limitations. 2020-11-05 22:10:54 -08:00
Jason Volk
6fe770b4bf ircd:Ⓜ️:room::head: Add fetch interface. 2020-11-05 22:10:54 -08:00
Jason Volk
45def842c4 ircd:Ⓜ️:room::head: Split generate into header. 2020-11-05 22:10:54 -08:00
Jason Volk
3b75b06bf1 ircd:Ⓜ️:room: Fix stale comment. [ci skip]
ircd::simd: Fix erroneous comment. [ci skip]
2020-10-29 03:00:48 -07:00
Jason Volk
5c1980da70 ircd:Ⓜ️:room: Add preliminary interface specific to event content. 2020-10-27 04:11:44 -07:00
Jason Volk
3f6d90c7a8 ircd:Ⓜ️:fed: Move head fetch convenience to room::head interface. 2020-10-14 22:04:04 -07:00
Jason Volk
a73b538349 ircd:Ⓜ️:room: Add contains() tool. 2020-09-27 14:57:07 -07:00
Jason Volk
12bed2d87b ircd:Ⓜ️:room: Add json::tuple for m.room.message schema; property names. 2020-09-10 23:50:47 -07:00
Jason Volk
4ef7754ed5 ircd:Ⓜ️:room::members: Eliminate unnecessary query to the room state. 2020-06-14 22:05:15 -07:00
Jason Volk
4e9664ebce ircd:Ⓜ️:room::auth: Allow an incorrect fifth event; warning remains. 2020-05-01 10:10:17 -07:00
Jason Volk
84347857c6 ircd:Ⓜ️:room::power: Use conf items to seed all default values. 2020-05-01 10:10:17 -07:00
Jason Volk
78ea123004 ircd:Ⓜ️:room::power: Consistent integer level and string level conversions. 2020-04-30 18:52:43 -07:00
Jason Volk
9c61677b0b ircd:Ⓜ️:room::auth: Split out event::idx fetch tools; minor reorg. 2020-04-27 22:37:36 -07:00
Jason Volk
538a2dab5c ircd:Ⓜ️:room::bootstrap: Adjust interface allowing for multiple remote server arguments. 2020-04-21 19:22:06 -07:00
Jason Volk
b979a20457 ircd:Ⓜ️:room::bootstrap: Move util to bootstrap::required(). 2020-04-21 00:12:04 -07:00
Jason Volk
8fda624be2 ircd:Ⓜ️:room::power: Add grant/revoke suite. 2020-04-19 06:13:23 -07:00
Jason Volk
2c7af26bdc ircd:Ⓜ️:room::power: Add collection iteration. 2020-04-19 06:13:23 -07:00
Jason Volk
0b41a1e78d ircd:Ⓜ️:room::power: Simplify iteration interface. 2020-04-19 06:13:23 -07:00
Jason Volk
36b1fa6bde ircd:Ⓜ️:room::type: Add prefix matching option. 2020-03-24 14:50:41 -07:00
Jason Volk
7a6ba49c34 ircd:Ⓜ️:room: Add type iteration interface. 2020-03-24 14:14:39 -07:00
Jason Volk
8d6dfa7cd5 ircd:Ⓜ️ Add room_id(event_idx) to convenience suite. 2020-03-23 20:31:21 -07:00
Jason Volk
8ca580362f ircd:Ⓜ️:room::bootstrap: Fix loss of room version information during bootstrap. 2020-03-20 12:04:19 -07:00
Jason Volk
3b2342e001 ircd:Ⓜ️:room::origins: Simplify callstack; remove unused iteration. 2020-03-09 14:41:36 -07:00
Jason Volk
c0a5a7a89e ircd:Ⓜ️ Simplify various interfaces using string rather than net::hostport remotes. 2020-03-07 17:17:46 -08:00