Commit Graph

185 Commits

Author SHA1 Message Date
7380140b7e
now answering callback queries 2023-07-29 16:12:41 +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
0fac457944
Added a mention of /set_master_pass when it is not set 2023-07-29 15:59:11 +03:00
c06879b08e
added missing return 2023-07-29 15:57:17 +03:00
b456896894
Changed get.rs and get_menu.rs to use MessageIds::alter_message func 2023-07-29 15:39:32 +03:00
af95e16622
added inline attributes 2023-07-29 15:33:10 +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
64a5435dc3
Added new callback types 2023-07-25 17:44:12 +03:00
c682fd310b
Added a test that chars in passwords.rs must be ascii
It was already implied but it might be useful if they will be changed
2023-07-25 02:22:29 +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
ff6dcf6dfe
Added a transaction for deleting all 2023-07-19 14:56:07 +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
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
e25460a3d8
simplified Handler.previous into the chat id and message id 2023-07-16 00:37:41 +03:00
1f016a3694
Now properly answering the callback query 2023-07-16 00:35:29 +03:00
e311e33c6d
Updated itertools and other deps, removed unnessesary versions from Cargo.toml 2023-07-15 00:12:18 +03:00
667f8b64fb
Moved handler.func.is_none check to the top 2023-07-15 00:07:59 +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
bc56846843
Removed a new line 2023-06-27 22:54:14 +03:00
b2c6a40c9d
Added rand/std feature in cryptography 2023-06-27 22:53:42 +03:00
0a1d125b04
Improved the char counting in the check_master_pass function 2023-06-27 22:51:34 +03:00
c3af7e9a95
Added some constants to reduce the amount of magic values 2023-06-27 22:51:11 +03:00
bb89f6d349
Updated debug config 2023-06-27 22:50:57 +03:00
fff91dc498
Now fully trimming the text of the message in the state handlers 2023-06-23 13:25:41 +03:00
24420096fd
Removed excesive validity checks 2023-06-23 12:36:55 +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
d7a049f211
Switched to debian:stable-slim image 2023-06-23 11:45:09 +03:00
f1228ed80f
Removed library crate for pass_manager 2023-06-23 11:38:54 +03:00
9ef17f31fe
Updated docker file for better caching 2023-06-20 20:40:43 +03:00
f8d7807c6c
Updated deps 2023-06-13 10:40:00 +03:00
3389f0a63d
Updated entities to use count method to check the existance of account/master password 2023-06-13 10:39:13 +03:00
4075e04ccc
Removed rayon dependency
(I don't know how it got there)
2023-06-12 18:06:56 +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
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