Tilman Vatteroth
ab5aebc9c4
refactor: extract "extract note from request" logic into separate function
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
65fb110a1e
refactor: move permissions decorator and guard into permissions directory
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
22f0abbfbe
fix: remove redundant permission guard annotations
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
renovate[bot]
4b44277660
fix(deps): update dependency rimraf to v5.0.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-18 03:43:38 +00:00
renovate[bot]
2707c76fa3
chore(deps): update nestjs packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-17 21:55:02 +02:00
renovate[bot]
0cbcf2f23e
fix(deps): update dependency @nestjs/schedule to v2.2.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-17 16:38:16 +00:00
renovate[bot]
c3806f3e5b
chore(deps): update node.js to 4559bc0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-17 02:21:52 +00:00
renovate[bot]
bf97545b5d
fix(deps): update nestjs packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 17:40:26 +02:00
renovate[bot]
a4be190005
fix(deps): update dependency @types/node-fetch to v2.6.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 13:31:03 +00:00
renovate[bot]
500ab6d8b9
chore(deps): update typescript-eslint monorepo to v5.59.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 10:01:00 +00:00
Avinash
e73d28dba1
feat(backend): added test realtime note service
...
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-05-15 20:49:59 +02:00
Avinash
d15a8b18d9
fix(backend): updated realtime connection's acceptEdit, close connection based on permission
...
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-05-15 20:49:59 +02:00
renovate[bot]
c6e283a111
fix(deps): update dependency pg to v8.11.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-15 18:16:52 +02:00
Tilman Vatteroth
e3a3690b58
refactor(realtime): solve circle dependencies in realtime-user-status-adapter.ts
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-15 17:59:28 +02:00
Tilman Vatteroth
39fff87f52
fix: migrate import code
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-12 19:14:34 +02:00
renovate[bot]
a3232a816b
chore(deps): update dependency @tsconfig/node18 to v2.0.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 19:14:34 +02:00
renovate[bot]
1af15a1aec
fix(deps): update dependency @zxcvbn-ts/language-common to v3.0.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 19:01:27 +02:00
renovate[bot]
994ef52ca7
fix(deps): update zxcvbn-ts to v3.0.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-11 10:02:54 +02:00
Tilman Vatteroth
23901d1454
chore: change recommended and CI node version to v20
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 13:43:05 +02:00
renovate[bot]
ef1c59ac51
fix(deps): update dependency typeorm to v0.3.16
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-10 01:13:25 +00:00
renovate[bot]
3e3e574dc6
fix(deps): update dependency node-fetch to v2.6.11
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-09 22:34:15 +02:00
Tilman Vatteroth
d29e840bc6
fix(realtime): allow realtime user status updates from users that have read-only access
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 20:33:23 +02:00
Tilman Vatteroth
b199cdba67
test: increase coverage of constructor tests
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
2f59869e12
fix: retrieve read-only state for realtime user status adapter from connection
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
f012282a41
fix: restore of test state
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
02a3b7f07b
refactor: make displayName readonly
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
3c1ea7bda9
fix: allow change of accept edits in realtime connection
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
eebbb79d08
fix: retrieve read-only state for y-doc-sync-server-adapter from connection
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
renovate[bot]
0dcfb0524c
chore(deps): update dependency @types/node to v18.16.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-09 11:30:41 +02:00
renovate[bot]
efb96bd259
fix(deps): update dependency node-fetch to v2.6.10
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-08 21:58:37 +02:00
renovate[bot]
6698f49af5
chore(deps): update typescript-eslint monorepo to v5.59.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-08 21:48:54 +02:00
Yannick Bungers
ed3c688e8b
refactor: extract mocking in permissions.service.spec.ts
...
Signed-off-by: Yannick Bungers <git@innay.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
d73bbcaeff
fix: increase test coverage
...
Signed-off-by: Yannick Bungers <git@innay.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
dad60a25ea
fix: change logging from id to publicId in media upload
...
Signed-off-by: Yannick Bungers <git@innay.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
c20e20b30a
refactor: exclude create permission from note permission check
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
fad5e1e22e
test: add private api tests for checkPermissionOnNote and checkMediaDeletePermission
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
001a49329c
refactor: extract permission checking from controllers and guard
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
485f7cd338
feat: Add guest file uploads and add deletion for note owners
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
0f464dedfe
fix: clean up decorators in the public notes.controller.ts
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
d369132519
fix: add CompleteRequest type to have better type checks for HTTP-Request attribute injection.
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Tilman Vatteroth
0263c09ce1
fix(deps): migrate zxcvbn
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 19:37:41 +02:00
renovate[bot]
2c3e8662f3
fix(deps): update dependency @zxcvbn-ts/language-common to v3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 19:37:41 +02:00
renovate[bot]
53e3be7448
fix(deps): update dependency @zxcvbn-ts/core to v3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-07 19:37:41 +02:00
renovate[bot]
894f65d5ca
fix(deps): update dependency @zxcvbn-ts/language-en to v3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-07 19:18:47 +02:00
renovate[bot]
d734163e5f
chore(deps): update dependency eslint to v8.40.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-06 17:29:35 +02:00
renovate[bot]
c9d0201452
chore(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-06 17:29:20 +02:00
renovate[bot]
a21fef5956
chore(deps): update dependency @types/node to v18.16.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 08:28:21 +00:00
renovate[bot]
a637556832
chore(deps): update node.js to 6e56967
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 08:08:08 +00:00
Tilman Vatteroth
e02221acd2
fix: don't create user permissions for owner
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-04 22:34:24 +02:00
Tilman Vatteroth
825b3b72ff
test: add e2e tests for note permissions
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-04 22:34:24 +02:00
renovate[bot]
122d3e6354
fix(deps): update dependency yjs to v13.6.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 17:24:04 +02:00
Tilman Vatteroth
a5e12b9ad0
fix(backend): fix extraction body values in permission controllers
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-04 14:54:37 +02:00
renovate[bot]
9d5ec78696
chore(deps): update node.js to 1d34273
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 09:05:57 +00:00
renovate[bot]
993d0e8b7e
chore(deps): update yarn to v3.5.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-02 05:55:25 +00:00
renovate[bot]
d1df704d22
chore(deps): update typescript-eslint monorepo to v5.59.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-02 02:40:39 +00:00
renovate[bot]
1e4c64afaf
chore(deps): update dependency @types/node to v18.16.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-29 10:49:09 +02:00
renovate[bot]
0645af761f
fix(deps): update dependency minio to v7.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-28 21:51:28 +02:00
renovate[bot]
291ed7c706
chore(deps): update dependency @types/node to v18.16.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-28 06:21:46 +00:00
renovate[bot]
8aea44ad4d
fix(deps): update dependency rxjs to v7.8.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-27 07:03:52 +00:00
renovate[bot]
026609902b
chore(deps): update dependency @types/node to v18.16.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-26 05:26:21 +00:00
renovate[bot]
2496b983eb
fix(deps): update dependency joi to v17.9.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-25 09:31:31 +02:00
renovate[bot]
138278bb13
chore(deps): update typescript-eslint monorepo to v5.59.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-25 09:31:21 +02:00
renovate[bot]
4e8d79d5b4
chore(deps): update dependency @nestjs/cli to v9.4.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-24 13:17:55 +02:00
renovate[bot]
f5665629af
chore(deps): update node.js to v20
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-24 12:44:53 +02:00
renovate[bot]
745247c04f
chore(deps): update dependency eslint to v8.39.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 20:25:57 +02:00
renovate[bot]
fa7b262ad1
fix(deps): update dependency yjs to v13.6.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 20:25:43 +02:00
renovate[bot]
a942c374b8
chore(deps): update dependency @types/node to v18.16.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 20:25:26 +02:00
renovate[bot]
777e9d7015
chore(deps): update dependency prettier to v2.8.8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 14:46:32 +00:00
renovate[bot]
4c1beef1c9
chore(deps): update dependency @nestjs/cli to v9.4.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-21 18:14:56 +00:00
renovate[bot]
5f0927bf9b
chore(deps): update dependency @types/node to v18.15.13
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-21 13:08:27 +00:00
renovate[bot]
ab3e206081
chore(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-20 16:19:07 +02:00
renovate[bot]
d5d8112e8c
chore(deps): update dependency @types/jest to v29.5.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-19 16:16:10 +02:00
renovate[bot]
b962676dad
fix(deps): update dependency yjs to v13.5.53
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-19 16:15:35 +02:00
renovate[bot]
d47da83391
chore(deps): update dependency @tsconfig/node18 to v2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-18 18:27:50 +02:00
renovate[bot]
07c7c97b86
chore(deps): update typescript-eslint monorepo to v5.59.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 10:19:15 +02:00
renovate[bot]
5a8026bc90
chore(deps): update dependency @tsconfig/node18 to v1.0.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 07:37:52 +00:00
Avinash
bb7a6a74f7
refactor(backend): create mock function for noteRepo and eventemiter
...
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-04-16 20:55:26 +02:00
Tilman Vatteroth
0950e036b0
refactor(s3-backend): use URL object to construct complete URL instead of string template
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
b6db47a9c2
test(s3-backend): add unit test
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
e8d4fc692d
fix(s3-backend): remove redundant parameter
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
baaa41b1e5
fix(media config): expect HD_MEDIA_BACKEND_S3_ENDPOINT to be an uri
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
3c2f59c382
fix(s3-backend): force endpoint to be a uri
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
2016874a3d
fix(s3-backend): let minio lib handle the port fallback
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
a72f695124
fix(s3-backend): correct endpoint
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
renovate[bot]
165cd4c7a3
fix(deps): update dependency typeorm to v0.3.15
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-16 14:40:34 +02:00
renovate[bot]
3529e68511
fix(deps): update dependency @azure/storage-blob to v12.14.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-14 09:43:42 +02:00
renovate[bot]
f47b3c8f12
chore(deps): update dependency @nestjs/cli to v9.4.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 14:40:35 +02:00
Tilman Vatteroth
4bd6c1f359
fix: add .env file symlinks
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 10:39:17 +02:00
renovate[bot]
8e8a7ea21a
chore(deps): update node.js to 53741c7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-12 06:32:11 +00:00
renovate[bot]
1c58a732e4
chore(deps): update typescript-eslint monorepo to v5.58.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-10 20:48:24 +02:00
renovate[bot]
cb03442f5f
fix(deps): update dependency rimraf to v5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-10 11:27:52 +02:00
renovate[bot]
2e275652c2
fix(deps): update dependency typeorm to v0.3.14
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-09 13:20:39 +02:00
renovate[bot]
2f200078ef
chore(deps): update dependency eslint to v8.38.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-08 14:53:57 +02:00
renovate[bot]
143da53e46
chore(deps): update dependency typescript to v5.0.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-07 22:21:41 +02:00
Philip Molares
2fc89a7de5
feat: don't let read-only users send their cursors or selections
...
This was done as it may be used to distract or annoy other users either intentionally or unintentionally.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:50 +02:00
Philip Molares
c2f41118b6
feat: check permissions in realtime code and frontend
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:50 +02:00
renovate[bot]
ca586413d2
fix(deps): update dependency typeorm to v0.3.13
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-06 14:34:21 +00:00
renovate[bot]
5b87029312
fix(deps): update nestjs packages to v9.4.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-05 18:29:11 +02:00
renovate[bot]
e89f7757a3
fix(deps): update dependency @nestjs/schedule to v2.2.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-04 21:17:35 +02:00
Tilman Vatteroth
6fb58d56c2
fix: add missing tests for realtime-user-status-adapter
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-04 18:29:20 +02:00
Tilman Vatteroth
2a2d3756ad
refactor: test code of realtime
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-04 18:29:20 +02:00
renovate[bot]
5d9e220e1f
chore(deps): update typescript-eslint monorepo to v5.57.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-03 20:20:47 +02:00
renovate[bot]
266eaf29e6
chore(deps): update dependency ts-jest to v29.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-03 20:06:05 +02:00
renovate[bot]
84ab3ecc58
fix(deps): update dependency yjs to v13.5.52
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 17:08:10 +00:00
Tilman Vatteroth
15374acb93
fix(backend): throw error if key in param decorator is not defined
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-31 15:43:28 +02:00
renovate[bot]
ae58cab019
chore(deps): update dependency typescript to v5.0.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-31 15:43:28 +02:00
renovate[bot]
f3de6a50dc
chore(deps): update nestjs packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-31 15:22:31 +02:00
renovate[bot]
45d379680a
chore(deps): update node.js to ce9dd01
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-30 14:18:28 +00:00
renovate[bot]
a31810fe8b
chore(deps): update node.js to fcf4e6f
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-30 09:07:44 +02:00
renovate[bot]
b8ae513007
chore(deps): update dependency tsconfig-paths to v4.2.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 09:05:54 +02:00
renovate[bot]
69ea23dca7
chore(deps): update node.js to c662fff
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-30 03:26:46 +00:00
renovate[bot]
214c829ef9
fix(deps): update dependency @types/minio to v7.0.18
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 21:42:52 +02:00
renovate[bot]
d0f2b0a471
chore(deps): update dependency eslint to v8.37.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 15:09:22 +02:00
renovate[bot]
2f1c6d3033
chore(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 02:25:00 +02:00
Tilman Vatteroth
598fc8ee11
feat(realtime): synchronize and show realtime activity state
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-29 01:16:43 +02:00
Tilman Vatteroth
5299b569f7
fix(backend): keep log output in dev mode
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-28 11:34:05 +02:00
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
renovate[bot]
c6cd5bd0d7
fix(deps): update nestjs packages to v9.3.10
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 15:42:29 +01:00
renovate[bot]
e1e01c0c44
chore(deps): update dependency @types/jest to v29.4.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 10:50:43 +01:00
renovate[bot]
ce7d93d1b9
fix(deps): update dependency sqlite3 to v5.1.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 20:23:44 +01:00
renovate[bot]
bb461c65c0
fix(deps): update dependency lib0 to v0.2.67
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 20:23:26 +01:00
renovate[bot]
7a441f3f2a
chore(deps): update dependency @types/jest to v29.4.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 16:53:29 +01:00
renovate[bot]
1ad55278b7
chore(deps): update dependency @types/node to v18.15.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 16:38:14 +01:00
renovate[bot]
f294ac6b48
fix(deps): update dependency joi to v17.8.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 16:37:49 +01:00
renovate[bot]
ae1fef26c3
chore(deps): update typescript-eslint monorepo to v5.55.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 16:33:53 +01:00
renovate[bot]
cb9425572a
chore(deps): update node.js to d3a3d69
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 06:30:53 +00:00
renovate[bot]
e9fb9a9c6d
fix(deps): update dependency sqlite3 to v5.1.5 [security]
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 03:12:48 +00:00
renovate[bot]
b832e14890
chore(deps): update dependency @types/node to v18.15.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-13 09:30:38 +01:00
renovate[bot]
92bfb3c476
fix(deps): update dependency pg to v8.10.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 21:57:13 +01:00
renovate[bot]
65b0ffcb1f
fix(deps): update dependency ws to v8.13.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 21:57:13 +01:00
renovate[bot]
2a0bba6a7f
chore(deps): update dependency @types/node to v18.15.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 21:50:11 +01:00
renovate[bot]
2075dc8103
fix(deps): update dependency rimraf to v4.4.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 21:06:12 +01:00
renovate[bot]
3ca0e3bfd4
chore(deps): update test packages to v29.5.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 20:51:41 +01:00
renovate[bot]
c44c8b6477
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 20:51:24 +01:00
renovate[bot]
3b0bcec075
fix(deps): update dependency yjs to v13.5.50
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 14:17:56 +01:00
renovate[bot]
4f1c3a6ebd
chore(deps): update typescript-eslint monorepo to v5.54.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 14:14:54 +01:00
renovate[bot]
f56d20e238
fix(deps): update dependency rimraf to v4.3.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 14:12:18 +01:00
renovate[bot]
b748c444e9
fix(deps): update dependency lib0 to v0.2.66
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 14:00:20 +01:00
renovate[bot]
1c69d3b3e6
chore(deps): update node.js to 4a3a2cc
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 06:45:40 +00:00
renovate[bot]
7a7c83d934
chore(deps): update typescript-eslint monorepo to v5.54.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-05 18:38:34 +01:00
renovate[bot]
bae38c21af
fix(deps): update dependency rimraf to v4.3.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-05 18:33:45 +01:00
renovate[bot]
1a78330716
chore(deps): update node.js to 155e324
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-05 18:33:35 +01:00
renovate[bot]
e0144f8769
fix(deps): update dependency yjs to v13.5.48
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 13:20:44 +01:00
renovate[bot]
8a09cb8f0d
fix(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 12:01:02 +01:00
Tilman Vatteroth
86de2924bc
fix(docker): fix yarn cache folder
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-02 21:33:14 +01:00
renovate[bot]
7394f274dc
chore(deps): update dependency @types/node to v18.14.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-27 01:29:01 +00:00
renovate[bot]
2585fdb981
fix(deps): update dependency @types/minio to v7.0.16
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-26 17:22:12 +00:00
renovate[bot]
a5102954d2
chore(deps): update dependency eslint to v8.35.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-26 12:57:35 +01:00
renovate[bot]
c692ee5273
chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v4.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 20:05:40 +01:00
renovate[bot]
565000446e
fix(deps): update dependency yjs to v13.5.47
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 19:13:32 +01:00
renovate[bot]
671a53d452
fix(deps): update dependency @azure/storage-blob to v12.13.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 17:38:14 +01:00