Commit Graph

27 Commits

Author SHA1 Message Date
StNicolay fd94cb317f Added docker files for the bot and the database 2023-05-07 16:34:41 +03:00
StNicolay 2fb6fbe6a3 Added descriptions to the commands 2023-05-07 14:49:53 +03:00
StNicolay bc08ebed03 Made migration binary use tokio instead of async-std to reduce the amount of dependencies 2023-05-07 14:32:17 +03:00
StNicolay 8d68cb5b2b Added an early master password check for the commands that rely on its existance 2023-05-07 14:24:58 +03:00
StNicolay ab6e4d9233 Added Handler struct to hold the boxed next step handler and the previous message to be able to delete the previous message to allways delete it 2023-05-07 13:20:11 +03:00
StNicolay c264623510 Added button for deleting the resulting message 2023-05-06 21:02:32 +03:00
StNicolay 4a0760d711 Added Account::get method 2023-05-06 20:37:26 +03:00
StNicolay 71940762ff Added NoUserInfo, NoMessageText and HandlerUsed error types to decrease the amount of unwraps 2023-05-06 20:20:33 +03:00
StNicolay c1e1b9c0c1 Updated account and master pass methods 2023-05-06 19:35:11 +03:00
StNicolay 8af4d0ab12 Updated import and export commands to work better 2023-05-06 19:21:40 +03:00
StNicolay fc76d7f65c Added import command, created User struct to remove the usage of a json! macro 2023-05-05 21:29:58 +03:00
StNicolay 957bcfb952 Now checking that account exists before getting/deleting it, added export command 2023-05-05 16:45:56 +03:00
StNicolay b5e003e1d7 Added delete_all command 2023-05-04 21:46:44 +03:00
StNicolay a2fae8bb89 Added delete command and fixed memory deletion for /add_account 2023-05-04 21:35:31 +03:00
StNicolay 332356a95b Created markups.rs 2023-05-04 21:15:41 +03:00
StNicolay 925df8a5e5 Moved command handlers below state handlers 2023-05-04 21:01:00 +03:00
StNicolay 89d3ea1bf7 Added message deletion 2023-05-04 20:51:36 +03:00
StNicolay e129934aac Made verify_master_pass compute the hash in a blocking thread 2023-05-04 19:39:36 +03:00
StNicolay 83aa2c90b1 Moved the check of existence of a master password into master_pass.rs, added buttons for /get_account 2023-05-04 19:03:03 +03:00
StNicolay 17e4f1892c Added more paralization to allow better multi-user perfomace 2023-05-04 18:27:19 +03:00
StNicolay ecf74fb50f First steps 2023-05-03 21:08:14 +03:00
StNicolay 0f6712b414 Removed Query enum from get_accounts.rs 2023-04-27 19:51:59 +03:00
StNicolay 8aadf96020 Added checks of the master password for /add_account and /get_account 2023-04-27 19:38:34 +03:00
StNicolay 3f8adb96f9 Added command to add master password 2023-04-27 17:40:49 +03:00
StNicolay e8fc43f9ad Extended functionality 2023-04-27 16:25:23 +03:00
StNicolay b92ce0b0fa First prototype 2023-04-24 20:48:34 +03:00
StNicolay c755de93b8 Initial commit 2023-04-23 20:54:16 +03:00