Commit graph

1099 commits

Author SHA1 Message Date
Philip Molares
ed5367d456
test(private-api): fix aliases expect
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-11-08 21:40:36 +01:00
Philip Molares
b1d4696895
fix: the tests use the new typing from create methods
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-09-25 11:55:35 +02:00
Philip Molares
8cda5f99fb
fix: services use the new typings from create methods
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-09-25 11:52:42 +02:00
Philip Molares
d0b8e4cd36
feat: consolidate entities create
This was done to give better typings to the function signatures of entities `create` methods.
It also ensures that each field that should be set to `null` is set to `null` and doesn't leave that up to the typeorm handlers.

See: #1641
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-09-25 11:50:28 +02:00
David Mehren
bd902e50d1
test(jest): run e2e tests concurrently
Fixes #1644

Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-16 18:26:04 +01:00
David Mehren
d4b806bbf8
test(mockconfig): generate unique upload paths
This stops multiple concurrently running tests disturbing each other.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-16 18:25:00 +01:00
renovate[bot]
ffeff87171
fix(deps): update nestjs packages (#1824)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-16 14:01:19 +00:00
renovate[bot]
4ed67c472e
chore(deps): lock file maintenance (#1821)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-15 03:32:56 +00:00
David Mehren
7b68028a68
chore(deps): update @types/node to 16.11.7
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-14 19:30:22 +01:00
Renovate Bot
299be9af1e
chore(deps): update dependency pymdown-extensions to v9.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-14 17:38:06 +00:00
Renovate Bot
83224e4d10
fix(deps): update nestjs packages to v8.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 20:37:51 +00:00
David Mehren
0d7bf93659
Update to Yarn 3.1.0 for Node 17 compatibility
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-11 19:53:30 +01:00
David Mehren
be3a4e2c88
CI: Test and build with Node 17
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-11 19:39:22 +01:00
Renovate Bot
9ddd664691
fix(deps): update dependency typeorm to v0.2.40
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 16:22:12 +00:00
renovate[bot]
6993bbd5a4
chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v3.1.1 (#1814)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 14:53:47 +00:00
renovate[bot]
fdb0d5e7a2
chore(deps): update dependency eslint-plugin-import to v2.25.3 (#1813)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 12:21:28 +00:00
renovate[bot]
f53774e33a
fix(deps): update dependency typeorm to v0.2.39 (#1811)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 18:16:14 +00:00
renovate[bot]
77c5e87532
chore(deps): update linters to v5.3.1 (#1808)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 01:38:24 +00:00
renovate[bot]
869067b362
chore(deps): update dependency @types/node to v14.17.33 (#1810)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 23:47:17 +00:00
Philip Molares
c9be26235c
docs: fix createUser and test docs
this ports the fixes applied to createGroup to this method as well

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-11-06 11:49:26 +01:00
Philip Molares
0470497ccb
feat: setupSpecialGroups in bootstrap
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-10-31 00:06:55 +02:00
Philip Molares
bcf35c61a5
fix: permissions service use new SpecialGroup enum
instead of random strings the permissions service now uses the SpecialGroup enum

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-10-31 00:05:59 +02:00
Philip Molares
5fd9750d68
feat: add createGroup function
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-10-31 00:04:12 +02:00
Philip Molares
9a8f4c0b8c
feat: add SpecialGroup enum
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-10-30 23:58:17 +02:00
renovate[bot]
2a9f0f70cb
chore(deps): update dependency eslint-plugin-jest to v25.2.4 (#1806)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 13:50:36 +00:00
renovate[bot]
21b174ea70
chore(deps): lock file maintenance (#1805)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 03:51:24 +00:00
Renovate Bot
d5c4df5125
chore(deps): update dependency eslint to v8.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-06 01:33:38 +00:00
renovate[bot]
d1f056c8df
chore(deps): update dependency eslint-plugin-jest to v25.2.3 (#1802)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 22:25:13 +00:00
Renovate Bot
076a526026
fix(deps): update dependency @nestjs/config to v1.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 19:13:18 +00:00
Renovate Bot
1572a3e849
chore(deps): update linters to v5.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 19:13:02 +00:00
Renovate Bot
beb1f1b80e
chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v3.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 13:38:01 +00:00
renovate[bot]
9115ac8d9c
chore(deps): lock file maintenance (#1798)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-01 05:10:41 +00:00
renovate[bot]
c4de5df4a4
fix(deps): update dependency node-fetch to v2.6.6 (#1796)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-31 18:03:26 +00:00
renovate[bot]
79eba2b3f3
chore(deps): update dependency mkdocs-material to v7.3.6 (#1792)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-30 14:11:19 +00:00
David Mehren
0fc2b1309a
Add E2E tests for login and registration
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 19:51:42 +02:00
David Mehren
c02f845ecb
AuthController: Return 409 Conflict when user already exists
The previously used HTTP error 400 'Bad Request' is not really
applicable here, as the client did not send a malformed message.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-27 19:39:18 +02:00
David Mehren
b73ac2f99b
TestSetup: Initialize full app and session middleware
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 19:51:23 +02:00
renovate[bot]
39efdb21ca
fix(deps): update dependency @nestjs/config to v1.0.3 (#1788)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 10:50:31 +00:00
renovate[bot]
68a71e9b18
chore(deps): update dependency mkdocs-material to v7.3.5 (#1786)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 00:32:07 +00:00
David Mehren
c3bb5d7c30
Update .prettierrc for sort-imports v3
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-27 17:58:00 +02:00
Renovate Bot
bdc66c4c60
chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 15:49:54 +00:00
Renovate Bot
ae78d270a3
chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 15:55:09 +00:00
Renovate Bot
900345cd09
chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 15:41:46 +00:00
Renovate Bot
aa0b5ce33a
chore(deps): update dependency ts-node to v10.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 02:27:04 +00:00
renovate[bot]
1db21c2050
chore(deps): update dependency @types/node to v14.17.32 (#1781)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 02:25:34 +00:00
renovate[bot]
da995bdfa8
chore(deps): update dependency @types/node to v14.17.31 (#1779)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:10:08 +00:00
renovate[bot]
86af7ef924
chore(deps): update dependency @types/node to v14.17.30 (#1778)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 17:43:30 +00:00
renovate[bot]
3b9f8ca6a8
fix(deps): update nestjs packages to v8.1.2 (#1777)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 17:33:51 +00:00
David Mehren
9e2b9caca9
Update API routes in private API E2E tests
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-15 17:06:56 +02:00
David Mehren
4805c9c5c5
Update API routes in public API E2E tests
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-15 16:53:10 +02:00