Commit graph

55 commits

Author SHA1 Message Date
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
02f0a7cbb7 Place the error message down 2022-12-03 17:42:25 +01:00
1f61efb1b6 No need to pass tracing guard 2022-12-03 17:15:49 +01:00
be7b29d631 Upgrade to Axum 0.6 and refactor 2022-12-03 17:08:23 +01:00
ef93f8a76a Update Bootstrap 2022-11-22 11:03:44 +01:00
97e12feb60 Format with djlint 2022-11-06 21:24:30 +01:00
8445a59cbe Add package.json 2022-11-02 22:35:25 +01:00
eb3cca99da Ignore Cargo.lock 2022-11-02 20:50:45 +01:00
6b5bd9f113 Use local deps 2022-11-02 20:50:23 +01:00
ba01105058 Add address from config, rate limiter and tracing 2022-11-02 00:24:17 +01:00
14c418dacc Migrate to askama 2022-11-01 20:45:06 +01:00
5b007a3220 Migrate to Axum 2022-10-31 02:13:42 +01:00
c25d431cf3 Don't panic! 2022-10-29 19:09:56 +02:00
635e7e4266 No need for context constructor 2022-10-29 17:55:00 +02:00
57471181f3 Adjust routes 2022-10-29 17:13:12 +02:00
f3f5ce5145 Thanks clippy! 2022-10-29 17:12:50 +02:00
a1b5d43ac5 Separate context 2022-10-29 17:12:43 +02:00
dcfd6fe075 Add success template 2022-10-29 17:12:34 +02:00
288f1d9f1b Use base template 2022-10-29 17:12:29 +02:00
7d83419389 Add base template 2022-10-29 17:12:19 +02:00
9dc33eda1a Add optional to telefon 2022-10-29 11:34:41 +02:00
cd90c982f6 Use path_prefix in template 2022-10-29 01:07:43 +02:00
640517b48c Use mailer 2022-10-29 00:42:15 +02:00
e860ffa86d Add states 2022-10-29 00:41:49 +02:00
6d388ed61b Move form out 2022-10-29 00:41:32 +02:00
dfe4290713 Add mailer 2022-10-29 00:41:18 +02:00
a1cd8f431d Add config.rs 2022-10-29 00:41:02 +02:00
047b5de2d1 Split states.rs 2022-10-29 00:40:54 +02:00