Commit graph

1413 commits

Author SHA1 Message Date
Tilman Vatteroth
c187f39046 fix: change frontend browserslist to fix build
Next 14.1 has a bug when specific browser targets are added. I've added https://github.com/vercel/next.js/issues/60909#issuecomment-1905103530 as workaround.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-02-10 16:07:45 +01:00
renovate[bot]
8a11f6c63c chore(deps): update dependency @testing-library/jest-dom to v6.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 16:19:22 +01:00
renovate[bot]
95e09f02f7 chore(deps): update dependency @types/node to v20.11.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-28 21:02:24 +00:00
renovate[bot]
9bd0cb6e76 chore(deps): update dependency @types/uuid to v9.0.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-28 16:52:14 +00:00
renovate[bot]
ec7ba41e45 chore(deps): update node.js to 2f46fd4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-28 16:06:28 +00:00
renovate[bot]
7b956dd380 fix(deps): update dependency sharp to v0.33.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-28 16:06:16 +00:00
yamashush
dea13bfa90 delete baseURL args
Signed-off-by: yamashush <38120991+yamashush@users.noreply.github.com>
2024-01-28 17:05:53 +01:00
yamashush
744f96852c refactor: use provider for baseURL
Signed-off-by: yamashush <38120991+yamashush@users.noreply.github.com>
2024-01-28 17:05:53 +01:00
renovate[bot]
e8c43ff182 fix(deps): update dependency sass to v1.69.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-28 15:38:47 +00:00
renovate[bot]
e5386ed856 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-28 16:30:29 +01:00
renovate[bot]
0fcb58513f fix(deps): update dependency react-use to v17.4.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 07:24:37 +00:00
renovate[bot]
461fe080fa fix(deps): update dependency react-bootstrap to v2.9.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 07:23:18 +00:00
renovate[bot]
6d92b6111c fix(deps): update dependency dompurify to v3.0.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 07:22:18 +00:00
renovate[bot]
83a5708454 fix(deps): update dependency @orama/orama to v2.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 04:07:53 +00:00
renovate[bot]
e7032f0ba3 fix(deps): update dependency @dicebear/identicon to v7.0.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 04:06:40 +00:00
renovate[bot]
3c94f69974 fix(deps): update dependency @dicebear/core to v7.0.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 01:47:12 +00:00
renovate[bot]
ac7597d066 chore(deps): update testing-library
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 01:46:20 +00:00
renovate[bot]
3a31f977c3 chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 01:45:58 +00:00
renovate[bot]
d3b9bba683 chore(deps): update dependency yjs to v13.6.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-24 22:00:54 +00:00
renovate[bot]
a6c3f4fe43 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 10:49:56 +00:00
renovate[bot]
a2046cc6b8 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 07:33:49 +00:00
renovate[bot]
a48b160eff chore(deps): update node.js to 8e6a472
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-21 17:16:42 +00:00
renovate[bot]
f0a6e0dc01 chore(deps): update nextjs monorepo to v14.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-21 15:46:41 +01:00
yamashush
8aa913c179 change not to update state object
Signed-off-by: yamashush <38120991+yamashush@users.noreply.github.com>
2024-01-21 15:30:39 +01:00
renovate[bot]
c2d3fb0aef fix(deps): update dependency emoji-picker-element-data to v1.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 21:18:09 +01:00
renovate[bot]
d20f40d5fd chore(deps): update dependency cypress to v13.6.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 21:09:15 +01:00
renovate[bot]
76853f68db fix(deps): update dependency emoji-picker-element to v1.21.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 21:08:45 +01:00
Tilman Vatteroth
f80dd7f0e7 fix(deps): migrate to next 14
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-01-18 19:12:46 +01:00
Tilman Vatteroth
07162b7807 fix(deps): replace flexsearch-ts with orama
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-01-18 19:12:46 +01:00
yamashush
cf766fb4a6 set color-thema
Signed-off-by: yamashush <38120991+yamashush@users.noreply.github.com>
2024-01-12 16:54:17 +01:00
renovate[bot]
9210911c40 fix(deps): update dependency sharp to v0.33.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 09:12:49 +01:00
renovate[bot]
d6b2c49a97 fix(deps): update dependency tlds to v1.248.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 21:30:11 +01:00
renovate[bot]
2ab59b750c chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2023-12-08 09:10:43 +01:00
renovate[bot]
d804cdbfed chore(deps): update dependency @testing-library/react to v14.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 21:13:06 +01:00
renovate[bot]
dbc81435bf chore(deps): update dependency typescript to v5.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 21:07:59 +01:00
David Mehren
d5234230bb fix(deps): update a bunch of markdown-it plugins
markdown-it-emoji breaks the build, so skipped for now

Signed-off-by: David Mehren <git@herrmehren.de>
2023-12-07 20:59:53 +01:00
renovate[bot]
f03ed6ad03 fix(deps): update dependency markdown-it-abbr to v2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 20:59:53 +01:00
renovate[bot]
c18683fab3 chore(deps): update dependency @types/jest to v29.5.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 19:24:49 +00:00
renovate[bot]
51d1983656 chore(deps): update dependency csstype to v3.1.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 18:55:37 +00:00
David Mehren
e35fa06dc3 fix(deps): update dependency abcjs to v6.2.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2023-12-07 18:49:51 +00:00
renovate[bot]
013fd22de4 chore(deps): update dependency @codemirror/state to v6.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 18:45:29 +00:00
renovate[bot]
af34736199 fix(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 19:16:51 +01:00
renovate[bot]
754121a7da chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 18:48:21 +01:00
renovate[bot]
e1e8a24d60 chore(deps): update typescript-eslint monorepo to v6.13.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 18:46:39 +01:00
renovate[bot]
7b1870b6b9 chore(deps): update yarn to v4.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2023-12-07 17:14:34 +00:00
renovate[bot]
eaa8b0e80f chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-03 09:59:59 +01:00
renovate[bot]
2c5473b4f5 fix(deps): update dependency vega-lite to v5.16.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-03 01:32:26 +00:00
renovate[bot]
b36402da9e fix(deps): update dependency react-use to v17.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 22:32:54 +00:00
renovate[bot]
a1a1e50e03 fix(deps): update dependency react-i18next to v13.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 19:56:28 +00:00
renovate[bot]
69d4bc215e fix(deps): update dependency react-bootstrap-typeahead to v6.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 17:13:06 +00:00
renovate[bot]
e0d2637209 fix(deps): update dependency mermaid to v10.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 14:18:23 +00:00
renovate[bot]
afb4e9bc26 fix(deps): update dependency luxon to v3.4.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 09:32:17 +00:00
renovate[bot]
5cf0a9112f fix(deps): update dependency @redux-devtools/core to v3.13.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 21:08:24 +00:00
renovate[bot]
8e3519737c chore(deps): update node.js to 32427bc
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 19:27:26 +00:00
renovate[bot]
ecaa2c3ed8 chore(deps): update dependency yjs to v13.6.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 00:26:13 +00:00
renovate[bot]
15a40ab362 chore(deps): update dependency ts-loader to v9.5.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 00:23:40 +00:00
renovate[bot]
84eb2527cc chore(deps): update dependency @types/jest to v29.5.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 21:06:55 +00:00
renovate[bot]
966c8fe707 chore(deps): update dependency @testing-library/jest-dom to v6.1.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 21:06:15 +00:00
renovate[bot]
10c39d0f12 fix(deps): update dependency d3-graphviz to v5.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 22:00:58 +01:00
Philip Molares
f701f8d05f refactor: remove show-if in favour of conditionals
This prevents a problem where show-if can trigger an error if a value is checked to exist with it.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-11-30 21:14:01 +01:00
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
Tilman Vatteroth
982783c8cf fix(common): fix fetch mock in test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-19 20:26:14 +00:00
renovate[bot]
403593c9d1 fix(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:26:14 +00:00
renovate[bot]
fd213d8344 chore(deps): update dependency cypress to v13.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 17:58:12 +00:00
renovate[bot]
1d1e48bbc9 chore(deps): update dependency @codemirror/state to v6.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 17:57:37 +00:00
renovate[bot]
8b5713b9f4 chore(deps): update typescript-eslint monorepo to v6.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 19:35:02 +02:00
renovate[bot]
3525f72162 chore(deps): update ts-node digest to c06cbe7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 00:18:57 +00:00
renovate[bot]
fea54603fd chore(deps): update node.js to 002b6ee
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 23:18:33 +00:00
renovate[bot]
7877c5216a fix(deps): update dependency sass to v1.69.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 20:32:42 +00:00
Erik Michelson
187e2ec238 fix(i18n): wrong translation key for max length
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-18 22:13:45 +02:00
renovate[bot]
f5617ca21d chore(deps): update dependency @types/d3-graphviz to v2.6.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 02:12:12 +00:00
renovate[bot]
16e4202916 chore(deps): update node.js to a369136
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 23:00:32 +00:00
renovate[bot]
913cfce2e8 chore(deps): update node.js to d962f13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 20:28:22 +00:00
renovate[bot]
4536cb09eb chore(deps): update dependency eslint-config-next to v13.5.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 15:54:13 +00:00
Erik Michelson
909f45bc3f enhancement(notifications): remove from state after dismissal
This commit changes the implementation from an array to a Map,
as that makes accessing a notification for dismissal or removal
more performant.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-15 21:08:26 +02:00
renovate[bot]
a218c9fc50 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-14 02:34:14 +02:00
renovate[bot]
93f266e450 fix(deps): update dependency react-i18next to v13.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-14 02:28:13 +02:00
Erik Michelson
f6780c44c4 feat(sidebar): distinguish guest users visually
This change adds a little guest icon next to the active indicator
showing that a user is not logged-in.
Furthermore, the active indicator now has a tooltip explaining it.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-14 02:00:59 +02:00
Erik Michelson
685488c7a2 enhancement(autocomplete): add generic code suggestion entry
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:12:53 +02:00
Erik Michelson
5ccc9059f0 tests(permissions): add cypress tests for permission alert icon
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:07:44 +02:00
Erik Michelson
6d69b294cb refactor(permissions): retrieve special permissions from hook
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:07:44 +02:00
Erik Michelson
dfcf662a85 enhancement(permissions): show alert when permission is overridden by another
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:07:44 +02:00
renovate[bot]
12c24956d2 fix(deps): update dependency vega-lite to v5.16.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 10:52:11 +02:00
renovate[bot]
750cfbe0f3 chore(deps): update dependency eslint-plugin-testing-library to v6.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 10:51:39 +02:00
Erik Michelson
b35bc739e5 chore(deps): use the same ts-node version in frontend/backend
This changes the specified version from main branch to a specific commit.
Hopefully this changes will result in (better) caching of the ts-node
package, especially in the GitHub CI. By setting a specific commit,
the package is also pinned like all other dependencies and therefore
ensures a more predictionable behaviour.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 10:49:46 +02:00
renovate[bot]
f86aea2c8f fix(deps): update dependency @uiw/react-codemirror to v4.21.20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 08:15:36 +00:00
renovate[bot]
a39297a3c4 chore(deps): update dependency @testing-library/jest-dom to v6.1.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 06:44:26 +00:00
renovate[bot]
687eeb9afd fix(deps): update dependency sass to v1.69.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 04:19:29 +00:00
renovate[bot]
a397373bce chore(deps): update dependency cypress to v13.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 00:17:20 +00:00
renovate[bot]
9be9c4ed79 chore(deps): update dependency eslint-plugin-prettier to v5.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 04:18:31 +00:00
renovate[bot]
456ad384a3 fix(deps): update dependency sass to v1.69.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 22:06:58 +00:00
renovate[bot]
fbadd55ec4 fix(deps): update dependency sass to v1.69.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 01:10:36 +00:00
renovate[bot]
8bc3dab517 chore(deps): update typescript-eslint monorepo to v6.7.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-09 19:07:10 +00:00
Tilman Vatteroth
ce286cc092 fix: catch access forbidden errors for local storage access
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-09 09:11:11 +02:00
Tilman Vatteroth
be3ca5cdeb fix: trigger iframe load fallback outside of test mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-09 09:11:11 +02:00
renovate[bot]
0d9131cb68 fix(deps): update dependency highlight.js to v11.9.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-09 06:52:30 +02:00
renovate[bot]
b7f455e599 fix(deps): update dependency emoji-picker-element to v1.18.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-08 22:49:30 +00:00
David Mehren
3d03835af9 chore: set version in all packae.jsons
Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-08 22:01:47 +02:00
Tilman Vatteroth
a2b291294e fix: usage of internal api
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 21:59:39 +02:00
Tilman Vatteroth
f43c9fd2b1 feat: add internal api url
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 21:12:51 +02:00
Philip Molares
db2d8614a6 fix: add correct link to ForkAwesomeHtmlTagAppExtension
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-08 21:12:15 +02:00
David Mehren
c8c20da469 fic(ci): add git to build containers
Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-08 19:10:41 +02:00
Tilman Vatteroth
ff7a7a220d fix: change icon and name of last saved sidebar entry
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 18:08:24 +02:00
Yannick Bungers
8879b51344 Adding issues for TODOs
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
040d473b62 Remove fixed TODOs
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
04d16a1141 Update issue link
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Tilman Vatteroth
386cf469fd fix(editor): fix positions of tag migration lint
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 15:07:19 +02:00
Erik Michelson
18e1ab340c fix(history): history toolbar wraps instead of making buttons ugly
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Erik Michelson
830f6f819b fix(cheatsheet): use correct image URL
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Erik Michelson
75838ef426 enhancement(appbar): remove unnecessary history button from app bar
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Erik Michelson
7758cd588c fix(editor): remove toolbar separators and fix margin
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Erik Michelson
e53ad15bfe enhancement(sidebar): hide delete note button when not being the owner
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Tilman Vatteroth
f786fe538b fix(editor): fix emoji picker data path
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 13:47:00 +02:00
Tilman Vatteroth
72a211b58f Revert "fix(codemirror): remove defect language highlighting"
This reverts commit 6e36ab56b7.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 13:33:14 +02:00
Erik Michelson
6e36ab56b7 fix(codemirror): remove defect language highlighting
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 12:58:59 +02:00
Philip Molares
9a81e3ae18 refactor: remove name tooltip from user avatar
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-08 12:58:46 +02:00
renovate[bot]
c8d654e700 fix(deps): update dependency emoji-picker-element-data to v1.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-08 09:24:13 +02:00
Erik Michelson
792f4b7dbc fix: show guest access button only with relevant config being set
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 18:25:05 +02:00
Erik Michelson
cd68794157 fix: redirect to history page after register to avoid problems
With the previous redirect to the root page, there were some problems when having no other routes in the route history.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 18:04:24 +02:00
Philip Molares
f47f6c3658 fix: clicking the logo let's the user get back to the note
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 18:00:20 +02:00
Philip Molares
2693ebbb82 feat(editor): show notification if user is not allowed to edit note
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 17:49:55 +02:00
renovate[bot]
7ae167c232 fix(deps): update dependency mermaid to v10.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:25:46 +02:00
renovate[bot]
fc763d74c4 fix(deps): update dependency vega-embed to v6.23.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:25:38 +02:00
renovate[bot]
babc53e166 fix(deps): update dependency sass to v1.69.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:24:50 +02:00
renovate[bot]
bb707c49a6 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:24:07 +02:00
renovate[bot]
9df6a24792 chore(deps): update dependency eslint to v8.51.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:23:20 +02:00
renovate[bot]
f340c30945 chore(deps): update dependency ts-loader to v9.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:23:00 +02:00
Erik Michelson
1fefabb3b2 fix: use correct import for identicon
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 16:17:55 +02:00
Philip Molares
5435dd54ee fix(sidebar): indicate that some feature are not yet supported
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 15:55:23 +02:00
Erik Michelson
a8b3b117dc feature: add identicon generation to users without photo
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 15:51:32 +02:00
renovate[bot]
55398e2428 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 13:29:23 +00:00
renovate[bot]
c95efbee25 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 13:04:29 +00:00
renovate[bot]
f3a3055e08 chore(deps): update yarn to v3.6.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 12:44:15 +00:00
Philip Molares
c4dade2fc5 fix: height and width of history table button
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 14:44:04 +02:00
renovate[bot]
585e1989e1 chore(deps): update dependency @types/node to v20.8.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 14:39:13 +02:00
Philip Molares
d43da06ec1 refactor: remove dropbox, facebook & twitter login
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 13:28:37 +02:00
Erik Michelson
29bf32b76f enhancement: use isLoggedIn hook
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 12:34:34 +02:00
Erik Michelson
3dfad0cea5 enhancement: use isLoggedIn hook
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 12:34:34 +02:00
Erik Michelson
8e10fb6804 fix: show new note button only dependent on guest access
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 12:34:34 +02:00
renovate[bot]
7915da91a8 fix(deps): update dependency @reduxjs/toolkit to v1.9.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 00:17:30 +00:00
renovate[bot]
861eec4358 chore(deps): update dependency @types/react to v18.2.25
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 22:42:06 +00:00
renovate[bot]
b2cb978dec chore(deps): update dependency @types/react-dom to v18.2.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 20:12:13 +00:00
renovate[bot]
2b27bd27b9 chore(deps): update dependency @types/react-dom to v18.2.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 17:14:31 +00:00
renovate[bot]
43b83c29cd fix(deps): update dependency @uiw/react-codemirror to v4.21.19
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 17:13:06 +00:00
renovate[bot]
1b3eec3eba chore(deps): update dependency eslint-config-next to v13.5.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 04:09:51 +00:00
renovate[bot]
3a4b611cf5 fix(deps): update dependency vega-lite to v5.15.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 22:47:05 +00:00
renovate[bot]
9cb8ccb887 fix(deps): update dependency katex to v0.16.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 22:46:34 +00:00
renovate[bot]
5e839f9816 chore(deps): update typescript-eslint monorepo to v6.7.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 19:17:25 +00:00
Tilman Vatteroth
5a1edea00a fix(iframe-loader): add fallback for iframe loading
Some browsers (mostly cypress's chrome) doesn't execute
the onLoad callback automatically on the iframe.
The fallback is a timer that triggers this after a timeout of 500ms.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-02 09:13:30 +02:00
Tilman Vatteroth
62abd9cbe0 fix: don't double load iframe content
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-02 09:13:30 +02:00
Tilman Vatteroth
d5455f7c33 fix: include uuid in iframe communicator logger
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-02 09:13:30 +02:00