0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-09 10:11:37 +02:00
Commit graph

407 commits

Author SHA1 Message Date
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
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
e9df8b699c ircd:Ⓜ️ Add user room membership convenience interface; apply. 2018-04-11 14:18:38 -07:00
Jason Volk
d3805b410e ircd:Ⓜ️:v1: Add conf item for fetch_head timeout. 2018-04-10 13:20:31 -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
294aec368c ircd:Ⓜ️:dbs: Fix issues with prefixing related. 2018-04-09 16:50:50 -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
5621da53bc ircd:Ⓜ️:v1: Add event_auth requestor. 2018-04-08 12:35:27 -07:00
Jason Volk
f3539f3dbe ircd:Ⓜ️ Switch to ripemd160 for user::room. 2018-04-08 12:29:55 -07:00
Jason Volk
fceb9efc7c ircd:Ⓜ️ Fix/tweak pretty_oneline(event) format. 2018-04-07 00:45:37 -07:00
Jason Volk
99d04c310a ircd:Ⓜ️ Return sentinel iterator to not leave undefined residue. 2018-04-06 22:23:18 -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
f26410f5c3 ircd:Ⓜ️:v1: IO'ing buffers must be on ctx's stack. 2018-04-06 02:50:29 -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
74b7dddb9a ircd:Ⓜ️:v1: Simplify the buffer partition pattern. 2018-04-05 22:45:04 -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
bf4da27fc6 ircd:Ⓜ️ Ensure X-Matrix content is properly excluded or included for verification. 2018-04-04 22:54:53 -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
36d1d41a8b ircd:Ⓜ️ Add prev hash information to pretty(event). 2018-04-03 23:34:10 -07:00
Jason Volk
68cd920bb0 ircd:Ⓜ️ pretty(event) format tweaks. 2018-04-03 23:34:10 -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
199ccad3e1 ircd:Ⓜ️ Minor desc cleanup; minor cleanup exception rewrite. 2018-04-03 02:14:48 -07:00
Jason Volk
a2ecd6339c ircd:Ⓜ️ Stringify request verification into tls buffer. 2018-04-02 23:20:50 -07:00
Jason Volk
c999036a03 ircd:Ⓜ️ Rewrite db::not_found to m::NOT_FOUND for room::state propagation. 2018-04-02 22:06:51 -07:00
Jason Volk
6976119109 ircd:Ⓜ️:state: Fix db::not_found propagating from nothrow'ing get(). 2018-04-02 22:04:17 -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
15b995cee8 modules/m_presence: Move presence committer/getter into client/presence. 2018-03-28 22:17:09 -07:00
Jason Volk
d48f46a0ac modules/m_typing: Move m.typing committer into client/rooms/typing. 2018-03-28 22:17:09 -07:00
Jason Volk
cbc4852e16 modules/m_receipt: Move m.receipt committer into client/ 2018-03-28 22:17:09 -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
751b896c3d ircd:Ⓜ️ Improve various initial conf related keys and routines. 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
8f9caa33c3 ircd::ctx: Conclude the best name for function after deliberation. 2018-03-27 00:52:02 -07:00
Jason Volk
e179915008 ircd:Ⓜ️ Indicate to event:🆔:buf it was written to. 2018-03-26 23:29:58 -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
daed99e94e ircd:Ⓜ️ Replace event membership ref conditional with the convenience. 2018-03-24 23:29:46 -07:00
Jason Volk
c256b3fefb ircd:Ⓜ️ Fix various issues with request generation buffers. 2018-03-24 01:18:34 -07:00