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

1402 commits

Author SHA1 Message Date
Jason Volk
dcfae310ab ircd:Ⓜ️:vm::notify: Add promise/future based notify interface. 2023-03-16 19:32:14 -07:00
Jason Volk
2331de3f3e ircd:Ⓜ️:vm::notify: Use ctx::future/promise rather than direct context notify. 2023-03-16 19:25:45 -07:00
Jason Volk
684dd18497 ircd:Ⓜ️:event: Split signature generating overload w/ custom sk/pk. 2023-03-14 20:51:46 -07:00
Jason Volk
8ebd2089f2 ircd:Ⓜ️:media: Add optional file name to file room state. 2023-03-11 14:14:35 -08:00
Jason Volk
9aaae46ead ircd:Ⓜ️:push: Implement event_property_is. (matrix-org/matrix-spec-proposals#3758) 2023-03-06 18:37:57 -08:00
Jason Volk
08ea4b0e72 ircd:Ⓜ️:fed: Upgrade to v2 send_join. 2023-03-03 15:15:38 -08:00
Jason Volk
694b208829 ircd:Ⓜ️:user::tokens: Add method to delete access tokens by device_id. 2023-03-03 12:25:01 -08:00
Jason Volk
605245953a ircd:Ⓜ️:resource: Add method flag for operator access requirement. 2023-03-02 19:29:53 -08:00
Jason Volk
19c740a182 ircd::resource: Separate ircd:Ⓜ️:resource flags out from abstract. 2023-03-02 14:00:44 -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
e7cf7ab0fc ircd:Ⓜ️:room: Rename room::content to room::iterate and abstract. 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
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
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
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
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
5fb1a6633d ircd:Ⓜ️:room: Additional ctor for event::fetch::opts ref. 2023-02-17 17:06:12 -08:00
Jason Volk
d28d3d8084 ircd:Ⓜ️:room::events: Move nested interfaces out to room::. 2023-02-17 15:24:23 -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
fbd5b3f571 ircd:Ⓜ️:user: Add oper()/deoper() grant and revoke to interface. 2023-02-14 18:43:33 -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
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
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
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
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
c3bcb03b31 ircd:Ⓜ️:sync::item: Use string_view of item name for ctor. 2023-02-04 20:16:20 -08:00
Jason Volk
ea40dcc56b Fix undef var templates for explicit instantiations across units (-Wundefined-var-template). 2023-02-04 13:20: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
ede3d5a651 ircd:Ⓜ️:rooms: Add requesting user_id/node_id to query opts for access ctrl. 2023-01-24 22:44:03 -08: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
9564d8fcdd ircd:Ⓜ️:relates: Fix property order for any canonical serialization. 2022-09-27 18:35:04 -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
cf8e4092c9 ircd:Ⓜ️:user::rooms: Simplify interface w/ util::closure_bool. 2022-08-19 20:57:35 -07:00