Commit graph

5949 commits

Author SHA1 Message Date
Philip Molares
81927b88f2 feat(frontend): add search in cheatsheet view
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-07-02 16:38:16 +02:00
Philip Molares
1624ff9c3b feat(frontend): add useDocumentSearch hook
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-07-02 16:38:16 +02:00
Philip Molares
1a3d655ca7 chore(dependency) add flexsearch-ts
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-07-02 16:38:16 +02:00
Juned Khan
723c5752bd doc: Added documentation to enable debug logging in prod
Signed-off-by: Juned Khan <junedkhanc101@gmail.com>
2023-07-02 14:33:06 +02: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
Tilman Vatteroth
05b5e04667 chore(deps): adjust license for yarn
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-01 22:13:54 +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]
0f57805b80 fix(deps): update dependency vega-lite to v5.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 22:12:44 +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]
cca0c275fc chore(deps): update dependency turbo to v1.10.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 04:49:54 +00:00
renovate[bot]
acf2ea69e1 fix(deps): update dependency emoji-picker-element to v1.18.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-30 18:51:37 +00:00
renovate[bot]
faf7ee4d52 fix(deps): update dependency mermaid to v10.2.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-30 17:16:01 +00:00
Erik Michelson
aacdc2a046 fix(deletion-modal): include note title fallback
The note deletion modal previously only used the set title of
the note. This commit changes the dialog to use the result of
useNoteTitle() which contains a fallback string.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-06-30 15:38:53 +02: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]
94364733a2 fix(deps): update dependency dompurify to v3.0.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 19:56:15 +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]
86f7b0201a fix(deps): update dependency i18next to v23.2.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 18:22:07 +02:00
renovate[bot]
48fde84433 fix(deps): update dependency i18next to v23.2.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 14:45:57 +02: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]
7008e8e6a0 chore(deps): update docker/setup-buildx-action action to v2.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 20:04:04 +02:00
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