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

647 commits

Author SHA1 Message Date
Jason Volk
ef740d339b ircd:Ⓜ️:event: Add event::auth examination device. 2019-02-08 03:19:54 -08:00
Jason Volk
2a431fa26a ircd:Ⓜ️:dbs: Add event_auth column. 2019-02-08 03:19:54 -08:00
Jason Volk
cbe829368f ircd:Ⓜ️:event: Start an auth header; add is_power_event(). 2019-02-08 03:19:54 -08:00
Jason Volk
0aa977c307 ircd:Ⓜ️:event: Simplify verify stack. 2019-02-07 23:41:29 -08:00
Jason Volk
fb6be95f2c ircd:Ⓜ️:v1: Add the user::keys::claim ctor stack complex; minor cleanup. 2019-02-07 23:09:30 -08:00
Jason Volk
dcb1f2197e ircd:Ⓜ️:v1: Split user:: / user::keys headers. 2019-02-07 22:16:19 -08:00
Jason Volk
3a8f53e46e ircd:Ⓜ️ Start a device header. 2019-02-07 08:19:27 -08:00
Jason Volk
d5f03fba59 ircd:Ⓜ️:v1: Add ctor stack complex for user::keys::query. 2019-02-07 00:40:48 -08:00
Jason Volk
ce0d974868 ircd:Ⓜ️:v1: Add principals for user::keys::query & claim; remove unstables. 2019-02-07 00:17:26 -08:00
Jason Volk
8eb68c0e2e ircd:Ⓜ️:dbs: Add missing event refs comparator: minor cleanup. 2019-02-06 21:32:26 -08:00
Jason Volk
93fb468ba2 ircd:Ⓜ️:vm: Add tools using the eval instance_list. 2019-02-06 20:54:21 -08:00
Jason Volk
70c901a894 ircd:Ⓜ️:vm: Add json::array eval ctor. 2019-02-06 20:54:04 -08:00
Jason Volk
bb68dfc1e7 ircd:Ⓜ️ Add event::hash(json::object) w/ branch from event.source. 2019-02-06 20:52:42 -08:00
Jason Volk
e497fe8506 ircd:Ⓜ️:event: Add event_id() convenience suite to reverse index(). 2019-02-06 17:18:38 -08:00
Jason Volk
ec8f0c1e1c ircd:Ⓜ️:event: Add refs interface. 2019-02-06 17:18:38 -08:00
Jason Volk
2586476a57 ircd:Ⓜ️:dbs: Fix prefix related for event_refs column. 2019-02-06 17:18:38 -08:00
Jason Volk
9bd86e7f69 ircd:Ⓜ️:request: Use conf items for buffer sizes and limits. 2019-02-06 02:34:52 -08:00
Jason Volk
ca4ef84c9f ircd:Ⓜ️:dbs: Add event_refs indexer; reorg event indexers related. 2019-02-05 19:05:17 -08:00
Jason Volk
843f78548b ircd:Ⓜ️:dbs: Add event_refs metadata column. 2019-02-05 19:05:17 -08:00
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
4eed3e5ca0 ircd:Ⓜ️🆔 Minor reorg. 2019-02-05 03:09:40 -08:00
Jason Volk
d36a6cd2b0 ircd:Ⓜ️:room: Add index(room::id) convenience to get some integer rep for room. 2019-02-04 19:19:56 -08:00
Jason Volk
7e11176ab7 ircd:Ⓜ️:room::messages: Simplify/optimize seek() functions. 2019-02-04 19:19:56 -08:00
Jason Volk
c080d5523c ircd:Ⓜ️:presence: Improve get() interface based on realistic usage needs. 2019-01-26 16:59:12 -08:00
Jason Volk
0b8a2dfae4 ircd:Ⓜ️ Reorder / reorg m_event unit definitions. 2019-01-26 15:24:03 -08:00
Jason Volk
5ae0a521d6 ircd:Ⓜ️:event::fetch: Swap the fallback logic to json query after row query. 2019-01-26 14:06:03 -08:00
Jason Volk
5ce55a9dee ircd:Ⓜ️:event::fetch: Simplify interface; reference opts as class member. 2019-01-26 13:52:33 -08:00
Jason Volk
c458448104 ircd:Ⓜ️:dbs: Drop the origin column. 2019-01-25 17:37:30 -08:00
Jason Volk
5d701601ae ircd:Ⓜ️:dbs: Add indiv meta_block confs for all colums; various meta_block fixes. 2019-01-24 13:34:34 -08:00
Jason Volk
14570f73e3 ircd:Ⓜ️:dbs: Drop the auth_events column. 2019-01-24 13:05:48 -08:00
Jason Volk
695985327e ircd:Ⓜ️:dbs: Drop the redacts column. 2019-01-24 12:52:45 -08:00
Jason Volk
250f315589 ircd:Ⓜ️:dbs: Drop the membership column; minor cleanup / fixes. 2019-01-24 12:52:26 -08:00
Jason Volk
d64a49428e ircd:Ⓜ️ Demote membership from top-level key; remove from m::event tuple. 2019-01-24 12:52:26 -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
5ea765642e ircd:Ⓜ️:dbs: Drop the hashes column. 2019-01-24 11:12:41 -08:00
Jason Volk
c551777f7b ircd:Ⓜ️:dbs: Drop the signatures column. 2019-01-24 11:12:15 -08:00
Jason Volk
a95b688925 ircd:Ⓜ️:dbs: Drop the prev_state column from schema. 2019-01-23 16:11:26 -08:00
Jason Volk
92154be55d ircd:Ⓜ️ Use event::keys::selection bitset in event::fetch::opts rather than event::keys. 2019-01-23 15:36:02 -08:00
Jason Volk
764585e370 ircd:Ⓜ️:dbs: Move direct column append into function; minor cleanup. 2019-01-23 14:47:47 -08:00
Jason Volk
97181f9eca Revert "ircd:Ⓜ️:event::fetch: Disallow the json query by default for now."
This reverts commit de8d14da5b.
2019-01-21 16:24:09 -08:00
Jason Volk
de8d14da5b ircd:Ⓜ️:event::fetch: Disallow the json query by default for now. 2019-01-19 16:50:40 -08:00
Jason Volk
51c5ffbb5e ircd:Ⓜ️:event::fetch: Eliminate the selected_only option; make unconditional. 2019-01-18 14:54:04 -08:00
Jason Volk
b947aee02d ircd:Ⓜ️ Fix subobject-linkage. 2019-01-18 14:54:04 -08:00
Jason Volk
4d05fe0353 ircd:Ⓜ️:event::fetch: Reorg / cleanup internal interface. 2019-01-18 14:33:42 -08:00
Jason Volk
42d9f6dc79 ircd:Ⓜ️:event::fetch: Simplify opts ctor; minor cleanup. 2019-01-17 15:38:00 -08:00
Jason Volk
a61d9e5d96 ircd:Ⓜ️:event::fetch: Add option for tight-to-selections. 2019-01-16 18:35:58 -08:00
Jason Volk
1b9e306ff0 ircd:Ⓜ️:event::fetch: Various fixes / minor reorg. 2019-01-16 18:08:31 -08:00
Jason Volk
fc703660f6 ircd:Ⓜ️ Add selecting-key ctor for event from json::object. 2019-01-16 16:38:14 -08:00
Jason Volk
2b12c8a9c5 ircd:Ⓜ️:dbs: Use event source if available; add write options. 2019-01-16 15:55:08 -08:00
Jason Volk
f857e25ea7 ircd:Ⓜ️:event: Add a source json::object as a member. 2019-01-16 14:35:10 -08:00
Jason Volk
5ae495031f ircd:Ⓜ️:event::fetch: Improve fetch options related; minor cleanup. 2019-01-16 12:19:25 -08:00
Jason Volk
52a9ca9635 ircd:Ⓜ️:vm: Add json vm option. 2019-01-15 19:03:52 -08:00
Jason Volk
c5489cecb0 ircd:Ⓜ️:event::fetch: Add options to seek(); add event_json query branch. 2019-01-15 19:03:52 -08:00
Jason Volk
c314a9bb78 ircd:Ⓜ️:dbs: Add event_json column with conditional indexer. 2019-01-15 15:36:18 -08:00
Jason Volk
7c998e48ed ircd:Ⓜ️:dbs: Cleanup / reorg write-indexers stack. 2019-01-15 13:00:15 -08:00
Jason Volk
1ab20cf721 ircd:Ⓜ️ Reorg / split / de-friend-inject various event interfaces. 2019-01-15 12:49:53 -08:00
Jason Volk
522656047e ircd:Ⓜ️:events: Add clarification to comment. 2019-01-13 14:02:54 -08:00
Jason Volk
8421dd46b6 modules/client/register: Support the inhibit_login option. 2019-01-12 12:34:34 -08:00
Jason Volk
4c495e1f44 modules/client/sync: Various cleanup / simplify. 2019-01-10 16:58:37 -08:00
Jason Volk
26ee1c9b5c ircd:Ⓜ️ Minor cleanup. 2019-01-10 13:16:41 -08:00
Jason Volk
2d860b25a8 ircd:Ⓜ️:sync: Checkpoint. 2019-01-09 20:39:12 -08:00
Jason Volk
5815fc87c2 ircd:Ⓜ️:events: Simplify interface. 2019-01-09 18:08:29 -08:00
Jason Volk
6c96e0d785 ircd:Ⓜ️:events: Simplify the for_each iteration interface. 2019-01-09 17:11:00 -08:00
Jason Volk
443905859f ircd:Ⓜ️:sync: Additional abstraction; checkpoint polylog /sync modules. 2019-01-08 17:17:41 -08:00
Jason Volk
32aa9b4833 ircd:Ⓜ️ Various cleanup. 2019-01-08 15:53:42 -08:00
Jason Volk
b878f577d5 ircd:Ⓜ️:user: Add a query for user to user visibility. 2019-01-04 14:47:46 -08:00
Jason Volk
61e88e75bc modules/client/sync: Additional sync items reorganization. 2019-01-04 14:47:01 -08:00
Jason Volk
86911226ed ircd:Ⓜ️ Preliminary modular client sync system. 2019-01-03 17:21:02 -08:00
Jason Volk
6e71c05586 ircd:Ⓜ️:error: Improve constructions; ensure json content-type. 2018-12-30 17:35:34 -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
52c3350817 ircd:Ⓜ️:vm: Add http::code to error construction stack. 2018-12-30 16:24:04 -08:00
Jason Volk
56474586a1 ircd:Ⓜ️:vm: Use the proper m::error derived-class construction. 2018-12-30 15:59:18 -08:00
Jason Volk
38920719de ircd:Ⓜ️ Add suite to check if event is cached. 2018-12-26 19:01:13 -08:00
Jason Volk
31ffcfa859 ircd:Ⓜ️🆔 De-template grammars and assume iterator type; minor fixes. 2018-12-21 13:55:11 -08:00
Jason Volk
009979a544 ircd:Ⓜ️ Increase error buffer size. 2018-12-19 15:57:23 -08:00
Jason Volk
beda5abc2a ircd:Ⓜ️:dbs: Add conf items for some buffer sizes. 2018-12-17 13:18:27 -08:00
Jason Volk
97b3003280 ircd: Convert various exception format string arguments to string_view. 2018-12-10 13:14:39 -08:00
Jason Volk
8cad778565 ircd:Ⓜ️ Add README for m::room directory. 2018-12-10 11:29:32 -08:00
Jason Volk
b088ebf228 ircd:Ⓜ️:app: Add initial application service registration structure; start app handler directory. 2018-12-02 16:50:26 -08:00
Jason Volk
24e031a810 ircd:Ⓜ️ Reorg event / room include related. 2018-12-01 15:05:50 -08:00
Jason Volk
5e41ece0e3 ircd:Ⓜ️ Split up event header. 2018-12-01 14:55:38 -08:00
Jason Volk
36b4e3cabe ircd: Add init parameters for different origin and hostname strings. 2018-12-01 14:55:38 -08:00
Jason Volk
0b0d20884d ircd:Ⓜ️:state: Eliminate remaining test-protocol iterations. 2018-11-29 15:10:51 -08:00
Jason Volk
209aa550b3 ircd:Ⓜ️ Split up room.h header into directory. 2018-11-29 14:54:50 -08:00
Jason Volk
70099d70a2 ircd:Ⓜ️:room::messages: Add depth convenience; return parsed event_idx value. 2018-11-13 17:04:57 -08:00
Jason Volk
9d7032e29e ircd:Ⓜ️:room: Make the state iteration readahead value a conf item. 2018-11-02 20:05:11 -07:00
Jason Volk
8af997ab2e ircd:Ⓜ️:room: Add conf item to disable all state btree history queries. 2018-11-02 20:04:17 -07:00
Jason Volk
6b1fd6c559 ircd:Ⓜ️:dbs: Remove the _event_bad column; patch event exists/good/bad stack. 2018-11-02 19:42:20 -07:00
Jason Volk
ad003a0d66 ircd:Ⓜ️:dbs: Add conf items for bloom filters. 2018-11-02 18:01:03 -07:00
Jason Volk
f2a08426c5 ircd:Ⓜ️:dbs: Add conf item for meta block size of all direct event columns. 2018-11-02 09:01:23 -07:00
Jason Volk
0ea1ba2968 ircd:Ⓜ️:room::power: Simplify level_event / level_state interface related. 2018-10-27 14:27:53 -07:00
Jason Volk
3447a1cc45 ircd:Ⓜ️:room::power: Support power for state events in the interface. 2018-10-25 18:19:54 -07:00
Jason Volk
39eb015565 ircd:Ⓜ️:room: Add join_rule query convenience suite. 2018-10-25 18:19:53 -07:00
Jason Volk
61016b479b ircd:Ⓜ️:room::power: Support defaulting level for the room creator. 2018-10-25 18:09:31 -07:00
Jason Volk
8733e16ca4 ircd:Ⓜ️ Add convenience suite to get or check the room creator's user id. 2018-10-25 18:09:31 -07:00
Jason Volk
e209d1661b ircd:Ⓜ️:room::state: Improve the present() state query. 2018-10-25 18:09:31 -07:00
Jason Volk
133cb4825c ircd:Ⓜ️:rooms: Add central linkage to send a summary to !public. 2018-10-24 18:08:46 -07:00
Jason Volk
72bfd645da ircd:Ⓜ️:rooms: Retype and rekey the state in !public organized by server. 2018-10-24 17:31:22 -07:00
Jason Volk
e85917abb1 ircd:Ⓜ️:rooms: Add public rooms count for total_room_count_estimate; cleanup. 2018-10-24 17:31:21 -07:00
Jason Volk
f7c7850465 ircd:Ⓜ️:rooms: Add and use interface for publicrooms iteration. 2018-10-24 17:31:21 -07:00
Jason Volk
0291a0d83e ircd:Ⓜ️:rooms: Move iteration base to module; fix interface return types. 2018-10-24 17:31:21 -07:00
Jason Volk
62177dca20 modules: Start an m_rooms unit; move publicrooms summary chunk generation. 2018-10-24 17:31:21 -07:00
Jason Volk
16ac997220 ircd:Ⓜ️:users: Add lower_bounding for_each; prefix search to users console cmd. 2018-10-23 14:17:42 -07:00
Jason Volk
ba70c1b128 ircd:Ⓜ️:room: Add lower_bound state_key only iteration to interface. 2018-10-23 14:16:36 -07:00
Jason Volk
537b7e26aa ircd:Ⓜ️:state: Add unmake_key() inverse convenience to make_key(). 2018-10-23 13:48:23 -07:00
Jason Volk
33aea3fd19 ircd:Ⓜ️ Start a users coarse convenience interface. 2018-10-23 13:32:00 -07:00
Jason Volk
242516c853 ircd:Ⓜ️ Add central interface for room state prefetch; add console cmd; apply to client sync. 2018-10-23 10:01:36 -07:00
Jason Volk
337810d7e0 ircd:Ⓜ️:dbs: Add meta block size confs for select direct columns; tweak block sizes. 2018-10-21 00:20:02 -07:00
Jason Volk
9833b50551 ircd:Ⓜ️:dbs: Add metadata block size conf items for various meta columns. 2018-10-16 15:53:47 -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
da8beda0c3 ircd:Ⓜ️🆔 Support intuitive constructions of m::node::id. 2018-09-30 17:58:16 -07:00
Jason Volk
4f3f729d9b ircd:Ⓜ️🆔 Minor cleanup. 2018-09-30 17:37:24 -07:00
Jason Volk
c90b530656 ircd:Ⓜ️:feds: Add central interface linkage for feds head. 2018-09-25 17:14:48 -07:00
Jason Volk
cf783d2729 ircd:Ⓜ️:room: Refactor out additional test protocol iterations; minor reorg. 2018-09-25 16:37:07 -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
4788ac4e86 ircd:Ⓜ️ Redeclare is_sigil() suite for clarity. 2018-09-25 15:26:38 -07:00
Jason Volk
452f9a9abb ircd:Ⓜ️ Reorg init/fini sequence. 2018-09-21 15:07:28 -07:00
Jason Volk
53651ad808 ircd::db: Move database::descriptor out to db::descriptor. 2018-09-19 15:38:37 -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
f3539ddb37 ircd:Ⓜ️:room: Fix stale comment. 2018-09-16 21:28:45 -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
c06c119ef9 ircd:Ⓜ️:name: Minor; make types consistent; fix spacing. 2018-09-15 11:25:19 -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
9232319f0c modules/vm: Add eval argument to various hooks; tweak eval struct. 2018-09-13 19:49:25 -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
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
85aef85f61 ircd:Ⓜ️:vm: Support client unsigned.transaction_id. 2018-09-05 20:16:01 -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
aeb41e7341 ircd:Ⓜ️ Add pretty_msgline() suite. 2018-09-04 06:35:10 -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
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