Commit graph

155 commits

Author SHA1 Message Date
David Mehren
921cffb76f fix(auth-service): typeorm query in getTokensbyUser
TypeORM does not support WHERE queries for relation-colums directly.
This replaces the Equal() constructor with a manual comparison of the IDs.

See https://github.com/typeorm/typeorm/issues/2707

Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
e52cf4b4ae test(e2e/private/media): check upload can't be deleted by wrong user
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
7012f807b8 test: fix URLs in mock config
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
renovate[bot]
4720d7c418 fix(deps): update dependency joi to v17.8.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 20:39:21 +01:00
renovate[bot]
5ddce7a316 chore(deps): update typescript-eslint monorepo to v5.52.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:14:22 +01:00
renovate[bot]
6b24399668 chore(deps): update dependency @types/node to v18.14.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:04:22 +01:00
renovate[bot]
96ebb38893 fix(deps): update nestjs packages to v9.3.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 00:31:39 +00:00
renovate[bot]
0848792af0 chore(deps): update test packages to v29.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:42:18 +00:00
renovate[bot]
2b31807cdd fix(deps): update dependency yjs to v13.5.46
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:54:27 +01:00
renovate[bot]
9a41f87bd9 fix(deps): update dependency ws to v8.12.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:50:25 +01:00
renovate[bot]
ea76346233 chore(deps): update node.js to 78fa26e
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 15:21:10 +00:00
David Mehren
9e78776412 refactor(notes-service): use default-access-level & cleanup createNote
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-12 20:42:10 +01:00
David Mehren
cdc9ebd352 refactor(default-access-level): rename from default-access-permission
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-12 20:42:10 +01:00
renovate[bot]
0eb49954b4 chore(deps): update dependency @types/express-session to v1.17.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-12 02:06:59 +00:00
renovate[bot]
06a9c3f6dd chore(deps): update node.js to 992dd13
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 17:37:11 +00:00
renovate[bot]
35d02a945f chore(deps): update dependency eslint to v8.34.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:43:28 +01:00
renovate[bot]
29f79f5cdd fix(deps): update nestjs packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:37:57 +01:00
renovate[bot]
2eb5aad0f2 fix(deps): update dependency joi to v17.7.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:28:16 +01:00
renovate[bot]
47f1ad69b7 chore(deps): update dependency @types/node to v18.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:12:21 +01:00
renovate[bot]
718db1a85d fix(deps): update dependency @nestjs/swagger to v6.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:10:33 +01:00
renovate[bot]
4d1d9b7815 chore(deps): update typescript-eslint monorepo to v5.51.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:07:26 +01:00
renovate[bot]
ac572a2fbb chore(deps): update test packages to v29.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:40:36 +01:00
renovate[bot]
e7025290c7 chore(deps): update node.js to 1035064
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:28:57 +01:00
renovate[bot]
a5dffe603e chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:28:46 +01:00
Tilman Vatteroth
caa53e3556 feat: add patch to add generic types to eventemitter2
EventEmitter2 has types, but they're very basic and not very type safe.
I created this patch, because my improved types haven't been merged into the official package.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 21:58:41 +01:00
Tilman Vatteroth
11c2f57e4b fix(commons): extract name of markdown content yjs channel into the commons package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 15:43:59 +01:00
Tilman Vatteroth
329a4d4e55 chore(deps): pin dependencies of commons package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 13:53:11 +01:00
Erik Michelson
305b6f5910 misc: add turbo monorepo util
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: David Mehren <git@herrmehren.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
renovate[bot]
db0376fb67 fix(deps): update dependency @zxcvbn-ts/core to v2.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 11:11:51 +01:00
renovate[bot]
8fa9bf0aa8 chore(deps): update typescript-eslint monorepo to v5.50.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:41:17 +01:00
renovate[bot]
a0308ea916 fix(deps): update dependency pg to v8.9.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:36:49 +01:00
renovate[bot]
debea237cc chore(deps): update nestjs packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:13:24 +01:00
renovate[bot]
4089f4100a fix(deps): update dependency node-fetch to v2.6.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:08:16 +01:00
renovate[bot]
f8be64cfba chore(deps): update yarn to v3.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:07:06 +01:00
Yannick Bungers
7f8371fec2 Remove redundant password strength check
Signed-off-by: Yannick Bungers <git@innay.de>
2023-02-06 08:46:56 +01:00
renovate[bot]
8023b126a2 fix(deps): update dependency yjs to v13.5.45
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:26:22 +01:00
renovate[bot]
5c9b918a34 chore(deps): update dependency @types/node to v18.11.19
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:25:13 +01:00
renovate[bot]
4cf7eb4cbd fix(deps): update dependency @nestjs/passport to v9.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:25:00 +01:00
renovate[bot]
532713a218 chore(deps): update node.js to 72b0f91
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 22:35:27 +01:00
Tilman Vatteroth
5e1fdbe81d fix(config): Replace HD_DOMAIN and HD_EDITOR_BASE_URL with HD_BASE_URL
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 22:32:31 +01:00
Tilman Vatteroth
65ac00913b chore(deps): Update optional to 1.1.0
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 22:32:31 +01:00
Tilman Vatteroth
7b2d541cac fix(backend): Use regex to parse version
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:21:08 +01:00
Tilman Vatteroth
69a7a1ae69 fix(docker): fix Dockerfiles of backend and frontend
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:21:08 +01:00
Tilman Vatteroth
74178b6edf fix(backend): Remove redundant test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 18:38:32 +01:00
Tilman Vatteroth
38bcb9affd fix(backend): Fix open handles in backend test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 18:38:32 +01:00
Tilman Vatteroth
d76714f2a2 fix(commons): Move "wait for other promises to finish" util to commons
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 18:38:32 +01:00
renovate[bot]
5c34281f66 chore(deps): update dependency @types/express to v4.17.17
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 10:37:55 +01:00
renovate[bot]
37398df3bd chore(deps): update dependency typescript to v4.9.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 14:00:25 +01:00
renovate[bot]
834faf7213 chore(deps): update dependency eslint to v8.33.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 13:59:49 +01:00
renovate[bot]
2cbeffa2d0 chore(deps): update typescript-eslint monorepo to v5.49.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-29 19:28:52 +01:00