21 Commits

Author SHA1 Message Date
mungai-njoroge
5f1bb28f5d remove telemetry from migrations 2023-11-10 16:27:16 +03:00
mungai-njoroge
d3682e4597 add telemetry method to record app-installed event 2023-09-27 19:30:55 +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
26e36ba36f add thumbnails lg path to be removed in migration 2023-08-28 13:16:12 +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
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
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
3f1ae30dd5 add migration to drop album and artist tables 2023-03-27 06:44:11 +03:00
geoffrey45
357afeb700 break settings.py into classes 2023-03-26 08:25:00 +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
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