Commit Graph

219 Commits (e9f87e1952b8ae1588347d26d146986df623afe2)

Author SHA1 Message Date
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 040296c711
Add test support and impl dummy /read_markers 4 years ago
timokoesters 93b1d97166
Update readme and cargo.toml 4 years ago
Jonas Platte 38ab7c843e
Update error type of /register route 4 years ago
Jonas Platte c60402bf0d
Update ruma-client-api 4 years ago
timokoesters ddcd423e6f
feat: random tokens, sessions, guest usernames and device ids 4 years ago
timokoesters 10bb96fcf7
feat: room joining, room based /sync responses 4 years ago
timokoesters 884dc2867d
Move to rocket's async branch 4 years ago
timokoesters 8b8381bcc0
New PduEvent struct 4 years ago
timokoesters f9cfede2a8
fix: deserialize sync event body 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 533260edd8
Add auth 4 years ago
timokoesters 73e04e71d7
Start work on event creation 4 years ago
timokoesters 744e0adfcf
Try to impl auth in ruma_wrapper 4 years ago
timokoesters 34a53ce20a
Better database structure 4 years ago
timokoesters 6fffcecf8e Updates 4 years ago
timokoesters c2c18b4651 feat: database 4 years ago
timokoesters cd777af41c feat: simple endpoint handlers 4 years ago
timokoesters 6264628c11 Initial commit 4 years ago