Commit graph

1342 commits

Author SHA1 Message Date
renovate[bot]
fc763d74c4 fix(deps): update dependency vega-embed to v6.23.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:25:38 +02:00
renovate[bot]
babc53e166 fix(deps): update dependency sass to v1.69.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:24:50 +02:00
renovate[bot]
bb707c49a6 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:24:07 +02:00
renovate[bot]
9df6a24792 chore(deps): update dependency eslint to v8.51.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:23:20 +02:00
renovate[bot]
f340c30945 chore(deps): update dependency ts-loader to v9.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:23:00 +02:00
Erik Michelson
1fefabb3b2 fix: use correct import for identicon
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 16:17:55 +02:00
Philip Molares
5435dd54ee fix(sidebar): indicate that some feature are not yet supported
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 15:55:23 +02:00
Erik Michelson
a8b3b117dc feature: add identicon generation to users without photo
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 15:51:32 +02:00
renovate[bot]
55398e2428 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 13:29:23 +00:00
renovate[bot]
c95efbee25 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 13:04:29 +00:00
renovate[bot]
f3a3055e08 chore(deps): update yarn to v3.6.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 12:44:15 +00:00
Philip Molares
c4dade2fc5 fix: height and width of history table button
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 14:44:04 +02:00
renovate[bot]
585e1989e1 chore(deps): update dependency @types/node to v20.8.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 14:39:13 +02:00
Philip Molares
d43da06ec1 refactor: remove dropbox, facebook & twitter login
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 13:28:37 +02:00
Erik Michelson
29bf32b76f enhancement: use isLoggedIn hook
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 12:34:34 +02:00
Erik Michelson
3dfad0cea5 enhancement: use isLoggedIn hook
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 12:34:34 +02:00
Erik Michelson
8e10fb6804 fix: show new note button only dependent on guest access
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 12:34:34 +02:00
renovate[bot]
7915da91a8 fix(deps): update dependency @reduxjs/toolkit to v1.9.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 00:17:30 +00:00
renovate[bot]
861eec4358 chore(deps): update dependency @types/react to v18.2.25
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 22:42:06 +00:00
renovate[bot]
b2cb978dec chore(deps): update dependency @types/react-dom to v18.2.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 20:12:13 +00:00
renovate[bot]
2b27bd27b9 chore(deps): update dependency @types/react-dom to v18.2.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 17:14:31 +00:00
renovate[bot]
43b83c29cd fix(deps): update dependency @uiw/react-codemirror to v4.21.19
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 17:13:06 +00:00
renovate[bot]
1b3eec3eba chore(deps): update dependency eslint-config-next to v13.5.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 04:09:51 +00:00
renovate[bot]
3a4b611cf5 fix(deps): update dependency vega-lite to v5.15.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 22:47:05 +00:00
renovate[bot]
9cb8ccb887 fix(deps): update dependency katex to v0.16.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 22:46:34 +00:00
renovate[bot]
5e839f9816 chore(deps): update typescript-eslint monorepo to v6.7.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 19:17:25 +00:00
Tilman Vatteroth
5a1edea00a fix(iframe-loader): add fallback for iframe loading
Some browsers (mostly cypress's chrome) doesn't execute
the onLoad callback automatically on the iframe.
The fallback is a timer that triggers this after a timeout of 500ms.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-02 09:13:30 +02:00
Tilman Vatteroth
62abd9cbe0 fix: don't double load iframe content
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-02 09:13:30 +02:00
Tilman Vatteroth
d5455f7c33 fix: include uuid in iframe communicator logger
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-02 09:13:30 +02:00
renovate[bot]
06d5396714 chore(deps): update dependency @types/react to v18.2.24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 12:49:02 +00:00
renovate[bot]
969456b28e fix(deps): update dependency react-redux to v8.1.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 04:30:38 +00:00
renovate[bot]
bddab7c664 chore(deps): update node.js to 37750e5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-30 01:12:33 +00:00
renovate[bot]
ab27d96434 chore(deps): update dependency eslint-plugin-jest to v27.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 23:03:41 +00:00
renovate[bot]
899aeddc02 chore(deps): update node.js to 6f52984
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 22:59:20 +00:00
renovate[bot]
55aa522c9f chore(deps): update dependency @types/node to v20.7.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 17:33:55 +00:00
renovate[bot]
38896300ac chore(deps): update node.js to a348d50
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 05:26:00 +00:00
renovate[bot]
771ab8be63 chore(deps): update dependency cypress to v13.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-28 17:04:54 +02:00
renovate[bot]
bfaa10e8ed fix(deps): update dependency dompurify to v3.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-28 11:17:16 +00:00
renovate[bot]
d307693b82 chore(deps): update dependency @types/node to v20.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 21:26:56 +00:00
renovate[bot]
381b0f10a4 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 14:53:11 +00:00
renovate[bot]
c81d86d21b chore(deps): update dependency @types/react-dom to v18.2.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 09:54:41 +00:00
renovate[bot]
6f9ab03ebd chore(deps): update dependency @types/node to v20.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 08:30:29 +02:00
renovate[bot]
530203b58d fix(deps): update dependency react-bootstrap to v2.9.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 08:30:08 +02:00
renovate[bot]
150ec672c6 chore(deps): update dependency markdown-it to v13.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 20:07:40 +00:00
renovate[bot]
a3e5b50e24 chore(deps): update dependency @types/react to v18.2.23
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 17:57:11 +00:00
renovate[bot]
37ccd9ba67 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 21:48:25 +00:00
renovate[bot]
b99e8a9123 chore(deps): update typescript-eslint monorepo to v6.7.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 20:29:36 +00:00
renovate[bot]
49c1fa5742 chore(deps): update dependency eslint-config-next to v13.5.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 17:30:02 +00:00
renovate[bot]
bc6d35e6a2 chore(deps): update dependency @codemirror/view to v6.20.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 09:48:58 +00:00
renovate[bot]
51053939f4 fix(deps): update dependency @reduxjs/toolkit to v1.9.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 00:46:22 +00:00
Erik Michelson
1199db4692 enhancement(login): add redirectBackTo parameter to login button
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-09-25 00:13:43 +02:00
Erik Michelson
1207ce7690 fix(frontend-config): use guest access level instead of allowAnonymous
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-09-24 23:19:12 +02:00
Tilman Vatteroth
56643ffd85 feat: merge login, register and intro page
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-24 22:12:39 +02:00
renovate[bot]
76ef2511e7 chore(deps): update dependency @types/node to v20.6.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-24 20:12:16 +00:00
renovate[bot]
804fa325fb chore(deps): update dependency @types/d3-graphviz to v2.6.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-24 09:47:38 +00:00
renovate[bot]
cdf171141b chore(deps): update dependency eslint to v8.50.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-24 11:46:34 +02:00
renovate[bot]
30b68b3108 chore(deps): update dependency eslint-plugin-testing-library to v6.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-24 09:45:38 +00:00
Tilman Vatteroth
a1a09f07d0 fix(frontend): fix type mismatch in revision-viewer.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-24 09:00:37 +00:00
renovate[bot]
41fb6f9e2e chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-24 09:00:37 +00:00
renovate[bot]
a608c64248 chore(deps): update dependency @codemirror/view to v6.20.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 12:53:33 +00:00
renovate[bot]
c40a0a2609 fix(deps): update dependency sass to v1.68.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 11:12:49 +02:00
renovate[bot]
e02be09373 fix(deps): update dependency @uiw/react-codemirror to v4.21.18
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 08:56:53 +00:00
Tilman Vatteroth
b72411a021 fix(frontend): type of revision-viewer.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-22 08:35:17 +00:00
renovate[bot]
cf1232d5d2 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 08:35:17 +00:00
renovate[bot]
f9982935f9 chore(deps): update dependency @testing-library/cypress to v10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 09:30:37 +02:00
renovate[bot]
472c3fa91b chore(deps): update dependency @codemirror/view to v6.20.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 09:17:54 +02:00
renovate[bot]
c7066bfc14 chore(deps): update dependency eslint-config-next to v13.5.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 19:18:53 +00:00
renovate[bot]
8d199259ae chore(deps): update dependency @codemirror/language to v6.9.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 19:10:51 +00:00
renovate[bot]
9666a52f5f fix(deps): update dependency reveal.js to v4.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 13:34:30 +02:00
renovate[bot]
a87f62007d fix(deps): update dependency vega-lite to v5.15.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 13:18:44 +02:00
renovate[bot]
25162c8d91 fix(deps): update dependency sass to v1.67.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 13:12:28 +02:00
renovate[bot]
85226c8474 chore(deps): update node.js to a329b14
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 11:09:39 +00:00
renovate[bot]
5d026611b3 fix(deps): update dependency ws to v8.14.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 06:47:47 +00:00
renovate[bot]
f23a062161 chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 08:46:20 +02:00
renovate[bot]
048f79e42d chore(deps): update typescript-eslint monorepo to v6.7.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 18:41:39 +00:00
renovate[bot]
591a9a78d4 fix(deps): update dependency sharp to v0.32.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 18:41:18 +00:00
renovate[bot]
01626a25ce chore(deps): update dependency yjs to v13.6.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 18:36:24 +00:00
renovate[bot]
877e9b7eef chore(deps): update dependency @codemirror/view to v6.19.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 10:07:46 +02:00
renovate[bot]
196efb252c chore(deps): update dependency cypress to v13.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 10:07:11 +02:00
renovate[bot]
e3be26176e chore(deps): update dependency @testing-library/user-event to v14.5.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 10:06:34 +02:00
renovate[bot]
2dd5e01491 fix(deps): update dependency uuid to v9.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 20:09:20 +00:00
renovate[bot]
ec5e588cd7 fix(deps): update dependency bootstrap to v5.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 20:06:13 +00:00
renovate[bot]
ca06863e82 chore(deps): update dependency @types/jest to v29.5.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 19:22:04 +00:00
renovate[bot]
5ebc810d1c chore(deps): update dependency @testing-library/dom to v9.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 19:12:35 +00:00
renovate[bot]
1a63729cb5 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 19:09:12 +00:00
renovate[bot]
a79ae14827 chore(deps): update typescript-eslint monorepo to v6.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 20:45:30 +02:00
renovate[bot]
0dcc2bd375 chore(deps): update test packages to v29.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 20:44:48 +02:00
renovate[bot]
bdb44fe15d chore(deps): update node.js to d75175d
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 23:06:54 +00:00
renovate[bot]
40c8b879b5 chore(deps): update node.js to 2897b01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 19:38:57 +00:00
renovate[bot]
217efb60fa chore(deps): update dependency @codemirror/view to v6.18.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 13:14:22 +00:00
Tilman Vatteroth
11a47b6087 Revert "fix(frontend): replace expected-origin-boundary with middleware"
This reverts commit 982bc4ba

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-10 21:38:53 +02:00
Tilman Vatteroth
38b5300ea4 fix(frontend): show reconnect alert only if note has been loaded
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-09 12:11:20 +02:00
renovate[bot]
1045f34d7d chore(deps): update dependency eslint to v8.49.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 09:54:59 +02:00
renovate[bot]
dd258bb211 chore(deps): update dependency @types/node to v20.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 09:43:07 +02:00
Tilman Vatteroth
6698450461 fix(frontend): make note details in redux optional
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-09 09:40:06 +02:00
renovate[bot]
118f158ad1 fix(deps): update dependency ws to v8.14.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 16:58:06 +00:00
renovate[bot]
45cd9fc2b1 chore(deps): update dependency user-agent-data-types to v0.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 18:15:21 +02:00
renovate[bot]
ff5993b84f fix(deps): update dependency i18next to v23.5.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 18:10:34 +02:00
renovate[bot]
48ab123f71 fix(deps): update dependency ws to v8.14.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 17:38:47 +02:00
renovate[bot]
4ef57ac007 chore(deps): update dependency @codemirror/view to v6.18.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 17:38:25 +02:00
renovate[bot]
cabbf9cb13 chore(deps): update typescript-eslint monorepo to v6.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 17:37:15 +02:00
Tilman Vatteroth
8a745f3f32 fix: improve deep partial type used in tests
The deep partial type from redux had the problem that it could only be applied to records. This caused problems with primitive types and arrays.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-07 21:25:56 +02:00
Tilman Vatteroth
6263af5ee2 fix: use npm tasks instead of running turbo directly
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-07 20:57:00 +02:00
renovate[bot]
afc9c0fd51 chore(deps): update node.js to c843f4a
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 03:57:51 +00:00
renovate[bot]
f96a7035c0 chore(deps): update dependency @testing-library/jest-dom to v6.1.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 03:56:37 +00:00
renovate[bot]
1b4b4cfdc8 chore(deps): update node.js to a931961
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 00:26:28 +00:00
renovate[bot]
ebb8a7c344 fix(deps): update dependency luxon to v3.4.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 19:01:34 +00:00
renovate[bot]
c6f778c7a3 fix(deps): update dependency i18next to v23.4.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 18:53:57 +00:00
renovate[bot]
b73ed92684 fix(deps): update dependency i18next to v23.4.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 16:42:03 +00:00
Philip Molares
012e6c3649 ci: add coverage for the frontend
fixes #2945

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-09-05 18:09:45 +02:00
renovate[bot]
8d1d11e151 fix(deps): update dependency i18next to v23.4.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 16:07:27 +00:00
Erik Michelson
ad80b444ff refactor(tests): add test utils for mocking common things
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-09-05 13:05:27 +02:00
Tilman Vatteroth
b3fb1bbf30 fix: extract app bar into layout slot
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-05 12:41:26 +02:00
Tilman Vatteroth
7f5fd18e38 Revert "fix: replace class BaseUrlFromEnvExtractor"
This reverts commit 59bca4a81f.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-04 09:14:29 +02:00
Tilman Vatteroth
e3c82672cb fix: specify environment in dotenv calls
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-03 22:00:34 +02:00
Tilman Vatteroth
982bc4ba59 fix(frontend): replace expected-origin-boundary with middleware
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-03 22:00:34 +02:00
Tilman Vatteroth
94cf510736 feat(frontend): colorize terminal output of logger
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-03 22:00:34 +02:00
Tilman Vatteroth
1f0439b618 fix(frontend): move mock api files instead of removing
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-03 22:00:34 +02:00
Tilman Vatteroth
59bca4a81f fix: replace class BaseUrlFromEnvExtractor
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-03 22:00:34 +02:00
Tilman Vatteroth
8602645bea feat: migrate frontend app to nextjs app router
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-03 22:00:34 +02:00
Tilman Vatteroth
5b5dabc84e fix: increase type safety of local storage settings
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-03 22:00:34 +02:00
Tilman Vatteroth
e0dcc525fb feat: add FireFox ESR to production browserslist
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-03 22:00:34 +02:00
Tilman Vatteroth
46e1b7471d refactor: rename isMac to isAppleDevice
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-03 22:00:34 +02:00
renovate[bot]
d8a5ef3448 fix(deps): update dependency react-i18next to v13.2.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-03 06:49:39 +00:00
renovate[bot]
fb244a12dd chore(deps): update dependency @types/node to v20.5.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 23:31:27 +00:00
renovate[bot]
3488fc13bf chore(deps): update dependency cypress to v13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 16:01:24 +02:00
renovate[bot]
075170f4b6 fix(deps): update dependency @uiw/react-codemirror to v4.21.13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 12:06:21 +00:00
renovate[bot]
33d8b18902 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 12:01:44 +00:00
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]
164478ef8d chore(deps): update dependency @codemirror/view to v6.17.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 12:55:30 +02:00
renovate[bot]
fc6855c651 fix(deps): update dependency @uiw/react-codemirror to v4.21.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-29 20:16:32 +00:00
renovate[bot]
81465126fc fix(deps): update dependency react-i18next to v13.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-29 17:26:59 +00: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]
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
Tilman Vatteroth
4cb332622a feat(frontend): add build script
The build script prepares the package for a production build, builds the app, places every all needed files in a dist directory and cleans it.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-27 12:42:40 +02:00
Tilman Vatteroth
7b3c217470 fix(frontend): remove unused handler
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-27 12:42:40 +02:00
renovate[bot]
a49f119e66 fix(deps): update dependency luxon to v3.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 18:47:48 +00: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
Tilman Vatteroth
ffe48f2fd2 fix(markdown-it-plugins): migrate imported files
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-26 15:30:30 +02:00
Tilman Vatteroth
1d90013344 fix(html-to-react): migrate imported files
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-26 15:07:49 +02:00
renovate[bot]
5dc6526278 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 12:25:38 +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]
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]
29cbff9975 fix(deps): update dependency @uiw/react-codemirror to v4.21.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 09:22:25 +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
renovate[bot]
d23779d78e fix(deps): update dependency mermaid to v10.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 10:59:58 +02:00
renovate[bot]
bff7bfb86b fix(deps): update dependency i18next to v23.4.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 05:09:28 +00:00
renovate[bot]
77cffeb688 fix(deps): update dependency @uiw/react-codemirror to v4.21.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-26 05:05:42 +00: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]
fbf8067468 fix(deps): update dependency react-i18next to v13.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 19:56:09 +02:00
renovate[bot]
670094a6ce chore(deps): update dependency eslint-plugin-testing-library to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 19:55:51 +02:00
renovate[bot]
cdd0c0e0b8 chore(deps): update dependency @testing-library/jest-dom to v6.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 19:55:35 +02:00
renovate[bot]
725fe18bd3 fix(deps): update dependency luxon to v3.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 23:20:21 +00:00
renovate[bot]
a25deee4f7 fix(deps): update dependency i18next to v23.4.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 23:17:04 +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]
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]
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
Tilman Vatteroth
9e44f2b26c fix: replace exclamation mark in application error alert with SVG to ensure sizing and position
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-20 20:08:27 +02: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]
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]
aeaabe0d8d chore(deps): update nextjs monorepo to v13.4.19
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 09:39:20 +00:00
renovate[bot]
942e3f1b7a chore(deps): update dependency @testing-library/jest-dom to v6.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 09:28:04 +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]
e915624d6e chore(deps): update dependency @codemirror/language to v6.9.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 11:08:02 +02:00
renovate[bot]
c0b4e25280 fix(deps): update dependency sass to v1.66.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-19 11:06:39 +02:00
renovate[bot]
8d59dd96c7 chore(deps): update dependency eslint-config-next to v13.4.18
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-18 02:02:32 +00:00
renovate[bot]
1aa3b71964 chore(deps): update nextjs monorepo to v13.4.17
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 10:07:43 +00:00
renovate[bot]
53b220dfd2 chore(deps): update dependency eslint-config-next to v13.4.17
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 10:06:41 +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]
f56108cf42 chore(deps): update dependency cypress to v12.17.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 20:41:58 +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]
ea66dd575a fix(deps): update dependency sharp to v0.32.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 20:08:15 +00:00
renovate[bot]
2491ac9236 fix(deps): update dependency @svgr/webpack to v8.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 21:44:03 +02: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]
4005263584 chore(deps): update nextjs monorepo to v13.4.16
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 03:34:37 +00:00
renovate[bot]
21d34960f5 chore(deps): update dependency eslint-config-next to v13.4.16
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 02:28:52 +00:00
renovate[bot]
1f95ae22b2 chore(deps): update nextjs monorepo to v13.4.15
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-14 19:54:13 +00:00
renovate[bot]
1cc485d319 chore(deps): update dependency eslint-config-next to v13.4.15
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-14 19:53:28 +00:00
Tilman Vatteroth
8bc167239c refactor: use application error alert in flowchart
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-13 20:56:38 +02:00
Tilman Vatteroth
cdd368bc81 refactor: use application error alert in abc-frame
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-13 20:56:38 +02:00
Tilman Vatteroth
cb38d5dedf refactor: use application error alert in vega-lite-chart
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-13 20:56:38 +02:00
Tilman Vatteroth
9cf450a622 refactor: use application error alert in mermaid-chart
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-13 20:56:38 +02:00
Tilman Vatteroth
2c4d688abd refactor: use application error alert in katex-frame
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-13 20:56:38 +02:00
Tilman Vatteroth
6f0adfd717 refactor: use application error alert in graphviz-frame
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-13 20:56:38 +02:00
Tilman Vatteroth
804a36bdf3 fix(frontend): fix test configuration due to breaking change
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-13 20:55:10 +02:00
renovate[bot]
b40c31168d chore(deps): update dependency @testing-library/jest-dom to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-13 20:55:10 +02: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
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]
9f1233e8cb fix(deps): update dependency react-i18next to v13.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-11 17:27:48 +00:00
renovate[bot]
f247b2d6ed fix(deps): update dependency react-i18next to v13.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-11 15:52:08 +02:00
renovate[bot]
41165a2f05 fix(deps): update dependency sass to v1.65.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-11 15:51:46 +02:00
renovate[bot]
7854cffac5 chore(deps): update dependency eslint-plugin-cypress to v2.14.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-11 15:51:05 +02:00
renovate[bot]
8739c98a52 fix(deps): update dependency mermaid to v10.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-11 13:02:49 +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]
cf4970f19a fix(deps): update dependency luxon to v3.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 21:06:35 +02: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]
93562f98ec fix(deps): update dependency tlds to v1.242.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 21:05:35 +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]
94b44d2dfa chore(deps): update dependency @types/react to v18.2.20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 23:28:49 +00:00
Philip Molares
e3c7d0ae8a refactor: replace plantuml error message with a custom hedgedoc error alert
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-09 13:55:35 +02:00
renovate[bot]
ce64fa118d fix(deps): update dependency i18next to v23.4.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 11:23:53 +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]
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]
35a02cc745 fix(deps): update dependency i18next to v23.4.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 17:32:30 +00:00
renovate[bot]
c8cfebac57 chore(deps): update dependency eslint-plugin-cypress to v2.13.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 17:31:29 +00:00
renovate[bot]
a8fcfb06b7 chore(deps): update dependency @types/react to v18.2.19
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 07:16:03 +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]
770c5fba4f chore(deps): update nextjs monorepo to v13.4.13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 11:47:04 +00:00
renovate[bot]
b0b923f606 chore(deps): update dependency eslint-config-next to v13.4.13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 11:46:14 +00:00
renovate[bot]
2c8745ed74 fix(deps): update dependency i18next to v23.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 21:40:00 +00:00
Philip Molares
c6c972c56c fix(blockquote): remove extra color tag
Remove the extra color tag in a way that still makes us able to use the color tag in the blockquote

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-08-06 19:06:29 +02:00
Tilman Vatteroth
cbfed96398 fix: code formatting in mermaid-chart.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-06 11:55:34 +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]
912d92f285 fix(deps): update dependency @fontsource/source-sans-pro to v5.0.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 07:08:21 +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]
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]
d8f63dca1c fix(deps): update dependency @fontsource/source-sans-pro to v5.0.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 14:55:27 +00:00
renovate[bot]
01717f1a20 fix(deps): update dependency @fontsource/source-sans-pro to v5.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 01:49:31 +00:00
renovate[bot]
9cdbe83bb1 fix(deps): update dependency @hedgedoc/markdown-it-plugins to v2.1.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 21:35:40 +00:00
renovate[bot]
bc149ba24e fix(deps): update dependency vega-embed to v6.22.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 20:01:08 +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]
362c75c5ee fix(deps): update dependency d3-graphviz to v5.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 21:39:52 +02:00
renovate[bot]
91181032df chore(deps): update dependency @codemirror/view to v6.16.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 21:37:35 +02:00
renovate[bot]
6774b7d1b2 fix(deps): update dependency sass to v1.64.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 10:15:48 +02:00
renovate[bot]
8a805153b8 chore(deps): update dependency cypress to v12.17.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 21:53:47 +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]
350d6d0e81 fix(deps): update dependency react-i18next to v13.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 16:17:58 +00:00
Tilman Vatteroth
8e2d59ff3c fix(commons): replace microbundle with bash based compile script
The commons package ships wrong types because it is refering to the same files for the ESM and the CJS build.
See https://arethetypeswrong.github.io/?p=%40mrdrogdrog%2Foptional%401.1.0

This happens because microbundle can handle the generation of `.mjs` and `.cjs` from files itself but delegates the generation of types entirely to typescript by running it once. Microbundle uses the "type" field from the package.json to know if a `.js` file is meant to be mjs or cjs and generates the other type by using the specific file extension `.cjs` and `.mjs` (so if your package is a `type: module`, then `.js` file are interpreted as ECMAModule and if you have a commonjs file you need to name it `.cjs`).  But this causes a problem with typescript. If you use typescript with the newer module resolver then it expects the type declarations to be named exactly like the file you wanna import. So if you have a `.js` file it will try to look up types in a `.d.ts` file. If it is resolving a `.mjs` file it is looking for a `.d.mts` file.

This clashes with the types generated by microbundle because you can't use a `.mjs` file with a `.d.ts` file.

Running typescript multiple times can also be complicated.
When generating type declaration files, typescript takes a look at the source file extension. So a `.mts` file will generate a `.mjs` and a `.d.mts` file. A `.ts` will generate a `.js` and `.d.ts` file. It doesn't matter if you run microbundle on `.ts`, `.mts` or `.cjs` files, it will only generate the type declarations once.

How do you get the other type declaration? To solve this problem you either have to run typescript multiple times and manipulate the input or output data to have correct `.d.mts` / `.d.cts` files AND imports... or do what this PR changes.

It runs typescript multiple times but places the complied files in different directories. It then places a package.json in both directories which declares if `.js` is commonjs or ESM.
This way the resolver is happy because it can import `.js` files according to the package.json content and typescript is happy because it can find type declarations. And because package.json files are inheriting properties from other package.json files no necessary file is missing.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-30 14:56:29 +02:00
renovate[bot]
1155fdd248 fix(deps): update dependency @hedgedoc/markdown-it-plugins to v2.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 12:13:04 +00:00
renovate[bot]
a13d2026a0 fix(deps): update dependency @hedgedoc/markdown-it-plugins to v2.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 13:42:10 +02:00
renovate[bot]
8f26d17d30 fix(deps): update dependency @hedgedoc/html-to-react to v2.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 13:01:55 +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]
aa839c26f3 fix(deps): update dependency mermaid to v10.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-30 10:31:00 +02:00
renovate[bot]
71bf73dd76 fix(deps): update dependency i18next to v23.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 09:52:45 +02:00
renovate[bot]
47c623e228 fix(deps): update dependency @types/katex to v0.16.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 01:25:24 +00:00
renovate[bot]
85b2e04bd9 fix(deps): update dependency react-redux to v8.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-29 18:16:42 +00:00
renovate[bot]
7d92527bb8 fix(deps): update dependency @uiw/react-codemirror to v4.21.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-29 15:40:38 +00: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]
828f0e4c1d chore(deps): update dependency @types/react to v18.2.17
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-26 18:28:07 +00:00
renovate[bot]
cd71313a31 fix(deps): update dependency bootstrap to v5.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-26 09:42:37 +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]
7908158b6b chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 23:24:25 +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]
d9447b45ac chore(deps): update dependency @types/markdown-it-container to v2.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 18:17:12 +00:00
Avinash
a948493410 feat(frontend): delete revision
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-07-24 20:05:10 +02: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]
a7822c9710 fix(deps): update dependency vega-lite to v5.14.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-22 11:44:06 +02:00
renovate[bot]
b7bee33d85 fix(deps): update dependency sass to v1.64.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-22 04:57:12 +00:00
renovate[bot]
b24a4da322 fix(deps): update dependency @uiw/react-codemirror to v4.21.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-22 01:13:44 +00: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]
3764e37c6f chore(deps): update nextjs monorepo to v13.4.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 22:06:16 +00:00
renovate[bot]
dd79b342da chore(deps): update dependency eslint-config-next to v13.4.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 22:03:23 +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]
2e00dcf839 fix(deps): update dependency sass to v1.64.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 23:48:41 +02:00
renovate[bot]
523f86e0ec fix(deps): update dependency sharp to v0.32.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 13:48:04 +00:00
renovate[bot]
a97a4607e9 chore(deps): update nextjs monorepo to v13.4.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 06:25:49 +00:00
renovate[bot]
6b5c83d02a chore(deps): update dependency eslint-config-next to v13.4.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 06:24:44 +00:00
renovate[bot]
371f193fbd chore(deps): update dependency @types/luxon to v3.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 01:03:57 +00:00
renovate[bot]
02f2d57f12 chore(deps): update dependency cypress to v12.17.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 18:59:01 +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]
310f751deb chore(deps): update dependency @testing-library/jest-dom to v5.17.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-18 23:32:13 +02:00
renovate[bot]
2f20af4ea5 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-18 23:31:40 +02: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]
b59cb8efb0 fix(deps): update dependency sharp to v0.32.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-14 16:09:21 +00:00
renovate[bot]
fa30fee194 chore(deps): update dependency eslint-config-next to v13.4.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-14 13:23:53 +00:00
renovate[bot]
0c4fa514ba chore(deps): update nextjs monorepo to v13.4.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-14 13:22:58 +00:00
renovate[bot]
a7dd86b8d0 chore(deps): update dependency @types/react to v18.2.15
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 17:51:32 +00: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]
8b93c0d542 chore(deps): update dependency @types/react-dom to v18.2.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 19:51:32 +00:00
renovate[bot]
0e65c537d4 fix(deps): update dependency i18next to v23.2.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 19:51:15 +00:00
renovate[bot]
418c3de2f4 fix(deps): update dependency @types/katex to v0.16.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 15:39:40 +00:00
renovate[bot]
3efcf64758 fix(deps): update dependency i18next to v23.2.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 07:37:14 +00:00
renovate[bot]
92b02c3000 fix(deps): update dependency i18next to v23.2.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 21:59:19 +00:00
renovate[bot]
0518a3a53d chore(deps): update dependency @types/testing-library__jest-dom to v5.14.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:30:57 +00:00
renovate[bot]
90ed3f99df fix(deps): update dependency sharp to v0.32.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:29:42 +00:00
Tilman Vatteroth
6abf3aefbd fix: add new slogan
https://community.hedgedoc.org/t/and-the-new-slogan-is/1082

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-11 21:17:19 +02:00
renovate[bot]
69eb91c73a fix(deps): update dependency dompurify to v3.0.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 08:21:29 +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]
2872de7e57 chore(deps): update dependency cypress to v12.17.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-10 22:59:18 +00:00
renovate[bot]
57a9bbcd05 fix(deps): update dependency react-i18next to v13.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-10 19:02:36 +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
Philip Molares
82f534f7b0 fix(frontend): use correct translations for privacy and term of use links
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-07-09 12:30:51 +02:00
renovate[bot]
618289b52e fix(deps): update dependency @fontsource/source-sans-pro to v5.0.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-09 06:14:05 +00:00