Commit Graph

1053 Commits

Author SHA1 Message Date
cwilvx 678eed3ab6 remove comments from album model 2024-07-04 11:47:08 +03:00
cwilvx 2e63aa4a41 fix: artist track count
+ fix: album type on artits page
+ sort by release date help text on get all
2024-07-03 15:57:05 +03:00
cwilvx a5634f267f move to xxh3 hashing algorithm
+ port: search
2024-07-03 11:12:06 +03:00
cwilvx ff7343a7be start porting: playlists endpoints 2024-07-01 09:22:52 +03:00
cwilvx a3c4558d52 port: recent items for homepage 2024-06-30 23:11:33 +03:00
cwilvx 5759521de0 fix: recently added 2024-06-30 21:40:49 +03:00
cwilvx b9ad07441a store playcount and duration on the track table
+ allow sorting all items with those two
+ add methods to update scrobble info
2024-06-30 19:33:13 +03:00
cwilvx 4a9f804e70 combine userdata and swing db into one
+ port populate to new db interface
+ add genrehashes and hash info to tracks
+ properly structure new db table files
+ move helpers to dedicated utils file
+ move settings from db to config file
+ move artists, albums, auth and favorites endpoint to new db interface
+ use folder store to index filepaths
+ paginate favorite pages
+ 56 moretiny changes 😅
2024-06-30 15:06:33 +03:00
cwilvx 1a66194c6c fix: slow folder track count
+ etc
2024-06-27 00:02:08 +03:00
cwilvx 54a1b85d8b port: artist page 2024-06-24 22:08:05 +03:00
cwilvx 3593b205eb save extra tags
+ port: streaming
2024-06-24 20:48:13 +03:00
cwilvx c42ec4dcde start: rewrite the database layer using a freaking ORM
+ start ditching in-mem stores
+ move main db table to a new name
+ experiments!
2024-06-24 00:26:47 +03:00
cwilvx c3472a865a fix: pair code error status 2024-06-21 11:50:26 +03:00
cwilvx ae4dc77bba rename legacy endpoint 2024-06-19 14:57:47 +03:00
cwilvx acac50c932 add back the non-chunked streaming endpoint 2024-06-18 21:26:17 +03:00
cwilvx ac86b0e938 delete used pairing token 2024-06-09 20:59:52 +03:00
cwilvx b32d0a5743 add a pairing endpoint
+ append / to folder paths
+ filter recently played by logged in user id
+ fix typo in login response
+ update track logger migration to add foreign key
2024-06-09 16:14:09 +03:00
cwilvx fcf1469428 link playlists to a userid
+ fix favorites foreign key
+ add migration to add userid foreign key to playlists table
2024-06-09 11:08:18 +03:00
cwilvx 8fa64b3a4d support jwt on headers 2024-05-30 22:52:42 +03:00
cwilvx c8325101d5 fix is_favorite setter on populate 2024-05-26 14:17:12 +03:00
cwilvx eb70887c93 dockerfile: install gcc 2024-05-25 16:57:30 +03:00
cwilvx 219b3e606e try using python 3.11 2024-05-25 16:43:15 +03:00
cwilvx d628674273 ci 2024-05-25 16:33:07 +03:00
cwilvx 23ebab872e ci: try skipping windows build
+ downgrade psutils
2024-05-25 16:24:16 +03:00
cwilvx 0b8a5e92f5 attach favorites to logged in user 2024-05-25 15:12:44 +03:00
cwilvx 300c8eb30b lyrics plugin: retry lyrics search with unidecoded artist name 2024-05-24 15:36:23 +03:00
cwilvx 7646f57405 fix: unidecode artist name for lyrics search 2024-05-24 14:23:42 +03:00
cwilvx bbcacf81bd add recently played playlist 2024-05-23 12:42:36 +03:00
cwilvx 30768dd5d6 save track logs to logged in user
+ rewrite migration collection
+ prevent logging invalid track logs
+ add jsoni
2024-05-18 17:16:07 +03:00
cwilvx f8f07c2116 fix: auth using session cookies 2024-05-15 20:18:00 +03:00
Mungai Njoroge 0d1bee9489 Add auth stuff
yeah! lets fffff goooo!
2024-05-11 14:27:53 -04:00
cwilvx b40f05cc7c implement CLI password recovery (hacky :omg:)
+ rewrite migrations logic
+ rename encode_password to hash_password
+ update image sizes (add medium size)
+ rename image endpoints
2024-05-11 21:26:03 +03:00
cwilvx 1e857c1e89 rename send_file.py -> stream.py 2024-05-10 12:08:57 +03:00
Mungai Njoroge 6ef9566f66 Update docker url on README.md 2024-05-09 07:32:42 -04:00
cwilvx 999b802f7d guess audio mimetypes 2024-05-08 11:15:02 +03:00
cwilvx 6692c78110 fix: setup beginning before folders are created 2024-05-07 23:16:56 +03:00
cwilvx 10b613513c fix: default user inserted before userId is created
moved application setup function calls before flask app creation
2024-05-07 23:00:53 +03:00
mungai-njoroge 36600ab782 fix: chunked audio stream
desc: faulty content range headers

+ fix: tracks not being removed from db on root dirs change
+ implement implicit jwt refreshing
+ remove enableGuest from configs
+ set jwt validity to 30 days
2024-05-05 23:55:25 +03:00
mungai-njoroge fdf3186be6 salt passwords using userid 2024-05-03 23:22:09 +03:00
mungai-njoroge 5d947f3ad9 protect settings write routes
+ prevent updating guest user
+ add docs to whitelisted auth routes
+ fix: sort in get all route
+ fix: folders not having trailing slash in recentlyplayed
2024-05-01 23:44:38 +03:00
mungai-njoroge cfeff7ff51 add json config and its manager class
+ rewrite logic to prevent removing last admin role
+ handle showing users on login and enabling guest
2024-04-29 16:31:30 +03:00
mungai-njoroge 0ff5661765 add routes to create user
+ route to delete user
+ add admin_required decorator
2024-04-27 10:05:15 +03:00
mungai-njoroge 1eeab2d49e add update profile logic 2024-04-25 20:05:02 +03:00
mungai-njoroge 04957dd5a9 set up auth 2024-04-25 18:18:52 +03:00
mungai-njoroge b1de2c7321 try to fix os.path.join None error
+ remove original thumbnails folder
2024-04-15 07:33:48 +03:00
mungai-njoroge a99d8c654d bump large thumbnails to 512 px
+ stop extracting original thumbnails
2024-04-13 20:25:43 +03:00
mungai-njoroge cdfa546978 bump sm thumbnail size to 128px 2024-04-13 19:34:27 +03:00
mungai-njoroge 4b04b8b155 fix folder count
+ fix: file count when you have similar folder names
+ enforce trailing / on track folder paths
2024-04-07 19:19:48 +03:00
mungai-njoroge 14f3479baa try streaming files as chunks 2024-04-05 08:29:38 +03:00
mungai-njoroge ea086a77af clean folder tracks response 2024-04-04 17:21:59 +03:00