Erik Michelson
f16b3c0fe6
fix(redux): avoid state mutation in history redux
...
When updating the data of a note in the redux, the old state element gets manipulated and will be dispatched again into the state.
Redux is not optimized for external state-mutations and has some weird side-effects in that case and sometimes throws an error.
This commit fixes the problem by using a clone of the entry.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-01-09 19:52:21 +01:00
Philip Molares
29fd1f39ea
fix(frontend): import type from the correct file
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-08 22:41:41 +01:00
renovate[bot]
8ea17fe454
fix(deps): update dependency i18next to v22.4.9
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-08 20:08:23 +01:00
Tilman Vatteroth
35f7274b7f
fix: reformat frontend code
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-01-07 23:50:17 +01:00
renovate[bot]
1c73c89d45
fix(deps): update dependency ws to v8.12.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 23:50:17 +01:00
renovate[bot]
cd875b6402
chore(deps): update dependency prettier to v2.8.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 22:57:48 +01:00
renovate[bot]
021ec535dd
chore(deps): update typescript-eslint monorepo to v5.48.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 22:45:24 +01:00
renovate[bot]
6692356eb1
chore(deps): update dependency cypress to v12.3.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 22:45:00 +01:00
renovate[bot]
8a77f24e52
fix(deps): update i18next
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 22:44:33 +01:00
renovate[bot]
1f9492cce2
fix(deps): update dependency luxon to v3.2.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 22:44:22 +01:00
renovate[bot]
f8fea8e5e1
fix(deps): update dependency dompurify to v2.4.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 20:56:42 +00:00
renovate[bot]
43c3d04f46
chore(deps): update dependency eslint-plugin-jest to v27.2.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 12:32:08 +00:00
renovate[bot]
af5c60729a
chore(deps): update dependency @codemirror/view to v6.7.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 09:58:09 +00:00
renovate[bot]
ad4495c87a
chore(deps): update node.js to b3f383c
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 07:33:19 +00:00
renovate[bot]
47ba755db0
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-06 11:53:24 +01:00
renovate[bot]
151c1e5b38
chore(deps): update dependency @types/luxon to v3.2.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-06 11:50:57 +01:00
renovate[bot]
ea535d6be0
fix(deps): update dependency yjs to v13.5.44
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-01 20:16:54 +00:00
renovate[bot]
45799627ad
chore(deps): update dependency eslint to v8.31.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-31 11:02:30 +01:00
renovate[bot]
6dccd3a235
chore(deps): update dependency @types/jest to v29.2.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-31 05:15:29 +00:00
David Mehren
be7983b9be
fix(media-api): don't send Content-Type header
...
Apparently, multer gets confused by a content-type header: https://stackoverflow.com/questions/49692745/express-using-multer-error-multipart-boundary-not-found-request-sent-by-pos
Signed-off-by: David Mehren <git@herrmehren.de>
2022-12-30 11:02:56 +01:00
renovate[bot]
9d8d5e8d55
chore(deps): update dependency @types/ws to v8.5.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-30 11:01:28 +01:00
renovate[bot]
bac38b4895
fix(deps): update dependency emoji-picker-element to v1.15.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-30 11:00:50 +01:00
renovate[bot]
c8f9461b90
fix(deps): update dependency @uiw/react-codemirror to v4.19.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-30 10:45:29 +01:00
Lukas Mertens
9016116012
fix(i18n): clarify where to find /features for new users
...
Signed-off-by: Lukas Mertens <git@lukas-mertens.de>
2022-12-30 10:38:58 +01:00
renovate[bot]
322b47817e
fix(deps): update dependency luxon to v3.2.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-30 10:33:35 +01:00
Tilman Vatteroth
caf212045a
fix(async-loading): show async loaded components only if value is present
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-29 13:19:18 +01:00
Tilman Vatteroth
26c1f1bcaa
feat(async-loading-boundary): extract custom error component into separate component
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-29 13:19:18 +01:00
renovate[bot]
6eb6b6a25f
chore(deps): update dependency @codemirror/state to v6.2.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-28 19:30:40 +01:00
renovate[bot]
4d2e226ee6
fix(deps): update dependency @codemirror/commands to v6.1.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-28 19:30:40 +01:00
Tilman Vatteroth
5a36b13091
fix(frontend): migrate to new wasm loading method
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-28 19:20:44 +01:00
renovate[bot]
bf777704a6
fix(deps): update dependency d3-graphviz to v5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-28 19:20:44 +01:00
renovate[bot]
b67fab7491
chore(deps): update typescript-eslint monorepo to v5.47.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-28 19:03:30 +01:00
renovate[bot]
e899afaecc
chore(deps): update dependency @types/node to v18.11.18
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-28 18:42:10 +01:00
Tilman Vatteroth
b7b0021ff7
fix(frontend): don't send scroll state if window post message communicator isn't ready
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-28 17:22:40 +01:00
Tilman Vatteroth
9c3858797f
fix(frontend): Add generic type to act calls to trigger promise generation
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-24 14:45:05 +01:00
renovate[bot]
e5359a69ca
chore(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 14:45:05 +01:00
renovate[bot]
c7251b7f06
chore(deps): update typescript-eslint monorepo to v5.47.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 13:55:13 +01:00
renovate[bot]
a6116699cc
fix(deps): update dependency @types/katex to v0.16.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 13:53:44 +01:00
renovate[bot]
669be38f9f
chore(deps): update nextjs monorepo to v13.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 13:29:12 +01:00
renovate[bot]
ee19cbe1ac
chore(deps): update dependency eslint-config-next to v13.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 13:26:43 +01:00
renovate[bot]
881dc1e797
chore(deps): update dependency cypress to v12.2.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 13:25:19 +01:00
renovate[bot]
43f69da085
chore(deps): update yarn to v3.3.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 12:10:51 +00:00
renovate[bot]
218be74f1e
fix(deps): update dependency sharp to v0.31.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 10:31:46 +01:00
renovate[bot]
4bca3bbf47
fix(deps): update dependency sass to v1.57.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 09:59:14 +01:00
renovate[bot]
a41e582faa
fix(deps): update dependency markdown-it-anchor to v8.6.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 09:57:12 +01:00
renovate[bot]
5024cdba88
fix(deps): update dependency i18next to v22.4.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 09:54:25 +01:00
renovate[bot]
ed7092a33c
fix(deps): update dependency emoji-picker-element to v1.14.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 08:40:26 +00:00
renovate[bot]
13607d00aa
chore(deps): update dependency @testing-library/dom to v8.19.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 05:52:42 +00:00
renovate[bot]
a2cc106b5f
chore(deps): update dependency @testing-library/cypress to v9
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-18 23:24:32 +01:00
renovate[bot]
0a5c363b1d
fix(deps): update dependency tlds to v1.236.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-18 23:22:00 +01:00
renovate[bot]
d0542a119f
chore(deps): update typescript-eslint monorepo to v5.46.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-18 22:55:52 +01:00
renovate[bot]
ff64917bff
chore(deps): update nextjs monorepo to v13.0.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-18 22:55:34 +01:00
Tilman Vatteroth
6f81c5e194
fix(frontend): Fix i18n types
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-18 22:48:04 +01:00
renovate[bot]
43ada39a1c
fix(deps): update i18next
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-18 22:02:03 +01:00
renovate[bot]
1f7880d659
fix(deps): update dependency sass to v1.57.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-18 21:57:10 +01:00
renovate[bot]
973ade925b
fix(deps): update dependency mermaid to v9.3.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-18 21:26:45 +01:00
renovate[bot]
7145c55b9f
fix(deps): update dependency @codemirror/autocomplete to v6.4.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-18 21:21:43 +01:00
Tilman Vatteroth
2a9f692479
fix(frontend): Fix common modal test
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-18 20:54:27 +01:00
Tilman Vatteroth
68e2a9518c
fix(frontend): Fix history e2e tests
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-18 20:54:27 +01:00
renovate[bot]
e1f0d0c3a0
chore(deps): update dependency @types/node to v18.11.17
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-18 15:43:09 +01:00
renovate[bot]
b57152ac24
Update dependency eslint to v8.30.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 18:48:09 +01:00
renovate[bot]
feecf58905
chore(deps): update node.js to a136ed7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 12:32:25 +01:00
renovate[bot]
1319eeffb9
chore(deps): update dependency cypress to v12
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 12:31:05 +01:00
renovate[bot]
7ea0973a98
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 12:25:16 +01:00
renovate[bot]
5b19ae1b9a
chore(deps): update codemirror
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 12:21:29 +01:00
renovate[bot]
7ab7779f23
chore(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 12:21:10 +01:00
renovate[bot]
576a2622f0
fix(deps): update dependency d3-graphviz to v4.5.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-12 22:53:12 +01:00
renovate[bot]
8af1d531fd
fix(deps): update dependency react-bootstrap to v2.7.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-12 20:43:12 +01:00
renovate[bot]
45091412f8
chore(deps): update dependency @types/node to v18.11.13
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-12 03:34:54 +00:00
Tilman Vatteroth
7be4ef6e70
fix(frontend): migrate TOC to @hedgedoc/markdown-it-plugins
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 23:54:17 +01:00
Tilman Vatteroth
c489aacea0
fix(frontend): migrate code to use the commons workspace
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 23:09:10 +01:00
renovate[bot]
2f92918168
chore(deps): update dependency prettier to v2.8.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-11 22:26:44 +01:00
renovate[bot]
de6faa6bd0
chore(deps): update typescript-eslint monorepo to v5.46.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 20:46:41 +01:00
renovate[bot]
eb94028a4f
fix(deps): update dependency tlds to v1.235.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 12:18:32 +01:00
renovate[bot]
910a3fb821
fix(deps): update dependency sass to v1.56.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 11:24:57 +01:00
renovate[bot]
41554a3742
fix(deps): update dependency katex to v0.16.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 11:21:46 +01:00
renovate[bot]
504c8ee204
chore(deps): update typescript-eslint monorepo to v5.45.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 11:20:23 +01:00
renovate[bot]
1b6c3b5b31
fix(deps): update dependency i18next to v22.0.8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 11:20:15 +01:00
renovate[bot]
2d596c2391
chore(deps): update dependency typescript to v4.9.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 10:59:01 +01:00
renovate[bot]
7391182eb9
chore(deps): update test packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 10:58:53 +01:00
renovate[bot]
ea4318a5fc
chore(deps): update dependency @types/node to v18.11.12
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 10:58:42 +01:00
renovate[bot]
ab40bb3984
fix(deps): update dependency @uiw/react-codemirror to v4.19.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 10:14:43 +01:00
Tilman Vatteroth
f89b28969f
fix: Migrate code to next 13 breaking changes
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-09 20:17:09 +01:00
renovate[bot]
dae099dfa8
chore(deps): update nextjs monorepo to v13
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-09 20:17:09 +01:00
renovate[bot]
932dc4e74f
chore(deps): update codemirror
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-07 20:49:33 +01:00
renovate[bot]
7f5fb57bb0
fix(deps): update dependency @uiw/react-codemirror to v4.16.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 23:58:53 +01:00
renovate[bot]
d0da877b09
fix(deps): update dependency emoji-picker-element to v1.14.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 23:58:06 +01:00
renovate[bot]
c0d3973c48
chore(deps): update typescript-eslint monorepo to v5.45.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 23:35:31 +01:00
renovate[bot]
e0a854d855
fix(deps): update dependency highlight.js to v11.7.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 23:35:14 +01:00
renovate[bot]
a0c804fb60
chore(deps): update dependency @types/uuid to v9
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 23:34:40 +01:00
renovate[bot]
5e93bc3b8c
chore(deps): update dependency eslint to v8.29.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 22:17:08 +01:00
renovate[bot]
5eec977795
fix(deps): update dependency tlds to v1.234.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 21:43:23 +01:00
Tilman Vatteroth
8010ee1f71
fix(frontend): fix note-loading-boundary.test.tsx
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-04 20:59:46 +01:00
Tilman Vatteroth
e390c0dd15
fix(frontend): reformat source files
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-04 20:59:46 +01:00
Tilman Vatteroth
e260b77760
fix(frontend): fix links in version.json
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-04 20:59:46 +01:00
Tilman Vatteroth
2241a3faea
feat(package): adjust packages to workspaces
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-04 20:59:46 +01:00
renovate[bot]
8e5dda44f1
fix(deps): update dependency @reduxjs/toolkit to v1.9.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 00:08:43 +00:00
renovate[bot]
de9cf9bbd2
fix(deps): update dependency luxon to v3.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-03 21:25:07 +00:00
renovate[bot]
9fbd5ef99a
chore(deps): update test packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-03 18:47:06 +00:00
renovate[bot]
8239f9e2a6
chore(deps): update dependency yjs to v13.5.43
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-03 16:15:52 +00:00