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
semantic-release-bot
52a0dc79ce
chore(release): 1.8.0 [skip ci]
...
# [1.8.0](https://github.com/apricote/Listory/compare/v1.7.4...v1.8.0 ) (2020-11-21)
### Features
* **api:** add prometheus metrics ([e2056b4 ](e2056b4734 ))
2020-11-21 19:29:00 +00:00
e2056b4734
feat(api): add prometheus metrics
...
Currently we support metrics for the Node.js runtime and HTTP endpoints.
2020-11-21 19:55:53 +01:00
9869f0a061
refactor(api): improve logging around spotify crawling loop
2020-11-21 17:43:04 +01:00
semantic-release-bot
3aa90797c1
chore(release): 1.7.4 [skip ci]
...
## [1.7.4](https://github.com/apricote/Listory/compare/v1.7.3...v1.7.4 ) (2020-11-21)
### Bug Fixes
* **api:** db error on duplicate music library import ([fcc2f7d ](fcc2f7d1b6 ))
2020-11-21 16:05:33 +00:00
fcc2f7d1b6
fix(api): db error on duplicate music library import
...
When the spotify crawler loop would import an artist multiple
times in parallel the first would succeed but the following queries
would throw with following exception:
QueryFailedError: duplicate key value violates unique constraint "IDX_ARTIST_SPOTIFY_ID"
This error also could happen for the album or track.
2020-11-21 17:00:33 +01:00
0e431e9aa8
style(helm): run prettier and add templates to prettierignore
2020-11-21 15:53:51 +01:00
5440571d91
docs: fix SPOTIFY_AUTH_API_URL default value typo
2020-11-21 15:38:56 +01:00
0826d86786
docs: add sentry config to readme
2020-11-21 15:37:56 +01:00
semantic-release-bot
b47f137310
chore(release): 1.7.3 [skip ci]
...
## [1.7.3](https://github.com/apricote/Listory/compare/v1.7.2...v1.7.3 ) (2020-11-18)
### Bug Fixes
* **api:** exception after refreshing spotify access token ([49b31e8 ](49b31e8e62 ))
2020-11-18 20:17:45 +00:00
49b31e8e62
fix(api): exception after refreshing spotify access token
2020-11-18 21:13:16 +01:00
semantic-release-bot
59307a8a2e
chore(release): 1.7.2 [skip ci]
...
## [1.7.2](https://github.com/apricote/Listory/compare/v1.7.1...v1.7.2 ) (2020-11-18)
### Bug Fixes
* **helm:** environment variable is set as boolean instead of string ([a8063cf ](a8063cfc32 ))
2020-11-18 11:23:27 +00:00
a8063cfc32
fix(helm): environment variable is set as boolean instead of string
2020-11-18 12:18:05 +01:00
semantic-release-bot
2513bc02aa
chore(release): 1.7.1 [skip ci]
...
## [1.7.1](https://github.com/apricote/Listory/compare/v1.7.0...v1.7.1 ) (2020-11-17)
### Bug Fixes
* **helm:** add sentry options ([5ca6eba ](5ca6eba764 ))
2020-11-17 21:43:25 +00:00
5ca6eba764
fix(helm): add sentry options
2020-11-17 22:38:05 +01:00
semantic-release-bot
5728a300af
chore(release): 1.7.0 [skip ci]
...
# [1.7.0](https://github.com/apricote/Listory/compare/v1.6.1...v1.7.0 ) (2020-11-17)
### Features
* **api:** setup optional sentry error reporting ([56db4cd ](56db4cd2e1 ))
2020-11-17 21:30:58 +00:00
56db4cd2e1
feat(api): setup optional sentry error reporting
2020-11-17 22:26:08 +01:00
semantic-release-bot
d620c03219
chore(release): 1.6.1 [skip ci]
...
## [1.6.1](https://github.com/apricote/Listory/compare/v1.6.0...v1.6.1 ) (2020-11-15)
### Bug Fixes
* **deps:** update dependency @nestjs/passport to v7.1.0 ([ad85dd7 ](ad85dd753d ))
* **deps:** update dependency @nestjs/swagger to v4.7.3 ([ac7ef85 ](ac7ef857af ))
* **deps:** update dependency @nestjs/typeorm to v7.1.4 ([a6f496a ](a6f496a6d3 ))
* **deps:** update dependency @testing-library/user-event to v12.2.2 ([57258db ](57258db330 ))
* **deps:** update dependency @types/node to v12.19.4 ([ce4c5e9 ](ce4c5e9fdb ))
* **deps:** update dependency postcss-cli to v7.1.2 ([945f192 ](945f192f7e ))
* **deps:** update dependency rxjs to v6.6.3 ([7214b0c ](7214b0c51e ))
* **deps:** update dependency tailwindcss to v1.9.6 ([7119457 ](7119457773 ))
* **deps:** update dependency typeorm to v0.2.29 ([ff2f1a0 ](ff2f1a0ee7 ))
* **deps:** update various packages ([52b8d26 ](52b8d26c18 ))
2020-11-15 03:52:14 +00:00
52b8d26c18
fix(deps): update various packages
2020-11-15 04:41:54 +01:00
Renovate Bot
3ffad7c4a8
chore(deps): update dependency ts-loader to v8
2020-11-15 04:16:39 +01:00
Renovate Bot
addde21467
chore(deps): update dependency jest to v26
2020-11-15 04:16:39 +01:00
Renovate Bot
ff2f1a0ee7
fix(deps): update dependency typeorm to v0.2.29
2020-11-15 04:02:27 +01:00
Renovate Bot
7119457773
fix(deps): update dependency tailwindcss to v1.9.6
2020-11-15 04:02:21 +01:00
Renovate Bot
d99d5c18b6
chore(deps): update dependency ts-jest to v26.4.4
2020-11-15 04:02:12 +01:00
Renovate Bot
30547230c5
chore(deps): update dependency @types/jest to v26.0.15
2020-11-15 04:01:49 +01:00
Renovate Bot
7214b0c51e
fix(deps): update dependency rxjs to v6.6.3
2020-11-15 04:00:42 +01:00
Renovate Bot
945f192f7e
fix(deps): update dependency postcss-cli to v7.1.2
2020-11-15 04:00:34 +01:00
Renovate Bot
ce4c5e9fdb
fix(deps): update dependency @types/node to v12.19.4
2020-11-15 03:59:56 +01:00
Renovate Bot
57258db330
fix(deps): update dependency @testing-library/user-event to v12.2.2
2020-11-15 03:59:47 +01:00
Renovate Bot
c69ed0742e
chore(deps): update dependency @types/node to v13.13.30
2020-11-15 03:59:41 +01:00
Renovate Bot
a6f496a6d3
fix(deps): update dependency @nestjs/typeorm to v7.1.4
2020-11-15 03:58:27 +01:00
Renovate Bot
ac7ef857af
fix(deps): update dependency @nestjs/swagger to v4.7.3
2020-11-15 03:58:21 +01:00
Renovate Bot
caf7eed594
chore(deps): update postgres docker tag to v12.5
2020-11-15 03:58:14 +01:00
Renovate Bot
c257b2f4bf
chore(deps): update nest monorepo to v7.5.2
2020-11-15 03:57:46 +01:00
Renovate Bot
6e2a78e2b0
chore(deps): update dependency prettier to v2.1.2
2020-11-15 03:53:39 +01:00
Renovate Bot
c0bf025232
chore(deps): update dependency @nestjs/schematics to v7.2.1
2020-11-15 03:53:39 +01:00
Renovate Bot
ad85dd753d
fix(deps): update dependency @nestjs/passport to v7.1.0
2020-11-15 03:53:39 +01:00
Renovate Bot
3cd722e9e9
chore(deps): update dependency @types/supertest to v2.0.10
2020-11-15 03:53:39 +01:00
semantic-release-bot
a8b9b4d4df
chore(release): 1.6.0 [skip ci]
...
# [1.6.0](https://github.com/apricote/Listory/compare/v1.5.0...v1.6.0 ) (2020-11-15)
### Features
* **frontend:** adopt card-style for recent listens ([6c8ac2b ](6c8ac2b7a5 ))
* introduce new report "Top Albums" ([9896ea3 ](9896ea31ff ))
* **frontend:** proper styling for "Top Artists" report ([ca4e10e ](ca4e10e473 ))
2020-11-15 02:10:27 +00:00
6c8ac2b7a5
feat(frontend): adopt card-style for recent listens
2020-11-15 02:59:33 +01:00
9896ea31ff
feat: introduce new report "Top Albums"
2020-11-15 02:43:23 +01:00
09858076bf
refactor(api): optimize imports
2020-11-15 02:37:01 +01:00
427964f255
refactor(api): remove unused constant
2020-11-15 02:36:44 +01:00
42737e570d
refactor(frontend): remove unnecessary state in useApi hooks
2020-11-15 02:34:22 +01:00
ca4e10e473
feat(frontend): proper styling for "Top Artists" report
2020-11-15 02:33:39 +01:00
b6b468f3ed
Merge pull request #30 from apricote/renovate/pin-dependencies
...
chore(deps): pin dependencies
2020-11-09 19:03:06 +01:00
Renovate Bot
5fddb58fff
chore(deps): pin dependencies
2020-11-09 17:40:38 +00:00
semantic-release-bot
740426ae00
chore(release): 1.5.0 [skip ci]
...
# [1.5.0](https://github.com/apricote/Listory/compare/v1.4.4...v1.5.0 ) (2020-11-09)
### Features
* implement long-lived sessions ([44f7e26 ](44f7e26270 ))
2020-11-09 17:38:29 +00:00
44f7e26270
feat: implement long-lived sessions
2020-11-09 18:34:23 +01:00