renovate[bot]
4d749fb480
chore(deps): update typescript-eslint monorepo to v5.57.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 19:58:01 +02:00
David Mehren
f238b216f9
build: use node18 tsconfig preset
...
Because of https://github.com/typeorm/typeorm/pull/9884 , we need to manually disable useDefineForClassFields
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-26 20:21:46 +02:00
Tilman Vatteroth
8fc59aad82
refactor: make permission service less complex
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-26 20:21:13 +02:00
Tilman Vatteroth
0f8effd318
fix: use correct body parameter for permission controller
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-26 20:21:13 +02:00
David Mehren
f7f052fca1
refactor: use separate env vars for frontend/backend port
...
As we moved to a combined .env file for simplicity, frontend and backend need to be configured with separate variables.
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-26 15:53:49 +02:00
David Mehren
55f3bd9b60
refactor: move .env file to repo root
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-26 15:53:49 +02:00
Erik Michelson
408d82e280
enhancement(auth): better error message handling
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-26 15:43:39 +02:00
Erik Michelson
ca9836d691
enhancement(auth): better error message handling
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-26 15:43:39 +02:00
renovate[bot]
37c57d67f0
chore(deps): update dependency @types/node to v18.15.10
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-26 09:17:34 +02:00
David Mehren
925bb85d2f
build: add eslint rule forbidding TypeORM Equal constructor
...
TypeORMs Equal constructor is buggy and should not be used.
This introduces a ESLint rule that checks for that.
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-25 16:29:14 +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
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]
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
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
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
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
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]
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]
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]
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]
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]
f2329608cf
fix(deps): update nestjs packages to v9.3.12
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-22 13:52:41 +01:00
renovate[bot]
26d8a012e1
fix(deps): update dependency lib0 to v0.2.72
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 14:34:20 +01:00
renovate[bot]
cf6d30acb1
fix(deps): update nestjs packages to v9.3.11
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 13:45:18 +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]
18cad5502e
fix(deps): update dependency joi to v17.9.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 10:18:49 +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]
7a77df6c0d
fix(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 04:37:15 +00:00
renovate[bot]
64dcc08f95
fix(deps): update dependency lib0 to v0.2.70
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 00:43:59 +00:00
renovate[bot]
1f4e7d9466
fix(deps): update dependency joi to v17.9.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-20 17:05:02 +01:00
renovate[bot]
48068e8500
chore(deps): update dependency @types/express-session to v1.17.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-20 11:03:26 +01: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
229d4a4a1d
fix: change sessionstate type to prevent unset values
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-19 22:45:44 +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]
581e3c6ef7
chore(deps): update dependency @nestjs/cli to v9.3.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-18 14:10:26 +01:00
renovate[bot]
307437d8c3
fix(deps): update dependency lib0 to v0.2.69
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 15:01:48 +00: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]
dd10cdf190
chore(deps): update node.js to a67a33f
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 03:28:25 +00:00
renovate[bot]
c1b17e58b1
fix(deps): update dependency lib0 to v0.2.68
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-16 20:41:34 +01: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
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
renovate[bot]
73a29d88cc
chore(deps): update dependency @types/jest to v29.4.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 21:41:39 +01:00