cwilvx
a6814407b8
go back to waitress
2025-02-12 22:55:16 +03:00
cwilvx
48b6d16c8f
serve app with gevent
2025-02-12 22:22:15 +03:00
cwilvx
fa7c781610
try: rewrite some parts with process pools
2025-02-12 21:28:53 +03:00
cwilvx
beec5bc7d3
try: ditch waitress
2025-02-07 17:10:27 +03:00
cwilvx
86afa66aca
bump waitress threads to 100
2024-12-11 18:28:02 +01:00
cwilvx
77485dd0a7
adapt to new cloud endpoints
...
+ export artists to json
2024-12-11 14:22:20 +03:00
cwilvx
8ff283cbcb
update mix api endpoint payload shape
2024-12-08 16:20:58 +03:00
cwilvx
1fdd5ba4d1
supplement mixes using other remote similar albums and artist data
2024-11-01 12:23:41 +03:00
cwilvx
f2153d936d
implement mix tracklist balancing
2024-10-27 06:35:37 +01:00
cwilvx
c4a73f0d63
first recommendation draft
2024-10-25 23:26:08 +03:00
cwilvx
04946831ce
fix: stores not being populated on track indexing
2024-08-02 19:59:20 +03:00
cwilvx
0463c80070
fix: album favorite state, artist and album colors
...
+ fix: unserialized artist result
+ misc
2024-08-02 12:25:55 +03:00
cwilvx
b0e904c84f
port search to stores
...
+ fix favorites
2024-07-27 21:44:33 +03:00
cwilvx
2ba5d6c1d7
document + rename stuff
2024-07-07 16:07:27 +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
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