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

29 commits

Author SHA1 Message Date
Jason Volk
01936d1a7f modules/m_vm: Condition room_id validity (for alternative targets). 2019-08-23 21:12:16 -07:00
Jason Volk
9877d3bdf0 ircd:Ⓜ️:vm: Conditions for present state table. 2019-08-23 17:17:01 -07:00
Jason Volk
8454ae0275 ircd:Ⓜ️:room::head: Simplify interface; move to module. 2019-08-18 03:09:34 -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
7fa5948fd3 modules/vm: Check auth during eval. 2019-08-17 08:34:46 -07:00
Jason Volk
16f1ba2b11 ircd:Ⓜ️:vm: Fix dependence on room_id without bypass mechanism in injector. 2019-08-17 02:59:13 -07:00
Jason Volk
c760eb0a12 ircd:Ⓜ️:vm: Use bitmask of properties to generate in vm::copts. 2019-08-17 00:44:14 -07:00
Jason Volk
593c21ce46 ircd:Ⓜ️:vm: Minor init/fini infolog msg tweak. 2019-08-16 02:19:48 -07:00
Jason Volk
6a7e7f448b Improve exception handling around several hook handlers.
Revert "modules/vm: Allow ctx::interrupted to propagate call_hook()."
This also reverts commit cdae254e14.
2019-07-26 15:15:58 -07:00
Jason Volk
b8adc69599 ircd:Ⓜ️ Move MEMBERSHIP_MAX_SIZE into room.
ircd:Ⓜ️:room: Add a room version max size constant.
2019-07-25 14:29:07 -07:00
Jason Volk
cdae254e14 modules/vm: Allow ctx::interrupted to propagate call_hook(). 2019-07-25 11:46:45 -07:00
Jason Volk
f45b3e1cc8 modules/vm: Fix add prev/auth_events conditions. 2019-07-19 23:19:41 -07:00
Jason Volk
9c1739a452 modules/m_vm: Post-write hooks to not propagate exceptions. 2019-07-19 20:12:05 -07:00
Jason Volk
ad834bfc5b ircd:Ⓜ️:vm: Reorganize eval/vm::inject for room version differences; add comment. 2019-07-17 14:53:13 -07:00
Jason Volk
f53ff565e8 modules/vm: Add some conf items to inject; minor improvement. 2019-07-17 10:06:56 -07:00
Jason Volk
4f88697620 modules/vm: Get room version from create event claim. 2019-07-15 19:04:29 -07:00
Jason Volk
76ed65d36e modules/vm: Improve derror log output on call_hook(). 2019-07-15 17:20:48 -07:00
Jason Volk
6f7949eb2c modules/vm: Better conditions for room_id iov append. 2019-07-15 14:22:45 -07:00
Jason Volk
f355fb3135 modules/m_vm: Minor formatting fix. 2019-07-14 15:03:54 -07:00
Jason Volk
b5219750be modules/vm: Move the room_id append up the stack. 2019-07-11 19:34:20 -07:00
Jason Volk
f9bd97f8c3 modules/m_vm: Fix hashes addition to the event iov for compat for now. 2019-07-11 15:51:09 -07:00
Jason Volk
c39aad4d3f ircd:Ⓜ️:vm: Factor room_version into eval. 2019-07-10 06:52:56 -07:00
Jason Volk
43d66420cd Update incompatible uses of event_id. 2019-07-10 03:50:37 -07:00
Jason Volk
a2177dd096 modules/m_vm: Stop generating empty prev_state in our events; thanks https://github.com/matrix-org/synapse/pull/4837 2019-07-09 17:23:58 -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
1097829102 modules/m_vm: Wrap individual hook calls. 2019-07-05 23:45:00 -07:00
Jason Volk
fa737c0019 modules/vm: Require event_id member. 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
7843925335 modules: Disperse modules to eliminate the s_ prefix-space. 2019-06-27 00:41:57 -07:00
Renamed from modules/vm.cc (Browse further)