Commit Graph

19 Commits

Author SHA1 Message Date
cwilvx c77d0927c7 remove deprecated db mappings
+ fix: cli password reset
+ delete old migrations
2024-08-04 10:19:11 +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 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 0b8a5e92f5 attach favorites to logged in user 2024-05-25 15:12:44 +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 b1de2c7321 try to fix os.path.join None error
+ remove original thumbnails folder
2024-04-15 07:33:48 +03:00
mungai-njoroge 99ec11565c fix migrations deleting all playlists 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 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 27c4924327 add migration to remove the small thumbs path
+ misc
2023-08-12 18:23:28 +03:00
mungai-njoroge 9c9a187083 create a base class for all migration
+ save folder to playlist, sorting by last_mod
2023-07-31 16:44:37 +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 1eac009fde prevent running migrations if is_fresh_install
+ fix: sqlite3.ProgrammingError: Cannot operate on a closed cursor on ProcessAlbumColors()
+ move processing artist images from periodic_scans to Populate
+ bump hash string limit from 7 to 10
+ add last_mod property to database
+ fix: TypeError: '<' not supported between instances of 'int' and 'str' on album page
2023-06-20 16:34:56 +03:00
geoffrey45 b77b1747f1 feat: add migration to move old files to xdg directory
+ add db column for migration version
+ handle pre-init migrations
+ handle post-init migration
2023-02-12 03:22:21 +03:00
geoffrey45 1be60f73e4 write sample migration structure 2023-02-07 23:48:59 +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