Commit graph

606 commits

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