Commit graph

1430 commits

Author SHA1 Message Date
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
semantic-release-bot
d0705afca8 chore(release): 1.4.4 [skip ci]
## [1.4.4](https://github.com/apricote/Listory/compare/v1.4.3...v1.4.4) (2020-11-07)

### Bug Fixes

* **frontend:** improper usage of select element ([a139f7b](a139f7b25b))
* **frontend:** missing dependency in useCallback ([1e674d1](1e674d18c9))
* **frontend:** missing key property in list ([1ae7f08](1ae7f08dc4))
2020-11-07 18:29:01 +00:00
1ae7f08dc4 fix(frontend): missing key property in list 2020-11-07 19:24:52 +01:00
a139f7b25b fix(frontend): improper usage of select element
The <select> element must receive the current value through the `value`
prop and not by setting `selected` on the current option.

Reference: https://reactjs.org/docs/forms.html#the-select-tag
2020-11-07 19:24:52 +01:00
1e674d18c9 fix(frontend): missing dependency in useCallback
To avoid endless re-render we also have to use a constant empty array
as the initialValue.
2020-11-07 19:24:52 +01:00
semantic-release-bot
15308bfb7c chore(release): 1.4.3 [skip ci]
## [1.4.3](https://github.com/apricote/Listory/compare/v1.4.2...v1.4.3) (2020-09-05)

### Bug Fixes

* **deps:** update dependency @nestjs/jwt to v7.1.0 ([e43f2ee](e43f2ee135))
* **deps:** update dependency @testing-library/jest-dom to v5.11.4 ([aaa9bff](aaa9bff029))
* **deps:** update dependency @testing-library/react to v10.4.9 ([9a52905](9a52905f12))
* **deps:** update dependency @testing-library/user-event to v12 ([8196db1](8196db1280))
* **deps:** update dependency @types/node to v12.12.55 ([22aa30d](22aa30d82d))
* **deps:** update dependency @types/react to v16.9.49 ([382f96f](382f96f7f1))
* **deps:** update dependency @types/recharts to v1.8.15 ([f5f9dec](f5f9decf95))
* **deps:** update dependency autoprefixer to v9.8.6 ([60cedf0](60cedf068c))
* **deps:** update dependency class-transformer to v0.3.1 [security] ([6c54ad0](6c54ad0a74))
* **deps:** update dependency date-fns to v2.16.1 ([0e25114](0e2511430e))
* **deps:** update dependency nestjs-typeorm-paginate to v2.1.1 ([0ffb3da](0ffb3da1db))
* **deps:** update dependency pg to v8.3.3 ([349b28e](349b28e879))
* **deps:** update dependency react-router-dom to v5.2.0 ([2930bb3](2930bb31ce))
* **deps:** update dependency rxjs to v6.6.2 ([341a2ab](341a2ab68b))
* **deps:** update dependency tailwindcss to v1.8.2 ([759d7aa](759d7aac5f))
* **deps:** update package-lock.json after deps updates ([71591bf](71591bf6ff))
* jest root folder config ([0d8bc26](0d8bc26f0d))
2020-09-05 20:03:27 +00:00
71591bf6ff fix(deps): update package-lock.json after deps updates 2020-09-05 21:59:05 +02:00