Commit graph

143 commits

Author SHA1 Message Date
Philip Molares
e2c4e2eccf feat(frontend): add fork awesome linter
This linter will tell users that their fork awesome icon is deprecated and will stop working in the future and that they should replace it with a new bootstrap icon.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-16 00:05:33 +01:00
Philip Molares
eacd81cb9c fix(frontend): verify that callback could be run in create-non-existing-note-hint.test.tsx
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-15 22:38:45 +01:00
Philip Molares
5f238e9651 docs(frontend): expand CreateNonExistingNoteHint docs
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-15 22:38:45 +01:00
Philip Molares
45e70434c4 refactor(frontend): error handling in the auth/local api route
This now uses the new error code for a disabled registration (403) and also handles error where the password is too weak (400).

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-15 18:14:01 +01:00
renovate[bot]
9a1e33fdc4 chore(deps): update dependency eslint-config-next to v13.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-14 20:54:26 +00:00
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