Commit Graph

85 Commits

Author SHA1 Message Date
cwilvx 32a2684ea2 close a connection 2024-07-06 23:44:24 +03:00
cwilvx 104ef4c346 index filepaths 2024-07-05 05:33:01 +03:00
cwilvx 727dea748c remove hardcoded db location
+ move Db engine to module
2024-07-05 05:00:28 +03:00
cwilvx a76e91cf5a fix: duplication of artist albums on album/from-artist
+ remove more fields from artist, album and artist models on serializers
2024-07-05 04:43:39 +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 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 0b8a5e92f5 attach favorites to logged in user 2024-05-25 15:12:44 +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 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
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 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 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 766eb388b2 add timestamp to favorite entries
+ convert useBisection into a function
2024-03-24 16:14:47 +03:00
mungai-njoroge 4412902312 handle favorites on recently played
+ use client side timestamp on track logger
2023-12-10 13:27:54 +03:00
mungai-njoroge ddfa7f1b03 add methods to get recently played items 2023-12-03 20:35:13 +03:00
mungai-njoroge 5a420214f2 fix playlist last update
+ create a recently added playlist on get api
2023-12-03 12:56:56 +03:00
mungai-njoroge 7749b4fc3c set up track logging
+ install flask restful
2023-12-01 10:55:07 +03:00
mungai-njoroge 89b05ff80c handle new env vars during build
+ misc
2023-11-08 00:07:55 +03:00
mungai-njoroge 72947203fa set up plugins 2023-11-03 16:15:21 +03:00
mungai-njoroge 4f757e989f redesign progressbars
+ hide some progressbars
+ rewrite telemetry into a class
+ remove obsolete start info logs
+ update contributing.md to include contributing.md
+ send posthog event in a bg thread
+ related side effects
2023-09-27 17:18:52 +03:00
mungai-njoroge 54714a224b ignore unicode characters errors
+ add methods on settings.Keys to verify key !== empty string
2023-09-26 17:59:12 +03:00
mungai-njoroge f2addf4d0f rewrite api/artist.py to remove artist cache
+ remove processing taylor's version
2023-09-23 18:57:19 +03:00
mungai-njoroge ad88ab4adb modify Dockerfile
+ add special instructions for @volcs0 for debugging
2023-09-20 03:06:01 +03:00
mungai-njoroge f2e110a564 fix: UnicodeEncodeError: 'utf-8' codec can't encode character '\udce0' in position 99: surrogates not allowed 2023-09-19 17:45:28 +03:00
mungai-njoroge bacf68248b rewrite populate.py to minimize db and hdd reads
+ change process name in manage.py
+ update db query to save show albums as single, as an integer
+ enable periodic scans
+ misc
2023-09-11 11:37:36 +03:00
mungai-njoroge 6c0024f699 add setting to show albums with single track as singles
+ add the above setting to db queries file and migration
2023-09-04 19:46:46 +03:00
mungai-njoroge 83bbe69550 show artist decade in genres
+ assign default artist separators if db is empty
+ add instrumental to album version
+ check if album is a single by checking og_title and current title
+ hard code juice wrld artist name in model
+ set album aritst to first artist if track has no album artist
+ rewrite get_base_album_title regex to use existing album versions
+ misc
2023-09-04 11:01:03 +03:00
mungai-njoroge 13475b0630 rewrite remove duplicates to support removing duplicates in albums tracks efficiently
+ remove flags added to client settings page
+ misc
2023-08-29 20:04:30 +03:00
mungai-njoroge 9972f64e8c configure to allow updating artist separators
+ remove ampersand from default
+ misc
2023-08-25 20:09:50 +03:00
mungai-njoroge 71cab5f5ea load settings from db, use api to change settings
+ add route to get all settings
+ add route to set any setting
+ add untested migration to add settings into settings db
+ compress json in api responses using FlaskCompress
+ serve gziped assets if browser accepts encoded files
+ misc
2023-08-24 15:52:09 +03:00
mungai-njoroge e3a61c109b implement pinning playlists
+ update migrations to add pinned attr to plalist
+ misc
2023-08-22 15:36:43 +03:00
mungai-njoroge 0a703dcc0f A LOTTTT ...
+ fix help text
+ run populate once when -nps flag is used
+ update app version
+ sort tracks by track and disc no. when saving to playlist
+ serialize search results
+ update tags.artist -> tags.artists
+ update tags.albumartist -> tags.albumartists
+ remove artist images from serialized albums
+ add function to serialize artists for cards
+ misc
2023-08-10 10:30:42 +03:00
mungai-njoroge 655fd8bc22 add route to get all tracks in path
+ add routes to save album and artist as a playlist
2023-08-04 13:40:48 +03:00
mungai-njoroge d9688455fb default migrations value to -1
+ tiny fixes
2023-07-30 15:06:56 +03:00
mungai-njoroge 50aa971972 cleanrup 2023-07-29 07:00:31 +03:00
mungai-njoroge 93de3d2f0c rewrite migrations
+ delete older migrations ... oops
+ change migratrions from "migrations" to "dbmigrations"
+ restructure migrations, order them based on release version
+ add a utils/decorators.py file with a coroutine decorator
2023-07-29 06:46:28 +03:00
mungai-njoroge a0c51d5f82 add route to save folder as playlist
+ modify playlist table sql
2023-07-27 13:37:07 +03:00