Commit graph

1203 commits

Author SHA1 Message Date
Philip Molares
20f0a497ce refactor: use reduce generic type instead of type cast
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-11-30 21:03:21 +01:00
renovate[bot]
e46b987201 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 19:16:35 +00:00
renovate[bot]
99b4ee8cc1 chore(deps): update node.js to b1789b7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 19:15:47 +00:00
Erik Michelson
0a64b32024 fix(settings): use correct name instead of hardcoded 'dark-mode'
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-11-27 13:54:02 +01:00
Erik Michelson
395305dcb7 feat(settings): add editor settings for indentation
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-11-27 13:54:02 +01:00
Erik Michelson
3bc9708871 fix(settings): re-add spellcheck setting
This was included in the old editor preferences dialog,
which got removed altogether with the document-bar.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-11-27 13:54:02 +01:00
renovate[bot]
4775622f19 chore(deps): update test packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 21:22:23 +00:00
Philip Molares
d8fdee8f41 fix(pin-button): add loading state
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-11-12 21:58:05 +01:00
Philip Molares
217b42d76a fix(newPage): replace show if with inline condition
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-11-12 21:57:31 +01:00
renovate[bot]
b22eb18aba chore(deps): update dependency @types/d3-graphviz to v2.6.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 20:44:19 +00:00
renovate[bot]
d8cdf7b6da chore(deps): update dependency eslint-plugin-testing-library to v6.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 20:40:57 +00:00
renovate[bot]
a18638aac5 chore(deps): update yarn to v4.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 20:00:30 +00:00
Philip Molares
26aae03b22 chore: update ts-node to 11.0.0-beta.1
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-29 21:52:14 +01:00
renovate[bot]
9118e11c6b chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 08:43:22 +02:00
renovate[bot]
90f70a0a2b fix(deps): update dependency tlds to v1.244.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 23:34:17 +02:00
renovate[bot]
596a96626c fix(deps): update dependency mermaid to v10.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 23:28:17 +02:00
renovate[bot]
06b4178f47 fix(deps): update dependency i18next to v23.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 23:12:15 +02:00
renovate[bot]
f74bdbc930 fix(deps): update dependency sass to v1.69.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 10:41:24 +00:00
renovate[bot]
5266872498 chore(deps): update dependency @types/react to v18.2.33
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 08:26:29 +00:00
renovate[bot]
b5290ad94e chore(deps): update dependency cypress to v13.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 03:43:45 +00:00
renovate[bot]
c9fa4d07bf chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 02:06:04 +00:00
renovate[bot]
2be48eff36 chore(deps): update node.js to 8e015de
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-25 23:17:22 +00:00
renovate[bot]
4e0582d1dc chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-25 22:48:24 +02:00
Philip Molares
e797d600d4 chore: release alpha 2
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-25 21:55:27 +02:00
Tilman Vatteroth
a8616ebf84 chore(deps): downgrade nextjs to 13.4.19
See https://github.com/hedgedoc/hedgedoc/issues/5201

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-25 09:34:35 +02:00
Tilman Vatteroth
dfbd45301c fix(frontend): fix motd e2e test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-24 13:49:12 +02:00
Tilman Vatteroth
dd4e50103f fix(frontend): delete mock public directory only for production
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-24 13:49:12 +02:00
Tilman Vatteroth
7037c9f6ca fix(frontend): improve mock api error message for source ip
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-24 13:49:12 +02:00
Tilman Vatteroth
e953a5115a fix(frontend): improve expected origin error message
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-24 13:49:12 +02:00
Tilman Vatteroth
a0bc8e98d0 feat(motd): read motd in RSC and provide via context
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-24 13:49:12 +02:00
renovate[bot]
daecf20dd6 chore(deps): update yarn to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 11:26:16 +02:00
Philip Molares
723f3f611c feat(realtime): add disconnect reason
The frontend now doesn't try to reconnect, when the disconnection happened because of a lack of permissions

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-23 22:39:21 +02:00
Erik Michelson
f6cfe74d8c fix(frontend): error in review viewer
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-23 22:22:31 +02:00
Tilman Vatteroth
6760db9e18 fix(frontend): use swc minify to prevent terser error
Terser can't handle the static blocks our code produce. SWC can handle this, but causes other problems caused by the global-error files. It's not a nice solution but the benefit is bigger than the risk.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-23 22:01:18 +02:00
renovate[bot]
a386faa2d8 chore(deps): update nextjs monorepo to v13.5.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 22:01:18 +02:00
Tilman Vatteroth
fcd31931f5 fix(frontend): remove light text class from error page
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-23 21:39:40 +02:00
renovate[bot]
c0f8f43859 chore(deps): update dependency @types/markdown-it to v13.0.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 17:43:27 +00:00
Philip Molares
7236a08cfe fix(frontend): build script error
The extra `api` at the end did lead mv to try to copy the api directory in directory named api. This is not intended behaviour and fails if there is no api directory already.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-22 20:57:37 +02:00
renovate[bot]
e117631f7d fix(deps): update dependency react-bootstrap-typeahead to v6.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 20:44:04 +02:00
renovate[bot]
c8fc28f37c chore(deps): update dependency eslint-plugin-jest to v27.4.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-21 01:24:08 +00:00
renovate[bot]
4640c07e13 fix(deps): update dependency react-bootstrap to v2.9.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-21 01:22:48 +00:00
renovate[bot]
7e87948886 chore(deps): update dependency @types/react to v18.2.31
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 16:08:13 +00:00
renovate[bot]
dbae772c72 fix(deps): update dependency mermaid to v10.5.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 14:00:14 +00:00
Tilman Vatteroth
61362f9175 fix(frontend): migrate type changes
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-20 13:35:54 +00:00
renovate[bot]
2f5dadb981 chore(deps): update dependency @types/react to v18.2.30
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 13:35:54 +00:00
renovate[bot]
114172c217 fix(deps): update dependency tlds to v1.243.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 08:45:59 +02:00
renovate[bot]
e1a6c84efd chore(deps): update test packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:50:07 +00:00
renovate[bot]
1aa85af34e fix(deps): update dependency react-i18next to v13.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:48:37 +00:00
renovate[bot]
c3030691cb chore(deps): update dependency eslint-config-next to v13.5.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:42:10 +00:00
Tilman Vatteroth
386d5700cf fix(frontend): fix revision-viewer type
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-19 20:26:14 +00:00