Commit graph

317 commits

Author SHA1 Message Date
renovate[bot]
e776719710 fix(deps): update dependency react-bootstrap-typeahead to v6.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 13:50:26 +01:00
renovate[bot]
7002157880 fix(deps): update dependency mermaid to v10.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 13:46:50 +01:00
renovate[bot]
e0144f8769 fix(deps): update dependency yjs to v13.5.48
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 13:20:44 +01:00
renovate[bot]
21bc3a1332 fix(deps): update dependency dompurify to v3.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 12:02:13 +01:00
renovate[bot]
8a09cb8f0d fix(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 12:01:02 +01:00
renovate[bot]
51c89bfd83 chore(deps): update dependency eslint-config-next to v13.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 12:00:45 +01:00
renovate[bot]
f367dfcfa5 chore(deps): update nextjs monorepo to v13.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 12:00:35 +01:00
renovate[bot]
ba3ebd296a chore(deps): update node.js to f8a51c3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 10:39:44 +00:00
renovate[bot]
40a7796981 fix(deps): update dependency vega to v5.23.0 [security]
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-03 16:34:51 +01:00
Tilman Vatteroth
86de2924bc fix(docker): fix yarn cache folder
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-02 21:33:14 +01:00
renovate[bot]
7394f274dc chore(deps): update dependency @types/node to v18.14.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-27 01:29:01 +00:00
Tilman Vatteroth
eb3340d735 fix(frontend): migrate mermaid chart
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-26 13:06:47 +01:00
renovate[bot]
810ec92530 fix(deps): update dependency mermaid to v10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-26 13:06:47 +01:00
renovate[bot]
a5102954d2 chore(deps): update dependency eslint to v8.35.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-26 12:57:35 +01:00
renovate[bot]
7ed0936901 fix(deps): update dependency react-bootstrap-typeahead to v6.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-26 12:56:33 +01:00
renovate[bot]
7754f7fdd5 chore(deps): update nextjs monorepo to v13.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 21:06:36 +01:00
renovate[bot]
64a19cadfb fix(deps): update dependency react-i18next to v12.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 20:08:22 +01:00
renovate[bot]
74ffe2480e chore(deps): update dependency eslint-config-next to v13.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 20:06:41 +01:00
renovate[bot]
6233a30687 chore(deps): update dependency cypress to v12.7.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 20:06:11 +01:00
renovate[bot]
565000446e fix(deps): update dependency yjs to v13.5.47
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 19:13:32 +01:00
renovate[bot]
5bc6acde07 fix(deps): update dependency emoji-picker-element to v1.16.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 19:12:15 +01:00
renovate[bot]
9b82e0cce7 chore(deps): update typescript-eslint monorepo to v5.53.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 17:37:48 +01:00
renovate[bot]
a85a5d0d80 fix(deps): update dependency i18next-resources-to-backend to v1.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 13:58:03 +01:00
renovate[bot]
5f9890ce91 fix(deps): update dependency @reduxjs/toolkit to v1.9.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 13:48:17 +01:00
renovate[bot]
d1389c5c54 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 13:47:50 +01:00
renovate[bot]
aaba20e22d chore(deps): update node.js to 0d2712a
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 09:21:23 +00:00
Philip Molares
1c16e25e14 feat(frontend): replace forkawesome with bootstrap icons
These icon replace fork awesome. A linter informs the user about the deprecation.

See https://github.com/hedgedoc/hedgedoc/issues/2929

Co-authored-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-24 14:31:17 +01:00
Tilman Vatteroth
34b6308cee fix(frontend): replace blockquote extra cypress test with jest test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-22 10:16:24 +01:00
Erik Michelson
08eaff862d enhancement(dockerfiles): add/update oci labels
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-21 13:09:32 +01:00
Tilman Vatteroth
eac2a7b23e fix(frontend): use "action" prop in revisions list
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-21 11:17:48 +01:00
Philip Molares
7fb02c96e6 refactor(frontend): title for common modal via titleI18nKey or title prop
This is mainly needed because we use the common modal to show image light boxes and the title is then the title or alt text of the image

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-02-19 22:04:40 +01:00
Philip Molares
f24c46101b refactor(frontend): remove unused TranslatedIconButton
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-02-19 21:31:58 +01:00
renovate[bot]
e3a6f40022 fix(deps): update dependency dompurify to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:18:28 +01:00
renovate[bot]
621c410b5d fix(deps): update dependency mermaid to v9.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:17:09 +01:00
renovate[bot]
5ddce7a316 chore(deps): update typescript-eslint monorepo to v5.52.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:14:22 +01:00
renovate[bot]
ae68fd879c chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:06:52 +01:00
renovate[bot]
7e4b7680bc chore(deps): update testing-library
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:06:08 +01:00
renovate[bot]
6b24399668 chore(deps): update dependency @types/node to v18.14.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:04:22 +01:00
renovate[bot]
77e594ce14 chore(deps): update dependency cypress to v12.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:04:06 +01:00
renovate[bot]
6e98c20f73 fix(deps): update vega
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 04:25:29 +00:00
renovate[bot]
0848792af0 chore(deps): update test packages to v29.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:42:18 +00:00
renovate[bot]
2c76ab1214 chore(deps): update node.js to 045b1a1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:58:54 +01:00
renovate[bot]
378799d3b5 fix(deps): update dependency markdown-it-anchor to v8.6.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:57:49 +01:00
renovate[bot]
2b31807cdd fix(deps): update dependency yjs to v13.5.46
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:54:27 +01:00
renovate[bot]
9a41f87bd9 fix(deps): update dependency ws to v8.12.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:50:25 +01:00
renovate[bot]
57aad0ffa2 fix(deps): update dependency react-bootstrap to v2.7.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:47:35 +01:00
renovate[bot]
a6d4ea492f chore(deps): update dependency eslint-plugin-testing-library to v5.10.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:46:49 +01:00
renovate[bot]
5c707ecfde fix(deps): update dependency sass to v1.58.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:50:25 +01:00
renovate[bot]
84eb8d0d00 chore(deps): update dependency @types/react-dom to v18.0.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:05:01 +01:00
renovate[bot]
8dc7190140 fix(deps): update dependency dompurify to v2.4.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:02:55 +01:00
renovate[bot]
9360e9553e fix(deps): update dependency i18next to v22.4.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:01:45 +01:00
renovate[bot]
40ddf2a7c6 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 16:09:12 +01:00
renovate[bot]
aadedb698a fix(deps): update dependency abcjs to v6.1.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 14:34:26 +01:00
Erik Michelson
97216e78ff fix(tests): add license field to frontmatter
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-18 14:05:56 +01:00
Erik Michelson
90ae3e2e75 test(e2e): add cypress test for license frontmatter
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-13 18:10:51 +01:00
Erik Michelson
cf34df21b7 feat: add license frontmatter field for link header
This commit adds the "license" frontmatter property which sets a link with the "license" relation in the head of the HTML page.
Furthermore, this commit restructures the other head elements for a note altogether into a single component that can be used to inject all head elements at once.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-13 18:10:51 +01:00
Tilman Vatteroth
91e7056882 fix(frontend e2e): name of iframe capsule test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-13 18:06:17 +01:00
Tilman Vatteroth
57bfca7b15 fix(frontend): refactor api error handling
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-12 22:10:31 +01:00
Tilman Vatteroth
32127b14cb fix: move nvmrc into root directory
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-12 22:10:31 +01:00
renovate[bot]
acb920a4b6 fix(deps): update dependency @uiw/react-codemirror to v4.19.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-12 11:59:10 +01:00
renovate[bot]
3e8756ed54 chore(deps): update dependency @types/react to v18.0.28
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 19:44:05 +00:00
renovate[bot]
d0776f8620 chore(deps): update node.js to 45748c3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 17:30:06 +00:00
renovate[bot]
35d02a945f chore(deps): update dependency eslint to v8.34.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:43:28 +01:00
renovate[bot]
f34e0ac588 fix(deps): update dependency @uiw/react-codemirror to v4.19.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:34:56 +01:00
renovate[bot]
51049b7c36 fix(deps): update dependency react-bootstrap to v2.7.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:27:38 +01:00
renovate[bot]
47f1ad69b7 chore(deps): update dependency @types/node to v18.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:12:21 +01:00
renovate[bot]
18c458a759 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:12:07 +01:00
renovate[bot]
4d1d9b7815 chore(deps): update typescript-eslint monorepo to v5.51.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:07:26 +01:00
renovate[bot]
ac572a2fbb chore(deps): update test packages to v29.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:40:36 +01:00
renovate[bot]
a5dffe603e chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:28:46 +01:00
renovate[bot]
f0d564cb4c chore(deps): update node.js to bfc56a6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:28:26 +01:00
Tilman Vatteroth
caa53e3556 feat: add patch to add generic types to eventemitter2
EventEmitter2 has types, but they're very basic and not very type safe.
I created this patch, because my improved types haven't been merged into the official package.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 21:58:41 +01:00
Tilman Vatteroth
11c2f57e4b fix(commons): extract name of markdown content yjs channel into the commons package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 15:43:59 +01:00
Tilman Vatteroth
3ca64e84e1 fix(docker): fix workspace focus command
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 22:10:48 +01:00
Erik Michelson
305b6f5910 misc: add turbo monorepo util
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: David Mehren <git@herrmehren.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
Tilman Vatteroth
e3512d3a87 chore: remove renovate.json from frontend
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
Tilman Vatteroth
3f8771a15e fix(frontend): simplify asciinema regex
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-06 12:35:45 +01:00
renovate[bot]
397fe2f7a1 fix(deps): update dependency deepmerge to v4.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:41:27 +01:00
renovate[bot]
8fa9bf0aa8 chore(deps): update typescript-eslint monorepo to v5.50.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:41:17 +01:00
renovate[bot]
085782d35a chore(deps): update dependency cypress to v12.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:07:26 +01:00
renovate[bot]
f8be64cfba chore(deps): update yarn to v3.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:07:06 +01:00
renovate[bot]
b76bd9f40a fix(deps): update dependency sass to v1.58.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 09:15:50 +01:00
renovate[bot]
8023b126a2 fix(deps): update dependency yjs to v13.5.45
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:26:22 +01:00
renovate[bot]
cd0d7a3a40 fix(deps): update dependency react-i18next to v12.1.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:25:59 +01:00
renovate[bot]
5c9b918a34 chore(deps): update dependency @types/node to v18.11.19
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:25:13 +01:00
Erik Michelson
5a7a37a241 fix: use modern in syntax instead of Object.prototype.hasOwnProperty
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-05 22:54:32 +01:00
Erik Michelson
ada2dce9c2 test(opengraph): add e2e test for opengraph metadata
Since mocking next/head for component tests seems not to work that easily, we decided to go with e2e tests.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-05 22:54:32 +01:00
Erik Michelson
09c2eaba9d feat(opengraph): add opengraph support
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-05 22:54:32 +01:00
Tilman Vatteroth
5e1fdbe81d fix(config): Replace HD_DOMAIN and HD_EDITOR_BASE_URL with HD_BASE_URL
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 22:32:31 +01:00
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