Jonathan de Jong
d253f9236a
change fraction type
5 years ago
Jonathan de Jong
ec44f3d568
change to f64
5 years ago
Jonathan de Jong
e7a51c07d0
log change feedback
5 years ago
Jonathan de Jong
79bf7fc597
some logging shuffling
5 years ago
Jonathan de Jong
7e579f8d34
change to fraction-based approach
5 years ago
Jonathan de Jong
0f2dc9a239
add stuff and bits
5 years ago
Jonathan de Jong
b1993421c2
fix signal compiling on windows
5 years ago
Jonathan de Jong
d76e95e8fc
use existing db cache size
5 years ago
Jonathan de Jong
661101c9ae
add sled cache_capacity back
5 years ago
Jonathan de Jong
952fb75795
add shutdown handler to kick sync
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
Timo Kösters
8c44312485
fix: e2ee verification
5 years ago
Timo Kösters
ac0027756e
improvement: more efficient state res
5 years ago
Jonathan de Jong
e1b89c1248
apply lint suggestions and version bump
5 years ago
Jonathan de Jong
15471d9ac4
update rocket and lock
5 years ago
Jonathan de Jong
9d4fa9a220
Sqlite
5 years ago
Kurt Roeckx
dcb5e5900f
Getting capabilities requires authentication
5 years ago
Kurt Roeckx
699f77671f
Return proper error in case of invalid UTF-8 in json_body
...
json_body is used in places that need authentication. In
case an unknown field is set, Ruma doesn't parse the field
and so doesn't give an error on invalid UTF-8. But Conduit
has parsed and on error makes json_body None. Return an
error to the client instead of generating an internal error.
5 years ago
Aiden McClelland
c53cc03ff8
address pr comments
5 years ago
Aiden McClelland
f25f61d4a9
fix errors introduced by rebase
5 years ago
Aiden McClelland
b2d5516058
add support for arbitrary proxies
5 years ago
Devin Ragotzy
1bb84a8e2d
Fix docs for fetch_and_handle_events
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
Devin Ragotzy
09a8737f24
Export conduits Config struct and fix clipp warningsy
5 years ago
Timo Kösters
dcac1361ec
improvement: /search works for multiple rooms
5 years ago
phesch
637d9d3b6f
Always allow appservices to register new users
5 years ago
Jonas Platte
808741bcb6
Remove unnecessary Option-wrapping and successive unwrapping
5 years ago
Jonas Platte
b291e76572
Use try operator for Option more
5 years ago
Jonas Platte
f3e630c064
Fix lots of clippy lints
5 years ago
Jonas Platte
af2ce5803e
Remove pointless double deserialization
5 years ago
Jonas Platte
7fa54e4411
Use Ruma-provided default power levels for shorter code
5 years ago
Jonas Platte
f6046871f4
Upgrade Ruma
5 years ago
Timo Kösters
67f9592b17
feat: /event_auth
5 years ago
Timo Kösters
77a23f8969
improvement: filter our room directory
...
Fixes #35
5 years ago
Timo Kösters
3c9ea55938
feat: /state
5 years ago
Timo Kösters
e8f6708927
improvement: show more users in our user directory
5 years ago
Timo Kösters
cd4bc520d8
improvement: feature flags for sled, rocksdb
5 years ago
hamidreza kalbasi
2078af59d8
fix fmt problems
5 years ago
hamidreza kalbasi
2385bd1cfd
add migrations
5 years ago
hamidreza kalbasi
affa124864
create media folder in init
5 years ago
hamidreza kalbasi
ff841b73c5
use .keys() and remove unneccery .to_vec()
5 years ago
hamidreza kalbasi
804105479c
fix fmt and clippy warnings
5 years ago
hamidreza kalbasi
972caacdc2
put media in filesystem
5 years ago
Timo Kösters
d0ee823254
feat: swappable database backend
5 years ago
Timo Kösters
e1e529d818
fix: don't apply push rules for users of other homeservers
5 years ago
Timo Kösters
88cf043f94
fix: deactivate accounts that should be deactivated
5 years ago
Timo Kösters
59dd3676d5
fix: putting global account data works now
5 years ago