Commit graph

586 commits

Author SHA1 Message Date
Erik Michelson
5e1e773859 fix(profile): show correct error messages
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-31 16:46:40 +02:00
renovate[bot]
ae58cab019 chore(deps): update dependency typescript to v5.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-31 15:43:28 +02:00
Erik Michelson
a6671772f2 fix(logout): redirect to login page
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-30 22:19:45 +02:00
renovate[bot]
dccb434f92 chore(deps): update node.js to 47d97b9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 12:33:19 +00:00
renovate[bot]
b019c392b6 chore(deps): update node.js to f1402c1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-30 09:20:48 +02:00
renovate[bot]
85fb1783e0 chore(deps): update node.js to 50437be
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 01:50:50 +00:00
Erik Michelson
8a66031ff3 fix: editorconfig
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-29 22:21:03 +02:00
Erik Michelson
4e3c1ede0e misc: remove features page buttons
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-29 21:25:09 +02:00
renovate[bot]
d45ab1eb29 chore(deps): update dependency eslint-plugin-cypress to v2.13.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 15:57:43 +02:00
renovate[bot]
d0f2b0a471 chore(deps): update dependency eslint to v8.37.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 15:09:22 +02:00
renovate[bot]
2f1c6d3033 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 02:25:00 +02:00
Tilman Vatteroth
598fc8ee11 feat(realtime): synchronize and show realtime activity state
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-29 01:16:43 +02:00
Tilman Vatteroth
9497726a7c feat(frontend): show indicator in document title for background changes
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-29 01:16:43 +02:00
Erik Michelson
336e621bc4 fix(cursor): cursor text being hidden when at start of line
Addiotionally, the cursor's font was not defined and therefore was styled in the browser's default font

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-29 01:16:09 +02:00
renovate[bot]
3dbc07d25a chore(deps): update dependency cypress to v12.9.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 00:26:20 +02:00
renovate[bot]
843f4ed930 chore(deps): update dependency eslint-plugin-cypress to v2.13.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-28 22:52:17 +02:00
Tilman Vatteroth
972ec8c9c5 feat(realtime): disconnect user on user login status change
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-28 21:05:12 +02:00
Tilman Vatteroth
9b9eafc948 feature: add button to open cheatsheet in a new tab
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-28 20:38:25 +02:00
Tilman Vatteroth
438a5466e0 fix: show modal close button with correct color in dark mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-28 20:38:25 +02:00
renovate[bot]
3dc60407b6 fix(deps): update dependency @uiw/react-codemirror to v4.19.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-28 11:46:39 +02:00
renovate[bot]
2428b50b74 chore(deps): update dependency @codemirror/language-data to v6.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 11:35:01 +02:00
renovate[bot]
b60ccfe3d4 fix(deps): update dependency react-bootstrap-typeahead to v6.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-28 10:20:03 +02:00
renovate[bot]
a135f1379b chore(deps): update dependency @types/react to v18.0.30
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-27 22:08:24 +02:00
renovate[bot]
4d749fb480 chore(deps): update typescript-eslint monorepo to v5.57.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 19:58:01 +02:00
renovate[bot]
cdbf64bc92 fix(deps): update dependency abcjs to v6.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 12:24:40 +02:00
David Mehren
f7f052fca1 refactor: use separate env vars for frontend/backend port
As we moved to a combined .env file for simplicity, frontend and backend need to be configured with separate variables.

Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-26 15:53:49 +02:00
David Mehren
55f3bd9b60 refactor: move .env file to repo root
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-26 15:53:49 +02:00
Erik Michelson
ca9836d691 enhancement(auth): better error message handling
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-26 15:43:39 +02:00
Philip Molares
8e57188ab5 refactor(common): extract frontmatter code into commons
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-26 14:58:38 +02:00
Philip Molares
8bd7fd1be8 refactor(common): extract frontmatter code into commons
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-26 14:58:38 +02:00
renovate[bot]
37c57d67f0 chore(deps): update dependency @types/node to v18.15.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-26 09:17:34 +02:00
Tilman Vatteroth
b4f73c0f49 fix: convert realtime connection dialog into alert
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-25 16:41:25 +01:00
Erik Michelson
97389fe0c4 fix: useTranslation hook in react components
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-25 16:14:03 +01:00
Philip Molares
8d497bcfc5 feat(frontend): show own user in UsersOnlineSidebarMenu
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 15:27:38 +01:00
Erik Michelson
61032cb745 feat(editor): add basic codemirror autocompletion suggestions
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-25 15:13:24 +01:00
Philip Molares
4956a99ced refactor(frontend/commons): rename .test files to .spec
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 15:02:29 +01:00
Tilman Vatteroth
24b7514e25 feat: submit own style index on realtime user state set
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-25 13:11:40 +01:00
Philip Molares
d7af10e4f4 test(cypress): fix owner of notes
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 12:59:58 +01:00
Philip Molares
759c906506 feat(frontend): deactivate delete note button if user is not owner
This button and its functionality only works if the user is the owner, so it doesn't make sense to make it possible to press it otherwise…

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 12:59:58 +01:00
Philip Molares
e7e81cf670 feat(frontend): deactivate permissions buttons if user is not owner
These buttons and their functionality only work if the user is the owner, so it doesn't make sense to make it possible to press them otherwise…

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 12:59:58 +01:00
Philip Molares
09e56a418e feat(frontend): deactivate alias buttons if user is not owner
These buttons and their functionality only work if the user is the owner, so it doesn't make sense to make it possible to press them otherwise…

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 12:59:58 +01:00
Philip Molares
107ec7a522 feat(frontend): add isOwner hook
This hook is used to determine if the current user is the owner of the note

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 12:59:58 +01:00
renovate[bot]
72840f0568 fix(deps): update dependency @svgr/webpack to v7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-25 12:42:28 +01:00
Erik Michelson
b9f7e12c38 fix(landing-layout): links in the user-dropdown not working
We use a custom component for rendering the link (Dropdown.Item), therefore we need to set both passHref and legacyBehavior

See: https://nextjs.org/docs/api-reference/next/link#if-the-child-is-a-custom-component-that-wraps-an-a-tag
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-25 11:32:55 +01:00
renovate[bot]
620f55d1fe fix(deps): update dependency sharp to v0.32.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-25 10:27:44 +01:00
renovate[bot]
6aa1ac6861 chore(deps): update dependency @testing-library/dom to v9.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-25 10:27:26 +01:00
renovate[bot]
ed753d7955 fix(deps): update dependency @uiw/react-codemirror to v4.19.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-25 10:07:20 +01:00
renovate[bot]
da8424abdf chore(deps): update dependency @types/node to v18.15.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-25 10:07:12 +01:00
renovate[bot]
9ed4e1ef08 chore(deps): update dependency @types/react to v18.0.29
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 18:23:44 +01:00
Tilman Vatteroth
a826677225 refactor: save ydoc state in the database, so it can be restored easier
By storing the ydoc state in the database we can reconnect lost clients easier
and enable offline editing because we continue using the crdt data that has been
used by the client before the connection loss.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-24 16:03:55 +01:00
Tilman Vatteroth
c1a816be36 fix: prevent splitter panels from being selected when resizing
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-24 14:45:57 +01:00
Tilman Vatteroth
e97a426680 refactor: split avatar component to handle displaynames
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-24 14:06:03 +01:00
Tilman Vatteroth
3a06f84af1 refactor: reimplement realtime-communication
This commit refactors a lot of things that are not easy to separate.
It replaces the binary protocol of y-protocols with json.
It introduces event based message processing.
It implements our own code mirror plugins for synchronisation of content and remote cursors

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-24 14:06:03 +01:00
renovate[bot]
1219d83bc8 chore(deps): update dependency prettier to v2.8.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-24 12:16:22 +01:00
renovate[bot]
c1e085487b chore(deps): update dependency @types/node to v18.15.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-24 12:15:17 +01:00
renovate[bot]
8f6c4ec7d3 fix(deps): update dependency sass to v1.60.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-24 09:45:48 +01:00
renovate[bot]
3a441caf5e chore(deps): update dependency @types/node to v18.15.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 23:43:57 +00:00
renovate[bot]
f0996c218c chore(deps): update dependency @types/diff to v5.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-23 19:23:15 +01:00
renovate[bot]
fa4b695331 fix(deps): update dependency htmlparser2 to v8.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-23 08:52:35 +01:00
renovate[bot]
a015655406 fix(deps): update dependency yjs to v13.5.51
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-22 13:53:17 +01:00
renovate[bot]
7f537f7617 chore(deps): update dependency prettier to v2.8.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 13:45:04 +01:00
renovate[bot]
8c694baeb4 chore(deps): update dependency @codemirror/view to v6.9.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 13:44:44 +01:00
renovate[bot]
b0d182f7fb chore(deps): update typescript-eslint monorepo to v5.56.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 10:01:30 +01:00
renovate[bot]
1bbc0d0f61 chore(deps): update dependency eslint-config-prettier to v8.8.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 10:01:15 +01:00
renovate[bot]
f1f49ad440 fix(deps): update i18next
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 10:00:29 +01:00
renovate[bot]
7a77df6c0d fix(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 04:37:15 +00:00
renovate[bot]
bb87c5f82c chore(deps): update dependency prettier to v2.8.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-20 11:03:16 +01:00
Tilman Vatteroth
c37cafb635 fix: exclude the link icon from the first heading extraction text
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-20 10:21:17 +01:00
Tilman Vatteroth
f78fd69bf4 fix: replace bootstrap icon html with utf-8 icon
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-19 21:02:19 +01:00
Tilman Vatteroth
083da302af fix: fix missing key in meta og:title
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-19 21:00:54 +01:00
David Mehren
fe3ed17610 build: enable frontend source maps
Currently, frontend stack traces are unhelpful in production builds, because they only include minified code.

By enabling source maps for production builds, we enhance debuggability and error-reports.

Ref: https://nextjs.org/docs/advanced-features/source-maps
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-19 20:44:57 +01:00
renovate[bot]
45638b7456 chore(deps): update dependency typescript to v5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-18 22:15:01 +01:00
renovate[bot]
875dab9a35 fix(deps): update dependency tlds to v1.238.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-18 14:19:37 +01:00
renovate[bot]
678b90ec97 fix(deps): update dependency i18next to v22.4.12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 09:03:28 +01:00
renovate[bot]
173406215c chore(deps): update yarn to v3.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 09:01:42 +01:00
renovate[bot]
a452f393ae fix(deps): update dependency deepmerge to v4.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 00:23:14 +00:00
renovate[bot]
35ba072a91 chore(deps): update dependency @types/jest to v29.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-16 19:28:01 +01:00
Tilman Vatteroth
24b0070909 fix(cheatsheet): refactor cheatsheet to use app extensions as source
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-16 17:51:21 +01:00
Tilman Vatteroth
9d49401b4d fix(renderer): merge similar renderer types
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-16 17:51:21 +01:00
Tilman Vatteroth
958b23e25a refactor(renderer): convert html/markdown-to-react converters from hooks to components
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-16 08:28:37 +01:00
renovate[bot]
0457a633cc chore(deps): update dependency cypress to v12.8.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-16 03:31:31 +00:00
renovate[bot]
07f6753110 chore(deps): update dependency @types/jest to v29.4.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-16 01:03:44 +00:00
renovate[bot]
73a29d88cc chore(deps): update dependency @types/jest to v29.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 21:41:39 +01:00
renovate[bot]
e1e01c0c44 chore(deps): update dependency @types/jest to v29.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 10:50:43 +01:00
renovate[bot]
79b205b84d fix(deps): update dependency sass to v1.59.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 02:17:51 +00:00
renovate[bot]
a9e3fbd8ee chore(deps): update dependency cypress to v12.8.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 20:47:08 +01:00
renovate[bot]
7a441f3f2a chore(deps): update dependency @types/jest to v29.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 16:53:29 +01:00
renovate[bot]
1a6082793f chore(deps): update dependency @types/dompurify to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 16:39:29 +01:00
renovate[bot]
1ad55278b7 chore(deps): update dependency @types/node to v18.15.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 16:38:14 +01:00
renovate[bot]
ae1fef26c3 chore(deps): update typescript-eslint monorepo to v5.55.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 16:33:53 +01:00
renovate[bot]
074f7b2e9b chore(deps): update node.js to ffc770c
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 10:17:22 +00:00
renovate[bot]
4be9277b47 fix(deps): update dependency @hedgedoc/html-to-react to v1.4.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-13 15:47:12 +01:00
renovate[bot]
b832e14890 chore(deps): update dependency @types/node to v18.15.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-13 09:30:38 +01:00
renovate[bot]
e2a3bad70b fix(deps): update dependency vega to v5.24.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 21:57:13 +01:00
renovate[bot]
999f2fc15a fix(deps): update dependency tlds to v1.237.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 21:57:13 +01:00
renovate[bot]
b74cf5e725 fix(deps): update dependency sass to v1.59.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 21:57:13 +01:00
renovate[bot]
65b0ffcb1f fix(deps): update dependency ws to v8.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 21:57:13 +01:00
renovate[bot]
2a0bba6a7f chore(deps): update dependency @types/node to v18.15.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 21:50:11 +01:00
renovate[bot]
3ca0e3bfd4 chore(deps): update test packages to v29.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 20:51:41 +01:00
renovate[bot]
c44c8b6477 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 20:51:24 +01:00
renovate[bot]
530a75c677 fix(deps): update dependency i18next to v22.4.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 14:34:46 +01:00
renovate[bot]
3b0bcec075 fix(deps): update dependency yjs to v13.5.50
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 14:17:56 +01:00
renovate[bot]
4f1c3a6ebd chore(deps): update typescript-eslint monorepo to v5.54.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 14:14:54 +01:00
renovate[bot]
8b8bedeb96 chore(deps): update nextjs monorepo to v13.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 09:16:03 +01:00
renovate[bot]
9d8a972a3c chore(deps): update node.js to f605fcd
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 09:01:26 +01:00
renovate[bot]
9c875843fa chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 09:01:15 +01:00
renovate[bot]
0244118189 chore(deps): update dependency @testing-library/dom to v9.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 09:00:48 +01:00
renovate[bot]
6407af1217 chore(deps): update dependency eslint-config-next to v13.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 09:00:31 +01:00
Tilman Vatteroth
aa6bd2a884 fix: deduplicate different buttons
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-08 21:23:48 +01:00
Tilman Vatteroth
160f0f8297 fix: fixes sizing problems of icon buttons
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-08 21:23:48 +01:00
Tilman Vatteroth
e0a80cf06a fix(frontend): fix loading screen animation
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-08 21:23:48 +01:00
Tilman Vatteroth
70d1df7fb7 fix(frontend): increase visibility of text in click shield
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-08 21:23:48 +01:00
Tilman Vatteroth
a124ef566b fix(frontend): remove apple emojis and use only twemoji
This makes the display of emojis more consistent between macos and non-macos systems.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-08 21:23:48 +01:00
Tilman Vatteroth
11b48edca1 fix(frontend): extract codemirror extension for ref update into hook
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-08 18:30:10 +01:00
Tilman Vatteroth
f8e35e6746 feat(frontend): add size property to wait spinner component
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-08 17:44:39 +01:00
Tilman Vatteroth
a50ac40ae6 feat(editor): extract the spell check codemirror extension into separate hook
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-08 17:43:34 +01:00
renovate[bot]
25fbfdbea8 fix(deps): update dependency luxon to v3.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-06 15:59:32 +01:00
renovate[bot]
0af0180981 chore(deps): update dependency @codemirror/lint to v6.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-05 18:47:21 +01:00
renovate[bot]
7a7c83d934 chore(deps): update typescript-eslint monorepo to v5.54.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-05 18:38:34 +01:00
renovate[bot]
e776719710 fix(deps): update dependency react-bootstrap-typeahead to v6.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 13:50:26 +01:00
renovate[bot]
7002157880 fix(deps): update dependency mermaid to v10.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 13:46:50 +01:00
renovate[bot]
e0144f8769 fix(deps): update dependency yjs to v13.5.48
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 13:20:44 +01:00
renovate[bot]
21bc3a1332 fix(deps): update dependency dompurify to v3.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 12:02:13 +01:00
renovate[bot]
8a09cb8f0d fix(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 12:01:02 +01:00
renovate[bot]
51c89bfd83 chore(deps): update dependency eslint-config-next to v13.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 12:00:45 +01:00
renovate[bot]
f367dfcfa5 chore(deps): update nextjs monorepo to v13.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 12:00:35 +01:00
renovate[bot]
ba3ebd296a chore(deps): update node.js to f8a51c3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 10:39:44 +00:00
renovate[bot]
40a7796981 fix(deps): update dependency vega to v5.23.0 [security]
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-03 16:34:51 +01:00
Tilman Vatteroth
86de2924bc fix(docker): fix yarn cache folder
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-02 21:33:14 +01:00
renovate[bot]
7394f274dc chore(deps): update dependency @types/node to v18.14.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-27 01:29:01 +00:00
Tilman Vatteroth
eb3340d735 fix(frontend): migrate mermaid chart
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-26 13:06:47 +01:00
renovate[bot]
810ec92530 fix(deps): update dependency mermaid to v10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-26 13:06:47 +01:00
renovate[bot]
a5102954d2 chore(deps): update dependency eslint to v8.35.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-26 12:57:35 +01:00
renovate[bot]
7ed0936901 fix(deps): update dependency react-bootstrap-typeahead to v6.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-26 12:56:33 +01:00
renovate[bot]
7754f7fdd5 chore(deps): update nextjs monorepo to v13.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 21:06:36 +01:00
renovate[bot]
64a19cadfb fix(deps): update dependency react-i18next to v12.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 20:08:22 +01:00
renovate[bot]
74ffe2480e chore(deps): update dependency eslint-config-next to v13.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 20:06:41 +01:00
renovate[bot]
6233a30687 chore(deps): update dependency cypress to v12.7.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 20:06:11 +01:00
renovate[bot]
565000446e fix(deps): update dependency yjs to v13.5.47
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 19:13:32 +01:00
renovate[bot]
5bc6acde07 fix(deps): update dependency emoji-picker-element to v1.16.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 19:12:15 +01:00
renovate[bot]
9b82e0cce7 chore(deps): update typescript-eslint monorepo to v5.53.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 17:37:48 +01:00
renovate[bot]
a85a5d0d80 fix(deps): update dependency i18next-resources-to-backend to v1.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 13:58:03 +01:00
renovate[bot]
5f9890ce91 fix(deps): update dependency @reduxjs/toolkit to v1.9.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 13:48:17 +01:00
renovate[bot]
d1389c5c54 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 13:47:50 +01:00
renovate[bot]
aaba20e22d chore(deps): update node.js to 0d2712a
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 09:21:23 +00:00
Philip Molares
1c16e25e14 feat(frontend): replace forkawesome with bootstrap icons
These icon replace fork awesome. A linter informs the user about the deprecation.

See https://github.com/hedgedoc/hedgedoc/issues/2929

Co-authored-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-24 14:31:17 +01:00
Tilman Vatteroth
34b6308cee fix(frontend): replace blockquote extra cypress test with jest test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-22 10:16:24 +01:00
Erik Michelson
08eaff862d enhancement(dockerfiles): add/update oci labels
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-21 13:09:32 +01:00
Tilman Vatteroth
eac2a7b23e fix(frontend): use "action" prop in revisions list
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-21 11:17:48 +01:00
Philip Molares
7fb02c96e6 refactor(frontend): title for common modal via titleI18nKey or title prop
This is mainly needed because we use the common modal to show image light boxes and the title is then the title or alt text of the image

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-02-19 22:04:40 +01:00
Philip Molares
f24c46101b refactor(frontend): remove unused TranslatedIconButton
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-02-19 21:31:58 +01:00
renovate[bot]
e3a6f40022 fix(deps): update dependency dompurify to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:18:28 +01:00
renovate[bot]
621c410b5d fix(deps): update dependency mermaid to v9.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:17:09 +01:00
renovate[bot]
5ddce7a316 chore(deps): update typescript-eslint monorepo to v5.52.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:14:22 +01:00
renovate[bot]
ae68fd879c chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:06:52 +01:00
renovate[bot]
7e4b7680bc chore(deps): update testing-library
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:06:08 +01:00
renovate[bot]
6b24399668 chore(deps): update dependency @types/node to v18.14.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:04:22 +01:00
renovate[bot]
77e594ce14 chore(deps): update dependency cypress to v12.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:04:06 +01:00
renovate[bot]
6e98c20f73 fix(deps): update vega
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 04:25:29 +00:00
renovate[bot]
0848792af0 chore(deps): update test packages to v29.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:42:18 +00:00
renovate[bot]
2c76ab1214 chore(deps): update node.js to 045b1a1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:58:54 +01:00
renovate[bot]
378799d3b5 fix(deps): update dependency markdown-it-anchor to v8.6.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:57:49 +01:00
renovate[bot]
2b31807cdd fix(deps): update dependency yjs to v13.5.46
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:54:27 +01:00
renovate[bot]
9a41f87bd9 fix(deps): update dependency ws to v8.12.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:50:25 +01:00
renovate[bot]
57aad0ffa2 fix(deps): update dependency react-bootstrap to v2.7.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:47:35 +01:00
renovate[bot]
a6d4ea492f chore(deps): update dependency eslint-plugin-testing-library to v5.10.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:46:49 +01:00
renovate[bot]
5c707ecfde fix(deps): update dependency sass to v1.58.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:50:25 +01:00
renovate[bot]
84eb8d0d00 chore(deps): update dependency @types/react-dom to v18.0.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:05:01 +01:00
renovate[bot]
8dc7190140 fix(deps): update dependency dompurify to v2.4.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:02:55 +01:00
renovate[bot]
9360e9553e fix(deps): update dependency i18next to v22.4.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:01:45 +01:00
renovate[bot]
40ddf2a7c6 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 16:09:12 +01:00
renovate[bot]
aadedb698a fix(deps): update dependency abcjs to v6.1.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 14:34:26 +01:00
Erik Michelson
97216e78ff fix(tests): add license field to frontmatter
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-18 14:05:56 +01:00
Erik Michelson
90ae3e2e75 test(e2e): add cypress test for license frontmatter
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-13 18:10:51 +01:00
Erik Michelson
cf34df21b7 feat: add license frontmatter field for link header
This commit adds the "license" frontmatter property which sets a link with the "license" relation in the head of the HTML page.
Furthermore, this commit restructures the other head elements for a note altogether into a single component that can be used to inject all head elements at once.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-13 18:10:51 +01:00
Tilman Vatteroth
91e7056882 fix(frontend e2e): name of iframe capsule test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-13 18:06:17 +01:00
Tilman Vatteroth
57bfca7b15 fix(frontend): refactor api error handling
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-12 22:10:31 +01:00
Tilman Vatteroth
32127b14cb fix: move nvmrc into root directory
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-12 22:10:31 +01:00
renovate[bot]
acb920a4b6 fix(deps): update dependency @uiw/react-codemirror to v4.19.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-12 11:59:10 +01:00
renovate[bot]
3e8756ed54 chore(deps): update dependency @types/react to v18.0.28
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 19:44:05 +00:00
renovate[bot]
d0776f8620 chore(deps): update node.js to 45748c3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 17:30:06 +00:00
renovate[bot]
35d02a945f chore(deps): update dependency eslint to v8.34.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:43:28 +01:00
renovate[bot]
f34e0ac588 fix(deps): update dependency @uiw/react-codemirror to v4.19.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:34:56 +01:00
renovate[bot]
51049b7c36 fix(deps): update dependency react-bootstrap to v2.7.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:27:38 +01:00
renovate[bot]
47f1ad69b7 chore(deps): update dependency @types/node to v18.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:12:21 +01:00
renovate[bot]
18c458a759 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:12:07 +01:00
renovate[bot]
4d1d9b7815 chore(deps): update typescript-eslint monorepo to v5.51.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:07:26 +01:00
renovate[bot]
ac572a2fbb chore(deps): update test packages to v29.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:40:36 +01:00
renovate[bot]
a5dffe603e chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:28:46 +01:00
renovate[bot]
f0d564cb4c chore(deps): update node.js to bfc56a6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:28:26 +01:00
Tilman Vatteroth
caa53e3556 feat: add patch to add generic types to eventemitter2
EventEmitter2 has types, but they're very basic and not very type safe.
I created this patch, because my improved types haven't been merged into the official package.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 21:58:41 +01:00
Tilman Vatteroth
11c2f57e4b fix(commons): extract name of markdown content yjs channel into the commons package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 15:43:59 +01:00
Tilman Vatteroth
3ca64e84e1 fix(docker): fix workspace focus command
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 22:10:48 +01:00
Erik Michelson
305b6f5910 misc: add turbo monorepo util
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: David Mehren <git@herrmehren.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
Tilman Vatteroth
e3512d3a87 chore: remove renovate.json from frontend
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
Tilman Vatteroth
3f8771a15e fix(frontend): simplify asciinema regex
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-06 12:35:45 +01:00
renovate[bot]
397fe2f7a1 fix(deps): update dependency deepmerge to v4.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:41:27 +01:00
renovate[bot]
8fa9bf0aa8 chore(deps): update typescript-eslint monorepo to v5.50.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:41:17 +01:00
renovate[bot]
085782d35a chore(deps): update dependency cypress to v12.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:07:26 +01:00
renovate[bot]
f8be64cfba chore(deps): update yarn to v3.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:07:06 +01:00
renovate[bot]
b76bd9f40a fix(deps): update dependency sass to v1.58.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 09:15:50 +01:00
renovate[bot]
8023b126a2 fix(deps): update dependency yjs to v13.5.45
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:26:22 +01:00
renovate[bot]
cd0d7a3a40 fix(deps): update dependency react-i18next to v12.1.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:25:59 +01:00
renovate[bot]
5c9b918a34 chore(deps): update dependency @types/node to v18.11.19
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:25:13 +01:00
Erik Michelson
5a7a37a241 fix: use modern in syntax instead of Object.prototype.hasOwnProperty
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-05 22:54:32 +01:00
Erik Michelson
ada2dce9c2 test(opengraph): add e2e test for opengraph metadata
Since mocking next/head for component tests seems not to work that easily, we decided to go with e2e tests.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-05 22:54:32 +01:00
Erik Michelson
09c2eaba9d feat(opengraph): add opengraph support
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-05 22:54:32 +01:00
Tilman Vatteroth
5e1fdbe81d fix(config): Replace HD_DOMAIN and HD_EDITOR_BASE_URL with HD_BASE_URL
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 22:32:31 +01:00
Tilman Vatteroth
65ac00913b chore(deps): Update optional to 1.1.0
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 22:32:31 +01:00
Tilman Vatteroth
9fb83409cc fix(frontend): Fix ratio of youtube frame
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:23:39 +01:00
Tilman Vatteroth
94c659558e fix(frontend): Fix ratio of vimeo frame
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:23:39 +01:00
Tilman Vatteroth
5a2a3a4964 feat(frontend): Add Asciinema replacer
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:23:39 +01:00
Tilman Vatteroth
69a7a1ae69 fix(docker): fix Dockerfiles of backend and frontend
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:21:08 +01:00
Tilman Vatteroth
d76714f2a2 fix(commons): Move "wait for other promises to finish" util to commons
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 18:38:32 +01:00
renovate[bot]
37398df3bd chore(deps): update dependency typescript to v4.9.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 14:00:25 +01:00
renovate[bot]
834faf7213 chore(deps): update dependency eslint to v8.33.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 13:59:49 +01:00
renovate[bot]
ab2bf73bcf chore(deps): update node.js to bc329c7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 05:09:54 +00:00
renovate[bot]
217028b9e5 fix(deps): update dependency @reduxjs/toolkit to v1.9.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-29 20:05:53 +01:00
renovate[bot]
2cbeffa2d0 chore(deps): update typescript-eslint monorepo to v5.49.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-29 19:28:52 +01:00
renovate[bot]
11519baf31 fix(deps): update dependency redux to v4.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-29 01:42:14 +00:00
renovate[bot]
843d66c0f2 chore(deps): update test packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 17:35:49 +01:00
renovate[bot]
1773a176b2 chore(deps): update dependency eslint-plugin-testing-library to v5.10.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 16:19:59 +01:00
renovate[bot]
9252a11cd7 chore(deps): update dependency cypress to v12.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 16:19:06 +01:00
renovate[bot]
f70a94d60f chore(deps): update nextjs monorepo to v13.1.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 16:14:53 +01:00
renovate[bot]
909c5a1cb7 chore(deps): update dependency eslint-config-next to v13.1.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 13:22:05 +00:00
Avinash
dae3b9d8dc fix(frontend): add error prop to password input
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-01-24 21:19:46 +01:00
renovate[bot]
a59a93c005 fix(deps): update dependency emoji-picker-element to v1.15.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-23 01:29:55 +00:00
renovate[bot]
e285d4f0da chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 14:46:27 +01:00
renovate[bot]
7e7f387e39 chore(deps): update dependency @testing-library/dom to v8.20.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 13:23:36 +01:00
renovate[bot]
eb04cdee83 chore(deps): update dependency @codemirror/commands to v6.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 13:19:11 +01:00
renovate[bot]
b0ed01d756 fix(deps): update dependency @uiw/react-codemirror to v4.19.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 12:48:22 +01:00
renovate[bot]
e241da2da9 chore(deps): update nextjs monorepo to v13.1.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 23:24:27 +01:00
renovate[bot]
21d8f0876d fix(deps): update dependency abcjs to v6.1.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 23:07:03 +01:00
renovate[bot]
844a363ecc chore(deps): update dependency eslint-config-next to v13.1.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 23:05:45 +01:00
renovate[bot]
6f88272fb1 chore(deps): update dependency @types/react to v18.0.27
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 23:05:36 +01:00
renovate[bot]
cb946e0a3a chore(deps): update dependency @types/jest to v29.2.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 11:31:12 +01:00
renovate[bot]
faa8da8204 chore(deps): update nextjs monorepo to v13.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 22:47:12 +01:00
renovate[bot]
3915a05e24 chore(deps): update typescript-eslint monorepo to v5.48.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 19:29:22 +01:00
renovate[bot]
aa59f57856 chore(deps): update dependency @codemirror/language to v6.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 18:35:22 +01:00
renovate[bot]
cf9131c06e chore(deps): update dependency prettier to v2.8.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-16 11:54:32 +00:00
renovate[bot]
e39cf83377 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-16 07:05:57 +00:00
renovate[bot]
200d4ccab1 chore(deps): update node.js to fda9816
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-16 03:24:49 +00:00
Philip Molares
16b1065a51 feat(frontend): add fork awesome linter
This linter will tell users that their fork awesome icon is deprecated and will stop working in the future and that they should replace it with a new bootstrap icon.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-16 00:05:33 +01:00
Philip Molares
e2c4e2eccf feat(frontend): add fork awesome linter
This linter will tell users that their fork awesome icon is deprecated and will stop working in the future and that they should replace it with a new bootstrap icon.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-16 00:05:33 +01:00
Philip Molares
eacd81cb9c fix(frontend): verify that callback could be run in create-non-existing-note-hint.test.tsx
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-15 22:38:45 +01:00
Philip Molares
5f238e9651 docs(frontend): expand CreateNonExistingNoteHint docs
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-15 22:38:45 +01:00
Philip Molares
45e70434c4 refactor(frontend): error handling in the auth/local api route
This now uses the new error code for a disabled registration (403) and also handles error where the password is too weak (400).

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-15 18:14:01 +01:00
renovate[bot]
9a1e33fdc4 chore(deps): update dependency eslint-config-next to v13.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-14 20:54:26 +00:00
Erik Michelson
f16b3c0fe6 fix(redux): avoid state mutation in history redux
When updating the data of a note in the redux, the old state element gets manipulated and will be dispatched again into the state.
Redux is not optimized for external state-mutations and has some weird side-effects in that case and sometimes throws an error.
This commit fixes the problem by using a clone of the entry.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-01-09 19:52:21 +01:00
Philip Molares
29fd1f39ea fix(frontend): import type from the correct file
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-08 22:41:41 +01:00