Commit Graph

438 Commits

Author SHA1 Message Date
b2f138e7e9 Move NoCustomError import to fix warning
All checks were successful
Push Workflows / docker-build (push) Successful in 7m12s
Push Workflows / test (push) Successful in 2m10s
Push Workflows / docs (push) Successful in 3m54s
Push Workflows / leptos-test (push) Successful in 6m4s
Push Workflows / build (push) Successful in 6m27s
2024-10-01 00:17:20 -04:00
33aa285deb Add upload_picture api endpoint
Some checks failed
Push Workflows / docs (push) Successful in 4m25s
Push Workflows / build (push) Failing after 4m57s
Push Workflows / test (push) Failing after 5m22s
Push Workflows / docker-build (push) Successful in 6m4s
Push Workflows / leptos-test (push) Failing after 6m16s
2024-10-01 00:07:26 -04:00
b9551e5bee Merge pull request 'Implement history' (#98) from 41-implement-history into main
All checks were successful
Push Workflows / docker-build (push) Successful in 58s
Push Workflows / leptos-test (push) Successful in 1m53s
Push Workflows / docs (push) Successful in 12m5s
Push Workflows / test (push) Successful in 13m33s
Push Workflows / build (push) Successful in 17m45s
Reviewed-on: #98
2024-09-29 18:27:08 +00:00
73910a087a Add playing songs to history
All checks were successful
Push Workflows / docs (push) Successful in 6m30s
Push Workflows / test (push) Successful in 9m45s
Push Workflows / leptos-test (push) Successful in 17m44s
Push Workflows / build (push) Successful in 18m42s
Push Workflows / docker-build (push) Successful in 20m7s
2024-09-29 14:04:51 -04:00
ec76269367 Fix duplicate api module definition
All checks were successful
Push Workflows / docs (push) Successful in 4m11s
Push Workflows / test (push) Successful in 5m18s
Push Workflows / leptos-test (push) Successful in 8m31s
Push Workflows / build (push) Successful in 9m13s
Push Workflows / docker-build (push) Successful in 14m31s
2024-09-28 20:50:25 -04:00
8fd064dffc Merge remote-tracking branch 'origin/main' into 41-implement-history
Some checks failed
Push Workflows / docs (push) Failing after 2m18s
Push Workflows / test (push) Failing after 2m44s
Push Workflows / build (push) Failing after 3m19s
Push Workflows / leptos-test (push) Failing after 3m38s
Push Workflows / docker-build (push) Failing after 8m43s
2024-09-28 20:40:37 -04:00
a83fb9dea5 Add friendships and friend_requests database tables
All checks were successful
Push Workflows / test (push) Successful in 2m20s
Push Workflows / docs (push) Successful in 2m16s
Push Workflows / leptos-test (push) Successful in 2m37s
Push Workflows / build (push) Successful in 3m3s
Push Workflows / docker-build (push) Successful in 10m39s
2024-09-28 20:28:00 -04:00
86f9b6fbb3 Convert Infaliable Result into Option and handle 2024-09-15 21:43:59 -04:00
d66849c6cb Change target cfg condition to target_env 2024-09-15 20:18:02 -04:00
18cbb0017f Merge remote-tracking branch 'origin/31-update-songdata-for-fetching-songs-on-frontend-for-playback' into 36-implement-likes-and-dislikes 2024-07-30 22:12:44 -04:00
53cde3bed6 Hide scroll buttons when at end of scroll bar 2024-07-30 21:47:55 -04:00
eab011070d Don't track scroll_element in scroll button handlers 2024-07-30 21:46:59 -04:00
9d6013b8a4 Move dashboard tile row left spacing to margin-left 2024-07-30 21:35:44 -04:00
7f4108e1c5 Add conversion from SongData to DashboardTile 2024-07-30 21:02:48 -04:00
906b5bd9dd Merge remote-tracking branch 'origin/31-update-songdata-for-fetching-songs-on-frontend-for-playback' into 33-create-component-for-displaying-music-on-dashboard 2024-07-30 20:57:52 -04:00
bab819822d Remove like/dislike API calls TODO comment 2024-07-30 19:34:52 -04:00
0c54f0aeb8 Remove leftover dislike button logging 2024-07-30 19:34:15 -04:00
afbcc65457 Implement like/dislike using SongData instead of PlayStatus 2024-07-28 22:42:04 -04:00
e5a6e8f44e Add like_dislike field to SongData 2024-07-28 22:40:52 -04:00
d45f102be7 Remove TryInto<SongData> for Song
These pre-defined conversion traits are meant to be fast, and implementing this conversion that accesses the database goes against this design.
2024-07-28 22:37:17 -04:00
74b34b1e54 Merge remote-tracking branch 'origin/31-update-songdata-for-fetching-songs-on-frontend-for-playback' into 36-implement-likes-and-dislikes 2024-07-24 17:30:05 -04:00
21bb2d127f Fix unused crate::database import 2024-07-23 23:37:48 -04:00
76631126de Add Song/SongData conversions 2024-07-23 23:32:26 -04:00
f8bbe319bd Update SongData for frontend use 2024-07-23 23:31:48 -04:00
ffad799f72 Add function to get song album object 2024-07-23 23:30:15 -04:00
c72d4aee18 Add Arist::display_list function 2024-07-23 22:57:24 -04:00
6202b287f0 Fix music placeholder asset path 2024-07-23 20:51:12 -04:00
6b8c8d41e4 Add music placeholder image 2024-07-21 13:15:55 -04:00
af604a9ddc Fix doc comment indentation 2024-05-26 20:44:40 -04:00
bcb24c2a97 added background overlay when adding anything 2024-05-23 00:02:13 -04:00
6676f2c533 upload dropdown closes after selecting what upload 2024-05-22 23:17:52 -04:00
3746c370a2 completed add album component, front and backend 2024-05-22 23:04:21 -04:00
64e93649af Completed Adding Artist component, front and back 2024-05-22 20:24:30 -04:00
fcc5870824 create artist 2024-05-21 22:39:56 -04:00
3ce762ce5b create artist ui created 2024-05-21 22:39:48 -04:00
1ecd13d65f dropdown component complete 2024-05-21 12:41:44 -04:00
be775862f9 created dropdown component 2024-05-21 11:50:41 -04:00
4aa90cdefb Add API functions for getting/adding history 2024-05-19 16:14:38 -04:00
ee70b1080e Add various history functions for users 2024-05-19 15:44:09 -04:00
62def56a41 Add model for history entry 2024-05-19 15:43:58 -04:00
0c64865cd9 Add api module 2024-05-19 15:38:40 -04:00
cc11de4f3d Add get_user auth function 2024-05-19 15:38:40 -04:00
81f0b9310f Add DB table for song history 2024-05-19 12:44:47 -04:00
fa26ee40ed Add auth functions for checking admin status 2024-05-19 12:20:50 -04:00
c27ad19499 Prevent arbitrary admin user creation 2024-05-19 10:45:50 -04:00
6ae55d5cfc Add admin column to users table 2024-05-19 10:45:45 -04:00
7bcb5f8c04 Merge branch '40-reduce-dependencies-and-their-features' into 'main'
Reduce dependencies and their features

Closes #40

See merge request libretunes/libretunes!27
2024-05-18 20:29:27 -04:00
9a462d5ee9 Make async-trait required for backend only 2024-05-18 18:51:59 -04:00
eb4dcd4776 Remove tower_sessions dependency 2024-05-18 18:39:14 -04:00
355c791ea7 Reset form fields after sucessful submission 2024-05-18 18:15:50 -04:00