Commit Graph

  • 321f09c910 change format! to concat() master rasul 2020-06-23 16:27:59 -0500
  • cea795b99d rustfmt rasul 2020-06-23 16:13:16 -0500
  • 2d19be25d9 change format! to concat() and modify listen() to take &String instead of String rasul 2020-06-23 16:13:01 -0500
  • f0aa9fc33e update config with player stuff rasul 2020-06-23 16:01:42 -0500
  • 0f64e3f009 update config with player stuff rasul 2020-05-04 19:37:35 -0500
  • 41da50515f need a config.toml so the test passes rasul 2020-05-04 19:19:58 -0500
  • 954871f6ab put everything in one stage to make it go faster rasul 2020-05-04 19:14:18 -0500
  • 6777efd142 document the global variables rasul 2020-04-30 21:16:42 -0500
  • d431c0f133 add some doc for init() rasul 2020-04-30 21:14:03 -0500
  • 6a1df72b2a reorder if and else to make more sense rasul 2020-04-30 20:59:14 -0500
  • 4255dbaca7 change doc comment code because hash() now needs to return Result rasul 2020-04-30 20:44:30 -0500
  • 77ab912d19 test the hash function rasul 2020-04-30 18:31:57 -0500
  • 81c1c2920c pub isn't needed for these vars rasul 2020-04-29 08:49:00 -0500
  • 6e8e99e329 ensure requirements are met when changing password rasul 2020-04-28 15:59:14 -0500
  • bdf8f86ba5 Move the pass and name checks to its own module outside the Game struct. rasul 2020-04-28 09:32:39 -0500
  • 73fbc8750d handle errors with passwords rasul 2020-04-28 08:28:02 -0500
  • 961b01ffd6 return Result for errors rasul 2020-04-28 08:27:44 -0500
  • 45046af201 use argon2 instead of sha512 rasul 2020-04-28 08:27:19 -0500
  • f722ad25fa start on the help command stuff rasul 2020-04-24 16:44:49 -0500
  • f929fecb73 don't use 'string' as a name rasul 2020-04-24 16:38:39 -0500
  • c97fdd1410 rustfmt rasul 2020-04-19 16:44:03 -0500
  • 428d6aeedd log_error! macro to just log an error but with file and line rasul 2020-04-19 16:41:54 -0500
  • 532b0d0771 update rusqlite to v0.22 rasul 2020-04-19 16:32:31 -0500
  • b089755f33 cargo update rasul 2020-04-19 16:31:39 -0500
  • 64114b6d68 Store a salted and hashed password. rasul 2020-04-19 16:21:22 -0500
  • b38d96dd5c put passwords into a separate table rasul 2020-04-08 17:10:31 -0500
  • 6677deb460 rustfmt rasul 2020-04-08 17:08:56 -0500
  • 4cc0a1db3b add hash() and salt() functions to be used for passwords rasul 2020-04-08 17:07:27 -0500
  • 8fe7a14a75 replace ? with try_log! macro to log errors rasul 2020-04-08 15:01:32 -0500
  • c84f2e8c5b use RudeResult and take generic errors rasul 2020-04-08 14:53:21 -0500
  • f917df3ea1 remove unused use rasul 2020-04-08 12:57:08 -0500
  • 80c8b7bf06 rustfmt rasul 2020-04-08 12:56:51 -0500
  • c2a42c536f move state changes to iter_once rasul 2020-04-08 12:56:35 -0500
  • 53e67fcd1f handle state changes rasul 2020-04-08 12:55:47 -0500
  • 85d1eeff70 provide new state rasul 2020-04-08 10:53:53 -0500
  • a9cc95ef6c rustfmt rasul 2020-04-08 09:32:56 -0500
  • f853002a90 check for valid password at creation rasul 2020-04-08 09:26:31 -0500
  • db8e3cf1f7 only proceed if y was selected rasul 2020-04-08 09:21:14 -0500
  • 3b47837bdb use src dir instead of . rasul 2020-04-07 22:33:03 -0500
  • 6c0eb7a57d rustfmt rasul 2020-04-07 22:30:50 -0500
  • b9156b0300 check that name is valid per name requirements rasul 2020-04-07 20:41:00 -0500
  • 70ebf1a210 don't need Id anymore rasul 2020-04-07 20:24:50 -0500
  • 0f9da2da65 config.starting_location is now config.player.starting_location rasul 2020-04-07 20:24:25 -0500
  • aba6e663df some comments rasul 2020-04-07 20:21:17 -0500
  • 7a17fe4a08 use config instead of hard coded values rasul 2020-04-07 20:15:21 -0500
  • f4134b1911 add player config section and move starting_location there with the other new player related configs rasul 2020-04-07 20:10:17 -0500
  • b7bfda95e9 methods to check if a name or password are valid rasul 2020-04-07 16:52:37 -0500
  • 6f35c4a8e4 update readme with some instructions rasul 2020-04-07 14:48:01 -0500
  • 06ce7bec7b use the From<(Token, Into<String>)> impl rasul 2020-04-07 14:42:53 -0500
  • 24c6c01da7 subcommand: set room zone : to set zone for the current room rasul 2020-04-07 14:16:37 -0500
  • 222aa967a1 rustfmt rasul 2020-04-07 14:16:02 -0500
  • 61b769b3c1 add a parse_str() method to Id rasul 2020-04-07 14:09:15 -0500
  • c963514967 from implementation to conveniently make SendQueue from (Token, Into<String>) rasul 2020-04-07 13:14:52 -0500
  • 77a5df67d8 don't need to use the name mod rasul 2020-04-07 13:02:03 -0500
  • 29e6f59864 log error message rasul 2020-04-07 12:58:05 -0500
  • 0cff41a4f2 don't need to use name module rasul 2020-04-06 14:13:38 -0500
  • faadf904e0 subcommand to change player password rasul 2020-04-06 14:13:06 -0500
  • cc10e5001f remove from connected_players when quit rasul 2020-04-06 14:12:27 -0500
  • 933c63f717 short comment to describe dispatch_quit() rasul 2020-04-06 14:01:52 -0500
  • 0547792265 pass quit state back when player quits, and check for that to close the connection rasul 2020-04-06 14:00:09 -0500
  • acc6f26df5 add a quit state for quitting the mud rasul 2020-04-06 13:49:36 -0500
  • c0695e30ec pass optional new state back with SendQueue rasul 2020-04-06 13:48:12 -0500
  • dece6fa7ce watch for the correct string, and use client.close() rasul 2020-04-06 10:18:56 -0500
  • 541698f452 add a close() function to close the connection rasul 2020-04-06 10:15:53 -0500
  • a75c3f1850 update fern to 0.6 rasul 2020-04-06 10:15:17 -0500
  • 96f623584a rustfmt rasul 2020-04-06 10:15:03 -0500
  • cb703cf988 upgrad mio to 0.7 rasul 2020-04-06 07:39:08 -0500
  • f87f242896 bincode is no longer a require dependency rasul 2020-04-05 18:42:07 -0500
  • ac26e77d05 short description of database module and struct rasul 2020-04-05 18:40:07 -0500
  • 33fa2b5219 describe client module rasul 2020-04-05 18:38:30 -0500
  • 08a44f4087 provide link to online docs rasul 2020-04-05 18:30:10 -0500
  • 223db52308 this gitlab ci stuff is over my head rasul 2020-04-05 18:14:34 -0500
  • 8eaeb69a1b there is no readme.html rasul 2020-04-05 18:10:18 -0500
  • e64b60a5e8 correct some errors rasul 2020-04-05 17:32:57 -0500
  • f0868eaa34 gitlab ci rasul 2020-04-05 17:29:15 -0500
  • 1e75986bec two spaces for yaml rasul 2020-04-05 17:28:01 -0500
  • a7a954c1dc yaml uses spaces rasul 2020-04-05 17:26:58 -0500
  • 6d2a53e53f document command module rasul 2020-04-05 17:23:43 -0500
  • bbc85c535a change error message for Default variant rasul 2020-04-05 17:13:30 -0500
  • 6b4c214475 note about docs rasul 2020-04-05 16:39:05 -0500
  • fdab46bef1 document the world module rasul 2020-04-05 16:37:03 -0500
  • 3a9cb2fa43 rustfmt rasul 2020-04-05 16:21:11 -0500
  • 7e83c23855 improve logging and errors rasul 2020-04-05 16:20:28 -0500
  • be45d7fcb7 improve error messages rasul 2020-04-05 16:15:41 -0500
  • 0b50ce0650 remove old stuff that was left around commented rasul 2020-04-05 16:14:21 -0500
  • 24357a95f8 add some doc comments rasul 2020-04-05 16:14:00 -0500
  • eb01abb0f0 comment describing try_from_long() rasul 2020-04-05 16:07:03 -0500
  • a9f42be8d8 Zone has From<&Zone> implemented so .into() can be used rasul 2020-04-05 15:59:51 -0500
  • a493f868d4 impl From<&Zone> instead of the from_ref() method rasul 2020-04-05 15:58:53 -0500
  • df632447fd document Zone struct rasul 2020-04-05 15:55:25 -0500
  • e41b367e0f document Zone::from_ref() rasul 2020-04-05 15:15:44 -0500
  • a3be82b7ab impl PartialEq for Zone rasul 2020-04-05 15:14:07 -0500
  • 57ccd45420 add a from_ref() method to get a Zone from a &Zone rasul 2020-04-05 15:06:22 -0500
  • a7855949e7 rustfmt rasul 2020-04-05 15:04:39 -0500
  • ef48161a05 Document macros rasul 2020-04-05 14:57:52 -0500
  • d8e3b21143 document try_option_send_error!() macro rasul 2020-04-05 14:57:17 -0500
  • af9f14685a slight changes so placeholder function quits emitting warning rasul 2020-04-05 13:32:21 -0500
  • a4ac0c86e9 prefix with _ to supporess warnings, this function isn't currently used but could be in the future rasul 2020-04-05 13:31:02 -0500
  • 0efa5b8b86 don't document macros module, the individual macros are still documented and the docs have an empty macros module that isn't necessary rasul 2020-04-05 13:28:57 -0500
  • ab2522249e document the try_send!() macro rasul 2020-04-05 13:27:44 -0500