49 Commits

Author SHA1 Message Date
659965a744 Introduced GetUserExt 2024-08-17 18:35:50 +03:00
374a9d91c7 Switched to teloxide 0.13 2024-08-17 15:54:55 +03:00
25b02ba99a Removed inlines 2024-05-13 13:58:56 +03:00
aa3c2ae313 Code cleanup 2024-05-11 17:25:15 +03:00
9af37f78b2 Locale bug fixing 2024-05-02 17:01:24 +03:00
4ac34a73bb Moved error handling to one function 2024-04-29 13:40:31 +03:00
1b9fa77b13 Imporved logging and added debug information to get backtraces when errors are encountered 2024-04-23 18:19:35 +03:00
305b796d51 Added LocaleString type that can be converted to String to reduce the ammount of as_refs 2024-04-22 15:17:51 +03:00
c5855fced7 Added support for multiple languages 2024-04-16 16:02:48 +03:00
aded63f9d5 fixed delete command 2024-03-07 17:30:49 +03:00
b526eb0c12 Code cleanup 2024-02-22 12:44:02 +03:00
e8f0fcd819 Renamed DatabaseConnection into Pool 2024-02-03 16:23:39 +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
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
bfd68194e6 More clippy fixes 2023-11-19 14:45:46 +03:00
6ae745fcd4 Enabled clippy warnings and fixed them 2023-11-16 21:51:46 +03:00
79fce0a58f Renamed mod.rs files 2023-08-11 15:20:49 +03:00
06492bf31e Updated delete callback handler to alter a message if /delete command was used 2023-08-11 15:15:35 +03:00
2976d7f9f3 Added the check that accounts exist for /get_account and /delete 2023-08-08 15:09:13 +03:00
2199889127 Added MORE inlines 2023-08-07 13:38:46 +03:00
857f268f1d set_master_pass now asks for the master password twice 2023-08-07 13:22:47 +03:00
386f060a41 Implemented account altering 2023-08-04 00:23:02 +03:00
b415277769 Added export handler macro 2023-07-29 16:07:53 +03:00
42088e69fe Moved the /menu up in the list of commands 2023-07-29 16:00:02 +03:00
c06879b08e added missing return 2023-07-29 15:57:17 +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
22c754a256 added get endpoint, updated state_management 2023-07-26 00:52:12 +03:00
96c7d2e37e Added menu endpoints 2023-07-25 19:09:34 +03:00
ff6dcf6dfe Added a transaction for deleting all 2023-07-19 14:56:07 +03:00
4a1aa7203b Simplified Handler::new 2023-07-16 22:59:16 +03:00
010ac62a74 Added ask_name_handler 2023-07-16 22:54:01 +03:00
255f29bfad Started simplifying code using macros 2023-07-16 22:34:11 +03:00
1225adefc2 Now forming MessageIds only from &Message to reduce the amount of moving this large type 2023-07-16 17:28:40 +03:00
c0fcb41575 Added a prelude to reduce the amount of imports 2023-06-29 17:33:26 +03:00
24420096fd Removed excesive validity checks 2023-06-23 12:36:55 +03:00
ef27285e96 Updated account entity for better readability, now Account::get_names always orders by name 2023-06-12 17:55:21 +03:00
7ece22c081 Now the json in /export is created on a sepparate thread 2023-06-11 16:05:00 +03:00
fba2bb0b86 Minor cleanup 2023-06-11 15:58:41 +03:00
d3a55ea702 Now using parking_lot's mutex in import and export 2023-06-11 15:32:49 +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
b0f4d1927a Removed magic values from gen_password. Made generate_password accept constants for the amount the length of the password 2023-06-07 21:35:22 +03:00
d62f18980a Added messages about no accounts found for get_account and delete commands 2023-06-05 18:48:38 +03:00
f74d34f188 Updated get_accounts to handle the errors of concatenating the accounts 2023-06-05 10:57:47 +03:00
9d0fa17a0e Added GetNewMasterPass state and added restrictions on the master password 2023-06-04 20:41:10 +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