0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-30 07:48:22 +02:00
Commit graph

1105 commits

Author SHA1 Message Date
Jason Volk 063bd39b09 ircd:Ⓜ️:room::auth: Remove noexcept on interface for IO termination propagation. 2019-08-20 22:26:52 -07:00
Jason Volk 5e87a2e941 ircd:Ⓜ️:room::auth: Improve error hierarchy. 2019-08-20 22:26:52 -07:00
Jason Volk 7e8d8666ff ircd:Ⓜ️:room::state: Add additional event::idx based tools. 2019-08-20 21:36:36 -07:00
Jason Volk fd953d4b10 ircd:Ⓜ️:events::type: Add has()/has_prefix() to interface. 2019-08-20 21:23:18 -07:00
Jason Volk 204989802d ircd:Ⓜ️:events: Split and reorganize API sections into specific namespaces. 2019-08-20 21:23:18 -07:00
Jason Volk 0e956dbaca ircd:Ⓜ️:dbs: Start a directory README; add some comments. 2019-08-20 21:23:18 -07:00
Jason Volk ac03c9a13b ircd: Use bool return values through prefetching stack. 2019-08-19 21:18:26 -07:00
Jason Volk e58434705e ircd:Ⓜ️:dbs: Augment event_sender with a second key domain. 2019-08-19 18:40:12 -07:00
Jason Volk 0c317bdf9d ircd:Ⓜ️:room::state::space: Add nullary count() to interface. 2019-08-18 08:33:00 -07:00
Jason Volk e38371d50c ircd:Ⓜ️:room: Add basic count() suite. 2019-08-18 08:20:11 -07:00
Jason Volk abca51deea ircd:Ⓜ️:room::power: Add cheap composer for augmented default power_levels content. 2019-08-18 06:38:10 -07:00
Jason Volk 52657ca410 ircd:Ⓜ️:room::auth::chain: Simplify interface. 2019-08-18 05:46:42 -07:00
Jason Volk cb94558c4a ircd:Ⓜ️:fed: Remove opts inline constructor due to shared linkage issues. 2019-08-18 04:13:12 -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 1541b2d52e ircd:Ⓜ️:user: Move rooms::origins to user::servers interface. 2019-08-17 02:59:13 -07:00
Jason Volk 34e87c08c3 ircd:Ⓜ️:user::mitsein: Simplify interface. 2019-08-17 02:59:13 -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 3a0bfc8db9 ircd:Ⓜ️:user::room: Add a one-liner is(user_room) test. 2019-08-16 23:54:04 -07:00
Jason Volk 100f5c646a ircd:Ⓜ️:sync: Fix phased polylog invocation conditions; eliminate initial flag. (#105) 2019-08-16 04:50:39 -07:00
Jason Volk fc742ae2d0 ircd: Fix warning/error.
ircd: Minor cleanup.
2019-08-16 03:32:13 -07:00
Jason Volk 125ff95875 ircd:Ⓜ️:room::state: Simplify util interface arguments. 2019-08-16 02:25:50 -07:00
Jason Volk d17286515b ircd:Ⓜ️:room::state: Simplify/consolidate iteration interface. 2019-08-16 02:19:49 -07:00
Jason Volk cd347d53cb ircd:Ⓜ️:create: Add a central room_version default conf item. 2019-08-16 02:19:48 -07:00
Jason Volk aaa015c6b8 ircd:Ⓜ️:name: Add room_version as a property name. 2019-08-16 02:19:48 -07:00
Jason Volk 1c42206307 ircd:Ⓜ️:feds: Add an exclude_myself option. 2019-08-14 01:52:32 -07:00
Jason Volk 3d808022ed ircd:Ⓜ️:feds: Rename interface function. 2019-08-14 01:26:02 -07:00
Jason Volk fca330e1c1 ircd:Ⓜ️:room: Reorg / slim the class member function interface.
ircd:Ⓜ️:room: Rename interface function.
2019-08-14 01:09:34 -07:00
Jason Volk c95d1e56ee ircd:Ⓜ️:init: Add preliminary worker context loop for backfill unit. (#78) 2019-08-13 23:39:05 -07:00
Jason Volk 1bea1d2265 ircd:Ⓜ️:room::origins: Add empty(). 2019-08-13 05:35:42 -07:00
Jason Volk 74cef5d74d ircd:Ⓜ️:rooms: Add room::lonly() related to interface. 2019-08-13 05:09:14 -07:00
Jason Volk c7f9521a3f ircd:Ⓜ️:users: Rename for consistency. 2019-08-13 03:00:08 -07:00
Jason Volk ea4d74967b ircd:Ⓜ️:events: Improve header comments.
ircd:Ⓜ️:dbs: Fix typos.
2019-08-13 01:22:13 -07:00
Jason Volk 84e79a64e6 ircd:Ⓜ️:rooms: Refactor interface; split rooms::summary; split module. 2019-08-12 23:55:07 -07:00
Jason Volk 76889eab6e ircd:Ⓜ️:user::highlight: Add for_each() to interface; simplify stack (#87). 2019-08-12 04:10:28 -07:00
Jason Volk f74ddd0171 ircd:Ⓜ️ Add back the id::NODE sigil; add to room_id() translation. 2019-08-12 01:39:16 -07:00
Jason Volk f24bf54799 ircd:Ⓜ️ Eliminate the user::users room references. 2019-08-12 01:39:16 -07:00
Jason Volk 0c05241fec ircd:Ⓜ️:users: Refactor !users room out of the users:: interface. 2019-08-11 23:30:50 -07:00
Jason Volk 9a3f37c0af ircd:Ⓜ️:sync: Remove cruft. 2019-08-11 07:51:42 -07:00
Jason Volk 8bce90fbf3 modules/client/keys/upload: Properly implement one_time_keys upload. (Fixes #9) 2019-08-09 23:34:20 -07:00
Jason Volk 3fe4baba4f ircd:Ⓜ️:user::highlight: Improve highlight matching quality. (Fixes #122) 2019-08-07 18:42:20 -07:00
Jason Volk ac14be5a01 ircd:Ⓜ️:user::highlight: Match -at-room. (Closes #118) 2019-08-07 00:41:08 -07:00
Jason Volk e0fec1e81d modules/client/sync: Add device_id to sync data. 2019-08-06 19:18:03 -07:00
Jason Volk f3ada0ed9c ircd:Ⓜ️:device: Add access_token_to_id() lookup suite. 2019-08-06 18:33:42 -07:00
Jason Volk eddc5b3b55 ircd:Ⓜ️:event::append: Add properties mask to opts; centralize. (Fixes #119) 2019-08-05 17:54:00 -07:00
Jason Volk 3dfb593dec modules/m_room_aliases: Consolidate state_key creation; case desensitize. 2019-08-02 22:01:00 -07:00
Jason Volk be4a33c136 ircd:Ⓜ️🆔 Increase the buf SIZE constant to the next pow2. 2019-08-02 22:00:58 -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 7b32e8bbad ircd:Ⓜ️:room::aliases::cache: Improve interface and simplify implementation callstack. 2019-08-02 16:18:01 -07:00
Jason Volk 8e5e599690 ircd:Ⓜ️ Relax exception propagation through event::refs. (Fixes #114) 2019-08-02 15:04:29 -07:00
Jason Volk 7333be92ca ircd:Ⓜ️:typing: Simplify interface; fix linkages. 2019-07-30 14:21:26 -07:00
Jason Volk ed56ef680a ircd:Ⓜ️:fed::user::keys::claim: Separate content creation functions from ctor.
ircd:Ⓜ️:fed::user::keys::query: Separate content creation functions from ctor.
2019-07-30 12:30:27 -07:00
Jason Volk 6c367c8abf ircd:Ⓜ️ Fix error code. 2019-07-26 19:09:28 -07:00
Jason Volk 7cb7052273 ircd:Ⓜ️:fetch: Add a room based fetch to interface. 2019-07-26 16:13:58 -07:00
Jason Volk ae1ccca038 ircd:Ⓜ️:event::prev: Remove ambiguous overload. 2019-07-26 15:58:58 -07:00
Jason Volk 5edd7a6117 ircd:Ⓜ️:fetch: Whittle down the current interface; remove libircd linkages. 2019-07-26 15:51:15 -07:00
Jason Volk fea6bfb395 ircd:Ⓜ️🪝 Fix missing facility in log calls.
ircd:Ⓜ️🪝 Minor cleanup.
2019-07-26 15:15: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 9a5df1ae9c ircd:Ⓜ️ Add additional format selection for pretty_oneline(event). 2019-07-25 15:57:04 -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 ddcce0ef2b ircd:Ⓜ️:event: Document class member related. 2019-07-25 14:29:07 -07:00
Jason Volk c45bfc4379 ircd:Ⓜ️🆔:buf: Remove misleading move semantic. 2019-07-24 16:46:29 -07:00
Jason Volk 58c83b01a7 ircd:Ⓜ️:feds: Add a closure_cached_errors option.
modules/m_command: Tweak ping options.
2019-07-23 22:46:48 -07:00
Jason Volk eb3b4d82fb ircd:Ⓜ️:room::members: Simplify and improve interface; callsites. 2019-07-23 19:50:13 -07:00
Jason Volk df11d9bec6 ircd:Ⓜ️:room: Reorient join bootstrap definitions.
ircd:Ⓜ️:room::bootstrap: Improve interface / various.
2019-07-23 16:40:29 -07:00
Jason Volk e883f2a42b ircd:Ⓜ️:keys: Add additional fetch to interface. 2019-07-22 20:35:41 -07:00
Jason Volk f1e3a9c53b ircd:Ⓜ️:keys: Add mass fetcher to interface. 2019-07-22 20:35:41 -07:00
Jason Volk eb38a9ce15 ircd:Ⓜ️:room::timeline: Improve iteration. 2019-07-22 19:10:19 -07:00
Jason Volk 4a37152c6d ircd:Ⓜ️:fetch: Add clear() to interface. 2019-07-22 14:20:21 -07:00
Jason Volk 53e7fe3fef ircd:Ⓜ️:fetch: Remove cruft. 2019-07-22 14:18:13 -07:00
Jason Volk b17b508c2a ircd:Ⓜ️:room::origins: Add interface to count room servers online/error. 2019-07-21 19:08:40 -07:00
Jason Volk bcec03ce1a ircd:Ⓜ️:vm::eval: Add find_pdu() to interface. 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 c9745570fc ircd:Ⓜ️ Add internal(room) to interface. 2019-07-19 14:27:57 -07:00
Jason Volk e57561e8c1 ircd:Ⓜ️ Add type(room) to interface. 2019-07-19 14:27:57 -07:00
Jason Volk bdc88e6c7e imrcd:Ⓜ️:room::members: Add empty() to interface. 2019-07-19 14:27:57 -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 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 1c00399f66 ircd:Ⓜ️ Add interface to test if event is redacted. 2019-07-16 10:48:35 -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 df8fd36fde ircd:Ⓜ️:user: Simplify user::room_tags impl w/ modern linkage.
ircd:Ⓜ️:user: Simplify user::room_account_data impl w/ modern linkage.

ircd:Ⓜ️:user: Modernize user::profile impl linkage.

ircd:Ⓜ️:user: Modernize user::account_data impl linkage.

ircd:Ⓜ️:user: Simplify user::ignores impl w/ modern linkage.
2019-07-13 18:15:27 -07:00
Jason Volk 212e4abb55 ircd:Ⓜ️:fed: Add /v2/invite request support. 2019-07-12 19:29:51 -07:00
Jason Volk ce55859fb2 ircd:Ⓜ️ Rename v1 to fed. 2019-07-12 19:29:51 -07:00
Jason Volk 2d7a914eb2 ircd:Ⓜ️:event: Fix detection on hashing constructor. 2019-07-11 19:22:35 -07:00
Jason Volk 4947ef10f5 ircd:Ⓜ️:room: Add missing linear event::idx get(). 2019-07-11 18:58:17 -07:00
Jason Volk c4e5d06d91 ircd:Ⓜ️:error: Improve construction stack. 2019-07-11 17:22:16 -07:00
Jason Volk 7fdf87a21f ircd:Ⓜ️:user: Combine user.h and user/user.h like other directories. 2019-07-11 15:51:09 -07:00
Jason Volk 6032331bf2 ircd:Ⓜ️ Move breadcrumb_rooms interface down one out from m::user::. 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 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 2755cfe71b ircd:Ⓜ️🆔 Improve the validation interface / stack. 2019-07-09 02:33:27 -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 d5c035693c ircd:Ⓜ️:user: Add interface to im.vector.riot.breadcrumb_rooms. 2019-07-08 06:03:20 -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 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
Jason Volk 541d95f47e ircd:Ⓜ️:v1: Add ids_only to event_auth opts. 2019-04-24 17:43:03 -07:00
Jason Volk d18711503f ircd:Ⓜ️ Unsplit event/event.h room/room.h. 2019-04-22 21:38:27 -07:00
Jason Volk f6314a4201 modules/s_fetch: Minor reorg; pass room arg to fetch::synchronize(). 2019-04-22 12:45:45 -07:00
Jason Volk e3b1be2910 ircd:Ⓜ️:vm: Refactor various fetch related options. 2019-04-22 12:27:43 -07:00
Jason Volk 56dd0ed8e7 ircd:Ⓜ️:vm: Add opts to pass user_id/node_id of evaluator. 2019-04-22 12:25:50 -07:00
Jason Volk b683f1d436 modules/vm: Assert options; prevent assignment of eval. 2019-04-22 12:23:37 -07:00
Jason Volk 21a62019f2 modules/vm: Simplify error wrapping on propagation. 2019-04-20 15:03:51 -07:00
Jason Volk c7a872c67a ircd:Ⓜ️🪝 Add accounting for hook calls; site/hook current call count. 2019-04-18 21:52:33 -07:00
Jason Volk 02b835eb2b ircd:Ⓜ️:feds: Add additional options; document options. 2019-04-18 21:23:00 -07:00
Jason Volk 0176dba9a8 ircd:Ⓜ️:fetch: Consolidate interface; remove unused; reorg. 2019-04-18 19:12:37 -07:00
Jason Volk 0edd47d383 ircd:Ⓜ️:feds: Add vector of operations to API. 2019-04-18 15:26:03 -07:00
Jason Volk 5232893c6a ircd:Ⓜ️:fetch: Checkpoint frontfill / head selection related. 2019-04-18 05:17:49 -07:00
Jason Volk bc922724cd ircd:Ⓜ️:feds: Refactor interface into opcode ABI. 2019-04-18 05:16:21 -07:00
Jason Volk 08cd894cd0 ircd:Ⓜ️:feds: Point to the opts in result struct. 2019-04-18 04:15:13 -07:00
Jason Volk 59982907d3 ircd:Ⓜ️:feds: Add feds::auth; update console cmd. 2019-04-18 04:13:21 -07:00
Jason Volk 871fb748eb ircd:Ⓜ️:fetch: Pass boolean values down the stack for start/prefetch. 2019-04-18 01:21:22 -07:00
Jason Volk 0fa4bdcff7 ircd:Ⓜ️:rooms: Consolidate / refine the rooms iteration interface. 2019-04-17 20:47:50 -07:00
Jason Volk 5fee4a9933 ircd:Ⓜ️:events: Add type-based iteration w/ console cmd. 2019-04-16 16:11:23 -07:00
Jason Volk 9b00c65ef6 ircd:Ⓜ️:events: Add additional lighter-weight event_idx iteration tools. 2019-04-16 16:11:23 -07:00
Jason Volk d96208faaf ircd:Ⓜ️:events: Add iteration tools for events in sender/origin. 2019-04-16 16:11:23 -07:00
Jason Volk ecbdf00f22 ircd:Ⓜ️:dbs: Add event_type metadata column. 2019-04-16 16:11:23 -07:00
Jason Volk 8148dc6502 ircd:Ⓜ️:dbs: Add event_sender metadata column. 2019-04-16 15:04:31 -07:00
Jason Volk 25d153d64c ircd:Ⓜ️:sync: Add an initial phase convenience; add account_data as an initial phase. 2019-04-16 01:32:52 -07:00
Jason Volk 307d8bf71c ircd:Ⓜ️:fetch: Fix object assignment semantics. 2019-04-15 14:44:58 -07:00
Jason Volk 77b16f32ce ircd:Ⓜ️:append: Calculate age based on depth from room head.
fixes #55
2019-04-15 14:44:58 -07:00
Jason Volk 2822cd0a8a ircd:Ⓜ️:fetch: Add headfill operation. 2019-04-12 05:09:38 -07:00
Jason Volk eb33688bc1 ircd:Ⓜ️:fetch: Add additional interface tools; consolidate interface; cleanup/reorg.
ircd:Ⓜ️:fetch: Add backfill suite.
2019-04-12 04:44:26 -07:00
Jason Volk 7d27126f96 ircd:Ⓜ️:room: Add any_user() convenience. 2019-04-12 04:44:26 -07:00
Jason Volk c14d67102a ircd:Ⓜ️:fetch: Reorient interface to expose fetch::request. 2019-04-12 03:35:46 -07:00
Jason Volk eace5e309c ircd:Ⓜ️:feds: Add / upgrade backfill. 2019-04-12 01:53:57 -07:00
Jason Volk 360cc01dc8 ircd:Ⓜ️:feds: Migrate feds::perspective() to interface. 2019-04-12 00:55:16 -07:00
Jason Volk 06e381ce2b ircd:Ⓜ️:feds: Use a misc arg vector of string_view's. 2019-04-12 00:52:29 -07:00
Jason Volk 302969f100 ircd:Ⓜ️:feds: Add namespace \brief. Reorg impl layout. 2019-04-12 00:33:29 -07:00
Jason Volk dc93610914 ircd:Ⓜ️:feds: Add feds::event to interface. 2019-04-12 00:16:27 -07:00
Jason Volk c9c171ed5b ircd:Ⓜ️:feds: Refine the feds preliminary central interface. 2019-04-11 06:27:28 -07:00
Jason Volk 562651aa7d ircd:Ⓜ️:fetch: Add fetch+eval workers; start central interface; various. 2019-04-10 22:32:06 -07:00
Jason Volk 1209d47fa5 ircd:Ⓜ️:vm: Add additional vmopts related to fetching. 2019-04-10 22:32:06 -07:00
Jason Volk a82410009e ircd:Ⓜ️:sync: Introduce phased polylogarithmic initial sync. 2019-04-08 02:46:49 -07:00
Jason Volk a780609b76 ircd:Ⓜ️:sync: Add opts to sync::item. 2019-04-08 01:53:09 -07:00
Jason Volk d08bd0b336 ircd:Ⓜ️:vm: Remove unused fault codes. 2019-04-07 20:57:43 -07:00
Jason Volk 6ae6624772 ircd:Ⓜ️ Add room object equality operator suite. 2019-04-07 14:50:27 -07:00
Jason Volk 19c58ca23e ircd:Ⓜ️:filter: Add convenience filter::get() taking a direct query string value. 2019-03-31 14:41:04 -07:00
Jason Volk 6644161140 ircd:Ⓜ️ Add state_filter w/ related m::name strings. 2019-03-31 14:03:21 -07:00
Jason Volk 9c2b215d60 ircd:Ⓜ️:room::aliases::cache: Add remote fetching; improve interface. 2019-03-30 19:02:11 -07:00
Jason Volk 8063904c06 ircd:Ⓜ️:room::aliases: Add preliminary aliases cache replacement interface. 2019-03-30 19:02:11 -07:00
Jason Volk d17ac6a8bb ircd:Ⓜ️🆔 Add id part-swapping interface. 2019-03-30 18:15:07 -07:00