Commit Graph

100 Commits (db0659cb3db588f3ef08aad866e9f0e631bf8dcb)

Author SHA1 Message Date
LordMZTE 4a12a7cbc8
Fix crash when a bad user ID is in the database
To my understanding, a bad user ID can sometimes make it into the
database, which lead to a panic prior to this change.
2 years ago
Jonathan de Jong e9f87e1952 update ruma 3 years ago
Timo Kösters 2b644ef7b7 Merge branch 'tracing-cleanup' into 'next'
Remove unnecessary tracing::instrument attributes

See merge request famedly/conduit!302
3 years ago
Jonas Platte accdb77315
Clean up tracing::instrument attributes
Remove it from request handler since there's already the context of the
request path, added through TraceLayer.
3 years ago
Timo Kösters 914152fcbd Merge branch 'syncfast' into 'next'
improvement: faster /syncs

Closes #231

See merge request famedly/conduit!297
3 years ago
Timo Kösters 2a00c547a1
improvement: faster /syncs 3 years ago
Jonas Platte 5fa9190117
Simplify return type of most route handlers 3 years ago
Jonas Platte 1f7b3fa4ac
Port from Rocket to axum 3 years ago
Jonas Platte 583ec51f9f
Remove unnecessary use of event enum 3 years ago
Jonas Platte abb4b4cf0b
Remove TryFrom, TryInto imports
They are no longer needed in the 2021 edition.
3 years ago
Timo Kösters 53de350908
fix: less load when lazy loading 3 years ago
Timo Kösters 4f39d36e98
docs: lazy loading 3 years ago
Timo Kösters c6d88359d7
fix: incremental lazy loading 3 years ago
Timo Kösters f285c89006
fix: make incremental sync efficient again 3 years ago
Timo Kösters 93d225fd1e
improvement: faster way to load required state 3 years ago
Timo Kösters 1bd9fd74b3
feat: partially support sync filters 3 years ago
Timo Kösters 68e910bb77
feat: lazy loading 3 years ago
Jonas Platte aba95b20f3
Upgrade Ruma 3 years ago
Jonas Platte 0183d003d0
Revert rename of Ruma<_> parameters 3 years ago
Jonas Platte bffddbd487
Simplify identifier parsing code 3 years ago
Jonas Platte 892a0525f2
Upgrade Ruma 3 years ago
Nyaaori 484a044b50
Remove device_one_time_keys_count from is_empty() sync checks, fixing sync issue as reported by Nekron 3 years ago
Timo Kösters e88929e154 Merge branch 'nyaaori/fix-otk-reporting' into 'next'
Always send device_one_time_keys_count, fixing #178

Closes #169 and #178

See merge request famedly/conduit!213
3 years ago
Nyaaori d996d1b0e6
Always send device_one_time_keys_count, fixing #178 3 years ago
Jonas Platte 91afa1e0e0
Make Result alias usable with any error type 3 years ago
Jonas Platte f2ef5677e0
Reduce turbofish usage
Should make the code a little bit easier to read.
3 years ago
Jonas Platte 09895a20c8
Upgrade Ruma
Co-authored-by: Timo Kösters <timo@koesters.xyz>
3 years ago
Timo Kösters 8518d59a0b Merge branch 'clippy' into 'master'
Fix a bunch of clippy lints

See merge request famedly/conduit!178
3 years ago
Jonas Platte a6bb9bbe68
Fix a bunch of clippy lints 3 years ago
Timo Kösters b9eb39a9c6
docs: documentation for every endpoint 3 years ago
Timo Kösters 632a1343eb
fix: make appservices more efficient 3 years ago
Timo Kösters afca61fe7c
fix: don't retry soft failed events 3 years ago
Timo Kösters 41d07be97b
improvement: persist cached auth chains in db 3 years ago
Timo Kösters bef4fe50ce
fix: better migration, force e2ee device key updates 3 years ago
Timo Kösters 9152b877a7
fix: wrong soft fail check, too many events in /sync state response 3 years ago
Timo Kösters 81e056417c
improvement: better e2ee over fed, faster incoming event handling 3 years ago
Timo Kösters 3eabaa2a95
finish implementing better state store 3 years ago
Timo Kösters 0eeba86b32
fix: improve locks 3 years ago
Timo Kösters bd63797213
improvement: make better use of sqlite connections 3 years ago
Timo Kösters 5e924227b6
feat: add threadpool for iterator threads, bug fixes, tracing_flame support 3 years ago
Timo Kösters 1587f2cd52
fix: check events in timeline (not only state) for member changes 3 years ago
Timo Kösters 68cc743f2a
fix: use get_auth_chain method more often 3 years ago
Timo Kösters 56e5d5e3d2
fix: add warning for strange bug 3 years ago
Timo Kösters cfaa900e83
improvement: auth chain cache 3 years ago
Timo Kösters f5273f7eb1
improvement: upgrade ruma and implement blurhashes 3 years ago
Timo Kösters e12b1ff863
improvement: locks 3 years ago
Timo Kösters e15e6d4405
improvement: efficient /sync, mutex for federation transactions 3 years ago
Timo Kösters 8c44312485
fix: e2ee verification 3 years ago
Jonathan de Jong 9d4fa9a220 Sqlite 3 years ago
Timo Kösters 05821d6fd5
improvement: pdu cache, /sync cache 3 years ago