This website requires JavaScript.
9ef17f31fe
Updated docker file for better caching
StNicolay
2023-06-20 20:40:43 +0300
f8d7807c6c
Updated deps
StNicolay
2023-06-13 10:40:00 +0300
3389f0a63d
Updated entities to use count method to check the existance of account/master password
StNicolay
2023-06-13 10:39:13 +0300
4075e04ccc
Removed rayon dependency
StNicolay
2023-06-12 18:06:56 +0300
ef27285e96
Updated account entity for better readability, now Account::get_names always orders by name
StNicolay
2023-06-12 17:55:21 +0300
7ece22c081
Now the json in /export is created on a sepparate thread
StNicolay
2023-06-11 16:05:00 +0300
fba2bb0b86
Minor cleanup
StNicolay
2023-06-11 15:58:41 +0300
8ee9acc12b
Removed extra stuff from migration/Cargo.toml
StNicolay
2023-06-11 15:33:25 +0300
d3a55ea702
Now using parking_lot's mutex in import and export
StNicolay
2023-06-11 15:32:49 +0300
e1fb440991
Now scrypt params are created once
StNicolay
2023-06-11 13:05:20 +0300
2f2ab35b2b
Removed a binary migration crate
StNicolay
2023-06-11 13:00:27 +0300
cc02d91c03
Added limits for the amount of workers for /export and /import and moved out async blocks out of them into sepparate functions
StNicolay
2023-06-09 18:05:45 +0300
b0f4d1927a
Removed magic values from gen_password. Made generate_password accept constants for the amount the length of the password
StNicolay
2023-06-07 21:35:22 +0300
5087f8e2c6
Updated deps
StNicolay
2023-06-07 18:03:12 +0300
ab7012ce35
Now using thread_rng for the password generation
StNicolay
2023-06-07 17:59:50 +0300
c8c7ba154a
Now checking the hashes in constant time
StNicolay
2023-06-06 20:04:39 +0300
10601d49ad
Handler::func no longer requires a closure to be sync
StNicolay
2023-06-06 16:48:09 +0300
d62f18980a
Added messages about no accounts found for get_account and delete commands
StNicolay
2023-06-05 18:48:38 +0300
9720fec16a
No longer logging the error in the delete_message callback
StNicolay
2023-06-05 10:58:29 +0300
f74d34f188
Updated get_accounts to handle the errors of concatenating the accounts
StNicolay
2023-06-05 10:57:47 +0300
9d0fa17a0e
Added GetNewMasterPass state and added restrictions on the master password
StNicolay
2023-06-04 20:41:10 +0300
4d4cec1353
Updated password generation functions
StNicolay
2023-06-04 19:54:39 +0300
3b2633c880
Split up get_account_name into 2 states: get_new_name and get_existing_name
StNicolay
2023-06-04 18:46:59 +0300
cc41fbbaa4
Updated DecryptedAccount::validate to use an all method of the iterators
StNicolay
2023-06-04 18:19:54 +0300
593f438435
Replaced super with crate where applicable
StNicolay
2023-06-01 14:58:48 +0300
a817f7f39c
Updated master_password_check to use Arc<dyn Error> instead of a string representation of an error
StNicolay
2023-06-01 14:54:00 +0300
cda07b4d84
Sepparated the code out into 3 more library crates: cryptography, entity and pass_manager
StNicolay
2023-06-01 14:42:35 +0300
c40ffafd69
Improved readability of gen_password.rs by intoducing the bitflags
StNicolay
2023-05-31 18:15:38 +0300
5566397e66
Updated deps, updated generate_passwords to return an array
StNicolay
2023-05-31 15:26:06 +0300
ee815e5f61
Updated /get_accounts to use a write! macro to concatenate the accounts
StNicolay
2023-05-30 17:38:11 +0300
a0920ba3d3
Updated generic to get the text to send when there's no text
StNicolay
2023-05-30 14:21:04 +0300
40f7194cbe
Added state persistance
StNicolay
2023-05-28 02:21:50 +0300
ef0ccfb457
Simplified the default endpoint
StNicolay
2023-05-28 02:00:12 +0300
1989283754
Moved Command enum to the commands module
StNicolay
2023-05-28 01:42:06 +0300
c3af1144db
delete_optional now just gets Option<&Message>
StNicolay
2023-05-27 22:46:08 +0300
e5a0da9890
House keeping
StNicolay
2023-05-27 21:56:58 +0300
cf28aba231
Now hash password returns an array instead of a vector to remove an allocation during a master password validation
StNicolay
2023-05-26 14:53:03 +0300
e39762916d
Split up MasterPass::verify into 2 functions: MasterPass::get and master_pass::Model::verify, refactored check_master_pass
StNicolay
2023-05-26 14:40:28 +0300
1fb004f949
Updated delete_all to delete the accounts and the master password concurrently
StNicolay
2023-05-26 13:57:33 +0300
084b72b896
Updated deps
StNicolay
2023-05-23 21:39:27 +0300
58d1cd56ab
Moved Handler and PackagedHandler into state module, converted utils::package_handler into Handler::new
StNicolay
2023-05-23 21:09:28 +0300
a271b72038
Added inline to the functions that can be considered utilities
StNicolay
2023-05-15 19:17:52 +0300
02d090dd6a
Updated models and entities
StNicolay
2023-05-15 19:09:15 +0300
31c52a7771
Updated deps
StNicolay
2023-05-15 18:24:07 +0300
a2477424a5
Updated generic handler to handle the lack of the text of the message
StNicolay
2023-05-15 18:14:21 +0300
2f96d84e34
Removed unnessesary closure in gen_password.rs
StNicolay
2023-05-14 14:00:57 +0300
e973116df4
Reduced the amount of filters by using find_by_id
StNicolay
2023-05-14 13:59:42 +0300
2c69882b13
import.rs now uses the FuturesUnordered to remove a mutex around the vector of failed accounts
StNicolay
2023-05-14 13:57:44 +0300
7f949e3cdc
No longer packaging the vector of accounts in export.rs in Arc<Mutex<_>>
StNicolay
2023-05-14 13:06:48 +0300
b65525cc6e
Updated master_pass.rs to improve readablity
StNicolay
2023-05-13 21:21:43 +0300
4d153d8c44
Updated account.rs to improve readability
StNicolay
2023-05-13 21:10:21 +0300
0b92bcd9f3
Now creating password on 1 blocking task because the generation doesn't take that long, removed back slash from the password chars
StNicolay
2023-05-12 20:29:44 +0300
522194c708
Updated deps
StNicolay
2023-05-11 18:38:41 +0300
e7d3b7258f
Updated deps
StNicolay
2023-05-10 19:12:49 +0300
5f34cfb109
Updated generic and get_document to close dialogue on /cancel and errors
StNicolay
2023-05-10 19:12:22 +0300
996dca00fb
Default /cancel now uses deletion markup
StNicolay
2023-05-10 18:49:27 +0300
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
StNicolay
2023-05-10 18:47:46 +0300
9365c75e6e
Updated delete_optional to get Option<impl Borrow<Message>>, update get_document to actually check that the document was sent
StNicolay
2023-05-09 21:09:30 +0300
26ac79a2ed
Updated Cargo.lock
StNicolay
2023-05-09 20:39:41 +0300
b326aa696d
Added Account::delete_all method
StNicolay
2023-05-09 20:32:07 +0300
3db99a3626
Added comments to the funtions
StNicolay
2023-05-09 20:27:58 +0300
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
StNicolay
2023-05-08 19:12:50 +0300
05c7f721ec
Added start command
StNicolay
2023-05-07 20:31:01 +0300
00bbb7e960
Added cancel command to allow the user to know that they can use it
StNicolay
2023-05-07 20:11:52 +0300
3a9c038090
Added basic checks for the account fields
StNicolay
2023-05-07 19:04:48 +0300
072e030e32
Added gen password command
StNicolay
2023-05-07 18:07:48 +0300
ef3a188120
Added deletion markup for the message that the master password isn't set
StNicolay
2023-05-07 16:37:56 +0300
fd94cb317f
Added docker files for the bot and the database
StNicolay
2023-05-07 16:34:41 +0300
2fb6fbe6a3
Added descriptions to the commands
StNicolay
2023-05-07 14:49:53 +0300
bc08ebed03
Made migration binary use tokio instead of async-std to reduce the amount of dependencies
StNicolay
2023-05-07 14:32:17 +0300
8d68cb5b2b
Added an early master password check for the commands that rely on its existance
StNicolay
2023-05-07 14:24:58 +0300
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
StNicolay
2023-05-07 13:20:11 +0300
c264623510
Added button for deleting the resulting message
StNicolay
2023-05-06 21:02:32 +0300
4a0760d711
Added Account::get method
StNicolay
2023-05-06 20:37:26 +0300
71940762ff
Added NoUserInfo, NoMessageText and HandlerUsed error types to decrease the amount of unwraps
StNicolay
2023-05-06 20:20:33 +0300
c1e1b9c0c1
Updated account and master pass methods
StNicolay
2023-05-06 19:35:11 +0300
8af4d0ab12
Updated import and export commands to work better
StNicolay
2023-05-06 19:21:40 +0300
fc76d7f65c
Added import command, created User struct to remove the usage of a json! macro
StNicolay
2023-05-05 21:29:58 +0300
957bcfb952
Now checking that account exists before getting/deleting it, added export command
StNicolay
2023-05-05 16:45:56 +0300
b5e003e1d7
Added delete_all command
StNicolay
2023-05-04 21:46:44 +0300
a2fae8bb89
Added delete command and fixed memory deletion for /add_account
StNicolay
2023-05-04 21:35:31 +0300
332356a95b
Created markups.rs
StNicolay
2023-05-04 21:15:41 +0300
925df8a5e5
Moved command handlers below state handlers
StNicolay
2023-05-04 21:01:00 +0300
89d3ea1bf7
Added message deletion
StNicolay
2023-05-04 20:51:36 +0300
e129934aac
Made verify_master_pass compute the hash in a blocking thread
StNicolay
2023-05-04 19:39:36 +0300
83aa2c90b1
Moved the check of existence of a master password into master_pass.rs, added buttons for /get_account
StNicolay
2023-05-04 19:03:03 +0300
17e4f1892c
Added more paralization to allow better multi-user perfomace
StNicolay
2023-05-04 18:27:19 +0300
ecf74fb50f
First steps
StNicolay
2023-05-03 21:08:14 +0300
0f6712b414
Removed Query enum from get_accounts.rs
StNicolay
2023-04-27 19:51:59 +0300
8aadf96020
Added checks of the master password for /add_account and /get_account
StNicolay
2023-04-27 19:38:34 +0300
3f8adb96f9
Added command to add master password
StNicolay
2023-04-27 17:40:49 +0300
e8fc43f9ad
Extended functionality
StNicolay
2023-04-27 16:25:23 +0300
b92ce0b0fa
First prototype
StNicolay
2023-04-24 20:48:34 +0300
c755de93b8
Initial commit
StNicolay
2023-04-23 20:54:16 +0300