0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-04 09:38:37 +02:00
Commit graph

68 commits

Author SHA1 Message Date
Jason Volk 3057e9a328 ircd:Ⓜ️ Move event/get.h down one level. 2019-07-07 22:06:11 -07:00
Jason Volk dc4d13bca6 ircd:Ⓜ️:event::fetch: Add internal buffer for event::id state. 2019-07-05 23:45:00 -07:00
Jason Volk 261151f539 ircd:Ⓜ️:fetch: Remove ambiguating event_id() util. 2019-07-05 23:45:00 -07:00
Jason Volk 4a289c065a ircd:Ⓜ️:event: Add event_id member; reorg ctors. 2019-07-05 23:45:00 -07:00
Jason Volk e7b66eac3b ircd:Ⓜ️:event::prev: Stronger json::object type for v1 tuple value at indice. 2019-07-03 18:57:48 -07:00
Jason Volk 475ee3867d ircd:Ⓜ️:event::horizon: Split the full column iteration into separate function. 2019-06-04 21:21:21 -07:00
Jason Volk dd49243224 ircd:Ⓜ️:event: Add explicit event::id conversion. 2019-06-01 18:31:57 -07:00
Jason Volk c119c84c2f ircd:Ⓜ️:event: Augment event::horizon interface allowing full column iteration. 2019-05-17 02:26:27 -07:00
Jason Volk 5721920957 ircd:Ⓜ️:event: Start an event::horizon interface around dbs::event_horizon. 2019-05-17 00:07:18 -07:00
Jason Volk d74985d3f9 ircd:Ⓜ️ Move event.h/room.h headers into their dirs. 2019-05-02 21:43:27 -07:00
Jason Volk 64770c0214 ircd:Ⓜ️:event::prev: Add suite to check if prev reference exists; minor cleanup. 2019-04-29 11:06:56 -07:00
Jason Volk 73ea2ff156 ircd:Ⓜ️:event: Add comment \brief's to prev and refs interfaces. 2019-04-29 10:59:33 -07:00
Jason Volk 17a9763da6 ircd:Ⓜ️:event::prev: Use size_t indexing rather than uint. 2019-04-29 10:57:43 -07:00
Jason Volk 10b8e1d08b ircd:Ⓜ️:event::fetch: Relax object semantics. 2019-04-26 05:30:21 -07:00
Jason Volk d18711503f ircd:Ⓜ️ Unsplit event/event.h room/room.h. 2019-04-22 21:38:27 -07:00
Jason Volk 77b16f32ce ircd:Ⓜ️:append: Calculate age based on depth from room head.
fixes #55
2019-04-15 14:44:58 -07:00
Jason Volk 1f35e9c57e modules/m_event: Add option to toggle query for txnid; disable query for non-timeline appends. 2019-03-13 17:08:35 -07:00
Jason Volk 9f67a146f4 modules/m_event: Unconditionally supply an age when no event_idx. 2019-03-13 17:08:35 -07:00
Jason Volk c4c95916c2 ircd:Ⓜ️ Add central event append() to compose elaborated json::stack::object for clients. 2019-03-11 16:02:36 -07:00
Jason Volk c0ab6080d8 ircd:Ⓜ️:event: Add membership to event tuple for essential key consideration. 2019-03-03 17:16:20 -08:00
Jason Volk 3a08d93c15 ircd:Ⓜ️:event::fetch: Cache the event_idx as a class member. 2019-03-01 15:59:49 -08:00
Jason Volk c969eb2792 ircd:Ⓜ️:event: Typedef an idx_range pair. 2019-02-28 17:12:03 -08:00
Jason Volk 99058105b3 ircd:Ⓜ️:event: Minor move utils to event.h index header. 2019-02-20 13:10:56 -08:00
Jason Volk 0644db459c ircd:Ⓜ️:event: Add various size constants replacing magic numbers. 2019-02-18 13:42:25 -08:00
Jason Volk f275cf8c83 ircd:Ⓜ️:event::auth::chain: No closing over full event; overload void closure. 2019-02-16 15:25:36 -08:00
Jason Volk 4f721f48e5 Eliminate friend-injection. 2019-02-15 18:48:59 -08:00
Jason Volk 2660b30061 ircd:Ⓜ️:event: Add auth::chain utility. 2019-02-14 16:48:45 -08:00
Jason Volk 194160a735 ircd:Ⓜ️:event::refs: Reorientations for consolidated refs. 2019-02-14 14:02:34 -08:00
Jason Volk 17e1bb96bf ircd:Ⓜ️:dbs: Consolidate event_refs column. Drop prev_events column. 2019-02-14 13:11:37 -08:00
Jason Volk f48274fc58 ircd:Ⓜ️:event::auth: Preliminary v1 auth rules. 2019-02-13 18:44:26 -08:00
Jason Volk 674373be90 ircd:Ⓜ️:event::auth: Restructure / rename interfaces; move is_power_event() to module. 2019-02-12 17:50:44 -08:00
Jason Volk 74fdda36e2 ircd:Ⓜ️:event::conforms: Add checks for m.room.member state_key. 2019-02-12 17:19:13 -08:00
Jason Volk 7117d4a17c ircd:Ⓜ️:event::conforms: Add check for m.room.aliases sender host vs. state_key. 2019-02-12 15:34:40 -08:00
Jason Volk 903a117bf7 ircd:Ⓜ️:event::conforms: Add check for room_id host matching sender host for create event. 2019-02-12 15:22:53 -08:00
Jason Volk 1bd9ce0d1e ircd:Ⓜ️:event::conforms: Add checks for duplicate / self / missing auth refs. 2019-02-12 15:07:50 -08:00
Jason Volk 20eb440408 ircd:Ⓜ️:event: Improve the event::cache checking behavior. 2019-02-12 14:57:08 -08:00
Jason Volk 8a81a6d24e ircd:Ⓜ️:event::auth: Add comments; remove cruft. 2019-02-12 12:04:01 -08:00
Jason Volk c204ece49a ircd:Ⓜ️:event: Add std::string overloads to event get() suite. 2019-02-12 10:03:20 -08:00
Jason Volk 68be0a321e ircd:Ⓜ️:event: Convert modular components to demangled style. 2019-02-09 18:43:04 -08:00
Jason Volk 80a25cf352 ircd:Ⓜ️:event::auth: Add auth chain traversal. 2019-02-08 07:54:03 -08:00
Jason Volk 2b82dfec76 ircd:Ⓜ️:event::auth: Add iteration by type. 2019-02-08 07:53:39 -08:00
Jason Volk 1df1897e6d ircd:Ⓜ️:event::get: Add templates to return integral values. 2019-02-08 07:06:25 -08:00
Jason Volk ef740d339b ircd:Ⓜ️:event: Add event::auth examination device. 2019-02-08 03:19:54 -08:00
Jason Volk cbe829368f ircd:Ⓜ️:event: Start an auth header; add is_power_event(). 2019-02-08 03:19:54 -08:00
Jason Volk 0aa977c307 ircd:Ⓜ️:event: Simplify verify stack. 2019-02-07 23:41:29 -08:00
Jason Volk bb68dfc1e7 ircd:Ⓜ️ Add event::hash(json::object) w/ branch from event.source. 2019-02-06 20:52:42 -08:00
Jason Volk e497fe8506 ircd:Ⓜ️:event: Add event_id() convenience suite to reverse index(). 2019-02-06 17:18:38 -08:00
Jason Volk ec8f0c1e1c ircd:Ⓜ️:event: Add refs interface. 2019-02-06 17:18:38 -08:00
Jason Volk 5ae0a521d6 ircd:Ⓜ️:event::fetch: Swap the fallback logic to json query after row query. 2019-01-26 14:06:03 -08:00
Jason Volk 5ce55a9dee ircd:Ⓜ️:event::fetch: Simplify interface; reference opts as class member. 2019-01-26 13:52:33 -08:00