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

851 commits

Author SHA1 Message Date
Jason Volk
11dd47a8aa ircd:Ⓜ️:sync: Add pointer to struct args in struct data. 2019-07-08 06:03:20 -07:00
Jason Volk
3057e9a328 ircd:Ⓜ️ Move event/get.h down one level. 2019-07-07 22:06:11 -07:00
Jason Volk
439402c08c ircd:Ⓜ️ Add an m::query() template suite for DRY'ing common m::get() usage pattern. 2019-07-07 17:58:15 -07:00
Jason Volk
ec8bac81d1 ircd:Ⓜ️:filter: Add missing fields on room_event_filter. 2019-07-07 17:00:36 -07:00
Jason Volk
49264bd13b ircd:Ⓜ️:sync: Add sync item children counter. 2019-07-06 22:25:16 -07:00
Jason Volk
18f07b6378 ircd:Ⓜ️:sync: Move definitions to module.
ircd:Ⓜ️:sync: Give sync::data an instance_list.
2019-07-06 22:25:12 -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
5d570a8da4 ircd:Ⓜ️🆔 Move event fwddecl closer to use; add more comments on v3/v4 objects. 2019-07-03 18:57:48 -07:00
Jason Volk
9ca019f03e ircd:Ⓜ️🆔:event: Add non-throwing static tests of v3/v4 id from string. 2019-06-28 03:42:07 -07:00
Jason Volk
6c62515a6d ircd:Ⓜ️🆔 Use proper reference hashing procedure for event::v3/event::v4 ctors. 2019-06-27 20:06:26 -07:00
Jason Volk
6ce67a81a1 ircd:Ⓜ️:user::highlight: Add conf items to toggle counting; improve match detail. 2019-06-27 01:59:19 -07:00
Jason Volk
0fb3f1d8ac ircd:Ⓜ️:user: Modernize the highlight counting interface. 2019-06-27 01:32:16 -07:00
Jason Volk
ed5af1fdbd ircd:Ⓜ️🆔 Add class representations for event::v3 and event::v4. 2019-06-26 06:21:30 -07:00
Jason Volk
fcfc28c6e4 ircd:Ⓜ️🆔 Add event::id version gauge method. 2019-06-26 06:21:30 -07:00
Jason Volk
754adf33ec ircd:Ⓜ️:keys: Add pretty()/pretty_oneline() output diagnostics. 2019-06-25 07:42:13 -07:00
Jason Volk
758ee9c185 ircd:Ⓜ️:keys: Retype server_name property as json::string. 2019-06-25 07:13:10 -07:00
Jason Volk
83dd5581be ircd:Ⓜ️ Workaround comparison operator resolution and others for clang. 2019-06-24 02:22:55 -06:00
Jason Volk
37760fe251 ircd:Ⓜ️:keys: Improve key query and cache loop. 2019-06-23 16:27:37 -07:00
Jason Volk
c2f86a8094 ircd:Ⓜ️:keys: Distill out expiration test from verification test. 2019-06-23 16:22:15 -07:00
Jason Volk
fcbd31f672 ircd:Ⓜ️:keys: Add an iteration over node's cached keys. 2019-06-23 15:50:02 -07:00
Jason Volk
805f2c1184 ircd:Ⓜ️:user: Tentative fixes for clang rejection of std::string_view::size() constexprness. 2019-06-23 07:37:23 -06:00
Jason Volk
53ea7b8658 ircd:Ⓜ️:feds: Add send operation to feds suite.
modules/console: Update console for feds resend.
2019-06-22 20:03:58 -07:00
Jason Volk
a67f134a6b ircd:Ⓜ️ Partial migration of m::node to module; modernize legacy extern "C". 2019-06-21 21:02:38 -07:00
Jason Volk
4093dc2f85 ircd:Ⓜ️:self::init: Fix keys init; prevent libircd as dependency for module. 2019-06-21 20:29:26 -07:00
Jason Volk
b7023a6dc7 ircd:Ⓜ️ Reorg keys related interfaces and init. 2019-06-21 16:41:43 -07:00
Jason Volk
133b2605c6 ircd:Ⓜ️:dbs: Generalize the reflection for M_RELATES event_refs related. 2019-06-21 16:32:15 -07:00
Jason Volk
75c125e8aa ircd:Ⓜ️:rooms: Expose fetcher in interface; internal cleanup. 2019-06-17 23:05:31 -07:00
Jason Volk
f24c7c2e82 ircd:Ⓜ️:rooms: Simplify interface. 2019-06-17 16:57:00 -07:00
Jason Volk
4f741960a0 ircd:Ⓜ️:room::state: Reconnect !present() branch with state::history. 2019-06-16 02:18:04 -07:00
Jason Volk
24ce076c3d ircd:Ⓜ️:room::state: Add state::history interface derived from state::space. 2019-06-16 02:17:47 -07:00
Jason Volk
b5a61a7a6b ircd:Ⓜ️:room::state::space: Improve interface; fixes. 2019-06-16 01:00:47 -07:00
Jason Volk
493bd85c11 ircd:Ⓜ️:dbs: Add additional room state space key overload. 2019-06-15 15:20:00 -07:00
Jason Volk
390b8bf2fb ircd:Ⓜ️ Remove remaining vestiges of m::state.
closes #15.
2019-06-15 14:10:36 -07:00
Jason Volk
b78ea359b6 ircd::db: Rename db::index to db::domain; fix userspace. 2019-06-11 12:57:52 -07:00
Jason Volk
8e0ac58987 ircd:Ⓜ️:room: Expose bootstrap to interface. 2019-06-07 04:56:23 -07:00
Jason Volk
5afa11baca ircd:Ⓜ️:init: Improve exception propagation and abortive shutdown. 2019-06-06 19:41:48 -07:00
Jason Volk
f1b0ba8648 ircd:Ⓜ️:dbs: Involve the servername in the database path.
Fixes #75.
2019-06-06 18:47:44 -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
f5df386e1c ircd:Ⓜ️:fetch: Add a request count() to interface. 2019-06-04 18:50:17 -07:00
Jason Volk
b570497e75 ircd:Ⓜ️:vm: Improve aggregated eval loop. 2019-06-01 18:38:07 -07:00
Jason Volk
dd49243224 ircd:Ⓜ️:event: Add explicit event::id conversion. 2019-06-01 18:31:57 -07:00
Jason Volk
9661db89af ircd:Ⓜ️:events: Move file dumper to module. 2019-06-01 00:09:03 -07:00
Jason Volk
b403fbc421 ircd:Ⓜ️:events: Add event type name iteration.
ircd:Ⓜ️:events: Add sender name iteration.

ircd:Ⓜ️:events: Add origin name iteration.
2019-05-27 16:37:29 -07:00
Jason Volk
bab9d9d033 modules/vm: Create a general vm.access hook; move server_acl to module hookfn. 2019-05-26 21:00:54 -07:00
Jason Volk
25dd717b7e ircd:Ⓜ️:room::server_acl: Add a noexcept convenience check. 2019-05-26 20:25:15 -07:00
Jason Volk
eec6c40653 ircd:Ⓜ️ Abort the experimental id::node. 2019-05-26 19:13:20 -07:00
Jason Volk
1354066e3d modules/m_room_server_acl: Disregard port for comparison; improve docs; ctor. 2019-05-26 18:37:40 -07:00
Jason Volk
e038ebfaf1 ircd:Ⓜ️:room: Remove stale comments.
modules/vm: Minor cleanup.
2019-05-26 02:49:24 -07:00
Jason Volk
6baff99607 modules/m_room_server_acl: Optimize implementation IO. 2019-05-25 23:08:17 -07:00
Jason Volk
a44e491054 ircd:Ⓜ️:room: Add server_acl interface and protocol module. 2019-05-25 20:12:41 -07:00
Jason Volk
f02a1a2be6 ircd:Ⓜ️:vm: Relax fetch_prev_any enforcement by default. 2019-05-19 15:22:49 -07:00
Jason Volk
ea14caa95a ircd:Ⓜ️:dbs: Update comment for event_refs enum. 2019-05-19 15:11:58 -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
304c6df468 ircd:Ⓜ️:dbs: Simplify indexers / interface. 2019-05-13 15:25:37 -07:00
Jason Volk
758a266b1b ircd:Ⓜ️:dbs: Rename room_space to room_state_space. 2019-05-13 12:37:00 -07:00
Jason Volk
614b9202fc ircd:Ⓜ️:room: Add state::space interface w/ console cmd. 2019-05-13 10:30:12 -07:00
Jason Volk
d1425da434 ircd:Ⓜ️:dbs: Typedef a tuple for room_space key; conditions for truncated key generation. 2019-05-13 10:19:18 -07:00
Jason Volk
e486d8907e ircd:Ⓜ️;dbs: Add _room_space metadata column. 2019-05-11 17:48:35 -07:00
Jason Volk
3293443cb8 ircd:Ⓜ️:vm: Add dbs::write_opts to vm::opts. 2019-05-11 15:30:40 -07:00
Jason Volk
6fe7329189 ircd:Ⓜ️:dbs: Rename room_head_refs to room_head_resolve. 2019-05-11 15:30:23 -07:00
Jason Volk
5af3d3a4f2 ircd:Ⓜ️:dbs: Add column layout key next to includes for quick reference. 2019-05-11 14:56:09 -07:00
Jason Volk
dc1b5f6881 ircd:Ⓜ️:dbs: Unsplit appendix.h and write_opts.h for better interface in dbs.h 2019-05-11 14:44:08 -07:00
Jason Volk
838ad51b05 ircd:Ⓜ️:dbs: Make blacklist a write option rather than API call. 2019-05-11 14:44:08 -07:00
Jason Volk
305e02db7c ircd:Ⓜ️:dbs: Split into headers by column. 2019-05-11 14:39:16 -07:00
Jason Volk
3ec009bf6d ircd:Ⓜ️ Rename function. 2019-05-10 00:20:02 -07:00
Jason Volk
c311a69c7b ircd:Ⓜ️:room: Add sounding iteration. 2019-05-10 00:06:17 -07:00
Jason Volk
f044b447e2 ircd:Ⓜ️:dbs: Split event_refs related into file. 2019-05-09 23:20:33 -07:00
Jason Volk
62f1b5a539 ircd:Ⓜ️:dbs: Rename and document various ref types. 2019-05-09 23:13:16 -07:00
Jason Volk
a331bc2882 ircd:Ⓜ️:dbs: Add interposing system for transaction self-references. 2019-05-09 21:53:12 -07:00
Jason Volk
61ff45214c ircd:Ⓜ️:dbs: Add missing prefix key creation overload. 2019-05-09 21:53:12 -07:00
Jason Volk
d81612a724 ircd:Ⓜ️ Checkpoint blerb rework. 2019-05-09 18:33:02 -07:00
Jason Volk
2d209388c1 ircd:Ⓜ️:dbs: Add event_horizon resolver. 2019-05-09 16:58:29 -07:00
Jason Volk
ed3a7343cf ircd:Ⓜ️:dbs: Add the event_horizon column. 2019-05-09 00:02:33 -07:00
Jason Volk
a8a6e1039d ircd:Ⓜ️:dbs: Split header into directory. 2019-05-08 21:53:04 -07:00
Jason Volk
47f496a155 ircd:Ⓜ️:room::timeline: Checkpoint initial interface. 2019-05-07 16:10:24 -07:00
Jason Volk
180c83634f ircd:Ⓜ️:dbs: Reorg write_opts; throw panic on nul event_idx; various. 2019-05-07 16:10:24 -07:00
Jason Volk
9d5f0049cf ircd:Ⓜ️:dbs: Reorg the indexer conditions. 2019-05-07 15:14:10 -07:00
Jason Volk
8e90f8de5d ircd:Ⓜ️:room::state: Add convenience to check if state event. 2019-05-06 20:47:12 -07:00
Jason Volk
6c43a47d87 ircd:Ⓜ️:room::messages: Add event_idx convenience conversion. 2019-05-06 14:36:49 -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
04e5e44c98 ircd:Ⓜ️:event: Use direct reference initialization for constexprs here. 2019-05-02 15:35:26 -07:00
Jason Volk
77a92a1874 modules/s_keys: Reorg free functions into namespace; various cleanup. 2019-05-01 15:40:17 -07:00
Jason Volk
a5f26db7ea modules/s_fetch: Split hook handler into auth and prev related subroutines. 2019-04-30 14:14:08 -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
80fb8699a1 ircd:Ⓜ️ Add a membership string size constant. 2019-04-27 18:32:45 -07:00
Jason Volk
425385265a ircd:Ⓜ️:room::origins: Minor reorg for_each. 2019-04-27 18:32:45 -07:00
Jason Volk
10b8e1d08b ircd:Ⓜ️:event::fetch: Relax object semantics. 2019-04-26 05:30:21 -07:00
Jason Volk
05306b2ce7 ircd:Ⓜ️ Minor formatting fix; remove stale comment. 2019-04-26 03:23:09 -07:00
Jason Volk
e5563586cf ircd:Ⓜ️ Additional room sounding tools; improve console cmd. 2019-04-26 01:47:13 -07:00
Jason Volk
486ca09153 ircd:Ⓜ️ Replace is_complete w/ sounding(); console cmd. 2019-04-26 01:35:39 -07:00
Jason Volk
ba797778d6 ircd:Ⓜ️ Provide event_idx for event after gap to closure. 2019-04-26 01:35:38 -07:00
Jason Volk
e3e9322718 ircd:Ⓜ️ Add a room depth gap sounding suite w/ console cmd. 2019-04-26 01:35:16 -07:00
Jason Volk
f26fc85b0a ircd:Ⓜ️:error: Add convenience getters for properties. 2019-04-25 23:35:46 -07:00