Listory/src/auth
Julian Tölle 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
..
decorators feat(api): API tokens for authentication 2023-02-19 16:19:40 +01:00
dto feat(frontend): manage API tokens in Frontend 2023-02-21 23:07:02 +01:00
guards feat(api): API tokens for authentication 2023-02-19 16:19:40 +01:00
strategies feat(api): API tokens for authentication 2023-02-19 16:19:40 +01:00
api-token.entity.ts feat(api): API tokens for authentication 2023-02-19 16:19:40 +01:00
api-token.repository.ts feat(api): API tokens for authentication 2023-02-19 16:19:40 +01:00
auth-session.entity.ts chore(lint): switch to eslint 2021-05-25 18:12:42 +02:00
auth-session.repository.ts chore(deps): update typeorm 2022-06-25 16:26:58 +02:00
auth.controller.spec.ts feat(observability): Replace Prometheus package with OpenTelemetry 2022-06-18 17:48:16 +02:00
auth.controller.ts feat(frontend): manage API tokens in Frontend 2023-02-21 23:07:02 +01:00
auth.module.ts feat(api): API tokens for authentication 2023-02-19 16:19:40 +01:00
auth.service.spec.ts feat(api): API tokens for authentication 2023-02-19 16:19:40 +01:00
auth.service.ts feat: use bulk Spotify API calls & inserts to make spotify crawling more efficient (#271) 2023-05-07 02:20:43 +02:00
constants.ts feat: implement long-lived sessions 2020-11-09 18:34:23 +01:00
spotify.filter.ts feat(observability): Replace Prometheus package with OpenTelemetry 2022-06-18 17:48:16 +02:00