Commit Graph

60 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 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 fdf3186be6 salt passwords using userid 2024-05-03 23:22:09 +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 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 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 b8fdadbe36 fix merge conflict 2024-03-27 08:39:30 +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 4edb3a5e7a add docs for search endpoints 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 fb65ac9931 add open API specs 2024-03-24 16:14:47 +03:00
mungai-njoroge 10a60c9ca2 Update artist image download message and lyrics plugin URL 2024-02-24 21:15:18 +03:00
mungai-njoroge 67f28b8a9b steal some of @tcsenpai 's changes from the PR
+ ditch the LAST FM API KEY thing
+ expose the Musixmatch urls
+ use the kerve last fm api to download similar artist data
+ use google.it instead of the Google public dns to check internet connectivity (to make it work in all environments)
+ return og Dockerfile to fix ARM support
2024-02-16 23:57:23 +03:00
thecookingsenpai c153247918 API switch to unrestricted ones 2024-01-31 18:25:01 +01:00
thecookingsenpai e0581259a6 Just some formatting change and utilities for the next step 2024-01-30 15:51:05 +01:00
mungai-njoroge 5b332bebb5 remove traces of hardcoded release version
+ update homepage image
2023-12-11 08:26:37 +03:00
mungai-njoroge 312df06fc3 add help text to recently played
+ read app version from the env
2023-12-09 22:18:20 +03:00
mungai-njoroge 569f86d76c update release yml 2023-11-14 14:31:10 +03:00
mungai-njoroge 49fcb349bd remove traces of telemetry configs and update changelog.md 2023-11-14 13:59:26 +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 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 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 4271a6f4a0 add route to trigger Populate
+ use instance keys to stop multiple instances of populate
+ move Populate error to a new file
+ misc
2023-08-30 15:58:32 +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 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 4a7416853a fix album having date = 0 2023-07-09 17:57:14 +03:00
mungai-njoroge 65d21d07da extract original thumbnail image 2023-07-06 13:52:32 +03:00
mungai-njoroge cc6552cb94 check if track exists in db before sending file 2023-06-19 21:49:13 +03:00
geoffrey45 a201303bd9 turn off merging albums 2023-05-09 15:24:10 +03:00
geoffrey45 8e59a59ba2 implement merging album versions
+ add "limit" parameter to the useBisection function
+
2023-05-09 15:18:30 +03:00
geoffrey45 45bf7570a3 fix arg handlers and album versions route 2023-05-07 14:02:46 +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 3d5ee855d8 add methods to extract base album title from an album title string
+ add methods to extract album versions
+ implement these methods in the album model class
2023-04-22 15:12:59 +03:00
geoffrey45 9bfc1ceed2 add --config flag to modify config path
+ use getters instead of constants in settings classes
+ refactor previous references
+ move get_xdg_config_dir() from settings.py to app.utils.xdg_utils.py
2023-04-17 02:21:42 +03:00
geoffrey45 357afeb700 break settings.py into classes 2023-03-26 08:25:00 +03:00
geoffrey45 d21a834a00 fix get playlist tracks order
+ fix utils.get_home_res_path
2023-03-15 10:01:12 +03:00
geoffrey45 fed62bf7f4 add method and route to fetch similar artists from lastfm 2023-03-12 19:28:41 +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 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 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