0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-16 17:08:20 +02:00
Commit graph

83 commits

Author SHA1 Message Date
Jason Volk 2d7a914eb2 ircd:Ⓜ️:event: Fix detection on hashing constructor. 2019-07-11 19:22:35 -07:00
Jason Volk d7ac655220 ircd:Ⓜ️:pretty: Simplify all space literals. 2019-07-11 18:58:17 -07:00
Jason Volk e39adf9942 ircd:Ⓜ️ Calculate hash on pretty_online(event) if missing. 2019-07-11 18:58:17 -07:00
Jason Volk 9629028552 ircd:Ⓜ️ Assert non-empty event_id for the throwing index(event_id). 2019-07-11 16:57:41 -07:00
Jason Volk ae3980dd00 ircd:Ⓜ️ Add the event_id to the JSON in append(event) to client. 2019-07-10 07:24:09 -07:00
Jason Volk 9af1e5af4e ircd:Ⓜ️ Fix pretty(event) format when lacking a digest. 2019-07-10 07:00:37 -07:00
Jason Volk 03344ab0e1 ircd:Ⓜ️:event::fetch: Fix event_id related condition. 2019-07-10 06:52:56 -07:00
Jason Volk 329972ed01 ircd:Ⓜ️:event: Update the make_id() suite. 2019-07-10 03:50:37 -07:00
Jason Volk b7fc4710eb ircd:Ⓜ️:event::conforms: Add event_id hash check to static conformity checks. 2019-07-10 03:50:37 -07:00
Jason Volk 43d66420cd Update incompatible uses of event_id. 2019-07-10 03:50:37 -07:00
Jason Volk 639b132250 ircd:Ⓜ️ Add a check_id(event) suite. 2019-07-10 02:12:16 -07:00
Jason Volk 0a210544b3 ircd:Ⓜ️:event::conforms: Remove MISTMATCH_ORIGIN_EVENT_ID code. 2019-07-09 23:46:24 -07:00
Jason Volk 719a965d9f ircd:Ⓜ️:event: Remove prev_state from top level. 2019-07-09 02:33:27 -07:00
Jason Volk fc8048dc74 ircd::event: Remove membership from top level. 2019-07-09 02:03:03 -07:00
Jason Volk e0655229c5 ircd::room::auth: Improve make_refs and cleanup interface related. 2019-07-09 02:03:03 -07:00
Jason Volk aa78f6f85c ircd:Ⓜ️:event::conforms: Update event_id related conditions. 2019-07-08 18:57:45 -07:00
Jason Volk 93b82445d9 ircd:Ⓜ️:fetch: Fix initialization.
ircd:Ⓜ️:event::fetch: Fix member statekeeping.
2019-07-08 06:03:20 -07:00
Jason Volk cf853cf9ad ircd:Ⓜ️:event: Condition for sentinel return value. 2019-07-07 03:59:51 -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 e6f8bb0114 ircd:Ⓜ️:event::conforms: Adjustments for v3/v4 compat. 2019-07-03 19:24:21 -07:00
Jason Volk 8b3a2b89f6 ircd:Ⓜ️ Update pretty(event)/pretty(event::prev) for version compat; reuse. 2019-07-03 18:57:48 -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 19df2bbf79 ircd:Ⓜ️:event::prev: Support version 3/4 references formats. 2019-06-27 19:22:54 -07:00
Jason Volk 80655da66e Misc fixes for clang. 2019-06-24 01:34:14 -07:00
Jason Volk cf3b1218c4 ircd: Misc fixes for clang. 2019-06-23 16:22:06 -06:00
Jason Volk cfb5376fdb ircd:Ⓜ️:event: Relax comparator value checking. 2019-06-07 08:55:26 -07:00
Jason Volk 0c7f5ef484 ircd:Ⓜ️:event: Tweak age calculation. 2019-06-07 02:49:25 -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 132f18327b ircd:Ⓜ️:event: Elide the query for empty event_id's for event exists. 2019-06-01 18:31:57 -07:00
Jason Volk 0772e462bb ircd:Ⓜ️:event: Relax the comparison operator room_id assertion. 2019-06-01 18:31:57 -07:00
Jason Volk eec6c40653 ircd:Ⓜ️ Abort the experimental id::node. 2019-05-26 19:13:20 -07:00
Jason Volk 680734c47b ircd:Ⓜ️ Comments around the age ts conditions. 2019-05-25 14:51:42 -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 2b011d80df ircd:Ⓜ️:dbs: Make indexers internal. 2019-05-15 21:12:59 -07:00
Jason Volk 65be94b140 ircd:Ⓜ️:event: Add more skipped fields for content hash. 2019-05-11 16:09:06 -07:00
Jason Volk 62f1b5a539 ircd:Ⓜ️:dbs: Rename and document various ref types. 2019-05-09 23:13:16 -07:00
Jason Volk 1d0a7d700d ircd:Ⓜ️ Merge m_event module entirely into ircd/m_event for now. 2019-05-03 15:58:39 -07:00
Jason Volk 84ed175ffe modules/m_event: Transit the m::pretty(event) suite to module. 2019-05-03 15:58:39 -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 17a9763da6 ircd:Ⓜ️:event::prev: Use size_t indexing rather than uint. 2019-04-29 10:57:43 -07:00
Jason Volk 6eeb8da71d ircd:Ⓜ️ Try for outer membership property first before parsing content. 2019-04-18 14:35:46 -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 197168059b ircd:Ⓜ️:vm: Create a conform hook; move checks into conform hookfns. 2019-03-09 14:00:00 -08:00
Jason Volk b26d4fee7c ircd:Ⓜ️:event: Fallback to outer membership string (fixes hook membership matching). 2019-03-06 15:02:43 -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 f275cf8c83 ircd:Ⓜ️:event::auth::chain: No closing over full event; overload void closure. 2019-02-16 15:25:36 -08:00
Jason Volk 2660b30061 ircd:Ⓜ️:event: Add auth::chain utility. 2019-02-14 16:48:45 -08:00