228-create-unified-config-system #229

Merged
eta357 merged 33 commits from 228-create-unified-config-system into main 2025-06-28 01:13:23 +00:00

33 Commits

Author SHA1 Message Date
7af02947d9 Remove lazy_static dependency
All checks were successful
Push Workflows / rustfmt (push) Successful in 9s
Push Workflows / mdbook (push) Successful in 11s
Push Workflows / mdbook-server (push) Successful in 31s
Push Workflows / docs (push) Successful in 1m14s
Push Workflows / clippy (push) Successful in 1m29s
Push Workflows / leptos-test (push) Successful in 2m54s
Push Workflows / test (push) Successful in 3m9s
Push Workflows / build (push) Successful in 4m18s
Push Workflows / docker-build (push) Successful in 10m56s
Push Workflows / nix-build (push) Successful in 10m49s
Not required after BackendState implementation
2025-06-28 01:01:29 +00:00
cd1fff8a10 Remove unused imports
Some checks failed
Push Workflows / rustfmt (push) Successful in 7s
Push Workflows / mdbook (push) Successful in 9s
Push Workflows / docs (push) Successful in 50s
Push Workflows / clippy (push) Successful in 1m8s
Push Workflows / mdbook-server (push) Successful in 1m42s
Push Workflows / leptos-test (push) Successful in 2m1s
Push Workflows / test (push) Successful in 2m22s
Push Workflows / nix-build (push) Has been cancelled
Push Workflows / docker-build (push) Has been cancelled
Push Workflows / build (push) Has been cancelled
2025-06-28 00:58:07 +00:00
4b5b1209a5 Remove FromRequestParts for Config
Some checks failed
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / mdbook (push) Successful in 8s
Push Workflows / clippy (push) Failing after 34s
Push Workflows / docs (push) Successful in 42s
Push Workflows / build (push) Failing after 1m22s
Push Workflows / mdbook-server (push) Successful in 1m12s
Push Workflows / leptos-test (push) Successful in 1m30s
Push Workflows / test (push) Successful in 1m44s
Push Workflows / docker-build (push) Successful in 4m20s
Push Workflows / nix-build (push) Successful in 12m53s
2025-06-28 00:49:46 +00:00
83b56b9110 Move PG types back to util::database
Some checks failed
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / mdbook (push) Successful in 8s
Push Workflows / docs (push) Successful in 45s
Push Workflows / clippy (push) Successful in 50s
Push Workflows / mdbook-server (push) Successful in 1m18s
Push Workflows / leptos-test (push) Successful in 1m35s
Push Workflows / test (push) Successful in 1m48s
Push Workflows / build (push) Successful in 2m40s
Push Workflows / docker-build (push) Successful in 4m26s
Push Workflows / nix-build (push) Has been cancelled
2025-06-28 00:44:14 +00:00
36de234630 Add backend_state to AuthBackend 2025-06-28 00:41:10 +00:00
b43f9fae8c Add db_conn argument for functions required for auth 2025-06-28 00:39:00 +00:00
97f435c6d8 Implement Error for BackendError 2025-06-28 00:38:17 +00:00
7a79904aa4 Remove old database init/connection functions 2025-06-27 22:08:14 +00:00
7ddbee724b Use BackendState::get_db_conn() instead of database module 2025-06-27 22:08:14 +00:00
912c3b8adf Remove redis module
All functionality is now handled in BackendState
2025-06-27 22:08:14 +00:00
735f6758d7 Use BackendState for redis connection 2025-06-27 22:08:14 +00:00
e25f6ff5c4 Add function to BackendState to extract 2025-06-27 22:08:13 +00:00
8adefabc2f Initialize backend state, supply to requests instead of config 2025-06-27 22:08:13 +00:00
2795a1b754 Add BackendState 2025-06-27 22:08:13 +00:00
f25ebb85d2 Fix leptos tests using new errors
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / mdbook (push) Successful in 7s
Push Workflows / docs (push) Successful in 40s
Push Workflows / clippy (push) Successful in 1m4s
Push Workflows / mdbook-server (push) Successful in 2m21s
Push Workflows / test (push) Successful in 2m56s
Push Workflows / build (push) Successful in 3m56s
Push Workflows / leptos-test (push) Successful in 5m51s
Push Workflows / nix-build (push) Successful in 11m20s
Push Workflows / docker-build (push) Successful in 11m49s
2025-06-27 00:56:18 +00:00
368f673fd7 Rewrite error handling and display
Some checks failed
Push Workflows / rustfmt (push) Successful in 11s
Push Workflows / mdbook (push) Successful in 16s
Push Workflows / mdbook-server (push) Successful in 4m20s
Push Workflows / docs (push) Successful in 5m44s
Push Workflows / clippy (push) Successful in 7m48s
Push Workflows / test (push) Successful in 11m14s
Push Workflows / leptos-test (push) Failing after 11m33s
Push Workflows / build (push) Successful in 12m53s
Push Workflows / nix-build (push) Successful in 16m54s
Push Workflows / docker-build (push) Successful in 17m40s
2025-06-26 00:01:49 +00:00
0541b77b66 Add more BackendError types
Remove "Error" from enum variant names
Add functions to create BackendErrors
Change Contextualize types
Implement conversion from all sub error types
2025-06-26 00:01:35 +00:00
f8a774f389 Add BackendResult type 2025-06-25 23:59:34 +00:00
a6d57a84ce Remove unnecesary feature 2025-06-25 23:59:11 +00:00
cd39ec7252 Create a type for different backend errors 2025-06-16 15:27:08 +00:00
9181b12c01 Load Config at start of main, supply to requests with middleware 2025-06-16 15:27:08 +00:00
40909bfdb0 Implement FromRequestParts for Config 2025-06-10 02:07:34 +00:00
c7154f5008 Update CustomClient for websocket support 2025-06-10 01:37:47 +00:00
60f82fbc74 Add tokio-tungstenite crate 2025-06-10 01:30:52 +00:00
13111e3567 Fix axum route syntax 2025-06-08 21:14:52 +00:00
627746c0b3 Update leptos-use 2025-06-08 21:14:26 +00:00
a738341c5f Update axum-login 2025-06-08 21:13:54 +00:00
5cf2d5e6d9 Update tower-sessions-redis-store 2025-06-08 21:13:28 +00:00
20e2b03b14 Update axum 2025-06-08 21:13:05 +00:00
306d760f06 Update leptos_icons 2025-06-08 21:12:32 +00:00
7cec212c32 Update leptos crates 2025-06-08 20:34:16 +00:00
5cbeba5dbe Add config module 2025-06-08 20:10:14 +00:00
f43013a568 Add clap crate 2025-06-08 18:07:19 +00:00