Commit graph

641 commits

Author SHA1 Message Date
renovate[bot]
803ee3847e chore(deps): update dependency @codemirror/view to v6.11.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-14 00:28:06 +00:00
Philip Molares
eff6c53860 fix(frontend): use tabs instead of pills for settings modal
This way the button don't look so strange and this is more like the class is intended.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-13 14:12:53 +02:00
renovate[bot]
3d3b96de6c chore(deps): update dependency @codemirror/autocomplete to v6.7.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-13 09:09:00 +00:00
renovate[bot]
dbb4c4a2d4 chore(deps): update dependency @testing-library/dom to v9.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 19:18:11 +02:00
renovate[bot]
25043173b6 chore(deps): update dependency eslint-config-next to v13.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 08:46:32 +02:00
renovate[bot]
5b5e0cb86e chore(deps): update nextjs monorepo to v13.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 08:46:24 +02:00
renovate[bot]
5504c37bb8 chore(deps): update dependency @codemirror/autocomplete to v6.7.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-11 10:03:51 +02:00
Tilman Vatteroth
40e9478c67 fix: use html entity for branding separation dash
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 16:59:59 +02:00
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