Commit graph

671 commits

Author SHA1 Message Date
renovate[bot]
8bbce2e767 fix(deps): update dependency mermaid to v10.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-24 21:27:01 +02:00
Tilman Vatteroth
d57e6261da fix: height of reveal rendering
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-24 21:16:10 +02:00
renovate[bot]
5ea313fcb0 fix(deps): update dependency @fontsource/source-sans-pro to v5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-24 21:09:14 +02:00
renovate[bot]
2c1de84b92 chore(deps): update dependency @types/react to v18.2.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-24 21:08:58 +02:00
renovate[bot]
8655273064 chore(deps): update dependency cypress to v12.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-24 18:37:03 +02:00
renovate[bot]
7f3f584ea5 chore(deps): update dependency @types/testing-library__jest-dom to v5.14.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-24 04:51:51 +00:00
renovate[bot]
4959919fec chore(deps): update dependency ts-loader to v9.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-23 20:31:30 +00:00
renovate[bot]
0b025a41ab chore(deps): update typescript-eslint monorepo to v5.59.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-23 17:28:56 +00:00
renovate[bot]
ad6d41e218 chore(deps): update dependency @codemirror/state to v6.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-23 13:00:48 +00:00
Tilman Vatteroth
0c03e03a95 fix: update test snapshots
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-21 22:31:52 +02:00
Tilman Vatteroth
4eb341308a feat: add concat-css-classes helper method
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-21 22:31:52 +02:00
renovate[bot]
d7663e3090 chore(deps): update dependency eslint to v8.41.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-21 19:47:03 +02:00
renovate[bot]
6e890d6f0d chore(deps): update dependency @codemirror/language to v6.7.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-19 19:34:21 +02:00
renovate[bot]
554f7bee56 fix(deps): update dependency i18next-resources-to-backend to v1.1.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-19 19:19:01 +02:00
renovate[bot]
1122a02f10 fix(deps): update dependency react-bootstrap-typeahead to v6.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-19 11:31:56 +02:00
renovate[bot]
751c96c068 fix(deps): update i18next
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-19 11:31:35 +02:00
renovate[bot]
f412107131 chore(deps): update dependency eslint-config-next to v13.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-19 11:31:21 +02:00
renovate[bot]
dfc3766678 chore(deps): update nextjs monorepo to v13.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-19 11:31:11 +02:00
renovate[bot]
4ed2812798 fix(deps): update dependency @uiw/react-codemirror to v4.20.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-19 11:30:42 +02:00
renovate[bot]
fe5edff238 fix(deps): update dependency vega-lite to v5.9.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-19 00:20:36 +00:00
renovate[bot]
8de7fcbdcb chore(deps): update dependency @codemirror/view to v6.12.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-18 09:21:42 +02:00
renovate[bot]
4e5fc76690 chore(deps): update dependency @codemirror/view to v6.11.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-17 13:33:48 +00:00
renovate[bot]
dc56fe4cf1 fix(deps): update dependency vega-lite to v5.9.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-17 08:51:34 +00:00
renovate[bot]
c3806f3e5b chore(deps): update node.js to 4559bc0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-17 02:21:52 +00:00
renovate[bot]
3da7c6eb12 fix(deps): update dependency vega-lite to v5.9.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 17:40:01 +02:00
renovate[bot]
500ab6d8b9 chore(deps): update typescript-eslint monorepo to v5.59.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 10:01:00 +00:00
Tilman Vatteroth
8e65f74a07 fix: use replace in new page redirect
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-14 13:44:36 +02:00
Tilman Vatteroth
1df6eb7bf5 feat: add replace property to redirect
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-14 13:44:36 +02:00
Tilman Vatteroth
6ca0bd0668 refactor: use showif instead of ternary operator
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-14 13:44:36 +02:00
Philip Molares
472e775fd2 fix(frontend): new note button doesn't use /new anymore
This led to problems, if user clicked the back button in their browser. This implementation doesn't add functional routes in between new notes, but pushes the new note directly in the history.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-14 13:44:36 +02:00
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