Jonas Platte
f2ef5677e0
Reduce turbofish usage
...
Should make the code a little bit easier to read.
4 years ago
Jonas Platte
09895a20c8
Upgrade Ruma
...
Co-authored-by: Timo Kösters <timo@koesters.xyz>
4 years ago
Timo Kösters
5c02dc7830
improvement: batch inserts for inserting pdus
4 years ago
Jonas Platte
d68c93b5fa
Clean up (mostly automated with cargo clippy --fix)
4 years ago
Jonas Platte
979ec6b4fa
Upgrade ruma
4 years ago
Kurt Roeckx
a87519fb71
Get required keys in batch when joining a room
...
We now ask the trusted server for all keys in 1 request, instead of
asking each server individual for it's own keys.
4 years ago
Timo Kösters
b9eb39a9c6
docs: documentation for every endpoint
4 years ago
Timo Kösters
1b25e78e3a
fix: inviting dendrite users
4 years ago
Timo Kösters
81e056417c
improvement: better e2ee over fed, faster incoming event handling
4 years ago
Timo Kösters
667ffb4239
fix: correct create event warnings
4 years ago
Timo Kösters
46d8a46e1f
improvement: faster incoming transaction handling
4 years ago
Timo Kösters
3eabaa2a95
finish implementing better state store
4 years ago
Timo Kösters
0eeba86b32
fix: improve locks
4 years ago
Timo Kösters
bd63797213
improvement: make better use of sqlite connections
4 years ago
Timo Kösters
5e924227b6
feat: add threadpool for iterator threads, bug fixes, tracing_flame support
4 years ago
Timo Kösters
918df9ca6d
feat: support room version 5
5 years ago
Timo Kösters
1587f2cd52
fix: check events in timeline (not only state) for member changes
5 years ago
Timo Kösters
cfaa900e83
improvement: auth chain cache
5 years ago
Timo Kösters
f5273f7eb1
improvement: upgrade ruma and implement blurhashes
5 years ago
Timo Kösters
e12b1ff863
improvement: locks
5 years ago
Timo Kösters
e15e6d4405
improvement: efficient /sync, mutex for federation transactions
5 years ago
Timo Kösters
1c25492a7e
fix: stuck messages
...
Conduit did not send the event in /sync because of a race condition.
There is a brief moment in time where Conduit accepted the event, but
did not store it yet. So when the client /syncs it updates the since
token without sending the event. I hope I fixed it by significantly
shortening the race-condition period.
5 years ago
Jonathan de Jong
9d4fa9a220
Sqlite
5 years ago
Devin Ragotzy
98f1480e2b
Remove auth_cache using a closure to fetch events in state-res
5 years ago
Timo Kösters
05821d6fd5
improvement: pdu cache, /sync cache
5 years ago
Jonas Platte
f3e630c064
Fix lots of clippy lints
5 years ago
Timo Kösters
cd4bc520d8
improvement: feature flags for sled, rocksdb
5 years ago
Timo Kösters
d0ee823254
feat: swappable database backend
5 years ago
Timo Kösters
deacdf6f58
fix: is_direct for locally invited users
5 years ago
Timo Kösters
90cd11d850
fix: Forbidden instead of InvalidParam when joining
5 years ago
Timo Kösters
3e2f742f30
fix: room version warnings and other bugs when joining rooms
5 years ago
Timo Kösters
989d843c40
fix: unauthorized pdus will be responded to with FORBIDDEN
5 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
5 years ago
Timo Kösters
f62258ba35
improvement: bug fixes and refactors
...
- power level content override adds to the default event instead of
replacing it
- sending code refactored to make edus possible
- remove presence events when restarting conduit
- remove room_id field from read receipts over /sync
- handle incoming read receipts
- fix array bounds bug in server_server.rs
5 years ago
Jonas Platte
a0457000ff
Upgrade Ruma
5 years ago
Jonas Platte
2e1d7d12ca
Refactor usage of CanonicalJsonValue
5 years ago
Timo Kösters
58463bba93
feat: send invites over federation
5 years ago
Timo Kösters
e815486030
fix: don't allow inviting other users (not implemented yet)
5 years ago
Timo Kösters
eedac4fd96
feat: make_join, send_join and /directory
5 years ago
Timo Kösters
bc98425dfe
improvement: use invite state as hints to what servers to ask for joining
5 years ago
Timo Kösters
c1953efa6b
chore: code cleanup
5 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)
5 years ago
Timo Kösters
8b40e0a85f
improvement: fetch signing keys in parallel when joining a room
5 years ago
Timo Kösters
5049d0e01b
improvement: check signatures on join
5 years ago
Timo Kösters
b4f79b77ba
feat: reject invites over federation
5 years ago
Timo Kösters
662a0cf1df
improvement: better and more efficient message count calculation
5 years ago
Timo Kösters
1dc85895a7
fix: show warning for invalid user ids
5 years ago
Timo Kösters
8773e5013d
feat: incoming invites over federation
5 years ago
Timo Kösters
84f4ce73e5
fix: membership deserializing
5 years ago
Timo Kösters
cd4dc13731
fix: use correct room versions
5 years ago