Commit Graph

79 Commits

Author SHA1 Message Date
Devin Ragotzy
cd0c5c0566 Append state event that pass resolution to DB, update to tokio 1.1 2021-01-29 11:20:33 -05:00
Devin Ragotzy
a897608025 Roll back tokio and rocket update since ruma's request is at 0.2 tokio 2021-01-18 19:59:08 -05:00
Devin Ragotzy
00436a32b0 Update ruma and rocket to latest git rev and tokio to 1.0
Ruma updated the event signing validation code and there was a dep
resolving failure with serde rocket and tokio so I updated rocket latest and
tokio 1.0 to fix.
2021-01-18 19:36:44 -05:00
Timo Kösters
f12fbca3c5 fix: send state in /sync, element displays wrong membership changes 2020-12-22 20:22:17 +01:00
Timo Kösters
6606e41dde feat: improved state store 2020-12-20 13:34:11 +01:00
Devin Ragotzy
164b1633d8 Update ruma to latest, renamed server keys and removed PduStub 2020-12-05 17:44:54 +01:00
Timo Kösters
0762196963 fix: don't send new events from left rooms 2020-10-27 20:26:28 +01:00
Timo Kösters
f0a21b6165 fix: use device_id when registering
TIL body.device_id != (*body).device_id, which is pretty bad, so I
renamed body.device_id to body.sender_device
2020-10-18 21:51:28 +02:00
Timo Kösters
12b0efac8b fix: random timeline reloads 2020-10-18 09:03:40 +02:00
Timo Kösters
304c53c4f5 style: make clippy happier 2020-10-07 12:29:19 +02:00
Timo Kösters
e08dfd982b improvement: look at SRV record when sending requests 2020-09-23 12:04:02 +02:00
Timo Kösters
267c721616 fix: encryption and sync spam 2020-09-18 10:29:44 +02:00
Timo Kösters
ea3aaa6b5c improvement: more efficient /sync with gaps 2020-09-18 10:29:43 +02:00
Timo Kösters
506c2a3146 fix: can't find count from event in db 2020-09-17 10:24:18 +02:00
Timo Kösters
e6b1f54857 Merge remote-tracking branch 'origin/master' into federation 2020-09-12 22:23:54 +02:00
Timo Kösters
1e8fbd8d50 Update ruma version 2020-09-08 17:32:03 +02:00
Devin Ragotzy
f46c2d1eec Fix review issues, move state-res to spec-comp branch 2020-08-27 20:11:53 -04:00
Timo
33215d6099 fix: send notification count updates when private read receipts change 2020-08-24 10:46:20 +02:00
Devin Ragotzy
27ffe77823 Use helper instead of route for get_public_rooms_filtered 2020-08-23 16:45:01 -04:00
Timo
3c26166fb5 improvement: device list works better
The only situation that isn't working yet is sending `left` events for
users when the sender leaves the room
2020-08-23 16:43:48 -04:00
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
2020-08-23 16:43:21 -04:00
Timo
c092f06068 docs: /sync 2020-08-23 16:14:10 +02:00
Timo
64789537f5 fix: device list when leaving rooms 2020-08-23 16:14:09 +02:00
Timo
4323cf5fec improvement: device list works better
The only situation that isn't working yet is sending `left` events for
users when the sender leaves the room
2020-08-23 16:14:09 +02:00
Timo
f23fb32e95 fix: set limited to true when skipping messages in /sync 2020-08-23 16:14:09 +02:00
Timo
3ff17f69ad fmt 2020-08-23 16:14:07 +02:00
Guillem Nieto
b575593647 Do not ignore db errors 2020-08-02 09:38:20 +02:00
Guillem Nieto
47abe6686e Send invites only if invited during the sync request
Fixes: https://git.koesters.xyz/timo/conduit/issues/175
2020-08-02 09:24:47 +02:00
timokoesters
c1c62b7eb4 refactor: put endpoints into modules 2020-07-30 18:34:03 +02:00