Commit Graph

88 Commits

Author SHA1 Message Date
978c9c4202 Add tower-sessions-redis-store 2026-06-27 22:01:25 -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
d52c4cbe9e Add open_signup config flag
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 7s
Push Workflows / clippy (push) Successful in 18s
Push Workflows / docs (push) Successful in 22s
Push Workflows / test (push) Successful in 26s
Push Workflows / build (push) Successful in 49s
Push Workflows / nix-build (push) Successful in 5m11s
2026-06-27 17:33:23 -04:00
1282c2b8b5 Implement axum-login
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 7s
Push Workflows / docs (push) Successful in 40s
Push Workflows / clippy (push) Successful in 46s
Push Workflows / test (push) Successful in 1m2s
Push Workflows / build (push) Successful in 1m54s
Push Workflows / nix-build (push) Successful in 5m20s
2026-06-27 17:25:46 -04:00
f7f4fd2813 Add password check function 2026-06-27 17:23:02 -04:00
46ce08e02f Add HashedPassword::auth_hash 2026-06-27 17:22:35 -04:00
8a049edeeb Add axum-login 2026-06-27 17:21:52 -04:00
0b7e25c792 Add database::DbConn type 2026-06-27 17:07:42 -04:00
554ae23175 Remove unnecessary error conversion 2026-06-27 17:07:27 -04:00
87aa18b7cc Allow error::Result type to use other error
Convenience since this Result will shadow std::result::Result when
imported
2026-06-27 17:06:24 -04:00
86291f1eb5 Convert deadpool::PoolError into Database error 2026-06-27 17:06:02 -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
2b800c2df4 Add key-value store setup function 2026-06-27 15:28:39 -04:00
9e3d534190 Add config for key-value store connection 2026-06-27 15:26:07 -04:00
d74479851f Add format_uri function 2026-06-27 15:25:52 -04:00
4ecbf6da15 Add error type for key-value store 2026-06-27 15:17:22 -04:00
674b58e290 Use wildcard match for Error variants without special status codes 2026-06-27 15:17:02 -04:00
ef9f88e72c Add fred 2026-06-27 15:16:20 -04:00
97cf3f62ad Add User models 2026-06-27 13:24:12 -04:00
3677b6adfa Add cfg_if 2026-06-27 13:23:57 -04:00
ca8c96306f Add pbkdf2
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 8s
Push Workflows / test (push) Successful in 40s
Push Workflows / clippy (push) Successful in 40s
Push Workflows / docs (push) Successful in 48s
Push Workflows / build (push) Successful in 1m26s
Push Workflows / nix-build (push) Successful in 5m14s
2026-06-27 12:35:05 -04:00
f4f1e4b96f Move schema module to server only
All checks were successful
Push Workflows / rustfmt (push) Successful in 4s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / docs (push) Successful in 39s
Push Workflows / clippy (push) Successful in 42s
Push Workflows / test (push) Successful in 52s
Push Workflows / build (push) Successful in 1m26s
Push Workflows / nix-build (push) Successful in 5m3s
2026-06-26 18:10:13 -04:00
1bf5c0f2da Ignore diesel lock file 2026-06-26 18:08:52 -04:00
773d8dffd1 Create users table 2026-06-26 18:08:03 -04:00
fb3afaf31c Add chrono
Enable chrono feature for diesel
2026-06-26 17:46:50 -04:00
3fae599c6f Ignore all config files
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / docs (push) Successful in 26s
Push Workflows / clippy (push) Successful in 37s
Push Workflows / test (push) Successful in 47s
Push Workflows / build (push) Successful in 1m15s
Push Workflows / nix-build (push) Successful in 5m8s
2026-06-23 22:08:57 -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
655afa77ac Add database setup 2026-06-23 22:08:57 -04:00
91c79d124a Add diesel-async
Make appropriate feature flag changes to other diesel dependencies
2026-06-23 22:08:57 -04:00
81d8a96d59 Add database connection configuration
Some checks failed
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / test (push) Successful in 19s
Push Workflows / clippy (push) Failing after 15s
Push Workflows / build (push) Failing after 40s
Push Workflows / docs (push) Successful in 19s
Push Workflows / nix-build (push) Successful in 5m4s
2026-06-23 21:44:27 -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
1b8d382906 Add function to create Error from message String 2026-06-23 21:24:21 -04:00
e38fa9ac0e Create Config and config_load
All checks were successful
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / tailwind-build (push) Successful in 6s
Push Workflows / test (push) Successful in 20s
Push Workflows / clippy (push) Successful in 15s
Push Workflows / docs (push) Successful in 21s
Push Workflows / build (push) Successful in 43s
Push Workflows / nix-build (push) Successful in 4m56s
2026-06-23 21:21:17 -04:00
5f910d77ca Add config 2026-06-21 22:13:23 -04:00
329bbb411b Add tokio 2026-06-21 22:04:33 -04:00
345e1cc565 Move Route and App out of main
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / test (push) Successful in 17s
Push Workflows / docs (push) Successful in 17s
Push Workflows / clippy (push) Successful in 15s
Push Workflows / build (push) Successful in 42s
Push Workflows / nix-build (push) Successful in 5m0s
2026-06-21 16:45:53 -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
3c58192957 Add Result type with custom Error 2026-06-21 16:36:07 -04:00
c438e60e24 Remove redundant feature gate in server main 2026-06-21 15:44:37 -04:00
3640039168 Add required conversions for returning Error from server functions
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / test (push) Successful in 18s
Push Workflows / clippy (push) Successful in 14s
Push Workflows / docs (push) Successful in 18s
Push Workflows / build (push) Successful in 42s
Push Workflows / nix-build (push) Successful in 4m50s
2026-06-21 13:55:40 -04:00
9fd716c752 Add ServerFnError error variant 2026-06-21 13:51:56 -04:00
f159e12400 Contextualize error into result instead of error 2026-06-21 13:51:12 -04:00
d16a66a2f5 Use match instead of map_err for Contextualize on Result 2026-06-21 13:48:41 -04:00
1cf1bfcfbc Add Diesel error variant
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / test (push) Successful in 17s
Push Workflows / docs (push) Successful in 18s
Push Workflows / clippy (push) Successful in 20s
Push Workflows / build (push) Successful in 52s
Push Workflows / nix-build (push) Successful in 4m50s
2026-06-21 12:28:01 -04:00
ff2aba4ec4 Allow contextualizing Option into Result 2026-06-21 12:27:47 -04:00
557489c5ed Add generic error variant 2026-06-21 12:27:20 -04:00