28 Commits

Author SHA1 Message Date
3819f68b15
Switched from rustc-hash with ahash 2023-09-04 21:25:43 +03:00
072596a797
added a filter for messages without user information 2023-08-12 17:37:27 +03:00
df7a78a1c7
Removed a need for parse_mode to be copy 2023-08-12 16:29:03 +03:00
79fce0a58f
Renamed mod.rs files 2023-08-11 15:20:49 +03:00
857f268f1d
set_master_pass now asks for the master password twice 2023-08-07 13:22:47 +03:00
1cc486bdc5
changed the way we set the markup in alter_message 2023-08-07 01:21:15 +03:00
b415277769
Added export handler macro 2023-07-29 16:07:53 +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
22c754a256
added get endpoint, updated state_management 2023-07-26 00:52:12 +03:00
6ebfe4e03f
Replaced try_join func by tokio::try_join to be consistent with delete_all 2023-07-20 23:58:29 +03:00
59a11ee37b
Added a 200 MB file size limit 2023-07-20 23:42:40 +03:00
63acd976e7
Moved document validation into a sepparate func 2023-07-20 23:28:26 +03:00
255a794b0f
Added simple_state_handler macro 2023-07-16 23:12:37 +03:00
4a1aa7203b
Simplified Handler::new 2023-07-16 22:59:16 +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
e25460a3d8
simplified Handler.previous into the chat id and message id 2023-07-16 00:37:41 +03:00
667f8b64fb
Moved handler.func.is_none check to the top 2023-07-15 00:07:59 +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
fff91dc498
Now fully trimming the text of the message in the state handlers 2023-06-23 13:25:41 +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
f1228ed80f
Removed library crate for pass_manager 2023-06-23 11:38:54 +03:00
10601d49ad
Handler::func no longer requires a closure to be sync 2023-06-06 16:48:09 +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