99cc06bbbc
chore(deps): upgrade to NestJS 9
...
chore(deps): update dependency nestjs-otel to v4
chore(deps): update opentelemetry-js monorepo
2022-09-27 18:14:49 +02:00
41dfae3c50
feat(api): metrics for Spotify API http requests
...
This will help evaluate how much we are being rate limited, and on what
routes it happens most.
2022-06-29 21:30:09 +02:00
85c31705ef
refactor(api): replace deprecated toPromise calls
...
Details: https://rxjs.dev/deprecations/to-promise
2022-06-29 21:30:09 +02:00
fd3fc6b159
fix(api): missing await
2022-06-19 20:35:44 +02:00
6b1640b753
feat(observability): Replace Prometheus package with OpenTelemetry
2022-06-18 17:48:16 +02:00
a0ffe108e1
feat(api): update existing artists in MusicLibrary
2021-11-21 15:53:49 +01:00
a0c28e2324
feat: top genres report
2021-11-21 15:53:49 +01:00
Renovate Bot
a3c6da2749
chore(deps): update nest monorepo
2021-08-12 17:08:23 +02:00
e476243b85
test: create initial unit tests
2021-07-18 21:57:38 +02:00
3c6f3289f1
feat(server): save genres for artists and albums
...
This can later be used for reports
2021-05-25 19:23:42 +02:00
9b96d0fab4
chore(lint): switch to eslint
2021-05-25 18:12:42 +02:00
f56548e432
chore: run prettier format
2021-05-25 16:02:00 +02:00
0c2188c4d4
fix(api): continue crawling when access token refresh fails for one user
2021-05-20 19:19:24 +02:00
66fd6ce1b4
feat(api): custom spotify crawler interval
2020-11-28 18:28:38 +01:00
97f5ef70ac
refactor(api): improve function naming in spotify source
2020-11-28 17:56:49 +01:00
5ca3437b59
fix(api): missed listens from spotify
...
Listory could miss some listens when the Spotify Api misbehaves.
Sometimes the listens added to the last-recently-played endpoint
are showing up are out-of-order.
Because of our optimization to only retrieve listens newer than
the lastRefreshTime we would skip retrieving those out-of-order listens.
By always retrieving the maximum 50 listens we can be reasonably
sure that we got all the listens.
We also had to improve the handling of duplicate listens, as we now
have a lot of them, curtesy of removing the lastRefreshTime
optimization.
2020-11-28 17:55:19 +01:00
9869f0a061
refactor(api): improve logging around spotify crawling loop
2020-11-21 17:43:04 +01:00
49b31e8e62
fix(api): exception after refreshing spotify access token
2020-11-18 21:13:16 +01:00
5fb8a99a56
refactor: fix import relative paths
2020-09-05 21:07:05 +02:00
f56218602e
fix: remove debug logging
2020-07-11 19:48:18 +02:00
e78c6e312d
feat(api): validate configuration
2020-05-03 21:10:31 +02:00
d881a78757
chore(api): update dependencies
2020-05-03 21:10:31 +02:00
f2065d3f1f
feat(api): fetch listens from spotify
2020-05-03 21:10:31 +02:00
f253a66f86
feat(api): user authentication
2020-05-03 21:10:31 +02:00