Commit graph

1368 commits

Author SHA1 Message Date
Yannick Bungers
be27686610
change getTokensByUsername to getTokensByUser
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-13 22:22:08 +02:00
renovate[bot]
2ab3d7e8f9
chore(deps): update dependency ts-jest to v27.0.6 (#1743)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 23:07:49 +00:00
renovate[bot]
42fbe3abc1
chore(deps): update dependency @types/node to v14.17.27 (#1742)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 21:22:06 +00:00
renovate[bot]
c84e8f3eb8
fix(deps): update nestjs packages to v8.1.1 (#1740)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 10:57:32 +00:00
renovate[bot]
ffd1ef264d
chore(deps): update dependency eslint-plugin-jest to v25.0.6 (#1739)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 09:54:07 +00:00
renovate[bot]
1c77354392
chore(deps): update dependency eslint to v8.0.1 (#1738)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 05:12:36 +00:00
renovate[bot]
8fd8279947
chore(deps): update dependency @types/node to v14.17.26 (#1734)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 00:15:16 +00:00
renovate[bot]
8b83c336bf
chore(deps): pin dependency http-proxy-middleware to 2.0.1 (#1737)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 23:02:00 +00:00
David Mehren
e5f1069fe9
Cleanup dist folder before starting
For some reason, files from the dist folder get used
for execution even when running with ts-node.
This adds a cleanup step before starting the app.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-23 23:03:22 +02:00
David Mehren
0da7d01dec
Add dev-proxy to frontend dev server
This adds a reverse proxy to the backend, that automatically
redirects requests that are not handled by the backend to the React
dev server running on port 3001.

The reverse proxy is only enabled when NODE_ENV is set to
'development'.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-23 22:36:13 +02:00
Yannick Bungers
4c6bb4246b
Add e2e tests for tokens
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-08 13:06:44 +02:00
Yannick Bungers
11ae7d133c
Fix tests with using sessions in e2e tests of private api
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-13 20:43:56 +02:00
Yannick Bungers
ad190fcf22
Get user from Session instead of hardcoded value
Signed-off-by: Yannick Bungers <git@innay.de>
2021-09-23 22:44:34 +02:00
Renovate Bot
263de45748
chore(deps): update dependency pymdown-extensions to v9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 18:54:35 +00:00
Renovate Bot
a248d51fb9
chore(deps): update dependency eslint-plugin-import to v2.25.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 18:54:17 +00:00
Renovate Bot
753eed9957
chore(deps): update dependency typescript to v4.4.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 18:39:00 +00:00
Renovate Bot
11da01e090
chore(deps): update dependency mkdocs to v1.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 18:37:24 +00:00
David Mehren
dc68ecf0e6
Disable new no-unsafe-argument ESLint rule for tests
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-13 19:54:38 +02:00
Renovate Bot
9dc0cf8c9a
chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 17:43:43 +00:00
renovate[bot]
49aae77b28
chore(deps): update dependency @types/node to v14.17.24 (#1731)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 17:56:06 +00:00
Renovate Bot
6fe53ef9da
fix(deps): update nestjs packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 17:25:30 +00:00
Renovate Bot
a7c21232cd
chore(deps): update dependency ts-node to v10.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 19:39:18 +00:00
Renovate Bot
2c6219c56e
fix(deps): update dependency rxjs to v7.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 16:27:50 +00:00
renovate[bot]
e0cf190ba4
chore(deps): update dependency mkdocs-material to v7.3.3 (#1727)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 16:25:36 +00:00
renovate[bot]
1276c55411
chore(deps): lock file maintenance (#1725)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 02:51:43 +00:00
renovate[bot]
c6ef0aa699
chore(deps): update dependency jest to v27.2.5 (#1720)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 16:01:31 +00:00
David Mehren
39eb5ff116
Log errors in ValidationPipe
Previously, when an error was encountered while validating
the request, only an HTTP 400 status code was returned to the client.
This adds logging of the error message,
so invalid requests can be debugged.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-23 22:05:57 +02:00
renovate[bot]
08ef53bd7f
chore(deps): update dependency mkdocs-material to v7.3.2 (#1714)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 21:08:14 +00:00
renovate[bot]
9cc26f2adb
fix(deps): update nestjs packages to v8.0.11 (#1712)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 12:42:15 +00:00
renovate[bot]
c9ddb6c9b7
chore(deps): update dependency @types/node to v14.17.21 (#1711)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-05 23:39:57 +00:00
renovate[bot]
5d5b1504f4
fix(deps): update nestjs packages to v8.0.10 (#1709)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-05 10:07:47 +00:00
renovate[bot]
b289b98563
fix(deps): update dependency @nestjs/config to v1.0.2 (#1708)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 12:36:36 +00:00
renovate[bot]
ea857109d6
chore(deps): lock file maintenance (#1707)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 03:56:32 +00:00
renovate[bot]
35d31d915a
fix(deps): update dependency typeorm to v0.2.38 (#1704)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-03 00:48:26 +00:00
renovate[bot]
f43d4521a3
chore(deps): update dependency mkdocs-material to v7.3.1 (#1703)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 13:32:52 +00:00
renovate[bot]
7d97da3f6d
fix(deps): update dependency rxjs to v7.3.1 (#1701)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 23:51:43 +00:00
renovate[bot]
5a40bca7bc
fix(deps): update nestjs packages to v8.0.9 (#1698)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-30 14:22:31 +00:00
renovate[bot]
491bbcca58
chore(deps): update dependency jest to v27.2.4 (#1695)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 19:03:40 +00:00
renovate[bot]
8af495c539
chore(deps): update dependency @types/node to v14.17.20 (#1694)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 17:19:30 +00:00
renovate[bot]
88ce1b03ff
chore(deps): update dependency @nestjs/cli to v8.1.2 (#1691)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 10:20:08 +00:00
renovate[bot]
a3ffc10ef3
chore(deps): update dependency eslint-plugin-jest to v24.4.3 (#1690)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 21:49:34 +00:00
renovate[bot]
8cbf240af8
chore(deps): update dependency jest to v27.2.3 (#1687)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 11:54:41 +00:00
renovate[bot]
335aa07e0f
fix(deps): update nestjs packages to v8.0.8 (#1686)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 10:53:42 +00:00
renovate[bot]
23a49c45ea
chore(deps): lock file maintenance (#1684)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 04:20:53 +00:00
renovate[bot]
921bea0441
chore(deps): update dependency jest to v27.2.2 (#1682)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 16:48:51 +00:00
renovate[bot]
b558ae8774
chore(deps): update dependency @types/node to v14.17.19 (#1681)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 14:16:20 +00:00
renovate[bot]
9f051cf956
fix(deps): update nestjs packages to v8.0.7 (#1678)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-24 12:09:44 +00:00
renovate[bot]
7a37226200
chore(deps): pin dependency source-map-support to 0.5.20 (#1675)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 23:38:23 +00:00
renovate[bot]
990d629df7
chore(deps): pin dependency @types/source-map-support to 0.5.4 (#1674)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 23:08:25 +00:00
David Mehren
bbca4ab1dd
Combine build & prebuild scripts
Yarn 2 does not support pre-scripts anymore

Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-06 18:04:14 +02:00