Commit graph

783 commits

Author SHA1 Message Date
renovate[bot]
3feaa8d6a5 chore(deps): update dependency eslint-plugin-testing-library to v5.11.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-10 16:34:32 +02:00
Tilman Vatteroth
c68fbea606 fix: migrate code to html-to-react v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 16:30:38 +02:00
renovate[bot]
4c5efeafc8 fix(deps): update dependency @hedgedoc/html-to-react to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 16:30:38 +02:00
renovate[bot]
8ec6c5dfa5 fix(deps): update dependency htmlparser2 to v9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 16:30:38 +02:00
Tilman Vatteroth
23901d1454 chore: change recommended and CI node version to v20
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 13:43:05 +02:00
renovate[bot]
2967e7cd86 chore(deps): update dependency cypress to v12.12.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-10 09:51:16 +02:00
renovate[bot]
b8732a8726 chore(deps): update dependency @codemirror/view to v6.11.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-09 22:34:28 +02:00
renovate[bot]
1094c98034 fix(deps): update dependency @svgr/webpack to v8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-09 22:32:33 +02:00
Tilman Vatteroth
d29e840bc6 fix(realtime): allow realtime user status updates from users that have read-only access
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 20:33:23 +02:00
Tilman Vatteroth
29afcce555 fix(editor): catch error when refreshing note metadata
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:31:49 +02:00
renovate[bot]
0dcfb0524c chore(deps): update dependency @types/node to v18.16.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-09 11:30:41 +02:00
renovate[bot]
6698f49af5 chore(deps): update typescript-eslint monorepo to v5.59.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-08 21:48:54 +02:00
Philip Molares
757345d318 fix(frontend): remove parenthesis around •
This was the way it was in HedgeDoc 1. It was deemed to be better than the parenthesis version in a debug session.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-07 22:42:38 +02:00
Tilman Vatteroth
340adbe69a refactor: extract scroll hooks
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:43:52 +02:00
Tilman Vatteroth
bded420cab refactor: rename EditorDocumentRenderer to RendererPane
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:43:52 +02:00
Tilman Vatteroth
4d48aa613d refactor: rename render-iframe to renderer-iframe
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:43:52 +02:00
Tilman Vatteroth
aef0211092 refactor: move render-iframe to commons
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:43:52 +02:00
Tilman Vatteroth
18206c0615 test: add unit tests for custom branding
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:40:30 +02:00
Tilman Vatteroth
6a772d851b refactor: change branding delimiter to css
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:40:30 +02:00
Tilman Vatteroth
d75b8d2d3b refactor: rename branding component to custom branding
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:40:30 +02:00
Tilman Vatteroth
3f96616b5a fix: remove not migrated language files
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:29:14 +02:00
Tilman Vatteroth
745be42101 test(i18n): replace e2e test for language picker with unit test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:29:14 +02:00
Tilman Vatteroth
07a28824d3 refactor(i18n): use browser api to determine display names for languages
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:29:14 +02:00
Tilman Vatteroth
53a3c92fdb fix(i18n): use event to change luxon language setting
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:29:14 +02:00
Tilman Vatteroth
a23c215d8d refactor: split apply-dark-mode hook into multiple hooks
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:02:34 +02:00
Tilman Vatteroth
bcff03ef99 refactor: move dark-mode-state hook into other directory
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:02:34 +02:00
Tilman Vatteroth
cba8d917ed refactor: move apply-dark-mode hook into other directory
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:02:34 +02:00
renovate[bot]
ef0697ddd2 fix(deps): update dependency vega-lite to v5.9.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-06 17:29:52 +02:00
renovate[bot]
d734163e5f chore(deps): update dependency eslint to v8.40.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-06 17:29:35 +02:00
renovate[bot]
c9d0201452 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-06 17:29:20 +02:00
renovate[bot]
7afb4c93ba fix(deps): update dependency dompurify to v3.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-06 17:29:01 +02:00
renovate[bot]
e92965db73 chore(deps): update dependency @types/react-dom to v18.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 20:37:02 +00:00
renovate[bot]
72865899e1 chore(deps): update nextjs monorepo to v13.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 15:20:06 +02:00
renovate[bot]
b503b2297c chore(deps): update dependency eslint-config-next to v13.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 15:18:41 +02:00
Tilman Vatteroth
33629b945d fix(frontend): use standalone output only in production build
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-05 15:07:42 +02:00
renovate[bot]
045ba43c17 chore(deps): update nextjs monorepo to v13.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 15:07:42 +02:00
renovate[bot]
a21fef5956 chore(deps): update dependency @types/node to v18.16.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 08:28:21 +00:00
renovate[bot]
a637556832 chore(deps): update node.js to 6e56967
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 08:08:08 +00:00
renovate[bot]
cbfab3ca62 chore(deps): update dependency eslint-config-next to v13.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 20:42:24 +02:00
renovate[bot]
122d3e6354 fix(deps): update dependency yjs to v13.6.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 17:24:04 +02:00
renovate[bot]
09c0bc7a33 chore(deps): update dependency @types/react to v18.2.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 17:20:06 +02:00
Tilman Vatteroth
a5e12b9ad0 fix(backend): fix extraction body values in permission controllers
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-04 14:54:37 +02:00
renovate[bot]
f87a7e1e69 chore(deps): update dependency @types/react to v18.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 11:12:47 +02:00
renovate[bot]
3b357e383b chore(deps): update dependency @types/react to v18.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 09:39:35 +02:00
renovate[bot]
00a5d3d209 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 02:48:49 +00:00
renovate[bot]
18d100a5ac chore(deps): update dependency @codemirror/autocomplete to v6.6.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 21:02:34 +02:00
renovate[bot]
698767d8dd chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 20:59:41 +02:00
renovate[bot]
72b88bb50c chore(deps): update dependency @codemirror/view to v6.11.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 17:24:59 +02:00
renovate[bot]
8f4b9232cf chore(deps): update dependency @codemirror/commands to v6.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 13:05:13 +02:00
renovate[bot]
9d5ec78696 chore(deps): update node.js to 1d34273
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 09:05:57 +00:00
renovate[bot]
67ab0f5bd2 fix(deps): update dependency vega-lite to v5.8.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-02 11:59:30 +02:00
renovate[bot]
993d0e8b7e chore(deps): update yarn to v3.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-02 05:55:25 +00:00
renovate[bot]
d1df704d22 chore(deps): update typescript-eslint monorepo to v5.59.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-02 02:40:39 +00:00
renovate[bot]
ba19daa08d chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-01 22:36:39 +00:00
renovate[bot]
4afc993a14 chore(deps): update nextjs monorepo to v13.3.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-01 16:43:10 +02:00
renovate[bot]
64c840020b chore(deps): update dependency eslint-config-next to v13.3.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-01 16:42:50 +02:00
renovate[bot]
19f6f67a0b chore(deps): update nextjs monorepo to v13.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-30 02:14:40 +00:00
renovate[bot]
13ed5cab27 chore(deps): update dependency eslint-config-next to v13.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-29 23:42:01 +00:00
renovate[bot]
0935a36c2d fix(deps): update dependency highlight.js to v11.8.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-29 19:56:55 +02:00
renovate[bot]
1e4c64afaf chore(deps): update dependency @types/node to v18.16.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-29 10:49:09 +02:00
renovate[bot]
81fcf870e7 chore(deps): update dependency eslint-plugin-cypress to v2.13.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-28 21:20:10 +02:00
renovate[bot]
7d4da1eb30 fix(deps): update dependency katex to v0.16.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-28 16:13:02 +02:00
renovate[bot]
291ed7c706 chore(deps): update dependency @types/node to v18.16.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-28 06:21:46 +00:00
renovate[bot]
158da9bd8e fix(deps): update dependency sharp to v0.32.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-27 14:20:44 +02:00
renovate[bot]
0d1ebf48f8 fix(deps): update dependency vega to v5.25.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-27 11:43:58 +02:00
renovate[bot]
ea525a841a chore(deps): update dependency cypress to v12.11.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-27 11:43:32 +02:00
renovate[bot]
98441aaab6 chore(deps): update dependency @codemirror/autocomplete to v6.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-27 11:42:52 +02:00
Tilman Vatteroth
3dea91523d feat(frontend): increase reconnect timeout with every try
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-26 20:27:35 +02:00
renovate[bot]
a554a48577 chore(deps): update dependency @codemirror/view to v6.10.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-26 18:09:42 +02:00
renovate[bot]
12b80c72c7 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-26 18:09:15 +02:00
renovate[bot]
1e2e9c411c fix(deps): update dependency sass to v1.62.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-26 09:24:01 +00:00
renovate[bot]
026609902b chore(deps): update dependency @types/node to v18.16.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-26 05:26:21 +00:00
renovate[bot]
138278bb13 chore(deps): update typescript-eslint monorepo to v5.59.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-25 09:31:21 +02:00
renovate[bot]
2f2cd539b1 fix(deps): update dependency react-i18next to v12.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-24 15:31:30 +02:00
Erik Michelson
8163318a22 chore: fix and reformat editorconfig
The editorconfig is evaluated more strictly in recent versions
of WebStorm. When working with the locales files, they'll get
completely reformatted for example.
This commit changes the settings for locales/*.json files,
removes deprecated editorconfig values and reformats the file.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-04-24 13:39:33 +02:00
renovate[bot]
94206be5fa fix(deps): update dependency react-i18next to v12.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-24 13:00:12 +02:00
renovate[bot]
f5665629af chore(deps): update node.js to v20
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-24 12:44:53 +02:00
Tilman Vatteroth
07dd196bff fix: height of loading screen
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-24 12:00:38 +02:00
Tilman Vatteroth
43a85f54ca feat: use css vars in sidebar
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-04-23 22:18:14 +02:00
Erik Michelson
b454e3be03 enhancement(sidebar): move note info modal into sidebar
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-04-23 22:18:14 +02:00
Erik Michelson
e3a9f70965 refactor(sidebar): move sidebar entries to the sidebar
Previously, many sidebar items were still in the document-bar structure from the past, where we had an additional document bar.
This commit reorganizes all sidebar entries with their attached modals into the specific-sidebar-entries directory within the sidebar module.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-04-23 22:18:14 +02:00
Erik Michelson
7e4f2f8778 enhancement(sidebar): enlarge sidebar width
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-04-23 22:18:14 +02:00
Tilman Vatteroth
927193e4b9 fix: sticky position of toc sidebar
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-23 20:46:35 +02:00
renovate[bot]
60c7305719 fix(deps): update dependency vega-embed to v6.22.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 20:27:37 +02:00
renovate[bot]
745247c04f chore(deps): update dependency eslint to v8.39.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 20:25:57 +02:00
renovate[bot]
fa7b262ad1 fix(deps): update dependency yjs to v13.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 20:25:43 +02:00
renovate[bot]
a942c374b8 chore(deps): update dependency @types/node to v18.16.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 20:25:26 +02:00
Tilman Vatteroth
c71bcb70db fix: render toc button only if toc is available
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-23 20:12:14 +02:00
renovate[bot]
777e9d7015 chore(deps): update dependency prettier to v2.8.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 14:46:32 +00:00
renovate[bot]
f849b486c5 chore(deps): update nextjs monorepo to v13.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-22 23:08:20 +00:00
renovate[bot]
97819c3fe7 chore(deps): update dependency eslint-config-next to v13.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-22 14:16:37 +00:00
renovate[bot]
3f1a6d425e chore(deps): update dependency @types/react to v18.0.38
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-22 11:37:16 +00:00
renovate[bot]
570f9fec03 chore(deps): update dependency @codemirror/view to v6.9.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-22 06:16:25 +00:00
renovate[bot]
5f0927bf9b chore(deps): update dependency @types/node to v18.15.13
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-21 13:08:27 +00:00
renovate[bot]
c5ce14f017 chore(deps): update dependency @codemirror/language-data to v6.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-20 23:09:03 +02:00
Avinash
9bf8f57475 enhancement(frontend): inlined buttons
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-04-20 22:20:18 +02:00
Avinash
c21b2a7a17 refactor(frontend): changed title
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-04-20 22:20:18 +02:00
renovate[bot]
ab3e206081 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-20 16:19:07 +02:00
SHAN michel
63f7d94b7c feat(revision): only show non-guest users in the revision sidebar
Signed-off-by: SHAN michel <yuplasmas@gmail.com>

Only show non-guest users in the sidebar #2953 + frontend/json modificated

Signed-off-by: SHAN michel <yuplasmas@gmail.com>

Only show non-guest users in the sidebar #2953 + frontend/json modificated

Signed-off-by: SHAN michel <yuplasmas@gmail.com>
2023-04-20 16:00:37 +02:00
renovate[bot]
62e29613cc fix(deps): update dependency i18next to v22.4.15
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-19 23:31:55 +02:00
renovate[bot]
d5d8112e8c chore(deps): update dependency @types/jest to v29.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-19 16:16:10 +02:00
renovate[bot]
1ac22d80a9 chore(deps): update dependency @codemirror/commands to v6.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-19 16:16:01 +02:00
renovate[bot]
b962676dad fix(deps): update dependency yjs to v13.5.53
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-19 16:15:35 +02:00
renovate[bot]
9e16f865c9 fix(deps): update dependency emoji-picker-element to v1.17.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 10:21:00 +02:00
renovate[bot]
07c7c97b86 chore(deps): update typescript-eslint monorepo to v5.59.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 10:19:15 +02:00
renovate[bot]
38853c266e fix(deps): update dependency katex to v0.16.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 07:38:04 +02:00
renovate[bot]
98c196a189 fix(deps): update dependency @reduxjs/toolkit to v1.9.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 05:22:25 +00:00
renovate[bot]
485e8bbddf fix(deps): update dependency vega-lite to v5.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 23:06:48 +02:00
renovate[bot]
b0b94ff253 chore(deps): update dependency cypress to v12.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 22:53:57 +02:00
renovate[bot]
09a8a29316 chore(deps): update dependency @types/react to v18.0.37
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 22:38:25 +02:00
renovate[bot]
3f79b38a4c chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 22:23:39 +02:00
Tilman Vatteroth
3face3a3b8 fix: add missing legacy sequence diagram app extension
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-17 22:12:11 +02:00
Tilman Vatteroth
393d408dfe chore: fix typos in docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-17 22:12:11 +02:00
Tilman Vatteroth
a95b2d7d7d feat: add priorities for replacers
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-17 22:12:11 +02:00
renovate[bot]
4a2cfe225c fix(deps): update dependency abcjs to v6.2.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 22:12:11 +02:00
renovate[bot]
83416ba882 fix(deps): update dependency @reduxjs/toolkit to v1.9.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-17 15:22:53 +02:00
Tilman Vatteroth
1e4709c087 refactor: organize app extensions
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 21:27:45 +02:00
Tilman Vatteroth
8cddc96881 fix: exclude first headline extraction from simple renderer
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 21:27:45 +02:00
Tilman Vatteroth
f12cadbbb7 feat: add renderer type to MarkdownRendererExtensionOptions
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 21:27:45 +02:00
Tilman Vatteroth
0809e01b2d refactor: rename "optional app extensions" into "all app extensions"
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 21:27:45 +02:00
Tilman Vatteroth
c39561f8e2 refactor: extract third party integration extensions into separate array
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 21:27:45 +02:00
Tilman Vatteroth
6b3743e6a3 refactor: reorganize props and locations of markdown renderers
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
7abbe79ec9 fix: correct docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
d792fd3987 refactor: rename iframe-markdown-renderer to render-page-content
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
6f17b2f554 fix: typo in render page docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
29d137afbe fix: send "new lines as breaks" option to the renderer
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
6c55da4e79 refactor: rename "dark mode" iframe message to "additional configuration"
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
1e9e04f829 fix: forced dark mode for iframe
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
419069376a chore: reformat code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
2e18f7f775 fix: send scroll state if current renderer is ready instead of main renderer
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
86276b0753 refactor: move mockI18n
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
3962cafa5d feat: move title extraction into commons package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:05:24 +02:00
Tilman Vatteroth
8de8a50bec feat: move first heading title extraction into an app extension
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:05:24 +02:00
Tilman Vatteroth
220bb31f0c fix: disconnect message transporter on editor leave
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:12:12 +02:00
renovate[bot]
b2ea61ef2e chore(deps): update dependency @codemirror/language-data to v6.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-16 13:47:11 +02:00
renovate[bot]
471559d0c1 fix(deps): update dependency vega-lite to v5.7.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-15 09:07:39 +02:00
renovate[bot]
191dc0131f fix(deps): update dependency react-bootstrap to v2.7.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-15 06:04:57 +00:00
renovate[bot]
c637ce966d fix(deps): update dependency dompurify to v3.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-15 00:39:30 +02:00
renovate[bot]
6d599d893e fix(deps): update dependency abcjs to v6.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-15 00:27:30 +02:00
renovate[bot]
e3738a7c33 chore(deps): update dependency @codemirror/autocomplete to v6.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-14 09:42:41 +02:00
renovate[bot]
50fcab8383 chore(deps): update node.js to ca5d399
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-14 01:57:21 +00:00
Tilman Vatteroth
e70d1fabc9 fix: missing wait for element in copy-to-clipboard-button.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
Tilman Vatteroth
16bf5bb2af fix: missing wait for element in blockquote-extra-tag-markdown-extension.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
Tilman Vatteroth
b763413108 fix: invalid DOM element nesting in katex tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
Tilman Vatteroth
eaea86c17d fix: invalid bootstrap icon in bootstrap-icon-markdown-extension.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
Tilman Vatteroth
2abc697e6a fix: unsupported tag name in markdown-to-react.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
Tilman Vatteroth
8402ef13f3 fix: missing key error in html-to-react.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
renovate[bot]
d1498a4861 fix(deps): update dependency reveal.js to v4.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 14:41:24 +02:00
Tilman Vatteroth
4bd6c1f359 fix: add .env file symlinks
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 10:39:17 +02:00
renovate[bot]
2d06eab04f chore(deps): update dependency @codemirror/autocomplete to v6.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 09:23:22 +02:00
renovate[bot]
1279e875b6 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 08:58:27 +02:00
renovate[bot]
3502ee3934 chore(deps): update dependency eslint-plugin-testing-library to v5.10.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 08:44:59 +02:00
renovate[bot]
c06235196e fix(deps): update dependency sass to v1.62.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-12 15:37:19 +02:00
renovate[bot]
d62bc24420 chore(deps): update dependency @types/react to v18.0.35
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-12 13:41:31 +02:00
renovate[bot]
1c490f717f fix(deps): update dependency react-bootstrap to v2.7.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-12 10:58:11 +00:00
renovate[bot]
c44ab7dc6c chore(deps): update dependency @codemirror/view to v6.9.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-11 19:06:44 +02:00
Tilman Vatteroth
d7108ba522 fix: fix permissions in mocked feature page
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-11 11:25:23 +02:00
renovate[bot]
db3aeaac2d fix(deps): update dependency @uiw/react-codemirror to v4.19.16
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-11 10:33:31 +02:00
Tilman Vatteroth
2bec7027ae fix: fix comma separated value detection in x-forwarded-proto parsing
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-11 08:30:15 +02:00
renovate[bot]
1c58a732e4 chore(deps): update typescript-eslint monorepo to v5.58.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-10 20:48:24 +02:00
renovate[bot]
4472a3140b chore(deps): update dependency @types/react to v18.0.34
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-10 17:57:33 +00:00
Tilman Vatteroth
7f20da0510 fix: use callback hook in checkbox editor component to cache function
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-08 19:45:42 +02:00
Tilman Vatteroth
37e1482c46 feat(renderer): Add intermediate class for markdown renderer extensions with event emitter
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-08 18:47:01 +02:00
renovate[bot]
2f200078ef chore(deps): update dependency eslint to v8.38.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-08 14:53:57 +02:00
renovate[bot]
d8a572bd7d fix(deps): update dependency @uiw/react-codemirror to v4.19.15
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-08 09:25:08 +00:00
renovate[bot]
f105debb24 fix(deps): update dependency @uiw/react-codemirror to v4.19.14
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-07 20:21:46 +00:00
renovate[bot]
143da53e46 chore(deps): update dependency typescript to v5.0.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-07 22:21:41 +02:00
renovate[bot]
fd720fe4b5 fix(deps): update dependency sass to v1.61.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-07 09:21:10 +02:00
renovate[bot]
998ce47a38 chore(deps): update nextjs monorepo to v13.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-07 09:20:39 +02:00
renovate[bot]
b94b6e5f63 chore(deps): update dependency eslint-config-next to v13.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-07 09:19:31 +02:00
Tilman Vatteroth
12d829e07a fix: improves help text of dark mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:59:40 +02:00
Tilman Vatteroth
15f583a4fe fix: change help text of ligature setting
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:59:40 +02:00
Tilman Vatteroth
e368203e16 feat: add setting for line wrapping
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:59:40 +02:00
Philip Molares
2fc89a7de5 feat: don't let read-only users send their cursors or selections
This was done as it may be used to distract or annoy other users either intentionally or unintentionally.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:50 +02:00
Philip Molares
7636480d8a feat(frontend): if user can't write toolbar is being removed
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-04-06 22:54:50 +02:00
Philip Molares
c2f41118b6 feat: check permissions in realtime code and frontend
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:50 +02:00
Tilman Vatteroth
24f1b2a361 feat: fetch frontend config in server side rendering
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:32 +02:00
Tilman Vatteroth
312d1adf6f fix: make logger in BaseUrlFromEnvExtractor readonly
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:32 +02:00
Tilman Vatteroth
9771ffcf00 fix: expected origin boundary works now with initial props
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:32 +02:00
Tilman Vatteroth
8977100830 feat: extend api request builder with custom base url
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:32 +02:00
renovate[bot]
b27062c2ec fix(deps): update dependency react-bootstrap-typeahead to v6.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-06 13:13:28 +02:00
Tilman Vatteroth
7d612dd069 fix: correct test history in cypress environment
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-05 12:02:54 +02:00
Tilman Vatteroth
bd8a5861e7 feat: log error in note-loading-boundary
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-05 12:02:54 +02:00
Tilman Vatteroth
6786e6d6d3 fix: correct test note in cypress environment
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-05 12:02:54 +02:00
Tilman Vatteroth
c0d4d233da fix: configure luxon
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-04 22:46:37 +02:00
renovate[bot]
78fde4ff55 chore(deps): update dependency @types/luxon to v3.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-04 22:46:37 +02:00
renovate[bot]
dc92275d53 fix(deps): update dependency mermaid to v10.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-04 21:17:24 +02:00
renovate[bot]
3b2ded6e46 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-04 17:31:53 +02:00
renovate[bot]
5d9e220e1f chore(deps): update typescript-eslint monorepo to v5.57.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-03 20:20:47 +02:00
Erik Michelson
bced0c478b enhancement: remove frontend version
As frontend and backend are managed inside a monorepo and distributed together, there is no sense in keeping separate frontend and backend version information.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-04-03 20:11:03 +02:00
renovate[bot]
d19d048cc8 fix(deps): update dependency react-bootstrap-icons to v1.10.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-03 20:06:23 +02:00
renovate[bot]
84ab3ecc58 fix(deps): update dependency yjs to v13.5.52
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 17:08:10 +00:00
renovate[bot]
3aded4a447 fix(deps): update dependency i18next to v22.4.14
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-02 17:41:00 +00:00
renovate[bot]
b3f496fc50 chore(deps): update dependency @types/react to v18.0.32
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-02 12:40:32 +00:00
renovate[bot]
c77bfc8ef2 fix(deps): update dependency react-bootstrap-typeahead to v6.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-02 10:35:34 +02:00
renovate[bot]
2f56a2cacd chore(deps): update dependency csstype to v3.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-02 04:29:02 +00:00
Erik Michelson
43568f6907 test(errors): add tests for ErrorToI18nKeyMapper
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-31 16:46:40 +02:00
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