Jason Volk
|
0a210544b3
|
ircd:Ⓜ️:event::conforms: Remove MISTMATCH_ORIGIN_EVENT_ID code.
|
2019-07-09 23:46:24 -07:00 |
|
Jason Volk
|
719a965d9f
|
ircd:Ⓜ️:event: Remove prev_state from top level.
|
2019-07-09 02:33:27 -07:00 |
|
Jason Volk
|
fc8048dc74
|
ircd::event: Remove membership from top level.
|
2019-07-09 02:03:03 -07:00 |
|
Jason Volk
|
93b82445d9
|
ircd:Ⓜ️:fetch: Fix initialization.
ircd:Ⓜ️:event::fetch: Fix member statekeeping.
|
2019-07-08 06:03:20 -07:00 |
|
Jason Volk
|
3057e9a328
|
ircd:Ⓜ️ Move event/get.h down one level.
|
2019-07-07 22:06:11 -07:00 |
|
Jason Volk
|
dc4d13bca6
|
ircd:Ⓜ️:event::fetch: Add internal buffer for event::id state.
|
2019-07-05 23:45:00 -07:00 |
|
Jason Volk
|
261151f539
|
ircd:Ⓜ️:fetch: Remove ambiguating event_id() util.
|
2019-07-05 23:45:00 -07:00 |
|
Jason Volk
|
4a289c065a
|
ircd:Ⓜ️:event: Add event_id member; reorg ctors.
|
2019-07-05 23:45:00 -07:00 |
|
Jason Volk
|
e7b66eac3b
|
ircd:Ⓜ️:event::prev: Stronger json::object type for v1 tuple value at indice.
|
2019-07-03 18:57:48 -07:00 |
|
Jason Volk
|
475ee3867d
|
ircd:Ⓜ️:event::horizon: Split the full column iteration into separate function.
|
2019-06-04 21:21:21 -07:00 |
|
Jason Volk
|
dd49243224
|
ircd:Ⓜ️:event: Add explicit event::id conversion.
|
2019-06-01 18:31:57 -07:00 |
|
Jason Volk
|
c119c84c2f
|
ircd:Ⓜ️:event: Augment event::horizon interface allowing full column iteration.
|
2019-05-17 02:26:27 -07:00 |
|
Jason Volk
|
5721920957
|
ircd:Ⓜ️:event: Start an event::horizon interface around dbs::event_horizon.
|
2019-05-17 00:07:18 -07:00 |
|
Jason Volk
|
d74985d3f9
|
ircd:Ⓜ️ Move event.h/room.h headers into their dirs.
|
2019-05-02 21:43:27 -07:00 |
|
Jason Volk
|
64770c0214
|
ircd:Ⓜ️:event::prev: Add suite to check if prev reference exists; minor cleanup.
|
2019-04-29 11:06:56 -07:00 |
|
Jason Volk
|
73ea2ff156
|
ircd:Ⓜ️:event: Add comment \brief's to prev and refs interfaces.
|
2019-04-29 10:59:33 -07:00 |
|
Jason Volk
|
17a9763da6
|
ircd:Ⓜ️:event::prev: Use size_t indexing rather than uint.
|
2019-04-29 10:57:43 -07:00 |
|
Jason Volk
|
10b8e1d08b
|
ircd:Ⓜ️:event::fetch: Relax object semantics.
|
2019-04-26 05:30:21 -07:00 |
|
Jason Volk
|
d18711503f
|
ircd:Ⓜ️ Unsplit event/event.h room/room.h.
|
2019-04-22 21:38:27 -07:00 |
|
Jason Volk
|
77b16f32ce
|
ircd:Ⓜ️:append: Calculate age based on depth from room head.
fixes #55
|
2019-04-15 14:44:58 -07:00 |
|
Jason Volk
|
1f35e9c57e
|
modules/m_event: Add option to toggle query for txnid; disable query for non-timeline appends.
|
2019-03-13 17:08:35 -07:00 |
|
Jason Volk
|
9f67a146f4
|
modules/m_event: Unconditionally supply an age when no event_idx.
|
2019-03-13 17:08:35 -07:00 |
|
Jason Volk
|
c4c95916c2
|
ircd:Ⓜ️ Add central event append() to compose elaborated json::stack::object for clients.
|
2019-03-11 16:02:36 -07:00 |
|
Jason Volk
|
c0ab6080d8
|
ircd:Ⓜ️:event: Add membership to event tuple for essential key consideration.
|
2019-03-03 17:16:20 -08:00 |
|
Jason Volk
|
3a08d93c15
|
ircd:Ⓜ️:event::fetch: Cache the event_idx as a class member.
|
2019-03-01 15:59:49 -08:00 |
|
Jason Volk
|
c969eb2792
|
ircd:Ⓜ️:event: Typedef an idx_range pair.
|
2019-02-28 17:12:03 -08:00 |
|
Jason Volk
|
99058105b3
|
ircd:Ⓜ️:event: Minor move utils to event.h index header.
|
2019-02-20 13:10:56 -08:00 |
|
Jason Volk
|
0644db459c
|
ircd:Ⓜ️:event: Add various size constants replacing magic numbers.
|
2019-02-18 13:42:25 -08:00 |
|
Jason Volk
|
f275cf8c83
|
ircd:Ⓜ️:event::auth::chain: No closing over full event; overload void closure.
|
2019-02-16 15:25:36 -08:00 |
|
Jason Volk
|
4f721f48e5
|
Eliminate friend-injection.
|
2019-02-15 18:48:59 -08:00 |
|
Jason Volk
|
2660b30061
|
ircd:Ⓜ️:event: Add auth::chain utility.
|
2019-02-14 16:48:45 -08:00 |
|
Jason Volk
|
194160a735
|
ircd:Ⓜ️:event::refs: Reorientations for consolidated refs.
|
2019-02-14 14:02:34 -08:00 |
|
Jason Volk
|
17e1bb96bf
|
ircd:Ⓜ️:dbs: Consolidate event_refs column. Drop prev_events column.
|
2019-02-14 13:11:37 -08:00 |
|
Jason Volk
|
f48274fc58
|
ircd:Ⓜ️:event::auth: Preliminary v1 auth rules.
|
2019-02-13 18:44:26 -08:00 |
|
Jason Volk
|
674373be90
|
ircd:Ⓜ️:event::auth: Restructure / rename interfaces; move is_power_event() to module.
|
2019-02-12 17:50:44 -08:00 |
|
Jason Volk
|
74fdda36e2
|
ircd:Ⓜ️:event::conforms: Add checks for m.room.member state_key.
|
2019-02-12 17:19:13 -08:00 |
|
Jason Volk
|
7117d4a17c
|
ircd:Ⓜ️:event::conforms: Add check for m.room.aliases sender host vs. state_key.
|
2019-02-12 15:34:40 -08:00 |
|
Jason Volk
|
903a117bf7
|
ircd:Ⓜ️:event::conforms: Add check for room_id host matching sender host for create event.
|
2019-02-12 15:22:53 -08:00 |
|
Jason Volk
|
1bd9ce0d1e
|
ircd:Ⓜ️:event::conforms: Add checks for duplicate / self / missing auth refs.
|
2019-02-12 15:07:50 -08:00 |
|
Jason Volk
|
20eb440408
|
ircd:Ⓜ️:event: Improve the event::cache checking behavior.
|
2019-02-12 14:57:08 -08:00 |
|
Jason Volk
|
8a81a6d24e
|
ircd:Ⓜ️:event::auth: Add comments; remove cruft.
|
2019-02-12 12:04:01 -08:00 |
|
Jason Volk
|
c204ece49a
|
ircd:Ⓜ️:event: Add std::string overloads to event get() suite.
|
2019-02-12 10:03:20 -08:00 |
|
Jason Volk
|
68be0a321e
|
ircd:Ⓜ️:event: Convert modular components to demangled style.
|
2019-02-09 18:43:04 -08:00 |
|
Jason Volk
|
80a25cf352
|
ircd:Ⓜ️:event::auth: Add auth chain traversal.
|
2019-02-08 07:54:03 -08:00 |
|
Jason Volk
|
2b82dfec76
|
ircd:Ⓜ️:event::auth: Add iteration by type.
|
2019-02-08 07:53:39 -08:00 |
|
Jason Volk
|
1df1897e6d
|
ircd:Ⓜ️:event::get: Add templates to return integral values.
|
2019-02-08 07:06:25 -08:00 |
|
Jason Volk
|
ef740d339b
|
ircd:Ⓜ️:event: Add event::auth examination device.
|
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
|
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
|
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
|
d64a49428e
|
ircd:Ⓜ️ Demote membership from top-level key; remove from m::event tuple.
|
2019-01-24 12:52: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
|
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
|
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
|
c5489cecb0
|
ircd:Ⓜ️:event::fetch: Add options to seek(); add event_json query branch.
|
2019-01-15 19:03:52 -08:00 |
|
Jason Volk
|
1ab20cf721
|
ircd:Ⓜ️ Reorg / split / de-friend-inject various event interfaces.
|
2019-01-15 12:49:53 -08:00 |
|
Jason Volk
|
38920719de
|
ircd:Ⓜ️ Add suite to check if event is cached.
|
2018-12-26 19:01:13 -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 |
|