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