0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-08-23 10:04:47 +02:00
Commit graph

459 commits

Author SHA1 Message Date
Jason Volk 1d7fce8368 ircd:Ⓜ️ Reorg filter interface and linkage related. 2018-05-19 18:49:02 -07:00
Jason Volk 39edf575ba ircd:Ⓜ️ Simplify init / fini presence semantics. 2018-05-19 18:49:02 -07:00
Jason Volk a1c3788c38 ircd:Ⓜ️ Add single-property getter interface for event. 2018-05-19 18:49:02 -07:00
Jason Volk dc38da5566 ircd:Ⓜ️ Add missing ADL-converted index(event) calls. 2018-05-19 18:49:01 -07:00
Jason Volk d9b5a7d26a ircd:Ⓜ️ Improve various keys interfaces. 2018-05-19 18:49:01 -07:00
Jason Volk 42b8d41e58 ircd:Ⓜ️:v1:🔑 Add overload for key_id in uri. 2018-05-11 02:02:46 -07:00
Jason Volk c14f268559 ircd:Ⓜ️ ADL the event::fetch::index() suite. 2018-05-09 16:38:11 -07:00
Jason Volk 39b49599e5 ircd:Ⓜ️:user: Add mitsein::count() interface. 2018-05-08 00:44:23 -07:00
Jason Volk 9792cb1435 ircd:Ⓜ️:vm: Add preliminary phase state; minor movements. 2018-05-07 16:34:59 -07:00
Jason Volk fd80a13b15 modules/key/keys: Refactoring of key queries to use m::v1 requests and interface. 2018-05-07 16:34:59 -07:00
Jason Volk 7e66e79715 ircd:Ⓜ️:v1: Split key request into server/query requests. 2018-05-07 16:34:59 -07:00
Jason Volk 9821d7f333 ircd:Ⓜ️:v1: Add key query request. 2018-05-07 14:58:29 -07:00
Jason Volk 4c71ab8fd0 ircd:Ⓜ️🪝 Simplify collections with instance_lists. 2018-05-06 22:28:17 -07:00
Jason Volk 456f8e7ac1 ircd:Ⓜ️ Move vm eval definitions into module. 2018-05-06 22:28:17 -07:00
Jason Volk a04a3e840e ircd:Ⓜ️:vm: Add pointers to access the evaluation data at issue. 2018-05-06 18:10:01 -07:00
Jason Volk 989441677f ircd:Ⓜ️:vm: Add additional identifications to eval instance. 2018-05-06 18:02:34 -07:00
Jason Volk 820284f2d0 ircd:Ⓜ️:vm: Give eval the instance_list. 2018-05-06 18:02:33 -07:00
Jason Volk 68c863e7f9 ircd:Ⓜ️:vm: Reorg commit stack; move room commit thing to m::vm. 2018-05-06 18:02:33 -07:00
Jason Volk e90603b762 ircd:Ⓜ️🪝 Support arbitrary creation and deletion of hook::site instances. 2018-05-06 14:53:39 -07:00
Jason Volk 003ecf6357 ircd: Remove / update various ctx::interrupted catch blocks for ctx::terminated. 2018-05-06 02:06:08 -07:00
Jason Volk e80c8e6f65 ircd:Ⓜ️ Consistent usage of object::size() rather than object::count(). 2018-05-05 23:14:11 -07:00
Jason Volk dd04a50743 ircd:Ⓜ️:dbs: Expose the internal indexer interface. 2018-05-05 18:54:02 -07:00
Jason Volk f08b1053b4 ircd:Ⓜ️:room: Add condition for present state optimization even w/ supplied event_id. 2018-05-05 03:39:33 -07:00
Jason Volk ad2f823056 ircd:Ⓜ️:room: Add head::has() existential test. 2018-05-05 03:36:47 -07:00
Jason Volk ab2490ce73 ircd:Ⓜ️:vm: Add vmopts for room_head related. 2018-05-04 20:57:28 -07:00
Jason Volk 35fee056f9 ircd:Ⓜ️:room: Add preliminary head interface. 2018-05-04 20:57:28 -07:00
Jason Volk 36b43b8607 ircd:Ⓜ️:dbs: Add indexing sequence for _room_head. 2018-05-04 20:57:28 -07:00
Jason Volk e12863d091 ircd:Ⓜ️:dbs: Add room_head column. 2018-05-04 20:43:05 -07:00
Jason Volk ca45e84908 ircd:Ⓜ️ Add bad(event_id) query interface. 2018-05-04 20:43:05 -07:00
Jason Volk 7ca2e8797d ircd:Ⓜ️:dbs: Add interface to manipulate the blacklist column. 2018-05-04 20:43:04 -07:00
Jason Volk 546e57915b ircd:Ⓜ️:dbs: Checkpoint cache size default tweaks. 2018-05-04 16:38:45 -07:00
Jason Volk 66a4d52a93 ircd:Ⓜ️:dbs: Add event_bad column for blacklisting. 2018-05-04 16:38:45 -07:00
Jason Volk 09a0b345c8 ircd:Ⓜ️:dbs: No need to unref columns anymore. 2018-05-04 14:32:18 -07:00
Jason Volk f77b3aae7e ircd:Ⓜ️ Reorg event util related; break up pretty(event) around ostream argument. 2018-05-04 14:30:51 -07:00
Jason Volk e80e34eddc ircd:Ⓜ️ Fix fmt argument type. 2018-04-28 22:16:34 -07:00
Jason Volk 2b7358aa60 ircd:Ⓜ️:dbs: Conditional indexer; pass db::op from opts for indexer. 2018-04-28 19:05:17 -07:00
Jason Volk d3b1b0ff77 ircd:Ⓜ️🆔 Cleanup / fix error. 2018-04-27 21:48:14 -07:00
Jason Volk 46cf2ca559 ircd:Ⓜ️ Fix closure parameter rot. 2018-04-27 21:48:14 -07:00
Jason Volk d8b14ade58 ircd:Ⓜ️ Fix narrowing conversion. 2018-04-27 21:48:14 -07:00
Jason Volk 70f962de4e ircd:Ⓜ️ Elaborate presence interface to fetch full event from user's room. 2018-04-27 15:26:17 -07:00
Jason Volk 75b67e11fc ircd:Ⓜ️ Add state_root() to room messages iterator. 2018-04-26 21:35:55 -07:00
Jason Volk 94b03cfe71 ircd:Ⓜ️ Fix my_node id generation. 2018-04-26 15:45:06 -07:00
Jason Volk 523bf19f30 ircd:Ⓜ️🪝 Add a set to track all hooks for a site. 2018-04-26 15:17:28 -07:00
Jason Volk 78a5442230 ircd:Ⓜ️ Increase stream buffer sizes for pretty(event). 2018-04-25 23:34:39 -07:00
Jason Volk 55632dee5e ircd:Ⓜ️:dbs: Fix default value for event::idx to respect domain order. 2018-04-25 01:42:41 -07:00
Jason Volk ba61369027 ircd:Ⓜ️:dbs: Use buffer size constants for query key generations. 2018-04-24 19:32:32 -07:00
Jason Volk 12592cd22c ircd:Ⓜ️🆔 Improve size constants and range enforcements. 2018-04-24 19:22:07 -07:00
Jason Volk 90348f4265 ircd:Ⓜ️ Add interface to get origin names of user's rooms. 2018-04-23 19:39:50 -07:00
Jason Volk aa5681dab9 ircd:Ⓜ️:dbs: Throw exception for a null index here. 2018-04-23 18:14:30 -07:00
Jason Volk 523ef5f1db ircd:Ⓜ️ Show the hostname in the vm init/halt log message. 2018-04-22 16:26:54 -07:00
Jason Volk f808a28664 ircd: Add m/m.h to stdinc.h 2018-04-22 16:22:02 -07:00
Jason Volk 87bd9bc429 ircd:Ⓜ️ Add conf init sequence for m::self related. 2018-04-22 15:18:05 -07:00
Jason Volk 2325208ecd ircd:Ⓜ️ Add more detailed content information in pretty(event). 2018-04-22 14:24:48 -07:00
Jason Volk 2557834a96 ircd:Ⓜ️:dbs: Factor in the event_idx for a more stable messages sort. 2018-04-22 13:49:02 -07:00
Jason Volk 799f450b47 ircd:Ⓜ️ Fix content size sampling in pretty(event). 2018-04-20 23:48:39 -07:00
Jason Volk fcf17db132 ircd: Various fixes / cleanup. 2018-04-20 15:22:49 -07:00
Jason Volk 1d451ca3ff ircd:Ⓜ️ Add additional filter convenience constructors. 2018-04-19 14:23:47 -07:00
Jason Volk 1397091b7c ircd:Ⓜ️:events: Add a filtered iteration. 2018-04-19 14:23:47 -07:00
Jason Volk e57b85cb36 ircd:Ⓜ️ Add developer convenience constructor to event_filter. 2018-04-19 13:47:51 -07:00
Jason Volk 328292ba0e ircd|:Ⓜ️ Optimize path for head_idx()/depth() to avoid head id lookup. 2018-04-18 15:13:17 -07:00
Jason Volk fbc78c9c60 ircd:Ⓜ️ Add head_idx(room) convenience to get one head event idx. 2018-04-18 15:09:13 -07:00
Jason Volk 02bc9032e8 ircd:Ⓜ️ Add event::idx to top() tuple. 2018-04-18 15:04:46 -07:00
Jason Volk 7659ef3acc ircd:Ⓜ️ Reorder top() tuple; use strong type template std::get'ers. 2018-04-18 15:03:42 -07:00
Jason Volk d64adf8916 ircd:Ⓜ️ Rename event id generator function. 2018-04-18 14:26:25 -07:00
Jason Volk 7f3919dd17 ircd:Ⓜ️ Split events iterations into namespace. 2018-04-18 01:25:54 -07:00
Jason Volk 5a3f105afc ircd:Ⓜ️ Optimize away the event_seq column. 2018-04-18 00:28:05 -07:00
Jason Volk 03e8107b7b ircd:Ⓜ️:dbs: Elaborate additional descriptor options for columns. 2018-04-17 22:10:28 -07:00
Jason Volk eefc7430bc ircd:Ⓜ️ Convert db column keys to binary integers over a continuous sequence space. 2018-04-17 21:13:16 -07:00
Jason Volk 6ef68a8f4e ircd:Ⓜ️ Show content bytes in pretty(event). 2018-04-17 02:51:44 -07:00
Jason Volk 8a829435cd ircd:Ⓜ️:vm: Special case sequence number zero for iterator. 2018-04-16 23:30:57 -07:00
Jason Volk bcd704826c ircd:Ⓜ️:vm: Move db::txn to the stack; use automatic reserve option. 2018-04-16 17:28:26 -07:00
Jason Volk b729338037 ircd:Ⓜ️:room: Move event::fetch outside loop to prevent constructions. 2018-04-16 15:58:26 -07:00
Jason Volk d5cd5dea09 ircd:Ⓜ️:vm: Sequence iteration interface. 2018-04-16 15:58:02 -07:00
Jason Volk b320d8ece1 ircd:Ⓜ️:vm: Integrate sequence counting. 2018-04-16 15:20:08 -07:00
Jason Volk d5087f4e8f ircd:Ⓜ️:dbs: Add event sequence column. 2018-04-16 15:20:08 -07:00
Jason Volk dcacc5af0a ircd:Ⓜ️:vm: Add db::txn allocation reservation options. 2018-04-16 15:20:08 -07:00
Jason Volk cae6964fa5 ircd:Ⓜ️:vm: Add missing INTERRUPT fault to reflect switch. 2018-04-16 13:48:16 -07:00
Jason Volk 60b9960c3d ircd:Ⓜ️ Tweaks to bootstrap / init task ordering. 2018-04-15 18:02:41 -07:00
Jason Volk 6d88ee339d ircd:Ⓜ️:dbs: Rename room_origins to room_joined. 2018-04-15 16:43:09 -07:00
Jason Volk 416d199736 ircd:Ⓜ️ Fix pretty(event) formatting. 2018-04-15 04:16:40 -07:00
Jason Volk 0a3259afae ircd::db: Custom table opts; table cache; introduce the bloom filter. 2018-04-14 23:10:09 -07:00
Jason Volk 14d90bf4a9 ircd:Ⓜ️:vm: Move temporary m.room.member effect to modules/m_room_member. 2018-04-13 14:54:11 -07:00
Jason Volk 45f8239f9b ircd:Ⓜ️:vm: Properly propagate a context interruption to the evaluator. 2018-04-12 23:07:46 -07:00
Jason Volk 56234556e8 ircd:Ⓜ️ Real uses for this prefer to include the user in the iteration. 2018-04-12 23:07:46 -07:00
Jason Volk cee7a17330 ircd:Ⓜ️:dbs: Purge old cruft; add various \briefs. 2018-04-12 23:07:45 -07:00
Jason Volk a628f88206 ircd:Ⓜ️:room: Adjust expectations for fetching event after index seek. 2018-04-12 14:10:45 -07:00
Jason Volk 0a1a35fdf4 ircd:Ⓜ️:room::members: Improve interface; add user::id specific iteration closure. 2018-04-12 14:10:03 -07:00
Jason Volk f9ade26b24 ircd:Ⓜ️:dbs: Workaround issues with incorrect std::tuple references. 2018-04-12 14:08:48 -07:00
Jason Volk 28488eb54b ircd:Ⓜ️ Add messages iteration convenience interface to m::room. 2018-04-12 02:14:10 -07:00
Jason Volk 54e3719097 ircd::json: Consolidate authority for value defined() semantics. 2018-04-11 23:40:31 -07:00
Jason Volk ed637d48f0 ircd:Ⓜ️:dbs: Fix issues with origins index key split. 2018-04-11 23:40:30 -07:00
Jason Volk b3fa735f8d ircd:Ⓜ️ Minor constness fixes. 2018-04-11 23:40:30 -07:00
Jason Volk 8011b7dd9f ircd:Ⓜ️:room: Fix exception coming out of loop. 2018-04-11 23:40:30 -07:00
Jason Volk 4db39a1bcb ircd:Ⓜ️:state: Use loop condition rather than exception catch. 2018-04-11 23:40:30 -07:00
Jason Volk 9336b28095 ircd:Ⓜ️:state: Bound the stack frame size. 2018-04-11 23:40:30 -07:00
Jason Volk b16aa7f55c ircd:Ⓜ️:state: Add get_node(nothrow) overload. 2018-04-11 23:40:30 -07:00
Jason Volk 82ef048d3f ircd:Ⓜ️ More complete presence interface getter interface stack. 2018-04-11 23:09:49 -07:00
Jason Volk 75fdf2f518 ircd:Ⓜ️:user: Add naive user commonality interface. 2018-04-11 23:09:49 -07:00
Jason Volk 867a3aa9dc ircd:Ⓜ️:user::rooms: Allow empty membership string intuitive behavior. 2018-04-11 15:56:37 -07:00
Jason Volk 33ca15e45d ircd:Ⓜ️:user::rooms: Add a count() interface. 2018-04-11 15:47:51 -07:00