Jason Volk
|
9e2e20f3e8
|
ircd:Ⓜ️:event::auth: Preliminary auth hook.
|
2019-07-20 18:42:15 -07:00 |
|
Jason Volk
|
e0e9e09e67
|
ircd:Ⓜ️ Make append() return and propagate boolean.
|
2019-07-16 15:26:15 -07:00 |
|
Jason Volk
|
ef1f6f2642
|
ircd:Ⓜ️ Move event/append header.
|
2019-07-16 12:39:16 -07:00 |
|
Jason Volk
|
13830061a3
|
ircd:Ⓜ️:event::refs: Add overload to check if ref type exists.
|
2019-07-16 10:27:53 -07:00 |
|
Jason Volk
|
6a2c5f2047
|
ircd:Ⓜ️:event::auth: Update version requirement.
|
2019-07-14 15:03:54 -07:00 |
|
Jason Volk
|
53a9b67414
|
ircd:Ⓜ️:event::auth: Update redacts usage of event_id host.
|
2019-07-13 23:20:03 -07:00 |
|
Jason Volk
|
b9b3f9f00e
|
ircd:Ⓜ️ Fix my(event) conditions regression.
|
2019-07-13 23:20:03 -07:00 |
|
Jason Volk
|
91b0027751
|
ircd:Ⓜ️🆔 Assert my(id) call is useful.
|
2019-07-13 23:20:03 -07:00 |
|
Jason Volk
|
9e10ddcc61
|
ircd:Ⓜ️:event: Improve construction event_id related conditions.
|
2019-07-12 19:29:50 -07:00 |
|
Jason Volk
|
2d7a914eb2
|
ircd:Ⓜ️:event: Fix detection on hashing constructor.
|
2019-07-11 19:22:35 -07:00 |
|
Jason Volk
|
d7ac655220
|
ircd:Ⓜ️:pretty: Simplify all space literals.
|
2019-07-11 18:58:17 -07:00 |
|
Jason Volk
|
e39adf9942
|
ircd:Ⓜ️ Calculate hash on pretty_online(event) if missing.
|
2019-07-11 18:58:17 -07:00 |
|
Jason Volk
|
9629028552
|
ircd:Ⓜ️ Assert non-empty event_id for the throwing index(event_id).
|
2019-07-11 16:57:41 -07:00 |
|
Jason Volk
|
ae3980dd00
|
ircd:Ⓜ️ Add the event_id to the JSON in append(event) to client.
|
2019-07-10 07:24:09 -07:00 |
|
Jason Volk
|
9af1e5af4e
|
ircd:Ⓜ️ Fix pretty(event) format when lacking a digest.
|
2019-07-10 07:00:37 -07:00 |
|
Jason Volk
|
03344ab0e1
|
ircd:Ⓜ️:event::fetch: Fix event_id related condition.
|
2019-07-10 06:52:56 -07:00 |
|
Jason Volk
|
329972ed01
|
ircd:Ⓜ️:event: Update the make_id() suite.
|
2019-07-10 03:50:37 -07:00 |
|
Jason Volk
|
b7fc4710eb
|
ircd:Ⓜ️:event::conforms: Add event_id hash check to static conformity checks.
|
2019-07-10 03:50:37 -07:00 |
|
Jason Volk
|
43d66420cd
|
Update incompatible uses of event_id.
|
2019-07-10 03:50:37 -07:00 |
|
Jason Volk
|
639b132250
|
ircd:Ⓜ️ Add a check_id(event) suite.
|
2019-07-10 02:12:16 -07:00 |
|
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
|
e0655229c5
|
ircd::room::auth: Improve make_refs and cleanup interface related.
|
2019-07-09 02:03:03 -07:00 |
|
Jason Volk
|
aa78f6f85c
|
ircd:Ⓜ️:event::conforms: Update event_id related conditions.
|
2019-07-08 18:57:45 -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
|
cf853cf9ad
|
ircd:Ⓜ️:event: Condition for sentinel return value.
|
2019-07-07 03:59:51 -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
|
e6f8bb0114
|
ircd:Ⓜ️:event::conforms: Adjustments for v3/v4 compat.
|
2019-07-03 19:24:21 -07:00 |
|
Jason Volk
|
8b3a2b89f6
|
ircd:Ⓜ️ Update pretty(event)/pretty(event::prev) for version compat; reuse.
|
2019-07-03 18:57:48 -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
|
19df2bbf79
|
ircd:Ⓜ️:event::prev: Support version 3/4 references formats.
|
2019-06-27 19:22:54 -07:00 |
|
Jason Volk
|
80655da66e
|
Misc fixes for clang.
|
2019-06-24 01:34:14 -07:00 |
|
Jason Volk
|
cf3b1218c4
|
ircd: Misc fixes for clang.
|
2019-06-23 16:22:06 -06:00 |
|
Jason Volk
|
cfb5376fdb
|
ircd:Ⓜ️:event: Relax comparator value checking.
|
2019-06-07 08:55:26 -07:00 |
|
Jason Volk
|
0c7f5ef484
|
ircd:Ⓜ️:event: Tweak age calculation.
|
2019-06-07 02:49:25 -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
|
132f18327b
|
ircd:Ⓜ️:event: Elide the query for empty event_id's for event exists.
|
2019-06-01 18:31:57 -07:00 |
|
Jason Volk
|
0772e462bb
|
ircd:Ⓜ️:event: Relax the comparison operator room_id assertion.
|
2019-06-01 18:31:57 -07:00 |
|
Jason Volk
|
eec6c40653
|
ircd:Ⓜ️ Abort the experimental id::node.
|
2019-05-26 19:13:20 -07:00 |
|
Jason Volk
|
680734c47b
|
ircd:Ⓜ️ Comments around the age ts conditions.
|
2019-05-25 14:51:42 -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
|
2b011d80df
|
ircd:Ⓜ️:dbs: Make indexers internal.
|
2019-05-15 21:12:59 -07:00 |
|
Jason Volk
|
65be94b140
|
ircd:Ⓜ️:event: Add more skipped fields for content hash.
|
2019-05-11 16:09:06 -07:00 |
|
Jason Volk
|
62f1b5a539
|
ircd:Ⓜ️:dbs: Rename and document various ref types.
|
2019-05-09 23:13:16 -07:00 |
|
Jason Volk
|
1d0a7d700d
|
ircd:Ⓜ️ Merge m_event module entirely into ircd/m_event for now.
|
2019-05-03 15:58:39 -07:00 |
|
Jason Volk
|
84ed175ffe
|
modules/m_event: Transit the m::pretty(event) suite to module.
|
2019-05-03 15:58:39 -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
|
17a9763da6
|
ircd:Ⓜ️:event::prev: Use size_t indexing rather than uint.
|
2019-04-29 10:57:43 -07:00 |
|
Jason Volk
|
6eeb8da71d
|
ircd:Ⓜ️ Try for outer membership property first before parsing content.
|
2019-04-18 14:35:46 -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
|
197168059b
|
ircd:Ⓜ️:vm: Create a conform hook; move checks into conform hookfns.
|
2019-03-09 14:00:00 -08:00 |
|
Jason Volk
|
b26d4fee7c
|
ircd:Ⓜ️:event: Fallback to outer membership string (fixes hook membership matching).
|
2019-03-06 15:02:43 -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
|
f275cf8c83
|
ircd:Ⓜ️:event::auth::chain: No closing over full event; overload void closure.
|
2019-02-16 15:25:36 -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
|
2c60fa4fce
|
ircd:Ⓜ️:event::index: Prevent any column search for empty event_id.
|
2019-02-13 18:37:21 -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
|
df8cee0b47
|
ircd:Ⓜ️:event: Fallback to JSON query for keys in the get() suite.
|
2019-02-12 10:02:37 -08:00 |
|
Jason Volk
|
238c7ee8d9
|
ircd:Ⓜ️:event: Checkpoint invoke; minor cleanup.
|
2019-02-11 14:02:47 -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
|
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
|
08940bddaf
|
ircd::resource: Add conf items to toggle X-Matrix Authorization.
|
2019-02-05 01:58: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
|
736a6a1f27
|
ircd:Ⓜ️:event::fetch: Optimize row construction when json query used.
|
2019-01-24 13:24:17 -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
|
5d3dd964a0
|
ircd:Ⓜ️:event: Move essential() stripping routines to module.
|
2019-01-24 12:05:58 -08:00 |
|
Jason Volk
|
3b78c9154a
|
ircd:Ⓜ️:event: Skip non-existent columns in m::cached() check.
|
2019-01-24 12:02:58 -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
|
cd30a01e9d
|
ircd:Ⓜ️ Move all ircd/m/* units up to ircd/.
|
2019-01-23 13:24:53 -08:00 |
|