171 Commits

Author SHA1 Message Date
2bb9b3bdd7 Page Title Updates on Playing Song 2024-10-04 23:19:07 +00:00
b2f138e7e9
Move NoCustomError import to fix warning 2024-10-01 00:17:20 -04:00
33aa285deb
Add upload_picture api endpoint 2024-10-01 00:07:26 -04:00
b9551e5bee Merge pull request 'Implement history' (#98) from 41-implement-history into main
Reviewed-on: LibreTunes/LibreTunes#98
2024-09-29 18:27:08 +00:00
73910a087a
Add playing songs to history 2024-09-29 14:04:51 -04:00
ec76269367
Fix duplicate api module definition 2024-09-28 20:50:25 -04:00
8fd064dffc Merge remote-tracking branch 'origin/main' into 41-implement-history 2024-09-28 20:40:37 -04:00
a83fb9dea5
Add friendships and friend_requests database tables 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
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
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
b0edd2174e
Don't initially show upload error message 2024-05-18 18:10:48 -04:00
3978526231
Merge remote-tracking branch 'origin/main' into 19-implement-file-uploads 2024-05-18 18:10:03 -04:00
0adf294cfc
Display error message when upload song fails 2024-05-18 16:36:37 -04:00
952fb93e1e
Only allow mp3 file upload selections 2024-05-18 16:34:07 -04:00
1633d8c1a5
Fix required/optional form fields 2024-05-18 16:33:48 -04:00
b4054aa2b7
Ensure track is specified if album is specified 2024-05-18 16:32:31 -04:00
3934a25900
Handle present but empty fields 2024-05-18 16:32:04 -04:00
26c34e0012 Merge branch '39-add-images-to-albums' into 'main'
Add image_path column to albums table

Closes #39

See merge request libretunes/libretunes!25
2024-05-16 21:58:49 -04:00
3c9ae521b1
Remove trailing comma from artist id field 2024-05-16 20:59:48 -04:00
4958d3a881 fixed bug 2024-05-16 20:58:27 -04:00
8ffe09381c
Remove futures dependency
Use tokio::join instead of futures::join
2024-05-16 19:23:48 -04:00
caefc46fcc added album search feature for upload 2024-05-16 18:59:16 -04:00
78d8e1243d
Remove csr feature 2024-05-16 18:42:03 -04:00