Commit Graph

1039 Commits

Author SHA1 Message Date
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
mungai-njoroge 2f6e705c75 fix: absolute config path not resolving
+ skip through empty directories in folder browser
+ handle timestamp table error in migration
2024-04-01 11:02:27 +03:00
mungai-njoroge 95a8e9b215 Merge branch 'tcsenpai-master' 2024-03-27 08:40:23 +03:00
mungai-njoroge b8fdadbe36 fix merge conflict 2024-03-27 08:39:30 +03:00
mungai-njoroge 3abd63e924 reduce dockerfile layers 2024-03-27 08:34:44 +03:00
Mungai Njoroge 8f5458679a Merge #194 from MarcOrfilaCarreras/fix/docker-image-size-180 2024-03-26 15:20:16 +03:00
Mungai Njoroge cdf3907f2b Merge branch 'master' into fix/docker-image-size-180 2024-03-26 15:18:55 +03:00
mungai-njoroge 7842a70057 fix: adding root dirs 2024-03-26 14:28:12 +03:00
mungai-njoroge 21ba84c034 remove poetry from dockerfile 2024-03-24 19:14:29 +03:00
mungai-njoroge ed6732e7fd add requirements.txt
+ attempt to remove poetry from distribution
2024-03-24 16:14:47 +03:00
mungai-njoroge 0af1ae1d8e Finish documentation for all endpoints
+ fix #193 (settings https redirect)
+ fix open api docs on binary
+ fix git error on binary
+ remove flask-restful

hopefully, I didn't break something 😩
2024-03-24 16:14:47 +03:00
mungai-njoroge 99ec11565c fix migrations deleting all playlists 2024-03-24 16:14:47 +03:00
mungai-njoroge ae031014a9 add docs for playlist endpoints
+ limit recently added tracks to 100
2024-03-24 16:14:47 +03:00
mungai-njoroge 4edb3a5e7a add docs for search endpoints 2024-03-24 16:14:47 +03:00
mungai-njoroge 766eb388b2 add timestamp to favorite entries
+ convert useBisection into a function
2024-03-24 16:14:47 +03:00