Commit graph

6259 commits

Author SHA1 Message Date
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
David Mehren
1cc797f13d
Separate private and public API in TestSetup
Including both PublicApiModule and PrivateApiModule in the test setup
lead to the API routes overwriting each other.
This adds a router to separate the APIs as they are in the normal app.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-15 16:44:43 +02:00
David Mehren
474ca5deaf
Migrate private history API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-14 22:44:30 +02:00
David Mehren
6ee9589b2c
Migrate private me API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-14 22:01:18 +02:00
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