refactor: implemented state machines for retrieval pipeline, improved tracing

This commit is contained in:
Per Stark
2025-10-18 17:43:10 +02:00
parent 21e4ab1f42
commit 83d39afad4
15 changed files with 899 additions and 566 deletions
+9 -5
View File
@@ -27,11 +27,15 @@ pub async fn show_signin_form(
if auth.is_authenticated() {
return Ok(TemplateResponse::redirect("/"));
}
if boosted { Ok(TemplateResponse::new_partial(
"auth/signin_base.html",
"body",
(),
)) } else { Ok(TemplateResponse::new_template("auth/signin_base.html", ())) }
if boosted {
Ok(TemplateResponse::new_partial(
"auth/signin_base.html",
"body",
(),
))
} else {
Ok(TemplateResponse::new_template("auth/signin_base.html", ()))
}
}
pub async fn authenticate_user(