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
David Mehren
b538c2c2a3
docs: minor fixes for config docs
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-25 13:05:42 +01:00
David Mehren
520d0933cb
docs: add getting started guide
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-25 13:05:42 +01:00
David Mehren
180ab897ec
docs: add docker compose deployment
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-25 13:05:42 +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
David Mehren
81531b6559
test: use correct note content
...
The `works with an existing note` test was refactored to use testSetup
notes, but didn't use the correct content to compare to.
It's unclear why this test is only failing now.
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-25 12:43:27 +01:00
David Mehren
382e70bf7b
fix: replace Equals constructor
...
TypeORMs Equals constructor is still broken, so this commit removes all remaining usages.
See https://github.com/hedgedoc/hedgedoc/issues/2467
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-25 12:43:27 +01:00
Tilman Vatteroth
088f2905a5
fix(backend): Fix type errors in query builder mock
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-25 12:43:27 +01:00
renovate[bot]
e23f0ff259
fix(deps): update dependency typeorm to v0.3.12
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-25 12:43:27 +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
David Mehren
26da4c6327
docs: consistent Markdown formatting
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-24 20:06:11 +01:00
David Mehren
31969c56eb
docs: add missing design docs disclaimer
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-24 20:06:11 +01:00
David Mehren
b5e64880cd
docs: Add docker docs to navbar
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-24 20:06:11 +01:00
David Mehren
c278f6d78b
docs: Split up 2.0.md and rename to dev_notes.md
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-24 20:06:11 +01:00
David Mehren
bec48f3c22
docs: Add frontend docs to navbar
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-24 20:06:11 +01:00
David Mehren
3c957e9b0e
docs: Move 'Events' to design docs
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-24 20:06:11 +01:00
David Mehren
58f306a38c
docs: Merge API Authentication docs
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-24 20:06:11 +01:00
David Mehren
1093da4a39
docs: Move 'Notes' to design docs
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-24 20:06:11 +01:00
David Mehren
c9f8285f57
docs: Move 'Configuration' to design docs
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-24 20:06:11 +01:00
David Mehren
162a8e8816
docs: Move 'User Profiles & Authentication' to design docs
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-24 20:06:11 +01:00
David Mehren
8bb39b8c6d
docs: introduce 'Design Documents' category
...
These documents provide context for various application aspects.
This commit also fixes the indentation and missing lists in the mkdocs config.
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-24 20:06:11 +01:00
Philip Molares
e01628cfb0
fix(backend): fix permission routes in NotesController
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-24 18:47:23 +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
renovate[bot]
4707540237
chore(deps): update dependency mkdocs-material to v9.1.4
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 15:36:21 +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]
67cf1432b2
chore(deps): update actions/checkout action to v3.5.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-24 13:02:52 +01:00
renovate[bot]
83754a9b01
fix(deps): update dependency minio to v7.0.33
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-24 13:02:33 +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]
9d4a5f45d9
fix(deps): update dependency lib0 to v0.2.73
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-23 19:22:48 +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]
0e88fb5cef
fix(deps): update dependency rimraf to v4.4.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-22 21:21:47 +01:00
renovate[bot]
e80cad928d
chore(deps): update github/codeql-action action to v2.2.8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-22 21:21:39 +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