Commit Graph

54 Commits

Author SHA1 Message Date
40515c463a
Improved error handling in GetUser state handler 2024-02-10 19:28:16 +03:00
a359364606
Removed utils mod, moved hexing the name to entity library 2024-02-03 16:31:19 +03:00
bd10acb438
Code cleanup
Moved migrations/ into entity/
MessageIds now return errors except for API ones
2024-02-03 16:21:16 +03:00
64e3210cc5
Fixed Cipher::decrypt and added tests for account encryption 2024-01-27 12:45:40 +03:00
9db3e8f7fe
Enabled lto for release mod 2024-05-18 12:59:45 +03:00
9f967e82d5
Switched from sea-orm to sqlx 2023-11-25 19:29:06 +03:00
e4e33f52b1
Updated cryptography functions to be in-place 2023-11-19 15:54:01 +03:00
6ae745fcd4
Enabled clippy warnings and fixed them 2023-11-16 21:51:46 +03:00
f0116b3207
Updated itertools and other deps 2023-11-16 17:11:28 +03:00
3819f68b15
Switched from rustc-hash with ahash 2023-09-04 21:25:43 +03:00
6691ab12de
Updated deps and switched from dotenv to dotenvy 2023-08-11 15:08:40 +03:00
3bc97d7bbc
Updated deps 2023-08-06 17:16:29 +03:00
ab62e74cb7
Updated sea-orm 2023-08-03 23:11:28 +03:00
0139963459
Switched to inline buttons when getting the account name, finished decrypt and delete Callback commands 2023-07-29 15:21:40 +03:00
5c14a77f29
Now altering messages where possible 2023-07-29 10:19:22 +03:00
426a4736ce
now changing state in set_master_pass by using change_state macro 2023-07-27 01:38:17 +03:00
64a5435dc3
Added new callback types 2023-07-25 17:44:12 +03:00
e311e33c6d
Updated itertools and other deps, removed unnessesary versions from Cargo.toml 2023-07-15 00:12:18 +03:00
916b20e33c
Updated deps 2023-07-03 15:28:35 +03:00
c0fcb41575
Added a prelude to reduce the amount of imports 2023-06-29 17:33:26 +03:00
580641bcf4
Improved master password validation 2023-06-28 00:08:51 +03:00
497e0ba5bf
Added checks if the account already exists in the database 2023-06-23 12:36:36 +03:00
be76b09427
Updated GetUsers to provide better inforamtion about invalid accounts to a user 2023-06-23 11:45:37 +03:00
f8d7807c6c
Updated deps 2023-06-13 10:40:00 +03:00
4075e04ccc
Removed rayon dependency
(I don't know how it got there)
2023-06-12 18:06:56 +03:00
8ee9acc12b
Removed extra stuff from migration/Cargo.toml 2023-06-11 15:33:25 +03:00
d3a55ea702
Now using parking_lot's mutex in import and export 2023-06-11 15:32:49 +03:00
e1fb440991
Now scrypt params are created once 2023-06-11 13:05:20 +03:00
2f2ab35b2b
Removed a binary migration crate 2023-06-11 13:00:27 +03:00
cc02d91c03
Added limits for the amount of workers for /export and /import and moved out async blocks out of them into sepparate functions 2023-06-09 18:05:45 +03:00
5087f8e2c6
Updated deps 2023-06-07 18:03:12 +03:00
c8c7ba154a
Now checking the hashes in constant time 2023-06-06 20:04:39 +03:00
3b2633c880
Split up get_account_name into 2 states: get_new_name and get_existing_name 2023-06-04 18:46:59 +03:00
cda07b4d84
Sepparated the code out into 3 more library crates: cryptography, entity and pass_manager 2023-06-01 14:42:35 +03:00
c40ffafd69
Improved readability of gen_password.rs by intoducing the bitflags 2023-05-31 18:15:38 +03:00
5566397e66
Updated deps, updated generate_passwords to return an array 2023-05-31 15:26:06 +03:00
e5a0da9890
House keeping 2023-05-27 21:56:58 +03:00
1fb004f949
Updated delete_all to delete the accounts and the master password concurrently 2023-05-26 13:57:33 +03:00
084b72b896
Updated deps 2023-05-23 21:39:27 +03:00
31c52a7771
Updated deps 2023-05-15 18:24:07 +03:00
522194c708
Updated deps 2023-05-11 18:38:41 +03:00
e7d3b7258f
Updated deps 2023-05-10 19:12:49 +03:00
26ac79a2ed
Updated Cargo.lock 2023-05-09 20:39:41 +03:00
072e030e32
Added gen password command 2023-05-07 18:07:48 +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
71940762ff
Added NoUserInfo, NoMessageText and HandlerUsed error types to decrease the amount of unwraps 2023-05-06 20:20:33 +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
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