Commit graph

1128 commits

Author SHA1 Message Date
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