Commit Graph

440 Commits

Author SHA1 Message Date
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
13111e3567 Fix axum route syntax 2025-06-08 21:14:52 +00:00
5cbeba5dbe Add config module 2025-06-08 20:10:14 +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
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
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
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
28875c8669 Write playlist API functions 2025-05-06 01:33:21 +00:00
68778615b9 Move extract_field to util 2025-05-06 01:33:20 +00:00
58b5ed6d3f Add image fallback handler 2025-05-06 01:33:20 +00:00
54d629d504 Use db_type for User
Some checks failed
Push Workflows / rustfmt (push) Successful in 8s
Push Workflows / nix-build (push) Failing after 45s
Push Workflows / docs (push) Successful in 3m20s
Push Workflows / clippy (push) Successful in 4m24s
Push Workflows / test (push) Successful in 5m58s
Push Workflows / leptos-test (push) Successful in 6m59s
Push Workflows / build (push) Successful in 7m53s
Push Workflows / docker-build (push) Failing after 11m47s
2025-05-05 01:25:20 +00:00
6486bbbdda Use db_type for Playlist 2025-05-05 01:10:17 +00:00
b727832c8e Use db_type for HistoryEntry 2025-05-05 01:07:07 +00:00
7c4058884e Use db_type for Artist 2025-05-05 01:05:20 +00:00
a67bd37d11 Use db_type for Album 2025-05-05 00:53:57 +00:00
3f43ef2d20 Use libretunes_macro::db_type instead of manual Song/NewSong structs 2025-05-05 00:38:37 +00:00
c02363c698 Create NewSong type 2025-05-04 21:36:34 +00:00
f65d054612 Create search page
Some checks failed
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / clippy (push) Successful in 27s
Push Workflows / docs (push) Successful in 33s
Push Workflows / leptos-test (push) Successful in 1m8s
Push Workflows / test (push) Successful in 1m19s
Push Workflows / build (push) Successful in 2m26s
Push Workflows / docker-build (push) Failing after 9m13s
Push Workflows / nix-build (push) Successful in 12m18s
2025-05-04 03:35:12 +00:00
ed6cd4efcf Return query match score for all search results
Some checks failed
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / clippy (push) Successful in 28s
Push Workflows / docs (push) Successful in 33s
Push Workflows / leptos-test (push) Successful in 1m1s
Push Workflows / test (push) Successful in 1m9s
Push Workflows / build (push) Successful in 2m3s
Push Workflows / docker-build (push) Failing after 12m0s
Push Workflows / nix-build (push) Successful in 15m20s
Add SearchRersult<T> type
Apply temporary fixes to upload page
2025-05-03 18:24:30 +00:00
7bccde7654 Create health check bin 2025-05-03 06:27:38 +00:00
e2a395ae7c Don't require auth for health check endpoint
Some checks failed
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / docs (push) Successful in 32s
Push Workflows / clippy (push) Successful in 28s
Push Workflows / leptos-test (push) Successful in 59s
Push Workflows / test (push) Successful in 1m7s
Push Workflows / build (push) Successful in 2m6s
Push Workflows / docker-build (push) Failing after 11m21s
Push Workflows / nix-build (push) Successful in 15m21s
2025-05-03 05:30:47 +00:00
6bb6322aa4 Create health check endpoint 2025-05-03 05:30:34 +00:00
a82da927b0 Move redis connection to util/redis.rs 2025-05-03 05:30:17 +00:00
9cd1e8291a Use feature-specific Client in server functions
Some checks failed
Push Workflows / rustfmt (push) Successful in 10s
Push Workflows / docs (push) Successful in 1m43s
Push Workflows / clippy (push) Successful in 2m12s
Push Workflows / test (push) Successful in 4m17s
Push Workflows / leptos-test (push) Successful in 4m24s
Push Workflows / build (push) Successful in 6m2s
Push Workflows / docker-build (push) Failing after 12m7s
Push Workflows / nix-build (push) Successful in 15m46s
2025-05-03 04:24:28 +00:00
ff1b7401f2 Add custom client for non-browser RPC 2025-05-03 03:51:55 +00:00
16bc79aef4 Fix redundant closures (Clippy)
Some checks failed
Push Workflows / rustfmt (push) Successful in 4s
Push Workflows / docs (push) Successful in 29s
Push Workflows / clippy (push) Successful in 25s
Push Workflows / leptos-test (push) Successful in 54s
Push Workflows / test (push) Successful in 1m2s
Push Workflows / build (push) Successful in 1m52s
Push Workflows / docker-build (push) Failing after 8m18s
Push Workflows / nix-build (push) Successful in 13m53s
2025-04-29 22:41:47 +00:00
297c22d832 Run rustfmt
Some checks failed
Push Workflows / docs (push) Successful in 1m35s
Push Workflows / rustfmt (push) Successful in 11s
Push Workflows / clippy (push) Failing after 58s
Push Workflows / leptos-test (push) Successful in 3m4s
Push Workflows / test (push) Successful in 3m22s
Push Workflows / build (push) Successful in 4m43s
Push Workflows / docker-build (push) Failing after 14m42s
Push Workflows / nix-build (push) Successful in 17m22s
2025-04-29 22:27:24 +00:00
b9cbe22562 Use contains instead of .iter().any() (Clippy)
Some checks failed
Push Workflows / test (push) Successful in 49s
Push Workflows / build (push) Successful in 1m39s
Push Workflows / leptos-test (push) Successful in 1m15s
Push Workflows / docs (push) Successful in 37s
Push Workflows / clippy (push) Successful in 2m1s
Push Workflows / docker-build (push) Failing after 8m53s
Push Workflows / nix-build (push) Successful in 11m19s
2025-04-29 21:33:01 +00:00
aaec0523a4 Combine else + if into else if (Clippy) 2025-04-29 21:32:47 +00:00
ff8fd283b6 Fix Clippy format string lints 2025-04-29 21:32:18 +00:00
cf35961516 Automatically start playing in skip_to 2025-04-29 21:29:15 +00:00
976790342c Call audio play/pause when PlayStatus playing updated 2025-04-29 21:26:22 +00:00
29534a473b Rename songpage.rs to song.rs
Some checks failed
Push Workflows / build (push) Successful in 1m51s
Push Workflows / test (push) Successful in 3m51s
Push Workflows / leptos-test (push) Successful in 52s
Push Workflows / docs (push) Successful in 24s
Push Workflows / clippy (push) Failing after 1m53s
Push Workflows / docker-build (push) Failing after 9m31s
Push Workflows / nix-build (push) Successful in 10m55s
2025-04-29 20:51:09 +00:00
673d6e7651 Rename albumpage.rs to album.rs 2025-04-29 20:49:46 +00:00
2def629dc1 Update song page to use TailwindCSS
Some checks failed
Push Workflows / build (push) Successful in 1m50s
Push Workflows / leptos-test (push) Successful in 1m12s
Push Workflows / docs (push) Successful in 28s
Push Workflows / clippy (push) Has been cancelled
Push Workflows / nix-build (push) Has been cancelled
Push Workflows / docker-build (push) Has been cancelled
Push Workflows / test (push) Has been cancelled
2025-04-29 20:48:22 +00:00
c593501572 Refactor profile page to use TailwindCSS 2025-04-29 20:09:28 +00:00
797fea93b2 Fix artist image path in profile API 2025-04-29 20:02:37 +00:00
c6e6eb1f41 Increase recursion limit in lib target 2025-04-29 19:57:27 +00:00
b963849072 Move Queue before PlayBar
Some checks failed
Push Workflows / test (push) Failing after 4m24s
Push Workflows / build (push) Successful in 7m24s
Push Workflows / docs (push) Successful in 1m42s
Push Workflows / leptos-test (push) Successful in 5m2s
Push Workflows / docker-build (push) Failing after 10m50s
Push Workflows / clippy (push) Failing after 1m48s
Push Workflows / nix-build (push) Failing after 7m37s
2025-04-29 19:17:55 +00:00
c7ee25c1b4 Close queue when clicked away 2025-04-29 19:17:55 +00:00