Commit graph

228 commits

Author SHA1 Message Date
Tilman Vatteroth
65ac00913b chore(deps): Update optional to 1.1.0
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 22:32:31 +01:00
Tilman Vatteroth
9fb83409cc fix(frontend): Fix ratio of youtube frame
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:23:39 +01:00
Tilman Vatteroth
94c659558e fix(frontend): Fix ratio of vimeo frame
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:23:39 +01:00
Tilman Vatteroth
5a2a3a4964 feat(frontend): Add Asciinema replacer
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:23:39 +01:00
Tilman Vatteroth
69a7a1ae69 fix(docker): fix Dockerfiles of backend and frontend
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:21:08 +01:00
Tilman Vatteroth
d76714f2a2 fix(commons): Move "wait for other promises to finish" util to commons
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 18:38:32 +01:00
renovate[bot]
37398df3bd chore(deps): update dependency typescript to v4.9.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 14:00:25 +01:00
renovate[bot]
834faf7213 chore(deps): update dependency eslint to v8.33.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 13:59:49 +01:00
renovate[bot]
ab2bf73bcf chore(deps): update node.js to bc329c7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 05:09:54 +00:00
renovate[bot]
217028b9e5 fix(deps): update dependency @reduxjs/toolkit to v1.9.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-29 20:05:53 +01:00
renovate[bot]
2cbeffa2d0 chore(deps): update typescript-eslint monorepo to v5.49.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-29 19:28:52 +01:00
renovate[bot]
11519baf31 fix(deps): update dependency redux to v4.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-29 01:42:14 +00:00
renovate[bot]
843d66c0f2 chore(deps): update test packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 17:35:49 +01:00
renovate[bot]
1773a176b2 chore(deps): update dependency eslint-plugin-testing-library to v5.10.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 16:19:59 +01:00
renovate[bot]
9252a11cd7 chore(deps): update dependency cypress to v12.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 16:19:06 +01:00
renovate[bot]
f70a94d60f chore(deps): update nextjs monorepo to v13.1.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 16:14:53 +01:00
renovate[bot]
909c5a1cb7 chore(deps): update dependency eslint-config-next to v13.1.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 13:22:05 +00:00
Avinash
dae3b9d8dc fix(frontend): add error prop to password input
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-01-24 21:19:46 +01:00
renovate[bot]
a59a93c005 fix(deps): update dependency emoji-picker-element to v1.15.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-23 01:29:55 +00:00
renovate[bot]
e285d4f0da chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 14:46:27 +01:00
renovate[bot]
7e7f387e39 chore(deps): update dependency @testing-library/dom to v8.20.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 13:23:36 +01:00
renovate[bot]
eb04cdee83 chore(deps): update dependency @codemirror/commands to v6.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 13:19:11 +01:00
renovate[bot]
b0ed01d756 fix(deps): update dependency @uiw/react-codemirror to v4.19.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 12:48:22 +01:00
renovate[bot]
e241da2da9 chore(deps): update nextjs monorepo to v13.1.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 23:24:27 +01:00
renovate[bot]
21d8f0876d fix(deps): update dependency abcjs to v6.1.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 23:07:03 +01:00
renovate[bot]
844a363ecc chore(deps): update dependency eslint-config-next to v13.1.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 23:05:45 +01:00
renovate[bot]
6f88272fb1 chore(deps): update dependency @types/react to v18.0.27
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 23:05:36 +01:00
renovate[bot]
cb946e0a3a chore(deps): update dependency @types/jest to v29.2.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 11:31:12 +01:00
renovate[bot]
faa8da8204 chore(deps): update nextjs monorepo to v13.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 22:47:12 +01:00
renovate[bot]
3915a05e24 chore(deps): update typescript-eslint monorepo to v5.48.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 19:29:22 +01:00
renovate[bot]
aa59f57856 chore(deps): update dependency @codemirror/language to v6.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 18:35:22 +01:00
renovate[bot]
cf9131c06e chore(deps): update dependency prettier to v2.8.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-16 11:54:32 +00:00
renovate[bot]
e39cf83377 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-16 07:05:57 +00:00
renovate[bot]
200d4ccab1 chore(deps): update node.js to fda9816
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-16 03:24:49 +00:00
Philip Molares
16b1065a51 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
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
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