Commit Graph

19 Commits

Author SHA1 Message Date
40515c463a
Improved error handling in GetUser state handler 2024-02-10 19:28:16 +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
6ae745fcd4
Enabled clippy warnings and fixed them 2023-11-16 21:51:46 +03:00
3819f68b15
Switched from rustc-hash with ahash 2023-09-04 21:25:43 +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
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
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
cda07b4d84
Sepparated the code out into 3 more library crates: cryptography, entity and pass_manager 2023-06-01 14:42:35 +03:00