cc02d91c03
Added limits for the amount of workers for /export and /import and moved out async blocks out of them into sepparate functionsStNicolay2023-06-09 18:05:45 +03:00
b0f4d1927a
Removed magic values from gen_password. Made generate_password accept constants for the amount the length of the passwordStNicolay2023-06-07 21:35:22 +03:00
cf28aba231
Now hash password returns an array instead of a vector to remove an allocation during a master password validationStNicolay2023-05-26 14:53:03 +03:00
e39762916d
Split up MasterPass::verify into 2 functions: MasterPass::get and master_pass::Model::verify, refactored check_master_passStNicolay2023-05-26 14:40:28 +03:00
1fb004f949
Updated delete_all to delete the accounts and the master password concurrentlyStNicolay2023-05-26 13:57:33 +03:00
a2477424a5
Updated generic handler to handle the lack of the text of the messageStNicolay2023-05-15 18:14:21 +03:00
2f96d84e34
Removed unnessesary closure in gen_password.rsStNicolay2023-05-14 14:00:57 +03:00
e973116df4
Reduced the amount of filters by using find_by_idStNicolay2023-05-14 13:59:42 +03:00
2c69882b13
import.rs now uses the FuturesUnordered to remove a mutex around the vector of failed accountsStNicolay2023-05-14 13:57:44 +03:00
7f949e3cdc
No longer packaging the vector of accounts in export.rs in Arc<Mutex<_>>StNicolay2023-05-14 13:06:48 +03:00
b65525cc6e
Updated master_pass.rs to improve readablityStNicolay2023-05-13 21:21:43 +03:00
4d153d8c44
Updated account.rs to improve readabilityStNicolay2023-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 charsStNicolay2023-05-12 20:29:44 +03:00
5f34cfb109
Updated generic and get_document to close dialogue on /cancel and errorsStNicolay2023-05-10 19:12:22 +03:00
996dca00fb
Default /cancel now uses deletion markupStNicolay2023-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 schemaStNicolay2023-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 sentStNicolay2023-05-09 21:09:30 +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 StringStNicolay2023-05-08 19:12:50 +03:00
ef3a188120
Added deletion markup for the message that the master password isn't setStNicolay2023-05-07 16:37:56 +03:00
fd94cb317f
Added docker files for the bot and the databaseStNicolay2023-05-07 16:34:41 +03:00
2fb6fbe6a3
Added descriptions to the commandsStNicolay2023-05-07 14:49:53 +03:00
bc08ebed03
Made migration binary use tokio instead of async-std to reduce the amount of dependenciesStNicolay2023-05-07 14:32:17 +03:00
8d68cb5b2b
Added an early master password check for the commands that rely on its existanceStNicolay2023-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 itStNicolay2023-05-07 13:20:11 +03:00
c264623510
Added button for deleting the resulting messageStNicolay2023-05-06 21:02:32 +03:00