124 Commits (428d6aeedd037dbab86b7cfd3010e10fead2f4d4)
 

Author SHA1 Message Date
rasul 428d6aeedd log_error! macro to just log an error but with file and line
4 years ago
rasul 532b0d0771 update rusqlite to v0.22
4 years ago
rasul b089755f33 cargo update
4 years ago
rasul 64114b6d68 Store a salted and hashed password.
4 years ago
rasul b38d96dd5c put passwords into a separate table
5 years ago
rasul 6677deb460 rustfmt
5 years ago
rasul 4cc0a1db3b add hash() and salt() functions to be used for passwords
5 years ago
rasul 8fe7a14a75 replace ? with try_log! macro to log errors
5 years ago
rasul c84f2e8c5b use RudeResult and take generic errors
5 years ago
rasul f917df3ea1 remove unused use
5 years ago
rasul 80c8b7bf06 rustfmt
5 years ago
rasul c2a42c536f move state changes to iter_once
5 years ago
rasul 53e67fcd1f handle state changes
5 years ago
rasul 85d1eeff70 provide new state
5 years ago
rasul a9cc95ef6c rustfmt
5 years ago
rasul f853002a90 check for valid password at creation
5 years ago
rasul db8e3cf1f7 only proceed if y was selected
5 years ago
rasul 3b47837bdb use src dir instead of .
5 years ago
rasul 6c0eb7a57d rustfmt
5 years ago
rasul b9156b0300 check that name is valid per name requirements
5 years ago
rasul 70ebf1a210 don't need Id anymore
5 years ago
rasul 0f9da2da65 config.starting_location is now config.player.starting_location
5 years ago
rasul aba6e663df some comments
5 years ago
rasul 7a17fe4a08 use config instead of hard coded values
5 years ago
rasul f4134b1911 add player config section and move starting_location there with the other new player related configs
5 years ago
rasul b7bfda95e9 methods to check if a name or password are valid
5 years ago
rasul 6f35c4a8e4 update readme with some instructions
5 years ago
rasul 06ce7bec7b use the From<(Token, Into<String>)> impl
5 years ago
rasul 24c6c01da7 subcommand: set room zone : to set zone for the current room
5 years ago
rasul 222aa967a1 rustfmt
5 years ago
rasul 61b769b3c1 add a parse_str() method to Id
5 years ago
rasul c963514967 from implementation to conveniently make SendQueue from (Token, Into<String>)
5 years ago
rasul 77a5df67d8 don't need to use the name mod
5 years ago
rasul 29e6f59864 log error message
5 years ago
rasul 0cff41a4f2 don't need to use name module
5 years ago
rasul faadf904e0 subcommand to change player password
5 years ago
rasul cc10e5001f remove from connected_players when quit
5 years ago
rasul 933c63f717 short comment to describe dispatch_quit()
5 years ago
rasul 0547792265 pass quit state back when player quits, and check for that to close the connection
5 years ago
rasul acc6f26df5 add a quit state for quitting the mud
5 years ago
rasul c0695e30ec pass optional new state back with SendQueue
5 years ago
rasul dece6fa7ce watch for the correct string, and use client.close()
5 years ago
rasul 541698f452 add a close() function to close the connection
5 years ago
rasul a75c3f1850 update fern to 0.6
5 years ago
rasul 96f623584a rustfmt
5 years ago
rasul cb703cf988 upgrad mio to 0.7
5 years ago
rasul f87f242896 bincode is no longer a require dependency
5 years ago
rasul ac26e77d05 short description of database module and struct
5 years ago
rasul 33fa2b5219 describe client module
5 years ago
rasul 08a44f4087 provide link to online docs
5 years ago