Commit graph

684 commits

Author SHA1 Message Date
renovate[bot]
019a258d60 chore(deps): update typescript-eslint monorepo to v6.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 12:57:02 +02:00
renovate[bot]
be8336bd60 chore(deps): update dependency prettier to v3.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-29 14:41:53 +00:00
renovate[bot]
6bf27f2c08 fix(deps): update dependency @nestjs/swagger to v7.1.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-29 14:38:58 +00:00
renovate[bot]
d408c3cca4 fix(deps): update dependency @nestjs/swagger to v7.1.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-29 11:53:02 +00:00
renovate[bot]
f4afbb06cb fix(deps): update dependency minio to v7.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-29 00:48:54 +00:00
renovate[bot]
5790de6a11 fix(deps): update nestjs packages to v10.2.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-28 10:36:13 +00:00
renovate[bot]
869ed90d4c chore(deps): update dependency @types/node to v20.5.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-28 02:54:09 +00:00
renovate[bot]
6b2922e180 fix(deps): update dependency joi to v17.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-27 20:02:03 +02:00
renovate[bot]
8eb023d1dc chore(deps): update dependency @types/markdown-it to v13.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 17:33:36 +00:00
renovate[bot]
dbbb93801a chore(deps): update dependency typescript to v5.2.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 11:40:09 +02:00
renovate[bot]
78e4a79d28 fix(deps): update dependency node-fetch to v2.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 11:39:54 +02:00
renovate[bot]
b6a13439f8 chore(deps): update yarn to v3.6.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 09:31:55 +00:00
renovate[bot]
1a581839fb chore(deps): update dependency eslint to v8.48.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 11:00:35 +02:00
Tilman Vatteroth
25dadc5550 fix: move eslint-local-rules.js into backend directory
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-26 09:19:53 +02:00
renovate[bot]
0bdccda2dc chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 09:19:53 +02:00
renovate[bot]
6024179059 chore(deps): update test packages to v29.6.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 00:36:32 +00:00
renovate[bot]
10f14382f4 chore(deps): update dependency @types/node to v20.5.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 00:32:45 +00:00
renovate[bot]
aa6ba59df8 chore(deps): update dependency @nestjs/cli to v10.1.16
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 21:12:17 +00:00
renovate[bot]
f831c76a0b fix(deps): update nestjs packages to v10.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 19:58:09 +02:00
renovate[bot]
013c77a420 chore(deps): update dependency @nestjs/cli to v10.1.14
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 07:43:51 +00:00
renovate[bot]
e83f647313 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 21:12:14 +00:00
renovate[bot]
29001fb3b8 chore(deps): update dependency @types/jest to v29.5.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 21:11:29 +00:00
renovate[bot]
68f1746dc8 chore(deps): update dependency @nestjs/cli to v10.1.13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 16:09:18 +00:00
renovate[bot]
f40178acf8 chore(deps): update dependency @types/node to v20.5.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 12:16:05 +00:00
renovate[bot]
45bbea9625 fix(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 07:34:42 +00:00
renovate[bot]
51ca0f74fd chore(deps): update dependency @tsconfig/node18 to v18.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 04:32:07 +00:00
renovate[bot]
85ba87efcc chore(deps): update typescript-eslint monorepo to v6.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-21 17:37:43 +00:00
renovate[bot]
f27b2264f0 chore(deps): update test packages to v29.6.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-21 17:37:10 +00:00
renovate[bot]
1f05cee725 chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 13:54:06 +00:00
renovate[bot]
7e356ddd5e fix(deps): update dependency node-fetch to v2.6.13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 13:48:03 +00:00
renovate[bot]
1a4e234494 chore(deps): update yarn to v3.6.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 09:39:51 +00:00
renovate[bot]
7d23cd16e1 chore(deps): update dependency @types/node to v20.5.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 11:08:19 +02:00
renovate[bot]
f8ae20ce91 fix(deps): update dependency pg to v8.11.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 02:27:38 +00:00
renovate[bot]
4ba81080ee chore(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 09:41:03 +00:00
renovate[bot]
2fc5f72213 chore(deps): update node.js to f62abc0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 06:19:12 +00:00
renovate[bot]
ae5c1d569e fix(deps): update dependency bcrypt to v5.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 04:09:45 +00:00
Tilman Vatteroth
0111f2b65e fix(backend): format code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-15 20:16:09 +00:00
renovate[bot]
1d31a1b11f chore(deps): update dependency prettier to v3.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 20:16:09 +00:00
renovate[bot]
36160a78ea chore(deps): update typescript-eslint monorepo to v6.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 21:24:16 +02:00
renovate[bot]
6c6e62d25d chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-13 22:35:07 +00:00
Tilman Vatteroth
dccd58f0c1 fix: remove subpath support for HD_BASE_URL
With this commit we drop the subpath support which results in the constraint that HedgeDoc must always run on the root of a domain. This makes a lot of things in testing, rendering and security much easier.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-13 20:38:53 +02:00
Tilman Vatteroth
7401791ec8 fix(backend): allowjs in tsconfig.json
Prevents a warning in the backend unit tests about allowing JS code.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-13 20:38:53 +02:00
renovate[bot]
bc19fccff2 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-13 01:24:02 +00:00
renovate[bot]
41b0deba19 chore(deps): update dependency eslint to v8.47.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-12 11:05:01 +02:00
renovate[bot]
8dccd4ca7b chore(deps): update dependency @types/node to v20.4.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-11 20:42:15 +00:00
renovate[bot]
ded2f582fb chore(deps): update node.js to 80f3be1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 22:26:59 +00:00
renovate[bot]
27a0914069 chore(deps): update typescript-eslint monorepo to v6.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 21:06:09 +02:00
renovate[bot]
4839f69b74 chore(deps): update node.js to 9ab70f6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 18:51:22 +00:00
renovate[bot]
4b5c73e98a chore(deps): update dependency @types/markdown-it to v13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 16:25:18 +02:00
renovate[bot]
e05402eb76 fix(deps): update dependency @nestjs/swagger to v7.1.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 09:45:52 +00:00
renovate[bot]
4dba9f0eb7 chore(deps): update node.js to d9d5350
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 04:22:06 +00:00
renovate[bot]
8f70b92954 chore(deps): update node.js to 3239a42
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 02:13:06 +00:00
renovate[bot]
45f85c9113 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 02:10:17 +00:00
renovate[bot]
269b1cb600 chore(deps): update dependency @types/node to v20.4.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 22:44:20 +00:00
renovate[bot]
a4d8fc26c9 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 22:38:23 +00:00
renovate[bot]
ca3c075dec chore(deps): update node.js to 4721df1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 01:42:19 +00:00
renovate[bot]
ba47bff310 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 22:49:31 +00:00
renovate[bot]
4733d0acca fix(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 11:44:42 +00:00
renovate[bot]
0767d6e821 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 07:07:01 +00:00
renovate[bot]
2aaea6fe3f chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 13:42:31 +00:00
renovate[bot]
73e2f24566 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 12:01:33 +00:00
renovate[bot]
236562cd9d chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 11:55:34 +00:00
renovate[bot]
c8e1a99ad1 chore(deps): update dependency eslint-config-prettier to v9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 13:40:55 +02:00
renovate[bot]
db1b3e076a chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 10:20:00 +00:00
renovate[bot]
ad14c57588 chore(deps): update dependency @types/node to v20.4.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-05 16:11:32 +00:00
renovate[bot]
4c0e8fe669 chore(deps): update dependency eslint-config-prettier to v8.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-05 17:54:01 +02:00
renovate[bot]
98c41a4e52 fix(deps): update dependency @nestjs/schedule to v3.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 07:46:19 +00:00
renovate[bot]
68e1b75057 chore(deps): update dependency @types/node to v20.4.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 02:21:54 +00:00
renovate[bot]
d87612fd0c chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 19:55:56 +00:00
renovate[bot]
0c3b6db65a fix(deps): update dependency pg to v8.11.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 19:54:54 +00:00
renovate[bot]
5024bb91c8 fix(deps): update dependency @nestjs/swagger to v7.1.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 15:02:24 +00:00
renovate[bot]
2ff3cd2b14 chore(deps): update typescript-eslint monorepo to v6.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 21:17:13 +02:00
renovate[bot]
218c559d9d chore(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 11:42:03 +00:00
renovate[bot]
b115e1e871 chore(deps): update dependency @tsconfig/node18 to v18
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 15:25:27 +02:00
renovate[bot]
3a1da59c16 fix(deps): update dependency @mrdrogdrog/optional to v1.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 11:51:05 +02:00
renovate[bot]
65887f4092 fix(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 09:52:14 +02:00
renovate[bot]
b016f7127d chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-29 09:35:29 +02:00
renovate[bot]
6327f7fa16 chore(deps): update test packages to v29.6.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 10:56:59 +00:00
renovate[bot]
15eaadcf18 chore(deps): update dependency @types/node to v20.4.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 23:11:51 +00:00
renovate[bot]
81691df454 fix(deps): update nestjs packages to v10.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 09:30:35 +00:00
renovate[bot]
117d42b543 chore(deps): update typescript-eslint monorepo to v6.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 20:39:36 +02:00
renovate[bot]
354a51fd72 fix(deps): update nestjs packages to v10.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 10:44:06 +00:00
renovate[bot]
519e7130c2 chore(deps): update dependency @types/node to v20.4.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 04:06:19 +00:00
renovate[bot]
97e85614a7 chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v4.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-22 11:56:48 +02:00
Philip Molares
d185e2e694 refactor: rename HD_AUTH_LDAPS to HD_AUTH_LDAP_SERVERS
This was done as LDAPS us both the plural of LDAP and the common abbreviation for secure LDAP connections.

Fixes #4460

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-07-22 11:37:17 +02:00
renovate[bot]
b38a05ca78 chore(deps): update node.js to 49f1c20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-22 01:09:23 +00:00
renovate[bot]
6c68a87399 chore(deps): update dependency @types/node to v20.4.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-22 01:07:45 +00:00
renovate[bot]
a7d7e7f2cb chore(deps): update node.js to ab25f1a
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 22:02:45 +00:00
renovate[bot]
95309ee0f6 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 17:50:42 +00:00
renovate[bot]
ca6de47552 fix(deps): update dependency @nestjs/swagger to v7.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 11:49:53 +00:00
renovate[bot]
4a1b1b8396 chore(deps): update dependency @nestjs/cli to v10.1.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 14:49:27 +00:00
Tilman Vatteroth
34bf8f16b1 fix: format code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-19 12:36:32 +02:00
renovate[bot]
d75d406e67 chore(deps): update typescript-eslint monorepo to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 12:36:32 +02:00
renovate[bot]
ea2cac3f9f chore(deps): update dependency yjs to v13.6.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 10:25:34 +00:00
renovate[bot]
8d30bc5d24 fix(deps): update nestjs packages to v10.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-18 23:33:46 +02:00
renovate[bot]
9a478cabaf fix(deps): update dependency @zxcvbn-ts/core to v3.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 16:44:12 +00:00
renovate[bot]
cd81cd90be chore(deps): update dependency @nestjs/cli to v10.1.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 09:01:20 +00:00
Tilman Vatteroth
4d70ccafbc fix: code formatting
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-16 10:51:51 +02:00
renovate[bot]
b42a6629ec chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 10:51:51 +02:00
renovate[bot]
7d7c93d554 chore(deps): update dependency eslint to v8.45.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 10:41:43 +02:00
renovate[bot]
3a00332373 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 08:22:47 +00:00
renovate[bot]
47c01e9149 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 10:13:37 +02:00
renovate[bot]
2110a34909 fix(deps): update dependency @azure/storage-blob to v12.15.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-14 20:07:21 +02:00
renovate[bot]
a0b9f72636 chore(deps): update dependency eslint-plugin-jest to v27.2.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 17:50:26 +00:00
renovate[bot]
7c358c149e chore(deps): update dependency @types/node to v20.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 23:33:03 +00:00
renovate[bot]
663ae970e5 chore(deps): update dependency @nestjs/cli to v10.1.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 09:25:32 +00:00
renovate[bot]
a970e565dc chore(deps): update node.js to 1c411f8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 00:59:51 +00:00
renovate[bot]
154a2079c4 chore(deps): update node.js to 79be5e5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-10 23:00:26 +00:00
renovate[bot]
b6ef68d081 chore(deps): update typescript-eslint monorepo to v5.62.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-10 20:49:06 +02:00
renovate[bot]
017afc1f52 chore(deps): update dependency @types/jest to v29.5.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-10 18:18:32 +00:00
David Mehren
a5d8c9cc33 refactor(backend): fix nestjs-typed linting errors
Signed-off-by: David Mehren <git@herrmehren.de>
2023-07-09 21:12:56 +02:00
David Mehren
8daffbb11b build(backend): add nestjs-typed eslint plugin
Signed-off-by: David Mehren <git@herrmehren.de>
2023-07-09 21:12:56 +02:00
renovate[bot]
526e9b5f94 chore(deps): update dependency @types/node to v20.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-08 05:00:29 +00:00
renovate[bot]
34360be0dd chore(deps): update dependency @types/node to v20.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-07 10:48:06 +02:00
renovate[bot]
8db1105522 chore(deps): update test packages to v29.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-06 18:07:12 +02:00
Yannick Bungers
f362d27d3f Move session entity to sessions folder
Signed-off-by: Yannick Bungers <git@innay.de>
2023-07-06 12:07:44 +02:00
Tilman Vatteroth
eeef0ea025 test: add mocked message transporter
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-06 12:07:03 +02:00
Tilman Vatteroth
25ee20c15d refactor: rename ready function to match its intent
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-06 12:07:03 +02:00
renovate[bot]
ddb43c8691 chore(deps): update dependency @nestjs/cli to v10.1.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-05 14:06:08 +02:00
renovate[bot]
bd06c2e3cb chore(deps): update test packages to v29.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 21:00:35 +02:00
renovate[bot]
45b96a2e24 chore(deps): update typescript-eslint monorepo to v5.61.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 20:36:25 +02:00
renovate[bot]
7dce3f2ccb fix(deps): update dependency @nestjs/swagger to v7.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 20:35:55 +02:00
renovate[bot]
6ef55b66a5 chore(deps): update dependency @nestjs/cli to v10.1.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 16:34:47 +00:00
renovate[bot]
dcf6e9053f chore(deps): update dependency @nestjs/cli to v10.1.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 09:02:48 +00:00
renovate[bot]
178e054938 chore(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-03 09:26:39 +00:00
renovate[bot]
1d3a4df622 chore(deps): update dependency @nestjs/cli to v10.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 22:14:06 +02:00
renovate[bot]
14c42fc09e chore(deps): update yarn to v3.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 22:13:54 +02:00
renovate[bot]
b20e29b4d7 chore(deps): update dependency eslint to v8.44.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 22:11:35 +02:00
renovate[bot]
5aeee5e118 chore(deps): update dependency @types/node to v20.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 06:59:39 +00:00
renovate[bot]
2276b4205d chore(deps): update dependency ts-jest to v29.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-30 10:51:59 +00:00
renovate[bot]
1c4b253811 fix(deps): update dependency node-fetch to v2.6.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 22:32:33 +00:00
renovate[bot]
b25634eda2 fix(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 19:20:12 +00:00
renovate[bot]
00692d8760 chore(deps): update dependency typescript to v5.1.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 01:13:48 +00:00
Tilman Vatteroth
f4a1999a8b fix(communication): send ready event when both sides are ready
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-28 21:50:48 +02:00
renovate[bot]
e6b9afc686 fix(deps): update dependency @nestjs/swagger to v7.0.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 20:04:29 +02:00
renovate[bot]
e8c959268a chore(deps): update dependency typescript to v5.1.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 04:37:04 +00:00
renovate[bot]
905bcd0e9d fix(deps): update dependency @nestjs/swagger to v7.0.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 15:40:16 +02:00
Tilman Vatteroth
bb54746ccf fix(backend): prevent realtime connections getting prepared for closed websocket
The setAdapter function checks if the websocket is closed.
If this is the case then an error is thrown and the whole process will be canceled. If the adapter isn't set before the realtime connection object is prepared then the connection will subscribe to all the events and THEN the process will be canceled. Because the MessageTransporter has no adapter (and won't get one), the connection will never get a disconnect event and clean up.

This causes the flood of "cant send message over closed websocket" messages.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-27 15:19:49 +02:00
renovate[bot]
f15aed3ed3 fix(deps): update dependency @nestjs/swagger to v7.0.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 11:47:46 +02:00
renovate[bot]
dcb79b91cd fix(deps): update dependency @nestjs/swagger to v7.0.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 11:33:15 +02:00
renovate[bot]
b14e711fac chore(deps): update typescript-eslint monorepo to v5.60.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 22:16:42 +00:00
renovate[bot]
28f04f461c chore(deps): update dependency @types/node to v20.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 21:43:45 +00:00
renovate[bot]
85ba675507 fix(deps): update dependency pg to v8.11.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 19:26:13 +00:00
renovate[bot]
25fb9344af chore(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 16:19:08 +00:00
renovate[bot]
9b1fbea77e chore(deps): update dependency yjs to v13.6.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-25 23:10:44 +02:00
David Mehren
4d50f2ec33 fix(backend): immediately use our custom logger
While the DI and database initialization is running, NestJSs default logger is normally used. Our custom logger was only being initialized after DI setup is complete.
Errors encountered during DI setup were buffered and only printed after DI init was complete, or the app exited on error.
This led to the app not printing anything for a minute in certain cases.

This commit replaces the initial logger with our ConsoleLoggerService that logs everything.
After DI init is complete, that logger is replaced with a normal instance of ConsoleLoggerService that uses the real config from DI.

Fixes https://github.com/hedgedoc/hedgedoc/issues/4306

Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-25 21:49:01 +02:00
renovate[bot]
e28b4183db chore(deps): update dependency @types/node to v20.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-25 14:44:47 +02:00
renovate[bot]
b8bb690a0e chore(deps): update dependency yjs to v13.6.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-23 15:44:40 +02:00
renovate[bot]
1496155b36 fix(deps): update dependency @nestjs/swagger to v7.0.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 14:18:53 +00:00
renovate[bot]
cd4d20d09e chore(deps): update node.js to 77516e1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 05:01:55 +00:00