36 Commits

Author SHA1 Message Date
Devin Ragotzy
a0177669e6 Fix all failing tests because of state_key unwraps 2021-03-26 16:05:12 -04:00
Timo Kösters
34cd1cb4dc bump ruma 2021-03-18 14:30:21 -04:00
Devin Ragotzy
d34a78c5b6 Update ruma to allow optional state_key in InitialStateEvent 2021-02-08 09:38:04 -05:00
Devin Ragotzy
791c66d73c Replace tracing crate with log (conduit uses log) 2021-01-29 11:18:01 -05:00
Devin Ragotzy
3c27c8b448 Update ruma and itertools 2021-01-29 10:39:14 -05:00
Devin Ragotzy
8265247f7a Update ruma to latest ruma-signatures got an update 2021-01-24 20:44:41 -05:00
Devin Ragotzy
94be5b0fef Update ruma and serde to latest 2021-01-05 15:43:55 -05:00
Devin Ragotzy
05a4dd1bf0 Convert state-res to use possible ruma::ServerPdu 2021-01-05 15:43:55 -05:00
Devin Ragotzy
5299679c21 Use ruma::ServerPdu instead of local type 2021-01-05 15:43:55 -05:00
Devin Ragotzy
282270ed4f Start work on db less state-res 2021-01-05 15:43:55 -05:00
Devin Ragotzy
ea7dc52daf Bump ruma to be even with conduit 2020-12-11 18:04:41 -08:00
Devin Ragotzy
6c26da97a6 Bump deps and remove js_int now imported from ruma 2020-12-11 18:04:41 -08:00
Devin Ragotzy
89cfb1967a Update ruma to latest, StateEvent is still enum without Stub 2020-12-11 18:04:41 -08:00
Devin Ragotzy
5e7f60e5d9 Add gen-eventid feature to generate EventId every deserialize
So we do not rely on any found EventId, this makes all the tests break.
2020-12-11 18:04:41 -08:00
Devin Ragotzy
6661771b31 StateEvent now holds EventId in variant + custom ser/de 2020-12-11 18:04:41 -08:00
Devin Ragotzy
c3ba1e33eb Use unstable-join branch of ruma from my fork 2020-12-11 18:04:41 -08:00
Devin Ragotzy
26b0f738a5 Fix unstable-pre-spec for federation membership join 2020-12-11 18:04:41 -08:00
Devin Ragotzy
d19c0d4129 Rebase with timos changes and update/pin ruma 2020-12-11 18:04:41 -08:00
Devin Ragotzy
ee6aa35612 StateEvent's event_id method must return owned EventId 2020-12-11 18:04:41 -08:00
Timo Kösters
ad4fb6420a Various improvements 2020-12-11 18:04:41 -08:00
Timo Kösters
f587b88a60 Fixes 2020-12-11 18:04:41 -08:00
Devin Ragotzy
e8acae05ff Add test testing conduits event sorting logic
This could possibly be turned into another public function for exporting.
A list of ruma::Pdu (events) and another list of ruma::Pdu (auth_events)
and returns the sorted list of events.
2020-08-26 07:10:47 -04:00
Devin Ragotzy
63be0b550f Add room version check to event auth and room_version to StateEvent 2020-08-22 06:36:22 -04:00
Devin Ragotzy
789c814089 Update ruma to latest 2020-08-15 13:32:48 -04:00
Devin Ragotzy
5f77bc11a2 Update ruma with conduit, make event_id return EventId not Option<> 2020-08-12 18:24:58 -04:00
Devin Ragotzy
9a388fc813 Bump ruma to same rev as conduit federation-p2p branch 2020-08-11 23:22:20 -04:00
Devin Ragotzy
185047918a StateResolution's methods take &self now + more clean up 2020-08-05 23:34:49 -04:00
Devin Ragotzy
8a9f15e01f House keeping, remove &mut self in all methods
Improved perf -7.8220%
2020-07-28 07:09:07 -04:00
Devin Ragotzy
d8fb5ca112 Add benchmark for longer auth chain and Error type
This required that the code being run in the benchmark be tested to
verify it works correctly. Now work can begin cleaning up and optimizing
state-res.
2020-07-27 00:09:21 -04:00
Devin Ragotzy
29d86ebf3c Fix separate ignoring missing ids and auth_check details 2020-07-24 23:14:30 -04:00
Devin R
5842ddf36e Working ban_vs_power_level test, add travis.yml, logging 2020-07-22 23:26:55 -04:00
Devin R
0c21f38cb1 Fixing failing first failing state res test
lexicographical_topological_sort test passes. Chasing bug somewhere in
resolve.
2020-07-20 22:02:29 -04:00
Devin R
954fe5e51e Done transcribing all logic is filled in no more unimplemented! 2020-07-19 08:42:45 -04:00
Devin R
d3c3c95985 Use ruma's PDU events not the sent events 2020-07-18 16:14:57 -04:00
Devin R
c043b10d64 Sketch is mostly finalized now fill in with code 2020-07-18 14:01:22 -04:00
Devin R
61f485ea3f Initial commit sketching out ideas 2020-07-17 10:07:03 -04:00