Commit Graph

194 Commits

Author SHA1 Message Date
4d153d8c44
Updated account.rs to improve readability 2023-05-13 21:10:21 +03:00
0b92bcd9f3
Now creating password on 1 blocking task because the generation doesn't take that long, removed back slash from the password chars 2023-05-12 20:29:44 +03:00
522194c708
Updated deps 2023-05-11 18:38:41 +03:00
e7d3b7258f
Updated deps 2023-05-10 19:12:49 +03:00
5f34cfb109
Updated generic and get_document to close dialogue on /cancel and errors 2023-05-10 19:12:22 +03:00
996dca00fb
Default /cancel now uses deletion markup 2023-05-10 18:49:27 +03:00
8307bee4cf
Updated delete_message.rs to send a message if the deletion fails and added a function to just get a handler to chain with the schema 2023-05-10 18:47:46 +03:00
9365c75e6e
Updated delete_optional to get Option<impl Borrow<Message>>, update get_document to actually check that the document was sent 2023-05-09 21:09:30 +03:00
26ac79a2ed
Updated Cargo.lock 2023-05-09 20:39:41 +03:00
b326aa696d
Added Account::delete_all method 2023-05-09 20:32:07 +03:00
3db99a3626
Added comments to the funtions 2023-05-09 20:27:58 +03:00
207832be43
Updated error message of unwrapping the Arc in import.rs and export.rs, now collection the file in export.rs into Vec instead of String 2023-05-08 19:12:50 +03:00
05c7f721ec
Added start command 2023-05-07 20:31:01 +03:00
00bbb7e960
Added cancel command to allow the user to know that they can use it 2023-05-07 20:11:52 +03:00
3a9c038090
Added basic checks for the account fields 2023-05-07 19:04:48 +03:00
072e030e32
Added gen password command 2023-05-07 18:07:48 +03:00
ef3a188120
Added deletion markup for the message that the master password isn't set 2023-05-07 16:37:56 +03:00
fd94cb317f
Added docker files for the bot and the database 2023-05-07 16:34:41 +03:00
2fb6fbe6a3
Added descriptions to the commands 2023-05-07 14:49:53 +03:00
bc08ebed03
Made migration binary use tokio instead of async-std to reduce the amount of dependencies 2023-05-07 14:32:17 +03:00
8d68cb5b2b
Added an early master password check for the commands that rely on its existance 2023-05-07 14:24:58 +03:00
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
c264623510
Added button for deleting the resulting message 2023-05-06 21:02:32 +03:00
4a0760d711
Added Account::get method 2023-05-06 20:37:26 +03:00
71940762ff
Added NoUserInfo, NoMessageText and HandlerUsed error types to decrease the amount of unwraps 2023-05-06 20:20:33 +03:00
c1e1b9c0c1
Updated account and master pass methods 2023-05-06 19:35:11 +03:00
8af4d0ab12
Updated import and export commands to work better 2023-05-06 19:21:40 +03:00
fc76d7f65c
Added import command, created User struct to remove the usage of a json! macro 2023-05-05 21:29:58 +03:00
957bcfb952
Now checking that account exists before getting/deleting it, added export command 2023-05-05 16:45:56 +03:00
b5e003e1d7
Added delete_all command 2023-05-04 21:46:44 +03:00
a2fae8bb89
Added delete command and fixed memory deletion for /add_account 2023-05-04 21:35:31 +03:00
332356a95b
Created markups.rs 2023-05-04 21:15:41 +03:00
925df8a5e5
Moved command handlers below state handlers 2023-05-04 21:01:00 +03:00
89d3ea1bf7
Added message deletion 2023-05-04 20:51:36 +03:00
e129934aac
Made verify_master_pass compute the hash in a blocking thread 2023-05-04 19:39:36 +03:00
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
17e4f1892c
Added more paralization to allow better multi-user perfomace 2023-05-04 18:27:19 +03:00
ecf74fb50f
First steps 2023-05-03 21:08:14 +03:00
0f6712b414
Removed Query enum from get_accounts.rs 2023-04-27 19:51:59 +03:00
8aadf96020
Added checks of the master password for /add_account and /get_account 2023-04-27 19:38:34 +03:00
3f8adb96f9
Added command to add master password 2023-04-27 17:40:49 +03:00
e8fc43f9ad
Extended functionality 2023-04-27 16:25:23 +03:00
b92ce0b0fa
First prototype 2023-04-24 20:48:34 +03:00
c755de93b8
Initial commit 2023-04-23 20:54:16 +03:00