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 |
|
Devin Ragotzy
|
611d1a3d9c
|
Add tests for resolve_incoming
|
2021-01-05 15:43:55 -05:00 |
|
Devin Ragotzy
|
dd2a115b94
|
Clean up tests, move setup into its own file
|
2021-01-05 15:43:55 -05:00 |
|
Devin Ragotzy
|
33bb319b45
|
Fix failing tests because clean overwrites resolved_state in resolve fn
|
2021-01-05 15:43:55 -05:00 |
|
Devin Ragotzy
|
55e889a11f
|
Add method to resolve batches of conflicted events
|
2021-01-05 15:43:55 -05:00 |
|
Devin Ragotzy
|
dca71f76ee
|
Update readme example Option<String> -> String
|
2020-12-13 09:12:14 -05:00 |
|
Devin Ragotzy
|
c6a108631d
|
Add apply_event function testing if a given event will pass auth
|
2020-12-11 18:04:41 -08: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
|
0e9332c04f
|
Add text file to keep track of benches from time to time
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
db3f68626d
|
Add constructor from CanonicalJsonObject to StateEvent
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
b04c74ce88
|
Add more comments and cleanup out of date comments
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
f45cb2963a
|
Fix formatting and grouping of state_event items
|
2020-12-11 18:04:41 -08:00 |
|