252 Commits

Author SHA1 Message Date
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
955fc84412 allow choosing artists by searching for upload 2024-05-16 18:35:02 -04:00
cc4aee4ab4
Add image_path column to albums table 2024-05-16 18:13:14 -04:00
5775d3148b finished upload design 2024-05-16 15:44:13 -04:00
714fbc596a styled upload form 2024-05-12 23:56:59 -07:00
ff43b3f7e8
Use nested routing for navigation
Remove dashboard_open signal
Use <a> tags to navigate to new pages
Add dashboard and search to nested routing
2024-05-12 11:00:47 -04:00
af66381f5f
Implement dashboard row sideways scrolling 2024-05-11 15:23:49 -04:00
f4908ad3b3
Add DashboardRow component 2024-05-11 13:16:02 -04:00
ec43ab472d
Add DashboardTile component 2024-05-11 13:08:05 -04:00
eebd58f5a6
Add MediaType struct 2024-05-11 12:53:57 -04:00
e411ab9eee
Add API functions for liking and disliking songs 2024-05-10 20:32:23 -04:00
775c7eff3a
Add api module 2024-05-10 20:32:23 -04:00
2ed67e5545
Add various like/dislike functions for users 2024-05-10 20:32:22 -04:00
08f1b95c18
Add get_user auth function 2024-05-10 20:26:59 -04:00
7a750b60aa
Update styling to fit LikeDislike component 2024-05-10 20:26:25 -04:00
28ff98ab32
Add LikeDislike component 2024-05-10 20:26:10 -04:00
a0da89204c
Move MediaInfo into playbar-left-group div 2024-05-10 19:51:27 -04:00
727029b757
Create DB tables for likes and dislikes 2024-05-10 16:03:18 -04:00
8a959d530d
Implement basic upload dialog 2024-05-10 15:51:26 -04:00
7abfbaf600
Fix unused imports 2024-05-10 15:25:57 -04:00
161ea5f9c2
Implement file upload backend 2024-05-10 15:20:57 -04:00
353a8e3a9c
Allow finding Artist and Album by primary key 2024-05-10 14:18:48 -04:00
5d7ac2bb80
Add returning codec type to audio util function 2024-05-10 14:09:24 -04:00
695f404ba8
Merge remote-tracking branch 'origin/main' into 19-implement-file-uploads 2024-05-10 12:49:58 -04:00