Commit Graph

15 Commits (f23fb32e957bc20599315552b30e0f8f6a9f8343)

Author SHA1 Message Date
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