Commit graph

1046 commits

Author SHA1 Message Date
David Mehren
60bbe42447
Migrate private media API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-14 21:57:10 +02:00
David Mehren
86a910a9e8
Migrate private notes API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-14 21:45:13 +02:00
David Mehren
df97845e19
Migrate public alias API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-14 21:25:17 +02:00
David Mehren
ee946877e1
Migrate public me API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-14 21:17:42 +02:00
David Mehren
1bc3fbb449
Migrate public media API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-14 21:01:29 +02:00
David Mehren
21f4ffe2df
Migrate public notes API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-14 20:52:57 +02:00
David Mehren
386098ed2b
Move common test preparations into TestSetup class
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-14 20:17:28 +02:00
David Mehren
441e7402a8
Move tsconfig.test.json to test directory
WebStorm does not support typescript.*.json files,
but always uses the nearest tsconfig.json.
Moving the test-specific tsconfig into the test folder allows WebStorm
to use the correct config for the E2E-tests and
stops it from showing unnecessary errors.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-14 19:55:55 +02:00
renovate[bot]
454f9ee207
chore(deps): update dependency @types/node to v14.17.29 (#1771)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 21:27:11 +00:00
renovate[bot]
fe4d4c2d7e
fix(deps): update dependency @nestjs/swagger to v5.1.4 (#1770)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 11:08:12 +00:00
renovate[bot]
d496af0f58
chore(deps): update dependency @types/node to v14.17.28 (#1769)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 09:57:04 +00:00
Yannick Bungers
24d79a9493
Add API doc for private media API
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-18 20:20:14 +02:00
Renovate Bot
d13a3e87cb
chore(deps): update linters to v5.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 16:36:48 +00:00
Renovate Bot
36331ca008
chore(deps): update dependency jest to v27.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 16:36:24 +00:00
Renovate Bot
ca7070f5f0
chore(deps): update dependency ts-node to v10.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 16:36:05 +00:00
renovate[bot]
1359b1ea62
fix(deps): update dependency @nestjs/swagger to v5.1.3 (#1765)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 16:34:40 +00:00
renovate[bot]
7c2574edfd
fix(deps): update dependency @nestjs/swagger to v5.1.2 (#1764)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 13:49:17 +00:00
Yannick Bungers
85dc2cd02d
Remove unnecessary exception handling in private notes.controller.ts
and change noteIdOrAlias to Note as parameter

Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-18 21:12:33 +02:00
renovate[bot]
7017d85b47
fix(deps): update dependency @types/minio to v7.0.11 (#1758)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 10:50:36 +00:00
renovate[bot]
b7d7a24ba4
chore(deps): update nestjs packages (#1757)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 09:51:31 +00:00
renovate[bot]
7472317858
chore(deps): update dependency ts-jest to v27.0.7 (#1749)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 08:13:56 +00:00
renovate[bot]
6e168cb579
chore(deps): update dependency mkdocs-material to v7.3.4 (#1756)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 06:59:37 +00:00
renovate[bot]
0a874735d4
chore(deps): update dependency eslint-plugin-jest to v25.2.2 (#1755)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 04:10:27 +00:00
Alexandru Văleanu
32929c1e77
Add delete media in private API (#1736)
Adds the missing API route of deleting media in the private API.
2021-10-18 19:00:28 +01:00
Renovate Bot
263755284a
chore(deps): update dependency eslint-plugin-jest to v25.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-15 23:09:47 +00:00
renovate[bot]
a409d7b1db
fix(deps): update dependency cli-color to v2.0.1 (#1746)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-15 23:08:26 +00:00
Yannick Bungers
f4799c5ebe
Change createTokenForUser signature
user is now used instead of username

Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-13 22:59:51 +02:00
Yannick Bungers
40103cb397
fix username spelling from userName
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-13 22:28:10 +02:00
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