Commit Graph

71 Commits (39787b41cb341ca3d270cc00c9ac46b8f4bd384d)

Author SHA1 Message Date
Jonas Platte 34d3f74f36
Use Arc for EventIds in PDUs
Upgrades Ruma again to make this work.
3 years ago
Jonas Platte bffddbd487
Simplify identifier parsing code 3 years ago
Jonas Platte 892a0525f2
Upgrade Ruma 3 years ago
Jonas Platte f2ef5677e0
Reduce turbofish usage
Should make the code a little bit easier to read.
3 years ago
Jonas Platte 1c4d9af586
Enable more lints and apply their suggestions 3 years ago
Jonas Platte 09895a20c8
Upgrade Ruma
Co-authored-by: Timo Kösters <timo@koesters.xyz>
3 years ago
Jonas Platte 979ec6b4fa
Upgrade ruma 3 years ago
Timo Kösters 46d8a46e1f
improvement: faster incoming transaction handling 3 years ago
Timo Kösters 5e924227b6
feat: add threadpool for iterator threads, bug fixes, tracing_flame support 3 years ago
Timo Kösters e0072eff63 Merge branch 'v5' into 'master'
feat: support room version 5

See merge request famedly/conduit!138
3 years ago
Timo Kösters 918df9ca6d
feat: support room version 5 3 years ago
phesch 666e1d30a3 Implement From<AnyInitialStateEvent> on PduBuilder
The conversion between the two is now direct and thus shouldn't lose the state_keys.
3 years ago
phesch ddcf1a715b Fix redacted_because field being sent as a string 3 years ago
Timo Kösters 09157b2096
improvement: federation get_keys and optimize signingkey storage
- get encryption keys over federation
- optimize signing key storage
- rate limit parsing of bad events
- rate limit signature fetching
- dependency bumps
3 years ago
Jonas Platte af6fea3d4e
Refactor some canonical JSON code 3 years ago
Jonas Platte a0457000ff
Upgrade Ruma 3 years ago
Jonas Platte 2e1d7d12ca
Refactor usage of CanonicalJsonValue 3 years ago
Timo Kösters 5951294638
feat: join cursed rooms
this removes several restrictions and tries to continue verifying a pdu
event if some auth events fail (it drops/ignores bad pdus)
3 years ago
Timo Kösters 46d8f36a2c
fix: media thumbnail calculation and appservice detection 3 years ago
Devin Ragotzy d0df8b495c Merge remote-tracking branch 'upstream/master' into correct-sendtxn 4 years ago
Timo Kösters 105f893cf3
chore: bump other dependencies to make it work 4 years ago
Timo Kösters 4155a47db1
feat: opentelemetry/jaeger support 4 years ago
Devin Ragotzy 7309b2fba9 WIP gather and update forward extremities 4 years ago
Devin Ragotzy 52392628e9 Convert uses of Box<ServerName> to a ref 4 years ago
Devin Ragotzy d0b8d0f5fd Fix signature/hash checks, fetch recursive auth events 4 years ago
Devin Ragotzy cdeb1236a2 Fix clippy warnings remove unused imports 4 years ago
Devin Ragotzy 63af3d3da0 Step 5 in /send just fetches state from incoming server 4 years ago
Devin Ragotzy 4b9976aa74 Update state-res, use the new Event trait
This also bumps ruma to latest and removes js_int infavor of the ruma
re-export
4 years ago
Devin Ragotzy 4a92a29b56 State resolution outline for /send 4 years ago
Devin Ragotzy 164b1633d8
Update ruma to latest, renamed server keys and removed PduStub 4 years ago
Devin Ragotzy b869aab5d0
Cleanup removing debug printing and logging, append non state events 4 years ago
Devin Ragotzy c173ce43a5
convert_to_outgoing_federation_event takes CanonicalJsonObj 4 years ago
Devin Ragotzy 86bb93f8cf
Remove outdated TODOs, use StateEvent::from_id_value consistently 4 years ago
Devin Ragotzy 234b226468
Fix review issues, Remove EventHash's in prev/auth_events in StateEvent
The latest state-res crate uses ruma's PduRoomV3 PDU's which don't have
tuples of (EventId, EventHashs) like previous versions did (this was
left from rebasing onto master). The Media DB
now takes an optional content_type like the updated ruma structs.
4 years ago
Timo Kösters 304c53c4f5
style: make clippy happier 4 years ago
Timo Kösters 0d6159c2da
improvement: get_missing_events route and cleanup 4 years ago
Timo Kösters ea3aaa6b5c
improvement: more efficient /sync with gaps 4 years ago
Timo Kösters 1bf614b0f5
fix: remove transaction_id from pdus over federation 4 years ago
Timo Kösters b7ab57897b
fix: sending slowness 4 years ago
Timo Kösters f7816b11de
feat: send messages over federation 4 years ago
Timo Kösters e6b1f54857
Merge remote-tracking branch 'origin/master' into federation 4 years ago
Timo Kösters 12a8c9badd
fix: join rooms over federation 4 years ago
Timo Kösters 1e8fbd8d50
Update ruma version 4 years ago
Timo 4954df3cc3
feat: handle txn ids 4 years ago
Timo 972babbc79 fix: set limited to true when skipping messages in /sync 4 years ago
Devin Ragotzy 846a0098c1 Split append_pdu -> append_pdu and build_and_append
Move all state event appending to append_state_pdu.
4 years ago
Devin Ragotzy c4f5a0a631 Keep track of State at event for state resolution
feat: first steps towards joining rooms over federation
Add state-res as a dependency of conduit
Add reverse_topological_power_sort before append_pdu
Implement statehashstatid_pduid tree for keeping track of state
Clean up implementation of state_hash as key for tracking state
4 years ago
Timo 38663228f5
fix: put reason of redaction in the redacted event 4 years ago
Timo 940f533d61
refactor: avoid some allocations when redacting 4 years ago
Devin Ragotzy d948f896c0
Turn append_pdu args into struct PduBuilder 4 years ago