Commit Graph

1024 Commits

Author SHA1 Message Date
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
mungai-njoroge fb635ff35f add api docs for streaming routes
+ add trackhash schema
2024-03-24 16:14:47 +03:00
mungai-njoroge 7d064a8562 add api docs for artist routes
+ extract hash and limit schemas
2024-03-24 16:14:47 +03:00
mungai-njoroge 9e50eb4395 remove response keys 2024-03-24 16:14:47 +03:00
mungai-njoroge fb65ac9931 add open API specs 2024-03-24 16:14:47 +03:00
Marc Orfila Carreras aeaaa85e7f fix: Reduce Docker image size 2024-03-02 15:09:07 +01:00
Mungai Njoroge a73410a7df Update contributing.md 2024-02-28 19:58:16 +03:00
mungai-njoroge 42a7c0ee15 update readme image 2024-02-27 07:42:14 +03:00
Mungai Njoroge b281f3321d Update release version on README.md 2024-02-26 10:16:21 +03:00
mungai-njoroge 2fc47355e7 remove linux/arm from docker releases 2024-02-26 09:56:21 +03:00
Mungai Njoroge fdf1a21b15 Update release.yml 2024-02-26 00:53:17 +03:00
Mungai Njoroge 8d3226b426 Update release.yml 2024-02-26 00:51:20 +03:00
Mungai Njoroge f190e9303c Update release.yml 2024-02-26 00:48:14 +03:00
Mungai Njoroge d4c0ea114f Update release.yml 2024-02-26 00:47:51 +03:00
mungai-njoroge 41f069d13e re-fix: docker build 2024-02-26 00:36:23 +03:00
mungai-njoroge d326f0f122 Update Docker build args to use 'v' prefix for client tag 2024-02-26 00:20:14 +03:00