Commit Graph

35 Commits (50f931a2fda72d94a6190092dac18f2268c96af1)

Author SHA1 Message Date
Jonas Platte 1c4d9af586
Enable more lints and apply their suggestions 3 years ago
Timo Kösters df727688ef
remove rocksdb 3 years ago
Timo Kösters 5e924227b6
feat: add threadpool for iterator threads, bug fixes, tracing_flame support 3 years ago
Jonathan de Jong e1b89c1248 apply lint suggestions and version bump 3 years ago
Aiden McClelland b2d5516058 add support for arbitrary proxies 3 years ago
Jonas Platte f3e630c064
Fix lots of clippy lints 3 years ago
Timo Kösters cd4bc520d8
improvement: feature flags for sled, rocksdb 3 years ago
Timo Kösters d0ee823254
feat: swappable database backend 3 years ago
Timo Kösters c1953efa6b
chore: code cleanup 3 years ago
Timo Kösters 84f4ce73e5
fix: membership deserializing 3 years ago
Timo Kösters 105f893cf3
chore: bump other dependencies to make it work 4 years ago
Devin Ragotzy b6d721374f
Have Media db return optional content_type, conversion fixes 4 years ago
Devin Ragotzy acd144e934
Fix get_closest_parent and cleanup federation/send/:txn 4 years ago
Devin Ragotzy 0d69ebdc6c
Reformat imports and fix clippy warnings 4 years ago
Timo Kösters dd749b8aee
fix: server keys and destination resolution when server name contains port 4 years ago
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
4 years ago
Devin Ragotzy cb68bf9e0c Use ring crate to generate StatHashes when saving stateid/statehash 4 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
4 years ago
Timo 7ba9263cc6
improvement: show most recent PDUs first when searching 4 years ago
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
4 years ago
timokoesters 2368a90584
refactor: better error handling 4 years ago
Jonas Platte 7526fd8602
Switch to the ruma meta-crate 4 years ago
timokoesters 1014388a9c
fix: one time keys are never removed 4 years ago
timokoesters 8f67c01efd
refactor: split database into multiple files, more error handling, cleaner code 4 years ago
timokoesters 720cc0cffc
feat: federated room directory 4 years ago
timokoesters b0d9ccdb2d
Signing, basis for federation 4 years ago
timokoesters 80ddf80f17
work 4 years ago
gnieto fa9e127a1e Store hashed passwords (#7)
Use if let instead of unwrap

Default to invalid password if could not calculate

Move hash password methdo and return Result

Rename get_password method

Default to empty password when no pwd is received

Store hashed passwords

Store passwords hashed with Argon2 and verify password with that stored
hash.

Co-authored-by: Guillem Nieto <gnieto.talo@gmail.com>
4 years ago
timokoesters 3debb6203c
feat: handle typing events 4 years ago
timokoesters 8557278b90
better riot.im support 4 years ago
timokoesters ddcd423e6f
feat: random tokens, sessions, guest usernames and device ids 4 years ago
timokoesters fa3226898c
feat: save pdus
PDUs are saved in a pduid -> pdus map. roomid -> pduleaves keeps track
of the leaves of the event graph and eventid -> pduid maps event ids to
pdus.
4 years ago
timokoesters dba6c46667
Use sled::Tree::prefix_search for deviceids 4 years ago
timokoesters 533260edd8
Add auth 4 years ago
timokoesters 73e04e71d7
Start work on event creation 4 years ago