Commit graph

82 commits

Author SHA1 Message Date
de869a7378 Use serde default on struct! 2023-02-26 16:47:44 +01:00
db01d33b0f Use instrument 2023-02-26 16:47:29 +01:00
338cadaf51 Move email config 2023-02-26 15:13:49 +01:00
9f195fffce Use data directory and add config defaults 2023-02-26 14:51:57 +01:00
4adc01c49c Only nest if needed 2023-02-26 14:07:24 +01:00
b12fcef1b3 Add optional word 2023-02-26 14:07:06 +01:00
423dcb6914 Trim form strings by default 2023-02-26 12:32:06 +01:00
a5470ae857 Fix static directory in the container 2023-02-25 22:17:59 +01:00
3f2d22ba47 Add Containerfile 2023-02-25 21:43:55 +01:00
411f4ee792 Fix typos 2023-02-25 21:35:20 +01:00
f36f8c7a7c Merge branch 'field_config' 2023-02-25 21:34:00 +01:00
204d8d7999 Send an error on bad request 2023-02-25 21:33:45 +01:00
d9195ef0af Remove unused imports 2023-02-25 21:32:20 +01:00
b07b45fb14 Update deps 2023-02-25 21:25:45 +01:00
064935feb1 Rename id to key and refactor from_map 2023-02-25 21:14:58 +01:00
29b5f5fc63 Thanks clippy :) 2023-02-25 20:51:36 +01:00
1ac042ebee Format template 2023-02-25 20:47:34 +01:00
70dea0440a Add bacon config 2023-02-25 20:22:13 +01:00
c0d8eddd30 Working field config!!! 2023-02-25 18:08:21 +01:00
6442c75af4 Ignore log file 2023-02-25 18:07:16 +01:00
43d4ec3b59 Test email connection with early intialized logger 2023-02-24 02:56:08 +01:00
1b3424acae Bump version 2023-02-24 01:20:54 +01:00
9af1d7b665 Done documentation 2023-02-24 01:19:07 +01:00
90bce828ff Document routers 2023-02-24 01:13:02 +01:00
24b8594325 Add year 2023 to the license 2023-02-24 01:11:20 +01:00
431c860aa9 Add .ignore 2023-02-24 01:10:31 +01:00
0e26e36e46 Remove failed_submission and unneeded async 2023-02-23 21:08:36 +01:00
aef4a809d6 Remove was_validated from params 2023-02-23 20:22:59 +01:00
45f664bf9c Use persistant_fields 2023-02-23 20:19:20 +01:00
2143da1766 Document mailer and use async lettre 2023-02-23 17:34:22 +01:00
164094c42f Document logging 2023-02-23 17:17:25 +01:00
17d1606ae6 Document forms 2023-02-23 17:13:52 +01:00
95c71a2ed5 Document errors 2023-02-23 17:12:59 +01:00
7992857e5f Document config 2023-02-23 17:10:24 +01:00
a0c2edba56 Refactor captcha solutions and AppState 2023-02-23 16:55:27 +01:00
db0ad404a1 Use Mutex instead of RwLock and prevent unneeded allocation on answer check 2023-02-23 15:45:20 +01:00
0b9283a69b Use ? 2023-02-23 15:37:18 +01:00
e6b7c549e3 Simplify config and setup logging well 2023-02-23 03:22:31 +01:00
b7a3117ad8 Use Arc::clone instead of clone 2023-02-23 01:53:36 +01:00
230b4a6ba9 Remove usage of mem::take 2023-02-23 01:52:50 +01:00
132d002d3c Add Cargo.lock 2023-02-23 00:42:27 +01:00
5acfa4556f Use ServeDir 2023-02-23 00:42:08 +01:00
99372acf7d Use single thread 2023-02-23 00:41:26 +01:00
6b145a4022 Update tokio and remove the multithreaded runtime 2023-02-22 21:42:36 +01:00
8efb9bcdde Use only needed tokio features 2023-01-12 20:55:56 +01:00
7abe487918 Use RwLock 2022-12-28 14:36:30 +01:00
adcc18f5a5 Add lang 2022-12-17 18:37:04 +01:00
8ef73122e5 Update tokio and remove query feature from axum 2022-12-17 18:36:28 +01:00
f7d6ae8fa9 Add LICENCE 2022-12-04 20:17:54 +01:00
2c571ae3b4 Remove unneeded routes 2022-12-03 17:50:22 +01:00