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

41 commits

Author SHA1 Message Date
Jason Volk
6cb4020034 ircd:Ⓜ️:dbs: Rename head/refs options to room_head/room_refs; update vmopts and sites. 2019-02-05 19:05:17 -08:00
Jason Volk
00c88ca073 modules/vm: Replacements with scope_restore template. 2019-02-05 01:58:12 -08:00
Jason Volk
64229eb755 ircd:Ⓜ️:vm: Expose json_source dbs option to vmopts interface. 2019-01-24 11:37:26 -08:00
Jason Volk
f1a6654f21 ircd:Ⓜ️ Remove any options which toggle full json persistence. 2019-01-24 11:37:26 -08:00
Jason Volk
4b88fcd157 ircd:Ⓜ️:vm: Factor opts.json into db::txn's reserve bytes. 2019-01-15 19:03:52 -08:00
Jason Volk
52a9ca9635 ircd:Ⓜ️:vm: Add json vm option. 2019-01-15 19:03:52 -08:00
Jason Volk
af37529470 ircd:Ⓜ️:vm: Add a second sequence number; split out pdu write function. 2018-12-30 17:09:57 -08:00
Jason Volk
aa7333bd00 modules/vm: Fix format of propagated errors. 2018-12-30 16:12:52 -08:00
Jason Volk
ad449e3290 modules/vm: Fix redundancy in log message. 2018-12-10 18:54:58 -08:00
Jason Volk
f7792c085e modules/vm: Cleanup/simplify error handlers. 2018-12-10 13:14:39 -08:00
Jason Volk
7b307e6151 modules/vm: Simplify head fetch before write commit. 2018-10-31 12:24:19 -07:00
Jason Volk
73c85c14e1 modules/vm: Calc reserve_bytes and obtain sequence numbers later. 2018-10-31 11:37:40 -07:00
Jason Volk
f216f60583 ircd:Ⓜ️:vm: Add more options for fine-grained hook call control during eval. 2018-10-11 01:30:31 -07:00
Jason Volk
9aa6e2b768 ircd:Ⓜ️ Rename most vm.notify hooks to vm.effect; Refactor vm::accept related. 2018-10-09 20:56:12 -07:00
Jason Volk
88dfc8841d modules/vm_fetch: Checkpoint cruft removal. 2018-10-01 14:00:51 -07:00
Jason Volk
fe26b5e0c0 modules: thread_local mods::import cannot be used or the module gets stuck. 2018-09-14 07:44:44 -07:00
Jason Volk
9232319f0c modules/vm: Add eval argument to various hooks; tweak eval struct. 2018-09-13 19:49:25 -07:00
Jason Volk
88c2a22a30 modules/vm: Move some fetch related to vm_fetch; reorg write commitment. 2018-09-13 19:49:25 -07:00
Jason Volk
d97a5ac571 ircd:Ⓜ️:vm: Remove the vm::phase; create fetch_hook. 2018-09-13 18:30:40 -07:00
Jason Volk
11948e47ac ircd: Move m::import to mods::import where it is more appropriate. 2018-09-13 18:19:27 -07:00
Jason Volk
6858ea2bb1 ircd:Ⓜ️:vm: Add commitopts (copts) to vm::accepted structure. 2018-09-05 19:43:09 -07:00
Jason Volk
7e6107e0f5 modules/vm: Checkpoint vm fwiw. 2018-09-04 23:28:01 -07:00
Jason Volk
14bbe13c45 modules/vm: Minor cleanup. 2018-08-17 12:51:48 -07:00
Jason Volk
d912400f32 ircd:Ⓜ️:vm: Move vm submodules ctor/dtor into libircd for recursive issues for now. 2018-06-12 01:00:15 -07:00
Jason Volk
cc0072df0e modules: Add preliminary m_room_canonical_alias protocol suite. 2018-06-12 01:00:14 -07:00
Jason Volk
0b226f2633 modules/vm: Show fault code in error log msg. 2018-06-05 11:21:07 -07:00
Jason Volk
de07d32afd ircd/modules: Update various conditional json::iov nodes. 2018-06-05 11:19:40 -07:00
Jason Volk
8bd6cf05b0 modules/vm: Add preliminary vm fetch unit. 2018-06-03 10:02:19 -07:00
Jason Volk
c58e60c122 modules/vm: Move vm::log out of module back to libircd. 2018-06-03 09:58:45 -07:00
Jason Volk
1e7881ad27 modules/vm: Use generators moved to m_room. 2018-06-01 16:46:58 -07:00
Jason Volk
de8e7b5908 ircd:Ⓜ️:vm: Move eval entry related into modules/vm; convert phase to struct. 2018-05-29 04:05:50 -07:00
Jason Volk
0d833cda4f ircd:Ⓜ️ Add templated payload for hook. 2018-05-26 22:12:11 -07:00
Jason Volk
c88ce8168b Revert "ircd:Ⓜ️ Convert hook to template."
This reverts commit 915076296f.
2018-05-20 18:39:32 -07:00
Jason Volk
4093082cc3 modules/vm: Move state existence check above prev check. 2018-05-19 18:49:05 -07:00
Jason Volk
887cd2398d modules/vm: Reorg the main eval exception handlers. 2018-05-19 18:49:05 -07:00
Jason Volk
915076296f ircd:Ⓜ️ Convert hook to template. 2018-05-19 18:49:04 -07:00
Jason Volk
e2e8172bfd modules: Add join rules hook stub; remove remaining tmp_effects from vm. 2018-05-19 18:49:03 -07:00
Jason Volk
385e08cd62 modules/vm: Move create effects from vm to m_room_create hook. 2018-05-19 18:49:03 -07:00
Jason Volk
ea73700103 ircd:Ⓜ️ Add contains_url to filter tuple. 2018-05-19 18:49:02 -07:00
Jason Volk
08c3058fbc ircd:Ⓜ️:vm: Rename some commit opts. 2018-05-19 18:49:02 -07:00
Jason Volk
456f8e7ac1 ircd:Ⓜ️ Move vm eval definitions into module. 2018-05-06 22:28:17 -07:00
Renamed from ircd/m/vm.cc (Browse further)