0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-16 15:38:36 +02:00
Commit graph

588 commits

Author SHA1 Message Date
Jason Volk f54e05b7f0 ircd:Ⓜ️:room: Passthru as wildcard for empty type string. 2018-09-25 16:09:46 -07:00
Jason Volk 64ccbea79d ircd:Ⓜ️:room: Refactor out remaining "test protocol" iterations from state interface. 2018-09-25 16:02:19 -07:00
Jason Volk 452f9a9abb ircd:Ⓜ️ Reorg init/fini sequence. 2018-09-21 15:07:28 -07:00
Jason Volk 9c64ae50e4 ircd:Ⓜ️ Reuse index query path. 2018-09-20 23:30:51 -07:00
Jason Volk aea6659154 ircd:Ⓜ️ Reuse query path. 2018-09-20 23:30:51 -07:00
Jason Volk 53651ad808 ircd::db: Move database::descriptor out to db::descriptor. 2018-09-19 15:38:37 -07:00
Jason Volk 4660619f4a modules/media/media: Disable bloom; ircd:Ⓜ️:dbs: Disable state_node bloom. 2018-09-17 23:51:55 -07:00
Jason Volk 75ea43885b ircd:Ⓜ️:dbs: Add conf items for column block sizes. 2018-09-17 23:42:25 -07:00
Jason Volk 0ed617c889 ircd:Ⓜ️🪝 Add option for propagating exceptions. 2018-09-17 20:45:05 -07:00
Jason Volk 3188b03943 ircd:Ⓜ️:typing: Add an iteration of typist state w/ console cmd. 2018-09-16 20:55:12 -07:00
Jason Volk 46cb5aee41 modules/m_typing: Move non-handler related from client/rooms/typing. 2018-09-16 20:55:12 -07:00
Jason Volk ba401ee815 ircd:Ⓜ️:dbs: Add conf items for all caches enable/disable. 2018-09-15 06:41:34 -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 71edf65c7c ircd:Ⓜ️:vm: Remove the depends aborted depends map fetus. 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 08d9f2c606 ircd:Ⓜ️ Remove the room::state::tuple contraption. 2018-09-13 07:53:51 -07:00
Jason Volk 65f87b58bc ircd:Ⓜ️ Use better constexpr for room_id() stack buffer size. 2018-09-13 05:02:24 -07:00
Jason Volk d3766ee0e5 ircd:Ⓜ️ Add room federate query w/ console indicator. 2018-09-12 23:31:32 -07:00
Jason Volk 2ae2bb0eef ircd:Ⓜ️ Add room version query w/ console cmd. 2018-09-12 23:26:15 -07:00
Jason Volk 5c879bd380 ircd:Ⓜ️🧾 Start central interface to get receipt information. 2018-09-12 22:32:00 -07:00
Jason Volk f4831c863a modules/m_room: Add interface to count events in a room between two arguments. 2018-09-12 22:32:00 -07:00
Jason Volk 632278e607 ircd:Ⓜ️:room: Finesse a messages::seek_idx() into the seek stack. 2018-09-07 06:19:21 -07:00
Jason Volk 6858ea2bb1 ircd:Ⓜ️:vm: Add commitopts (copts) to vm::accepted structure. 2018-09-05 19:43:09 -07:00
Jason Volk 4067809a9a ircd:Ⓜ️:state: Add addl rep util; checkpoint remove stub. 2018-09-05 01:36:44 -07:00
Jason Volk 6dc3f4044a modules: Checkpoint vm_fetch fwiw (disabled from active eval codepaths). 2018-09-04 23:27:01 -07:00
Jason Volk e48750e6aa ircd:Ⓜ️ Just disable MISSING_PREV_STATE check here. 2018-09-04 23:24:05 -07:00
Jason Volk a806b2d60b modules/m_event: Add modules; move pretty() suite out of ircd:Ⓜ️:. 2018-09-04 20:27:30 -07:00
Jason Volk aeb41e7341 ircd:Ⓜ️ Add pretty_msgline() suite. 2018-09-04 06:35:10 -07:00
Jason Volk a0f8fef153 ircd:Ⓜ️:request: Runtime exception for request which is too large. 2018-09-03 00:37:11 -07:00
Jason Volk 795beb2ad2 ircd:Ⓜ️:dbs: Checkpoint these column descriptions in order already used. 2018-09-02 21:16:49 -07:00
Jason Volk 7145af512d ircd:Ⓜ️:dbs: Update some bloom filter default values. 2018-09-02 21:16:49 -07:00
Jason Volk 6440ea3f11 ircd:Ⓜ️:dbs: Add conf items for events db column caches. 2018-09-02 21:16:49 -07:00
Jason Volk 91dff38a57 ircd:Ⓜ️ Add prefetch() to event::fetch interface. 2018-09-01 07:15:03 -07:00
Jason Volk 3ee9186173 ircd:Ⓜ️ Improve safe init exception propagation. 2018-08-30 21:55:20 -07:00
Jason Volk 140c4a5143 ircd:Ⓜ️ Only set ircd offline presence on clean ~init. 2018-08-30 21:55:20 -07:00
Jason Volk a4e4424ede ircd: Improve main control flow for termination condition during init. 2018-08-28 15:04:23 -07:00
Jason Volk 48a436fcc1 ircd:Ⓜ️:event: Addl prev utils; simplify before(). 2018-08-26 07:13:47 -07:00
Jason Volk 02d1cd1115 ircd:Ⓜ️ Add central linkage for m::feds::state. 2018-08-26 07:13:47 -07:00
Jason Volk 170475f374 ircd:Ⓜ️ Add user::events iterator w/ console cmd. 2018-08-24 14:01:32 -07:00
Jason Volk bf234c77a4 ircd:Ⓜ️:user: Ensure bools are returned from iteration closures here. 2018-08-24 13:55:33 -07:00
Jason Volk 0f79ad7b08 ircd:Ⓜ️:room: Officiate random_origin w/ central linkage; use view closure. 2018-08-24 04:19:55 -07:00
Jason Volk cbd149b650 ircd:Ⓜ️:room::origins: Add a bool for_each() to eventually replace test(). 2018-08-22 17:42:35 -07:00
Jason Volk a4e1162ae2 ircd:Ⓜ️:room: Pass db get options to the iterations. 2018-08-21 08:48:42 -07:00
Jason Volk 3a4817354e ircd:Ⓜ️ Add room state types iteration. 2018-08-21 08:37:44 -07:00
Jason Volk 99ed82f52d ircd:Ⓜ️ Remove the listeners first on deinit. 2018-08-19 20:19:43 -07:00
Jason Volk 61fade178e ircd::m/modules/key: Various reorg / modularization. 2018-08-17 12:51:49 -07:00
Jason Volk 4199d5026c ircd: Factor out the ircd::BUFSIZE; remove stale ircd::config extern. 2018-08-17 12:51:48 -07:00
Jason Volk 9a08305bc4 ircd:Ⓜ️ Partial listen init / init related. 2018-08-14 20:09:20 -07:00
Jason Volk c442954e12 ircd:Ⓜ️ Various init reorg related. 2018-08-14 16:47:42 -07:00
Jason Volk 19b4e58944 ircd:Ⓜ️ Rename modules map to imports. 2018-08-14 15:51:57 -07:00
Jason Volk f51fde206a ircd:Ⓜ️ Remove unused event_id to optimize query. 2018-08-11 00:42:09 -07:00
Jason Volk 6dddf9135d ircd:Ⓜ️:dbs: Minor simplify. 2018-07-22 12:05:24 -07:00
Jason Volk dd037988f3 ircd::m/modules: Update various client listeners w/ callback. 2018-07-06 18:40:15 -07:00
Jason Volk c26255290b ircd:Ⓜ️:room::members: Allow empty membership string to count() all members. 2018-07-01 14:49:24 -07:00
Jason Volk 08d45dc838 ircd:Ⓜ️ Generalize room::lonly into more efficient room::origins::only(origin). 2018-06-30 21:57:09 -07:00
Jason Volk 8038faf8e0 ircd:Ⓜ️ Add conditionals to bootstrap() operations. 2018-06-30 18:49:38 -07:00
Jason Volk 85d1c924a5 ircd:Ⓜ️ Add function to query if room only has our origin joined. 2018-06-30 18:49:03 -07:00
Jason Volk 7d4eb46a1a ircd:Ⓜ️ Interface/linkage to generate room account_data type string. 2018-06-19 21:47:26 -06:00
Jason Volk f8763af509 ircd:Ⓜ️ Add user interface w/ linkage for room account data. 2018-06-19 21:33:03 -06:00
Jason Volk c136e82a57 ircd:Ⓜ️ Temporary fixes for stale static initializations. 2018-06-16 23:00:47 -06:00
Jason Volk c5d11b7b07 ircd:Ⓜ️ Defaults for some initial config related. 2018-06-16 20:45:28 -06:00
Jason Volk fefe965149 ircd:Ⓜ️:init: Improve some conf related defaults; ctor error log cleanup. 2018-06-15 15:22:27 -06:00
Jason Volk 4c39840352 ircd:Ⓜ️:state: Checkpoint relaxed assumptions about creating new tree roots. 2018-06-12 01:00:15 -07:00
Jason Volk e889c54bc3 ircd:Ⓜ️:dbs: Checkpoint changes to default cache sizes (un-conf'ed) for now. 2018-06-12 01:00:15 -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 b4e7bb062c modules: Rename root to webroot. 2018-06-12 01:00:14 -07:00
Jason Volk 912562f469 ircd:Ⓜ️:vm: Checkpoint phase-as-class skeleton. 2018-06-12 01:00:14 -07:00
Jason Volk 0da4dec13c ircd:Ⓜ️:event: Add topological before; improve prev iteration closure; reorg some util. 2018-06-09 14:37:31 -07:00
Jason Volk de07d32afd ircd/modules: Update various conditional json::iov nodes. 2018-06-05 11:19:40 -07:00
Jason Volk f2acc304c5 ircd:Ⓜ️:room: Add power levels convenience interface (query side). 2018-06-04 14:23:39 -07:00
Jason Volk 2d7b011bba ircd:Ⓜ️:v1: Add frontfill request. 2018-06-03 19:17:03 -07:00
Jason Volk 50835ce7bd ircd:Ⓜ️:room::messages: Adhere to room.event_id in ctor if given. 2018-06-03 14:50:42 -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 a24d0e387e ircd:Ⓜ️:room::messages: Ret false rather than throw for seek(event_id) not_found. 2018-06-03 07:44:37 -07:00
Jason Volk 7743198601 ircd:Ⓜ️:room: Optimize the room::membership query fix. 2018-06-02 22:18:45 -07:00
Jason Volk 49ef5af3e5 ircd:Ⓜ️:room: Fix the membership query for missing memberships. 2018-06-02 18:24:39 -07:00
Jason Volk 467441e83c ircd:Ⓜ️:room: Optimize the membership convenience query. 2018-05-31 06:39:36 -07:00
Jason Volk 6671122997 ircd:Ⓜ️ Rework visibility interface for empty mxid's as part of a public test. 2018-05-31 04:25:04 -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 2ba495eb8b modules/m_presence: Move some externs from client/presence; update linkages. 2018-05-28 01:31:45 -07:00
Jason Volk 9714d1ee15 ircd:Ⓜ️ Reorg event visibility interface; update linkages. 2018-05-28 00:33:21 -07:00
Jason Volk 377276432b ircd:Ⓜ️ Add back non-essential fields after essential stripping here. 2018-05-27 08:39:49 -07:00
Jason Volk 3ec0a1c7c8 ircd:Ⓜ️ Further overload the event::hashes stack; use proper return types. 2018-05-27 08:39:49 -07:00
Jason Volk 0d833cda4f ircd:Ⓜ️ Add templated payload for hook. 2018-05-26 22:12:11 -07:00
Jason Volk 37f8868afc ircd:Ⓜ️:init: Run a conf update after all modules have loaded [disabled] 2018-05-25 23:48:07 -07:00
Jason Volk e11973fb40 ircd:Ⓜ️:init: Provide some partial load ordering based on module prefix. 2018-05-25 21:07:29 -07:00
Jason Volk 1309565506 ircd:Ⓜ️ Add essential key pruning for m.room.redaction sign and verify. 2018-05-25 18:35:40 -07:00
Jason Volk ee0ff2b1ad ircd:Ⓜ️ Basic internal db::gopts for events iteration. 2018-05-24 21:31:33 -07:00
Jason Volk 184684264b ircd:Ⓜ️🪝 Additional internal distillation of class components. 2018-05-24 18:31:47 -07:00
Jason Volk 9da798145b ircd:Ⓜ️ Allow room opts passed through user::room ctor. 2018-05-23 16:44:16 -07:00
Jason Volk f641076072 ircd::json: Antipodal undefined number; add assert that it's not zero. 2018-05-23 00:32:37 -07:00
Jason Volk fd13e71684 ircd:Ⓜ️:dbs: Add equality comparator to optimize events__room_events. 2018-05-21 19:52:47 -07:00
Jason Volk 6be37c7aa6 ircd:Ⓜ️ Add event::fetch::opts overrider to room::messages; simplify overrider on room::state. 2018-05-21 17:36:16 -07:00
Jason Volk bc26a8f9b3 ircd:Ⓜ️ Optimize user::rooms iteration event query. 2018-05-21 00:19:27 -07:00
Jason Volk 2755d779c9 ircd:Ⓜ️ Simplify user::rooms iteration callstack. 2018-05-21 00:19:08 -07:00
Jason Volk 559c2f008c ircd:Ⓜ️ Optimize room::members::count w/ event::fetch::opts keys select. 2018-05-20 20:30:25 -07:00
Jason Volk 65b516e4c0 ircd:Ⓜ️ Use proper m::membership(event) test and deoptimize accordingly. 2018-05-20 20:26:12 -07:00
Jason Volk db026147b7 ircd:Ⓜ️ Optimize query for room::members::for_each w/ user_id closure. 2018-05-20 20:17:45 -07:00
Jason Volk 67b7a58f42 ircd:Ⓜ️ Additional event/room visibility linkage and preliminary hook. 2018-05-20 20:15:50 -07:00