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

372 commits

Author SHA1 Message Date
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 66a4d52a93 ircd:Ⓜ️:dbs: Add event_bad column for blacklisting. 2018-05-04 16:38:45 -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 9df433e283 ircd:Ⓜ️:dbs: Comment hints on the metadata column layouts. 2018-05-04 13:59:54 -07:00
Jason Volk 39ad36e3ed ircd:Ⓜ️ Fix linkages of various constants. 2018-05-01 16:51:35 -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 70f962de4e ircd:Ⓜ️ Elaborate presence interface to fetch full event from user's room. 2018-04-27 15:26:17 -07:00
Jason Volk 38d15a7f0c ircd:Ⓜ️:filter: Use signed long limit value in tuples. 2018-04-26 21:45:43 -07:00
Jason Volk 75b67e11fc ircd:Ⓜ️ Add state_root() to room messages iterator. 2018-04-26 21:35:55 -07:00
Jason Volk 69f6d1fe54 ircd:Ⓜ️:vm: Remove rogue vm::events interface. 2018-04-26 15:48:02 -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 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 6b4e188682 ircd:Ⓜ️ Enable transparent comparator for m::modules map. 2018-04-24 17:13:02 -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 87bd9bc429 ircd:Ⓜ️ Add conf init sequence for m::self related. 2018-04-22 15:18:05 -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 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 eefc7430bc ircd:Ⓜ️ Convert db column keys to binary integers over a continuous sequence space. 2018-04-17 21:13:16 -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 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 6d88ee339d ircd:Ⓜ️:dbs: Rename room_origins to room_joined. 2018-04-15 16:43:09 -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 cee7a17330 ircd:Ⓜ️:dbs: Purge old cruft; add various \briefs. 2018-04-12 23:07: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 b16aa7f55c ircd:Ⓜ️:state: Add get_node(nothrow) overload. 2018-04-11 23:40:30 -07:00
Jason Volk f9ad2523a2 ircd:Ⓜ️:state: Add interface comment after \brief. 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 33ca15e45d ircd:Ⓜ️:user::rooms: Add a count() interface. 2018-04-11 15:47:51 -07:00
Jason Volk 55e4a8fcaf ircd:Ⓜ️ Split user's rooms iteration into separate interface. 2018-04-11 15:38:01 -07:00
Jason Volk 66e81327d0 ircd:Ⓜ️ Order rooms.h below user.h; add alias interface for user's rooms. 2018-04-11 15:10:45 -07:00
Jason Volk e305938b08 ircd:Ⓜ️ Typedef a user::closure. 2018-04-11 15:04:04 -07:00
Jason Volk e9df8b699c ircd:Ⓜ️ Add user room membership convenience interface; apply. 2018-04-11 14:18:38 -07:00
Jason Volk fe90dd4d63 ircd:Ⓜ️ Add convenience interface for rooms / iterations. 2018-04-09 20:12:03 -07:00
Jason Volk 952571a3ad ircd:Ⓜ️ Add key iteration to room::state interface. 2018-04-09 19:24:56 -07:00
Jason Volk c354b6c1e4 ircd:Ⓜ️ Typedef room closure. 2018-04-09 19:24:12 -07:00
Jason Volk 963853ee10 ircd:Ⓜ️ Add init argument to pass dbopts. 2018-04-09 15:57:08 -07:00
Jason Volk 7fb3047f68 ircd:Ⓜ️ 11.18.2.1 account_data w/ central linkage. 2018-04-08 22:11:29 -07:00
Jason Volk 8625823d23 ircd:Ⓜ️:v1: Add public_rooms requestor. 2018-04-08 22:11:28 -07:00
Jason Volk 9df6d127af ircd:Ⓜ️:v1: event_auth convenience conversion; fed event_auth output. 2018-04-08 12:45:05 -07:00
Jason Volk 5621da53bc ircd:Ⓜ️:v1: Add event_auth requestor. 2018-04-08 12:35:27 -07:00
Jason Volk ccf9e993dd ircd:Ⓜ️:txn: Elaborate the txn generation stack. 2018-04-06 22:23:18 -07:00
Jason Volk cfbe032af5 ircd:Ⓜ️ Add room_id() overload checking sigil to skip resolution. 2018-04-06 21:08:59 -07:00
Jason Volk 9863e2a1a3 ircd:Ⓜ️ Add event comparison operator suite. 2018-04-06 03:13:27 -07:00
Jason Volk 13c4a5b79b ircd:Ⓜ️:v1: Add convenience option for dynamic memory to all requests. 2018-04-06 00:21:32 -07:00
Jason Volk d3e6b20f14 ircd:Ⓜ️:vm: Distill vm::opts::commit extension from vm::opts. 2018-04-05 23:14:30 -07:00
Jason Volk 0d42bf62f5 ircd:Ⓜ️:v1: Reduce all head fetches to specific call. 2018-04-05 22:16:32 -07:00
Jason Volk c849a30aa1 ircd:Ⓜ️ Improve interface to current event convenience suite. 2018-04-05 22:16:32 -07:00
Jason Volk b3ba8c6d4b ircd:Ⓜ️ Add convenience to room::state interface to return id buffer. 2018-04-04 22:54:58 -07:00
Jason Volk b675567314 ircd:Ⓜ️🆔 Report 0 if no port affixed to ID, 8448 not implied bc/ SRV. 2018-04-04 13:03:13 -07:00
Jason Volk 1755ca55da ircd:Ⓜ️:v1: Add invite requestor. 2018-04-03 17:18:19 -07:00
Jason Volk b90d4230ca modules/client/rooms/invite: Add invite commit / handler w/ central linkage. 2018-04-03 12:56:46 -07:00
Jason Volk 59531912e4 ircd:Ⓜ️ Add origins::has() to query if origin is in room. 2018-04-03 12:49:34 -07:00
Jason Volk 8b5d27d1fc ircd:Ⓜ️:dbs: Add overload to generate partial origins prefix key. 2018-04-03 12:49:03 -07:00
Jason Volk 7b38d216b4 ircd:Ⓜ️:v1: Fix user devices query and associated console cmd. 2018-04-02 18:40:52 -07:00
Jason Volk e0130466e9 ircd:Ⓜ️:v1: Rename user::id to id::user to avoid local conflict. 2018-04-02 18:40:52 -07:00
Jason Volk baccd4b767 ircd:Ⓜ️:v1: Support request to /state_ids/ as option in m::v1::state. 2018-04-02 18:40:52 -07:00
Jason Volk 46ef2231ab ircd:Ⓜ️ Add a vm::opts* to m:room as a vehicle for opts to eval. 2018-03-28 22:17:09 -07:00
Jason Volk aca515a961 ircd:Ⓜ️ Add missing property 'data' name string. 2018-03-28 14:17:49 -07:00
Jason Volk 85bafcb7de ircd:Ⓜ️ Improve init ordering and process. 2018-03-28 14:11:33 -07:00
Jason Volk 43b92dc95d ircd:Ⓜ️ Minor cleanup. 2018-03-28 14:11:33 -07:00
Jason Volk 14b540c6a8 ircd:Ⓜ️ Add v1::groups namespace; add publicised requestor. 2018-03-28 01:29:58 -07:00
Jason Volk ff1fe4284d ircd:Ⓜ️ Add central linkage for join by alias; move bootstrap to rooms/join. 2018-03-27 21:44:01 -07:00
Jason Volk 2a8f31c89c ircd:Ⓜ️:dbs: Add db::op to write_opts; support SET and DELETE write() via opts. 2018-03-24 23:29:46 -07:00
Jason Volk 4cae80f9b6 ircd:Ⓜ️ Make event interface consistent with proper ADL participation. 2018-03-23 00:21:27 -07:00
Jason Volk 50b21edb1c ircd:Ⓜ️ Event hash checking stack. 2018-03-23 00:19:55 -07:00
Jason Volk 2116cf6254 ircd:Ⓜ️ Add user::profile suite w/ linkage to modules/client/profile. 2018-03-22 16:27:15 -07:00
Jason Volk 9c26c5facd ircd:Ⓜ️:vm: Option to verify origin signature on eval. 2018-03-22 01:31:17 -07:00
Jason Volk 9f256b9cb4 ircd:Ⓜ️ Distill essential key selection into separate functions. 2018-03-20 22:03:53 -07:00
Jason Volk 7f06300cb8 ircd:Ⓜ️ Extend the verify() stack with overloads that yield for IO. 2018-03-20 19:26:59 -07:00
Jason Volk f121509dba ircd:Ⓜ️ Event verification. 2018-03-20 19:16:04 -07:00
Jason Volk 0b3ec2b476 ircd:Ⓜ️ Convenience to close over decoded ed25519::pk directly. 2018-03-20 18:46:20 -07:00
Jason Volk e74fb81860 ircd:Ⓜ️ Overloads to sign event with supplied sk / json::object. 2018-03-20 18:19:45 -07:00
Jason Volk 1780504cba ircd:Ⓜ️ Cope with raii fails in m::init for right now. 2018-03-17 21:40:27 -07:00
Jason Volk 2b72fae7a1 ircd:Ⓜ️ Move the event max_size conf item; add a MAX_SIZE constexpr. 2018-03-17 21:40:27 -07:00
Jason Volk a632db39d0 ircd:Ⓜ️🆔 Elide re-parsing on buffer copying and allow empty buffers. 2018-03-16 21:42:22 -07:00
Jason Volk 969bc127e8 ircd:Ⓜ️:vm: Fix return values for commit() suite. 2018-03-16 21:42:21 -07:00
Jason Volk 7180eae4af ircd:Ⓜ️:vm: Option for infolog post-commit. 2018-03-16 13:19:52 -07:00
Jason Volk c83a47eb0f ircd:Ⓜ️ Handle and report hookfn exception. 2018-03-16 13:13:33 -07:00
Jason Volk 150831cd83 ircd:Ⓜ️ Add option to elide content keys for pretty_oneline(event). 2018-03-14 23:58:34 -07:00
Jason Volk be6a5b7767 modules/m_receipt: Add committer w/ central linkage; read_markers. 2018-03-14 22:53:34 -07:00
Jason Volk f11c98db34 modules: Add m.receipt; edu handler stack frames. 2018-03-14 21:30:10 -07:00
Jason Volk bda7836ebe ircd:Ⓜ️ Move typing commitment to modules/m_typing; central interface/linkage. 2018-03-14 17:47:59 -07:00