0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-05 05:18:54 +01:00
Commit graph

129 commits

Author SHA1 Message Date
Jason Volk
c570e04622 ircd:Ⓜ️:event::prev: Add _events_exist() convenience suite. 2019-09-05 18:10:44 -07:00
Jason Volk
a9984d8b7a ircd:Ⓜ️ Fix an erroneous conforms check for version 3/4 event_id's. 2019-08-31 15:49:45 -07:00
Jason Volk
217b2d51d5 ircd:Ⓜ️ Add additional horizon rebuilders. 2019-08-30 22:57:15 -07:00
Jason Volk
9ec0c9c258 ircd:Ⓜ️:event: Log and propagate errors in the essential stack. 2019-08-27 17:24:56 -07:00
Jason Volk
bbaec98d68 ircd:Ⓜ️:event: Use better fault code for conforms hook failure. 2019-08-25 14:28:20 -07:00
Jason Volk
a43804b88c ircd:Ⓜ️ Downgrade critical log msg. 2019-08-23 17:59:45 -07:00
Jason Volk
324db44678 ircd:Ⓜ️:event: Move TLS buf to stack. 2019-08-23 17:28:58 -07:00
Jason Volk
ac03c9a13b ircd: Use bool return values through prefetching stack. 2019-08-19 21:18:26 -07:00
Jason Volk
59618c6a44 ircd:Ⓜ️ Move event::auth to room::auth; move to module. 2019-08-18 03:09:34 -07:00
Jason Volk
272e28aebe ircd:Ⓜ️:event::auth: Fetch join_rules on membership=invite. 2019-08-17 13:56:02 -07:00
Jason Volk
7218a5db36 ircd:Ⓜ️:event::auth: Fix missing state_key param to power check. 2019-08-17 12:24:41 -07:00
Jason Volk
a9538fb4e0 ircd:Ⓜ️:event::auth: Augment missing auth events; check twice; etc. 2019-08-17 11:50:08 -07:00
Jason Volk
5c219c67da ircd:Ⓜ️:vm: Add conform check bypass for origin. 2019-08-17 02:59:13 -07:00
Jason Volk
65e79a584a ircd:Ⓜ️ Improve room_version event_id related conditions. 2019-08-16 02:19:48 -07:00
Jason Volk
7fb0958080 ircd::json::tuple: Split additional non-member templates into header; constexpr member get()/at(). 2019-08-15 00:05:48 -07:00
Jason Volk
d1d46051a9 ircd:Ⓜ️:event: Remove switch statement in check_id(). 2019-08-14 03:00:15 -07:00
Jason Volk
de730e33b1 ircd:Ⓜ️ Report a critical log on exception here. 2019-08-14 02:41:30 -07:00
Jason Volk
cd693500f9 ircd:Ⓜ️:event: Fix event::id to event::idx queries which throw from a nothrow overload. 2019-08-12 20:46:54 -07:00
Jason Volk
1744ee065b ircd:Ⓜ️:event: Add conditions to efficiently handle event::idx sentinel value. 2019-08-12 20:45:57 -07:00
Jason Volk
395624879c ircd:Ⓜ️:vm: Add event_id version floor check conform hook. 2019-08-10 01:28:21 -07:00
Jason Volk
45d9a79cc0 ircd:Ⓜ️:event::conforms: Fix event_id version regression in self-reference check. 2019-08-10 01:00:28 -07:00
Jason Volk
2bc795b883 ircd:Ⓜ️:event::auth: Call the auth hook for unenumerated/additional types. 2019-08-07 01:24:16 -07:00
Jason Volk
7192a75ac5 ircd:Ⓜ️ Fix conf::item constness. 2019-08-03 17:15:28 -07:00
Jason Volk
d8fcbf7325 ircd:Ⓜ️ Reinterface append(event) into event::append; move to module. (#109) 2019-08-02 17:34:31 -07:00
Jason Volk
8e5e599690 ircd:Ⓜ️ Relax exception propagation through event::refs. (Fixes #114) 2019-08-02 15:04:29 -07:00
Jason Volk
3ad9496bcf ircd:Ⓜ️:event: Toggle format depending on version characteristics. 2019-07-26 16:38:20 -07:00
Jason Volk
ae1ccca038 ircd:Ⓜ️:event::prev: Remove ambiguous overload. 2019-07-26 15:58:58 -07:00
Jason Volk
939b402a7d Revert "ircd::event: Remove membership from top level."
This reverts commit fc8048dc74.
2019-07-26 00:08:51 -07:00
Jason Volk
7b8dfb88f4 ircd:Ⓜ️:event::auth: Transpose several rules; various reorg. 2019-07-25 20:02:29 -07:00
Jason Volk
4ffab63da7 ircd:Ⓜ️ Tweak pretty_oneline(event) field order. 2019-07-25 17:27:45 -07:00
Jason Volk
9a5df1ae9c ircd:Ⓜ️ Add additional format selection for pretty_oneline(event). 2019-07-25 15:57:04 -07:00
Jason Volk
ddcce0ef2b ircd:Ⓜ️:event: Document class member related. 2019-07-25 14:29:07 -07:00
Jason Volk
d18a1acf43 ircd:Ⓜ️:event::fetch: Remove unnecessary event_id query in seek() stack. 2019-07-21 17:04:16 -07:00
Jason Volk
b7b329a130 ircd:Ⓜ️:event::fetch: Fix condition here. 2019-07-21 17:04:16 -07:00
Jason Volk
5377d46ec5 ircd:Ⓜ️ Minor reorder pretty(event) top_keys. 2019-07-21 16:07:12 -07:00
Jason Volk
3100e5ea34 modules/m_room_aliases: Move auth branch to module handler. 2019-07-20 18:42:15 -07:00
Jason Volk
e1356fb50d ircd:Ⓜ️:event::auth: Add hookdata::find() to improve initialization. 2019-07-20 18:42:15 -07:00
Jason Volk
9e2e20f3e8 ircd:Ⓜ️:event::auth: Preliminary auth hook. 2019-07-20 18:42:15 -07:00
Jason Volk
e0e9e09e67 ircd:Ⓜ️ Make append() return and propagate boolean. 2019-07-16 15:26:15 -07:00
Jason Volk
ef1f6f2642 ircd:Ⓜ️ Move event/append header. 2019-07-16 12:39:16 -07:00
Jason Volk
13830061a3 ircd:Ⓜ️:event::refs: Add overload to check if ref type exists. 2019-07-16 10:27:53 -07:00
Jason Volk
6a2c5f2047 ircd:Ⓜ️:event::auth: Update version requirement. 2019-07-14 15:03:54 -07:00
Jason Volk
53a9b67414 ircd:Ⓜ️:event::auth: Update redacts usage of event_id host. 2019-07-13 23:20:03 -07:00
Jason Volk
b9b3f9f00e ircd:Ⓜ️ Fix my(event) conditions regression. 2019-07-13 23:20:03 -07:00
Jason Volk
91b0027751 ircd:Ⓜ️🆔 Assert my(id) call is useful. 2019-07-13 23:20:03 -07:00
Jason Volk
9e10ddcc61 ircd:Ⓜ️:event: Improve construction event_id related conditions. 2019-07-12 19:29:50 -07:00
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