Commit graph

5502 commits

Author SHA1 Message Date
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
renovate[bot]
672863208a chore(deps): update dependency turbo to v1.10.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 19:46:58 +02:00
Tilman Vatteroth
5f49dc645b fix: add yarn license files
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 15:31:10 +02:00
Tilman Vatteroth
0b7d27dfb4 fix: add license file for hedgedoc.xml
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 15:31:10 +02:00
Tilman Vatteroth
7fdd11f9ff fix: add license files for developer-certificate-of-origin.txt
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 15:31:10 +02:00
renovate[bot]
86e9878c15 chore(deps): update fsfe/reuse docker tag to v2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 15:31:10 +02:00
renovate[bot]
12a29ff28b chore(deps): update github/codeql-action action to v2.20.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 14:24:58 +02:00
Tilman Vatteroth
f54677f3d2 fix: use fsfe reuse docker image directly
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 14:17:25 +02:00
Tilman Vatteroth
cf02c35b49 fix: save created revision on realtime note destroy
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 14:17:25 +02:00
Avinash
b3eb6e4339 feat: increased test coverage for authService
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-06-21 14:07:00 +02:00
Avinash
239e21f4cb refactor: removed unused userServices
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-06-21 14:07:00 +02:00
renovate[bot]
ead9352392 fix(deps): update dependency i18next to v23.2.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 12:32:42 +02:00
renovate[bot]
74164e1a72 fix(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 12:32:33 +02:00
renovate[bot]
34f126f813 fix(deps): update dependency vega-lite to v5.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 12:32:05 +02:00
renovate[bot]
3579cff3dc chore(deps): update dependency cypress to v12.15.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 12:31:48 +02:00
renovate[bot]
98e40aba4e fix(deps): update dependency sass to v1.63.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 08:19:26 +00:00
Tilman Vatteroth
f32bd44091 fix: add @types/markdown-it to backend dev dependencies
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 07:28:01 +02:00
Tilman Vatteroth
3fe98e7f58 fix: move js-yaml dependencies to commons package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 07:28:01 +02:00
renovate[bot]
84d0540034 fix(deps): update dependency react-redux to v8.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 03:37:07 +00:00
renovate[bot]
1fbb5c3b69 fix(deps): update dependency typeorm to v0.3.17
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 01:46:58 +00:00
renovate[bot]
ef86eff8ee fix(deps): update dependency i18next to v23.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-20 15:13:15 +00:00
Tilman Vatteroth
c25c0fac92 fix: don't save revisions on creation
sometimes we create revisions for notes that don't exist yet. If we try to persist a revision that is referring to a non-existing note the whole attempt crashes.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
bb355feddc fix: improve and adjust tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
eb986b1504 test: improve select query mock builder
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00