Commit Graph

734 Commits

Author SHA1 Message Date
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
deaef81999 Fix lints
All checks were successful
Push Workflows / rustfmt (push) Successful in 7s
Push Workflows / docs (push) Successful in 45s
Push Workflows / mdbook (push) Successful in 10s
Push Workflows / clippy (push) Successful in 1m3s
Push Workflows / mdbook-server (push) Successful in 42s
Push Workflows / leptos-test (push) Successful in 2m33s
Push Workflows / test (push) Successful in 3m8s
Push Workflows / build (push) Successful in 4m34s
Push Workflows / docker-build (push) Successful in 11m49s
Push Workflows / nix-build (push) Successful in 11m57s
2025-05-30 17:03:43 +00:00
7d2375698c Merge pull request 'mdbook' (#227) from mdbook into main
Some checks failed
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / mdbook (push) Successful in 7s
Push Workflows / docs (push) Successful in 46s
Push Workflows / mdbook-server (push) Successful in 35s
Push Workflows / leptos-test (push) Successful in 2m16s
Push Workflows / clippy (push) Failing after 2m39s
Push Workflows / test (push) Successful in 2m48s
Push Workflows / build (push) Successful in 3m34s
Push Workflows / docker-build (push) Successful in 11m34s
Push Workflows / nix-build (push) Successful in 12m6s
Reviewed-on: #227
2025-05-28 03:07:17 +00:00
84451e2dac Set path to mdbook Dockerfile
Some checks failed
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / mdbook (push) Successful in 5s
Push Workflows / docker-build (push) Successful in 27s
Push Workflows / docs (push) Successful in 36s
Push Workflows / leptos-test (push) Successful in 1m48s
Push Workflows / test (push) Successful in 1m58s
Push Workflows / mdbook-server (push) Successful in 1m45s
Push Workflows / clippy (push) Failing after 1m58s
Push Workflows / build (push) Successful in 2m45s
Push Workflows / nix-build (push) Successful in 13m16s
2025-05-28 02:57:38 +00:00
579e7bbb48 Add CICD job to build mdbook
Some checks failed
Push Workflows / rustfmt (push) Successful in 44s
Push Workflows / mdbook (push) Successful in 1m28s
Push Workflows / docs (push) Successful in 7m51s
Push Workflows / clippy (push) Failing after 8m28s
Push Workflows / test (push) Successful in 13m15s
Push Workflows / leptos-test (push) Successful in 14m20s
Push Workflows / build (push) Successful in 15m5s
Push Workflows / docker-build (push) Successful in 18m32s
Push Workflows / mdbook-server (push) Successful in 18m37s
Push Workflows / nix-build (push) Successful in 19m9s
2025-05-28 02:40:21 +00:00
6e57dfc937 Add CICD job to build mdbook server 2025-05-28 02:40:11 +00:00
85d622fdb6 Add Dockerfile for mdbook 2025-05-28 02:29:04 +00:00
6a6bbfe8ed Add mdbook to flake 2025-05-28 01:54:24 +00:00
3803c20049 Initialize mdbook 2025-05-28 01:53:45 +00:00
544476d1ee Fix missing libgomp library in flake
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / docker-build (push) Successful in 24s
Push Workflows / docs (push) Successful in 49s
Push Workflows / clippy (push) Successful in 49s
Push Workflows / leptos-test (push) Successful in 1m38s
Push Workflows / test (push) Successful in 1m44s
Push Workflows / build (push) Successful in 2m30s
Push Workflows / nix-build (push) Successful in 8m30s
2025-05-06 05:31:05 +00:00
1878f1feda Merge pull request 'Add liked songs page' (#224) from 222-add-liked-songs-page into main
All checks were successful
Push Workflows / rustfmt (push) Successful in 7s
Push Workflows / docs (push) Successful in 49s
Push Workflows / clippy (push) Successful in 47s
Push Workflows / leptos-test (push) Successful in 1m48s
Push Workflows / test (push) Successful in 2m7s
Push Workflows / nix-build (push) Successful in 12m26s
Push Workflows / build (push) Successful in 2m19s
Push Workflows / docker-build (push) Successful in 20s
Reviewed-on: #224
2025-05-06 03:31:04 +00:00
b727137fa8 Show liked songs at top of playlists
Some checks failed
Push Workflows / rustfmt (push) Successful in 8s
Push Workflows / docs (push) Successful in 54s
Push Workflows / clippy (push) Successful in 54s
Push Workflows / leptos-test (push) Successful in 2m51s
Push Workflows / test (push) Successful in 3m9s
Push Workflows / build (push) Successful in 4m25s
Push Workflows / docker-build (push) Failing after 12m59s
Push Workflows / nix-build (push) Successful in 16m11s
2025-05-06 03:17:47 +00:00
f61507b197 Add liked songs page 2025-05-06 03:17:35 +00:00
d2aebde562 Add API endpoint to get liked songs 2025-05-06 03:14:57 +00:00
0076f4f208 Merge pull request 'Fix typing space in add album/artist/song dialog' (#223) from 180-fix-typing-space into main
Some checks failed
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / docs (push) Successful in 39s
Push Workflows / clippy (push) Successful in 37s
Push Workflows / leptos-test (push) Successful in 1m21s
Push Workflows / test (push) Successful in 1m50s
Push Workflows / build (push) Successful in 2m53s
Push Workflows / docker-build (push) Failing after 13m21s
Push Workflows / nix-build (push) Successful in 16m37s
Reviewed-on: #223
2025-05-06 03:14:00 +00:00
ba0a531f2c Ignore space and arrow key events on input fields
Some checks failed
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / docs (push) Successful in 39s
Push Workflows / clippy (push) Successful in 36s
Push Workflows / leptos-test (push) Successful in 1m29s
Push Workflows / test (push) Successful in 1m50s
Push Workflows / build (push) Successful in 2m47s
Push Workflows / docker-build (push) Failing after 9m52s
Push Workflows / nix-build (push) Successful in 12m32s
2025-05-06 02:41:15 +00:00
2617ee8b95 Merge pull request 'Implement Playlists' (#219) from playlists-implementation into main
Some checks failed
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / docs (push) Successful in 39s
Push Workflows / clippy (push) Successful in 36s
Push Workflows / leptos-test (push) Successful in 1m14s
Push Workflows / test (push) Successful in 1m38s
Push Workflows / build (push) Successful in 2m35s
Push Workflows / docker-build (push) Failing after 9m57s
Push Workflows / nix-build (push) Successful in 12m20s
Reviewed-on: #219
2025-05-06 02:04:11 +00:00
4d1859b331 Add playlist page
Some checks failed
Push Workflows / rustfmt (push) Successful in 6s
Push Workflows / docs (push) Successful in 41s
Push Workflows / clippy (push) Successful in 37s
Push Workflows / leptos-test (push) Successful in 1m18s
Push Workflows / test (push) Successful in 1m39s
Push Workflows / build (push) Successful in 2m43s
Push Workflows / docker-build (push) Failing after 9m22s
Push Workflows / nix-build (push) Successful in 12m39s
2025-05-06 01:34:53 +00:00
c17aeb3822 Display playlists on sidebar 2025-05-06 01:34:44 +00:00
0e0d107d08 Include playlist resource in global state 2025-05-06 01:34:28 +00:00