Erik Michelson
97389fe0c4
fix: useTranslation hook in react components
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-25 16:14:03 +01:00
Philip Molares
8d497bcfc5
feat(frontend): show own user in UsersOnlineSidebarMenu
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 15:27:38 +01:00
Erik Michelson
61032cb745
feat(editor): add basic codemirror autocompletion suggestions
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-25 15:13:24 +01:00
Philip Molares
4956a99ced
refactor(frontend/commons): rename .test files to .spec
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 15:02:29 +01:00
Tilman Vatteroth
24b7514e25
feat: submit own style index on realtime user state set
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-25 13:11:40 +01:00
Philip Molares
d7af10e4f4
test(cypress): fix owner of notes
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 12:59:58 +01:00
Philip Molares
759c906506
feat(frontend): deactivate delete note button if user is not owner
...
This button and its functionality only works if the user is the owner, so it doesn't make sense to make it possible to press it otherwise…
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 12:59:58 +01:00
Philip Molares
e7e81cf670
feat(frontend): deactivate permissions buttons if user is not owner
...
These buttons and their functionality only work if the user is the owner, so it doesn't make sense to make it possible to press them otherwise…
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 12:59:58 +01:00
Philip Molares
09e56a418e
feat(frontend): deactivate alias buttons if user is not owner
...
These buttons and their functionality only work if the user is the owner, so it doesn't make sense to make it possible to press them otherwise…
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 12:59:58 +01:00
Philip Molares
107ec7a522
feat(frontend): add isOwner hook
...
This hook is used to determine if the current user is the owner of the note
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 12:59:58 +01:00
renovate[bot]
72840f0568
fix(deps): update dependency @svgr/webpack to v7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-25 12:42:28 +01:00
Erik Michelson
b9f7e12c38
fix(landing-layout): links in the user-dropdown not working
...
We use a custom component for rendering the link (Dropdown.Item), therefore we need to set both passHref and legacyBehavior
See: https://nextjs.org/docs/api-reference/next/link#if-the-child-is-a-custom-component-that-wraps-an-a-tag
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-25 11:32:55 +01:00
renovate[bot]
620f55d1fe
fix(deps): update dependency sharp to v0.32.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-25 10:27:44 +01:00
renovate[bot]
6aa1ac6861
chore(deps): update dependency @testing-library/dom to v9.2.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-25 10:27:26 +01:00
renovate[bot]
ed753d7955
fix(deps): update dependency @uiw/react-codemirror to v4.19.10
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-25 10:07:20 +01:00
renovate[bot]
da8424abdf
chore(deps): update dependency @types/node to v18.15.9
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-25 10:07:12 +01:00
renovate[bot]
9ed4e1ef08
chore(deps): update dependency @types/react to v18.0.29
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 18:23:44 +01:00
Tilman Vatteroth
a826677225
refactor: save ydoc state in the database, so it can be restored easier
...
By storing the ydoc state in the database we can reconnect lost clients easier
and enable offline editing because we continue using the crdt data that has been
used by the client before the connection loss.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-24 16:03:55 +01:00
Tilman Vatteroth
c1a816be36
fix: prevent splitter panels from being selected when resizing
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-24 14:45:57 +01:00
Tilman Vatteroth
e97a426680
refactor: split avatar component to handle displaynames
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-24 14:06:03 +01:00
Tilman Vatteroth
3a06f84af1
refactor: reimplement realtime-communication
...
This commit refactors a lot of things that are not easy to separate.
It replaces the binary protocol of y-protocols with json.
It introduces event based message processing.
It implements our own code mirror plugins for synchronisation of content and remote cursors
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-24 14:06:03 +01:00
renovate[bot]
1219d83bc8
chore(deps): update dependency prettier to v2.8.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-24 12:16:22 +01:00
renovate[bot]
c1e085487b
chore(deps): update dependency @types/node to v18.15.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-24 12:15:17 +01:00
renovate[bot]
8f6c4ec7d3
fix(deps): update dependency sass to v1.60.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-24 09:45:48 +01:00
renovate[bot]
3a441caf5e
chore(deps): update dependency @types/node to v18.15.6
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 23:43:57 +00:00
renovate[bot]
f0996c218c
chore(deps): update dependency @types/diff to v5.0.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-23 19:23:15 +01:00
renovate[bot]
fa4b695331
fix(deps): update dependency htmlparser2 to v8.0.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-23 08:52:35 +01:00
renovate[bot]
a015655406
fix(deps): update dependency yjs to v13.5.51
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-22 13:53:17 +01:00
renovate[bot]
7f537f7617
chore(deps): update dependency prettier to v2.8.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 13:45:04 +01:00
renovate[bot]
8c694baeb4
chore(deps): update dependency @codemirror/view to v6.9.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 13:44:44 +01:00
renovate[bot]
b0d182f7fb
chore(deps): update typescript-eslint monorepo to v5.56.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 10:01:30 +01:00
renovate[bot]
1bbc0d0f61
chore(deps): update dependency eslint-config-prettier to v8.8.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 10:01:15 +01:00
renovate[bot]
f1f49ad440
fix(deps): update i18next
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 10:00:29 +01:00
renovate[bot]
7a77df6c0d
fix(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 04:37:15 +00:00
renovate[bot]
bb87c5f82c
chore(deps): update dependency prettier to v2.8.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-20 11:03:16 +01:00
Tilman Vatteroth
c37cafb635
fix: exclude the link icon from the first heading extraction text
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-20 10:21:17 +01:00
Tilman Vatteroth
f78fd69bf4
fix: replace bootstrap icon html with utf-8 icon
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-19 21:02:19 +01:00
Tilman Vatteroth
083da302af
fix: fix missing key in meta og:title
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-19 21:00:54 +01:00
David Mehren
fe3ed17610
build: enable frontend source maps
...
Currently, frontend stack traces are unhelpful in production builds, because they only include minified code.
By enabling source maps for production builds, we enhance debuggability and error-reports.
Ref: https://nextjs.org/docs/advanced-features/source-maps
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-19 20:44:57 +01:00
renovate[bot]
45638b7456
chore(deps): update dependency typescript to v5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-18 22:15:01 +01:00
renovate[bot]
875dab9a35
fix(deps): update dependency tlds to v1.238.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-18 14:19:37 +01:00
renovate[bot]
678b90ec97
fix(deps): update dependency i18next to v22.4.12
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 09:03:28 +01:00
renovate[bot]
173406215c
chore(deps): update yarn to v3.5.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 09:01:42 +01:00
renovate[bot]
a452f393ae
fix(deps): update dependency deepmerge to v4.3.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 00:23:14 +00:00
renovate[bot]
35ba072a91
chore(deps): update dependency @types/jest to v29.5.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-16 19:28:01 +01:00
Tilman Vatteroth
24b0070909
fix(cheatsheet): refactor cheatsheet to use app extensions as source
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-16 17:51:21 +01:00
Tilman Vatteroth
9d49401b4d
fix(renderer): merge similar renderer types
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-16 17:51:21 +01:00
Tilman Vatteroth
958b23e25a
refactor(renderer): convert html/markdown-to-react converters from hooks to components
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-16 08:28:37 +01:00
renovate[bot]
0457a633cc
chore(deps): update dependency cypress to v12.8.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-16 03:31:31 +00:00
renovate[bot]
07f6753110
chore(deps): update dependency @types/jest to v29.4.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-16 01:03:44 +00:00