Timo Kösters
46d8f36a2c
fix: media thumbnail calculation and appservice detection
5 years ago
Timo Kösters
105f893cf3
chore: bump other dependencies to make it work
5 years ago
Timo Kösters
4155a47db1
feat: opentelemetry/jaeger support
5 years ago
Devin Ragotzy
7309b2fba9
WIP gather and update forward extremities
5 years ago
Devin Ragotzy
52392628e9
Convert uses of Box<ServerName> to a ref
5 years ago
Devin Ragotzy
d0b8d0f5fd
Fix signature/hash checks, fetch recursive auth events
5 years ago
Devin Ragotzy
cdeb1236a2
Fix clippy warnings remove unused imports
5 years ago
Devin Ragotzy
63af3d3da0
Step 5 in /send just fetches state from incoming server
5 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
5 years ago
Devin Ragotzy
4a92a29b56
State resolution outline for /send
5 years ago
Devin Ragotzy
c65bde41e0
WIP gather and update forward extremities
5 years ago
Devin Ragotzy
2ac3ffbb24
Convert uses of Box<ServerName> to a ref
5 years ago
Devin Ragotzy
27c4e9d9d5
Fix signature/hash checks, fetch recursive auth events
5 years ago
Devin Ragotzy
7c4d74bf9b
Fix clippy warnings remove unused imports
5 years ago
Devin Ragotzy
0ee239c9d7
Step 5 in /send just fetches state from incoming server
5 years ago
Devin Ragotzy
9e83d2b2d5
Update state-res, use the new Event trait
...
This also bumps ruma to latest and removes js_int infavor of the ruma
re-export
5 years ago
Devin Ragotzy
690c066064
State resolution outline for /send
5 years ago
Devin Ragotzy
164b1633d8
Update ruma to latest, renamed server keys and removed PduStub
5 years ago
Devin Ragotzy
b869aab5d0
Cleanup removing debug printing and logging, append non state events
5 years ago
Devin Ragotzy
c173ce43a5
convert_to_outgoing_federation_event takes CanonicalJsonObj
5 years ago
Devin Ragotzy
86bb93f8cf
Remove outdated TODOs, use StateEvent::from_id_value consistently
5 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.
5 years ago
Timo Kösters
304c53c4f5
style: make clippy happier
5 years ago
Timo Kösters
0d6159c2da
improvement: get_missing_events route and cleanup
5 years ago
Timo Kösters
ea3aaa6b5c
improvement: more efficient /sync with gaps
5 years ago
Timo Kösters
1bf614b0f5
fix: remove transaction_id from pdus over federation
5 years ago
Timo Kösters
b7ab57897b
fix: sending slowness
5 years ago
Timo Kösters
f7816b11de
feat: send messages over federation
5 years ago
Timo Kösters
12a8c9badd
fix: join rooms over federation
5 years ago
Timo Kösters
1e8fbd8d50
Update ruma version
5 years ago
Timo
4954df3cc3
feat: handle txn ids
5 years ago
Timo
972babbc79
fix: set limited to true when skipping messages in /sync
5 years ago
Devin Ragotzy
846a0098c1
Split append_pdu -> append_pdu and build_and_append
...
Move all state event appending to append_state_pdu.
5 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
5 years ago
Timo
38663228f5
fix: put reason of redaction in the redacted event
5 years ago
Timo
940f533d61
refactor: avoid some allocations when redacting
5 years ago
Devin Ragotzy
d948f896c0
Turn append_pdu args into struct PduBuilder
5 years ago
timokoesters
21eb8d4fe3
fix: problems with pdu serialization
5 years ago
Jonas Platte
09561ccea3
Upgrade ruma
6 years ago
Devin R
33bc666859
Use sync ephemeral events in sync Resposne (remove room_id)
...
Bump ruma to latest master which also fixes some server name as String
to now being of type Box<ServerName>.
6 years ago
Devin R
9a993fa7c1
Convert Pdu to a validated ruma type when calling to_*_event
6 years ago
Devin R
d02685a4fd
Update to latest ruma/ruma commit
...
This will most likely be the API that is released to crates.io so it
should be fairly stable...
6 years ago
Devin R
63e23154f3
Rebase with key backups and cross signing
...
Moved back to a fork of ruma with timo's key-backup and cross-signing
branch. Ephemeral events in sync responses are EphemeralRoomEventStub
(they also have no room_id like all of sync responses events)
6 years ago
Devin R
24b6702047
Add to_*_event_stub methods to pdu, filter for correct event kind
...
When creating some responses (sync) an AnyRoomEventStub is needed for this
PduEvent will deserialize the JSON as a Stub event and a non stub event
when needed. Ephemeral and account events are checked to be the correct
type and filtered out if not. This requires an extra `deserialize` call
which could/should be removed.
TODO: Possibly get rid of EventJson in some places.
6 years ago
Devin R
7c38e53839
Move to depend on ruma monorepo and ruma-events0.22
6 years ago
timokoesters
02fe030b2a
improvement: better default push rules
6 years ago
timokoesters
13d474f6ee
fix: update ruma version
6 years ago
timokoesters
56d4742201
improvement: log bad database errors automatically
6 years ago
timokoesters
2368a90584
refactor: better error handling
6 years ago
timokoesters
b4d65ab67d
improvement: optimize /sync response
6 years ago