132 Commits

Author SHA1 Message Date
Jonas Platte
56bf45c023
Fix default-allowed clippy lints 2021-05-08 00:03:08 +02:00
Devin Ragotzy
509283d947 Remove so many allocations for auth chain, address review 2021-04-29 15:10:17 -04:00
Devin Ragotzy
41b8c14d6e Remove state_store module 2021-04-29 15:10:17 -04:00
Devin Ragotzy
f62df4d9ae Remove StateStore trait and clean up imports in event_auth 2021-04-29 15:10:17 -04:00
Devin Ragotzy
138ecd4f35 Use the RoomVersion struct in event_auth 2021-04-29 15:10:17 -04:00
Jonas Platte
c20893e536
Bump ruma 2021-04-29 20:51:38 +02:00
Devin Ragotzy
d359367c5d Remove room_version section 2021-04-28 06:38:18 -04:00
Devin Ragotzy
29fd085de7 Add more info to lib and state_event sections, fix english bugs 2021-04-28 06:38:18 -04:00
Devin Ragotzy
d533c96502 Add linebreaks at < 90, fix awkward phrasings 2021-04-28 06:38:18 -04:00
Devin Ragotzy
ca01f334d7 Create architecture document 2021-04-28 06:38:18 -04:00
Jonas Platte
3bffb8ad82
Title-case the README title 2021-04-26 18:59:38 +02:00
Jonas Platte
72930a6d88
Make README title bigger 2021-04-26 18:59:26 +02:00
Jonas Platte
d235957f94
ci: Replace travis with GitHub actions 2021-04-26 18:59:11 +02:00
Jonas Platte
ce665d213f
Bump ruma 2021-04-26 17:54:07 +02:00
Jonas Platte
a7205c6ae7
Clean up state_res_bench.rs 2021-04-26 17:44:03 +02:00
Devin Ragotzy
c2988d4b8d Remove StateResolution::apply_event, fix test serde make pdu struct 2021-04-26 09:41:46 -04:00
Devin Ragotzy
a9e248da34 Replace threads -> tasks in TODO comments 2021-04-24 16:24:38 -04:00
Devin Ragotzy
8103bbcf6a Clean up unused bits add TODOs 2021-04-24 16:24:38 -04:00
Jonas Platte
1dd252d1c9
Bump ruma dependency 2021-04-23 18:04:51 +02:00
Timo Kösters
aa53d07f51 Bump ruma 2021-04-22 18:50:51 +02:00
Timo Kösters
4516d73e8c fix: use users_default power level 2021-04-14 10:38:59 -04:00
Timo Kösters
30b4e1d597 fix: use correct state key 2021-04-14 10:38:59 -04:00
Timo Kösters
4015ced5ea Bump ruma 2021-04-14 10:38:59 -04:00
Timo Kösters
2ef7730ebb More warnings 2021-04-14 10:38:59 -04:00
Timo Kösters
e8ebe07609 Avoid deserializing to MemberEventContent
deserializing doesn't work when the event contains bad content in
unimportant fields (like a non-mxc url as avatar)
2021-04-08 16:05:13 -04:00
Jonas Platte
af450d0fe2
Bump ruma 2021-04-06 17:28:36 +02:00
Jonas Platte
b7d465fabe Upgrade ruma 2021-04-05 15:57:27 -04:00
Devin Ragotzy
050e90db4f Merge branch 'timokoesters-improvements' into main 2021-03-26 16:06:45 -04:00
Devin Ragotzy
a0177669e6 Fix all failing tests because of state_key unwraps 2021-03-26 16:05:12 -04:00
Timo Kösters
625c37cb77
Fix room version updates 2021-03-26 10:53:20 +01:00
Timo Kösters
1621a491a9
improvement: refactor code and fix a few auth rules 2021-03-25 23:19:20 +01:00
Timo Kösters
34cd1cb4dc bump ruma 2021-03-18 14:30:21 -04:00
Timo Kösters
da5c74acc3 fix: event required power levels 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
594082cbda Update readme to how the library is set up now 2021-01-24 20:56:04 -05:00
Devin Ragotzy
8265247f7a Update ruma to latest ruma-signatures got an update 2021-01-24 20:44:41 -05:00
Devin Ragotzy
4cb7353161 Remove outdated TODOs 2021-01-24 20:44:41 -05:00
Devin Ragotzy
d7144e63b7 Update resolve methods docs for event_map 2021-01-24 20:44:41 -05:00
Devin Ragotzy
37bff47a8e Add clearer docs to auth_check 2021-01-24 20:44:41 -05:00
Devin Ragotzy
47b19fdc15 Remove StateStore trait, caller must collect all events needed 2021-01-24 20:44:41 -05:00
Devin Ragotzy
f4772e0fcb Make auth_events arg for auth_check be a ref, cleanup 2021-01-05 15:43:55 -05:00
Devin Ragotzy
b0ee71e401 Make event_map &mut and take fields in membership_change 2021-01-05 15:43:55 -05:00
Devin Ragotzy
94be5b0fef Update ruma and serde to latest 2021-01-05 15:43:55 -05:00
Devin Ragotzy
da14be3000 Fix tests to work with PDU event trait 2021-01-05 15:43:55 -05:00
Devin Ragotzy
9721042198 Turn pdu into trait to avoid having our own PDU type 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