Commit graph

5875 commits

Author SHA1 Message Date
renovate[bot]
b7040f3ced chore(deps): update dependency ts-loader to v9.4.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 16:20:11 +00:00
Avinash
09aef381c1 fix(frontend): readOnly permits codemirror select text
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-06-28 09:06:15 +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
Erik Michelson
58c2cfe727 enhancement: add profiling flag to analyze run
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-06-27 11:04:27 +02:00
renovate[bot]
1e964839b4 fix(deps): update dependency i18next-browser-languagedetector to v7.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 11:02:36 +02:00
renovate[bot]
87a2e4fa0d fix(deps): update dependency vega-lite to v5.11.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 00:37:10 +02:00
renovate[bot]
6b48f10251 chore(deps): update dependency cypress to v12.16.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 00:24:47 +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
Tilman Vatteroth
76242330fd fix(frontend): improve performance by caching translated texts
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-26 23:56:44 +02:00
Tilman Vatteroth
ced4cd953c fix(frontend): improve performance by reducing array constructions
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-26 23:56:44 +02: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
Tilman Vatteroth
1251f2f650 fix(frontend): dont log debug messages in production build
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-26 22:42:19 +02: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]
6f460c32f6 fix(deps): update dependency @uiw/react-codemirror to v4.21.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 19:19:57 +02:00
renovate[bot]
683d5868a3 fix(deps): update dependency @uiw/react-codemirror to v4.21.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 19:06:51 +02: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]
d0fe671c7d chore(deps): lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 03:46:50 +00:00
Tilman Vatteroth
13a8eedb50 fix(frontend): fix event emitter leak in realtime status
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-26 00:01:57 +02:00
renovate[bot]
b2cb54c225 chore(deps): fix yarn.lock
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-25 23:10:44 +02: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
Philip Molares
7f5bc46846 chore(github): make description in bug report use a textarea
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-06-25 20:27:50 +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]
359aea08e8 chore(deps): update node.js to v20.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-25 14:44:11 +02:00
renovate[bot]
a89d853456 chore(deps): update ossf/scorecard-action action to v2.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-25 14:39:45 +02:00
renovate[bot]
8e432c2c4b fix(deps): update dependency @uiw/react-codemirror to v4.21.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-25 07:52:10 +00:00
renovate[bot]
89d57d805c chore(deps): update dependency turbo to v1.10.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-24 16:57:18 +00:00
renovate[bot]
3ebed23468 chore(deps): update dependency mkdocs-material to v9.1.17
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-24 13:15:31 +00:00
renovate[bot]
47de5aa214 chore(deps): update dependency @types/react to v18.2.14
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-24 12:31:28 +00:00
renovate[bot]
5c061074b0 fix(deps): update dependency katex to v0.16.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-24 09:10:31 +00: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]
46367ad211 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 15:19:07 +02:00
renovate[bot]
9ca310f93a fix(deps): update dependency react-bootstrap to v2.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 15:15:04 +02:00
renovate[bot]
2a820367be chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 13:08:57 +00:00
renovate[bot]
4af47f27c0 chore(deps): update dependency turbo to v1.10.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 21:42:17 +00: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]
3508f299f6 fix(deps): update i18next
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 12:04:57 +02:00
renovate[bot]
410e51eae2 fix(deps): update dependency sass to v1.63.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 08:49:41 +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
renovate[bot]
b5f5322ddf chore(deps): update dependency eslint-config-next to v13.4.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 01:29:24 +02:00
renovate[bot]
6fdd2f68f0 chore(deps): update nextjs monorepo to v13.4.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 01:28:23 +02:00
Tilman Vatteroth
f870ea0d76 fix: forward remaining properties in additional icon component
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 22:42:24 +02:00
renovate[bot]
82dfc19a8f fix(deps): update dependency vega-lite to v5.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 22:29:47 +02:00
Tilman Vatteroth
e4492c947a feat: replace placeholder icons of gitlab, matrix and discourse
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 22:14:13 +02:00
renovate[bot]
cf860d86fe fix(deps): update dependency twemoji-colr-font to v14.1.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 20:49:55 +02:00
renovate[bot]
b7c9c80745 chore(deps): update node.js to 2bc2b33
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 20:24:22 +02:00