Commit graph

12 commits

Author SHA1 Message Date
8721fd101d
feat: use bulk Spotify API calls & inserts to make spotify crawling more efficient (#271)
* feat(spotify-api): bulk endpoints
* feat(music-library): allow bulk operations
* feat(spotify): bulk track+album+artist+genre import
* feat(spotify): use bulk import api for user crawl
* feat(spotify): bulk listen insert

For the benchmark case of a new user where Listory imports 50 new listens along with all now tracks, artists, albums & genres we significantly reduced the number of things happening:

    Spotify API Requests: 208 => 8
    DB Insert: 96 => 8
    Tracing Spans: 1953 => 66
2023-05-07 02:20:43 +02:00
ac0f9ff5d3 feat(frontend): manage API tokens in Frontend 2023-02-21 23:07:02 +01:00
8f7eebb806 feat(api): API tokens for authentication
Create and managed simple API tokens for access to the API from external
tools.
2023-02-19 16:19:40 +01:00
renovate[bot]
ef84800ce8 chore(deps): update typeorm 2022-06-25 16:26:58 +02:00
Renovate Bot
19d7700696 chore(deps): update dependency passport-spotify to v2 2021-08-15 16:14:52 +02:00
73bba4ef68 refactor(api): remove deprecated function and rename exception 2021-06-22 20:34:55 +02:00
f56548e432 chore: run prettier format 2021-05-25 16:02:00 +02:00
44f7e26270 feat: implement long-lived sessions 2020-11-09 18:34:23 +01:00
f56218602e fix: remove debug logging 2020-07-11 19:48:18 +02:00
a27fcce03b feat(api): add optional spotify user whitelist 2020-05-03 21:10:31 +02:00
d881a78757 chore(api): update dependencies 2020-05-03 21:10:31 +02:00
f253a66f86 feat(api): user authentication 2020-05-03 21:10:31 +02:00