Commit Graph

54 Commits

Author SHA1 Message Date
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 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 acac50c932 add back the non-chunked streaming endpoint 2024-06-18 21:26:17 +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 8fa64b3a4d support jwt on headers 2024-05-30 22:52:42 +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
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 4f48c33009 fix: recently added items sort order in the homepage
.ie. stop relying on folder last mod date, and use the latest file from the folder

+ bump watchdog to v4
+ add WIP docs (stashed in .github/code.docs for now)
2024-02-16 21:30:42 +03:00
mungai-njoroge b7e86ed79b add time ago on recent items
+ move to waitress wsgi server
+ refactor dates utils
+ create locustfile for stress test
2024-02-11 21:10:52 +03:00
mungai-njoroge 8b40792ba0 try: fix workflow build step hanging 2023-11-26 20:21:52 +03:00
mungai-njoroge d069c3bbf3 fix late start 2023-11-26 20:15:24 +03:00
mungai-njoroge cad0651f5e fix: safari compression bug (untested) 2023-11-14 13:03:57 +03:00
mungai-njoroge 8b6d10c832 remove telemetry
+ add docstrings to lyrics functions
2023-11-10 16:18:52 +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 cd3352e66c comment out compression code 2023-10-29 12:29:58 +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 ba88cf4a23 add telemetry using posthog
+ move build variables into a python file
+ rewrite logic to check if there's an internet connection
+ move IS_BUILD into settings
+ update pyintaller to 6.0.0
+ update other packages to latest
2023-09-25 20:27:20 +03:00
mungai-njoroge 50ebead026 fix issue with Ed Sheeran albums 2023-09-25 12:24:01 +03:00
mungai-njoroge fcb705cb0c fix: artist albums always sending all albums
+ move setproctitle inside if __name__ in manage.py
2023-09-14 21:04:07 +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 da88bbd9cc write LASTFM_API_KEY to config file
+ remove alive bar
2023-08-31 21:36:34 +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 6439b512e9 preset mimetypes
+ add db and api methods to remove tracks from playlists
2023-07-21 01:15:57 +03:00
mungai-njoroge e70d787580 misc 2023-07-17 11:30:05 +03:00
mungai-njoroge 6ef3cc3545 add related albums route 2023-07-02 00:11:21 +03:00
mungai-njoroge 95214396e7 Handle ReadTimeout error 2023-07-01 20:39:09 +03:00
geoffrey45 be7fc26fce add new flags to disable cleaning track and album titles
+ update readme
+
2023-05-05 23:11:56 +03:00
geoffrey45 51a5502efc add parsers to clean track titles .ie. remove remaster info
+ use getters to read flags
+ use the largest limit to get recent favorites
+ misc
2023-05-05 17:49:59 +03:00
geoffrey45 e3ec9db989 add method and route to search across tracks, albums and artists.
+ break models into separate files
+ same for the utils and setup
2023-03-09 13:08:50 +03:00
geoffrey45 146ea4ab4d remove print 2023-02-17 18:36:53 +03:00
geoffrey45 509c22c736 add utility to remove prod names from track titles
+ move code to handle args and print startup info to other files
+ update app version number
2023-02-17 18:25:32 +03:00
geoffrey45 6b1cac3892 add comment to config 2023-02-12 23:54:28 +03:00
geoffrey45 b1ac3e9a07 check todo at api/folder.py line:60
~ everything seems to work fine in Windows too
+ move ProcessArtistColors to Populate
2023-02-03 23:13:40 +03:00
geoffrey45 7b9f5fdb13 fix: disable flask debug
remove and revoke last fm api key
2023-02-01 21:03:30 +03:00
geoffrey45 838e19cf0f fix: errors raised by Pycharm 2023-02-01 14:00:21 +03:00
geoffrey45 95c1524b68 feat: add --no-feat flag to disable extracting featured artists
+ support square brackets when extracting featured artists
+ remove feat artists from track title
+ fix dir browser for linux
2023-02-01 13:34:53 +03:00
geoffrey45 7e15680f26 update supported audio files in settings.py
+ add win_replace_slash function to format win path strings
+ misc
2023-01-30 15:59:28 +03:00
geoffrey45 93a04ba041 remove migrations folder from build assets 2023-01-25 15:28:54 +03:00
geoffrey45 bcc4873766 handle XDG_CONFIG_HOME specification ...
+ fix bug that caused duplicate artist color entries to db
+ check if app is windows (prep for windows build)
+ remove caribou migrations lib
+ rename all api blueprints to "api"
+ unregister child directories when customizing root dirs
+ misc
2023-01-22 23:57:12 +03:00