Commit Graph

21 Commits

Author SHA1 Message Date
b15b8b2ae1 Move load_config to Config::from_env 2026-07-19 10:00:07 -04:00
af1aafbde6 Write config to log
All checks were successful
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / tailwind-build (push) Successful in 6s
Push Workflows / docs (push) Successful in 19s
Push Workflows / clippy (push) Successful in 17s
Push Workflows / test (push) Successful in 24s
Push Workflows / build (push) Successful in 45s
Push Workflows / nix-build (push) Successful in 5m11s
2026-07-14 20:32:46 -04:00
738da0aac6 Create axum router directly
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 6s
Push Workflows / docs (push) Successful in 25s
Push Workflows / clippy (push) Successful in 23s
Push Workflows / test (push) Successful in 31s
Push Workflows / build (push) Successful in 57s
Push Workflows / nix-build (push) Successful in 5m11s
Bind to configured host/port
Warn if configured host/port differs from dx-specified host/port
Make main async
2026-07-14 20:13:07 -04:00
3ec07c0469 Serve favicon on /favicon.ico 2026-06-30 21:16:52 -04:00
f41f4f8d80 Set DIOXUS_PUBLIC_PATH to configured value 2026-06-30 21:11:26 -04:00
69eb3a5e80 Move loading config outside of router setup
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 6s
Push Workflows / clippy (push) Successful in 18s
Push Workflows / docs (push) Successful in 23s
Push Workflows / test (push) Successful in 26s
Push Workflows / build (push) Successful in 54s
Push Workflows / nix-build (push) Successful in 5m54s
2026-06-30 21:04:16 -04:00
4466396259 Enable config option for secure auth cookies
All checks were successful
Push Workflows / rustfmt (push) Successful in 16s
Push Workflows / tailwind-build (push) Successful in 15s
Push Workflows / test (push) Successful in 27s
Push Workflows / docs (push) Successful in 25s
Push Workflows / clippy (push) Successful in 19s
Push Workflows / build (push) Successful in 50s
Push Workflows / nix-build (push) Successful in 5m13s
Enable by default in release mode
2026-06-28 13:48:31 -04:00
0463714882 Add middleware to require authentication for some routes
All checks were successful
Push Workflows / rustfmt (push) Successful in 14s
Push Workflows / tailwind-build (push) Successful in 13s
Push Workflows / clippy (push) Successful in 25s
Push Workflows / test (push) Successful in 34s
Push Workflows / docs (push) Successful in 31s
Push Workflows / build (push) Successful in 59s
Push Workflows / nix-build (push) Successful in 5m27s
2026-06-28 11:56:18 -04:00
7ca7056fac Add Config to router as Extension 2026-06-27 22:32:57 -04:00
08fc3995e5 Add auth layer to router 2026-06-27 22:17:27 -04:00
7fc0513efc Attach db_pool to router as Extension 2026-06-27 18:54:32 -04:00
f2a1296454 Move server setup into router_setup
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 8s
Push Workflows / docs (push) Successful in 33s
Push Workflows / clippy (push) Successful in 31s
Push Workflows / test (push) Successful in 57s
Push Workflows / build (push) Successful in 1m25s
Push Workflows / nix-build (push) Successful in 5m17s
Remove tokio (dioxus::serve provides a runtime)
2026-06-27 18:51:44 -04:00
f8e2dad58a Set up key-value store in server main
All checks were successful
Push Workflows / rustfmt (push) Successful in 13s
Push Workflows / tailwind-build (push) Successful in 12s
Push Workflows / docs (push) Successful in 38s
Push Workflows / clippy (push) Successful in 41s
Push Workflows / test (push) Successful in 48s
Push Workflows / build (push) Successful in 1m45s
Push Workflows / nix-build (push) Successful in 5m21s
2026-06-27 15:28:52 -04:00
a40fc81d0e Call database setup from server main 2026-06-23 22:08:57 -04:00
cc468b5b14 Create tokio runtime for async setup tasks 2026-06-23 22:08:57 -04:00
f9c6f1afd1 Load configuration in server main 2026-06-23 21:38:04 -04:00
598215e50e Add web server launch message
All checks were successful
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / tailwind-build (push) Successful in 7s
Push Workflows / test (push) Successful in 22s
Push Workflows / clippy (push) Successful in 17s
Push Workflows / docs (push) Successful in 22s
Push Workflows / build (push) Successful in 45s
Push Workflows / nix-build (push) Successful in 5m2s
2026-06-23 21:37:35 -04:00
dfa75b97ca Return Result from server main 2026-06-23 21:32:16 -04:00
a6b635fef0 Use separate server main in main.rs
Some checks failed
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / test (push) Successful in 18s
Push Workflows / docs (push) Successful in 19s
Push Workflows / clippy (push) Successful in 15s
Push Workflows / build (push) Successful in 42s
Push Workflows / nix-build (push) Has been cancelled
2026-06-21 16:39:41 -04:00
c438e60e24 Remove redundant feature gate in server main 2026-06-21 15:44:37 -04:00
73fa2c4faf Move server-specific main to server module
Some checks failed
Push Workflows / build (push) Failing after 4s
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / test (push) Failing after 39s
Push Workflows / clippy (push) Failing after 36s
Push Workflows / docs (push) Failing after 43s
Push Workflows / nix-build (push) Failing after 2m6s
2026-06-15 18:00:49 -04:00