Commit graph

5037 commits

Author SHA1 Message Date
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
Tilman Vatteroth
4ed6f5fed1 chore(deps): add renovate group for zxcvbn packages
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]
ef0697ddd2 fix(deps): update dependency vega-lite to v5.9.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-06 17:29:52 +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]
7afb4c93ba fix(deps): update dependency dompurify to v3.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-06 17:29:01 +02:00
renovate[bot]
e92965db73 chore(deps): update dependency @types/react-dom to v18.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 20:37:02 +00:00
renovate[bot]
72865899e1 chore(deps): update nextjs monorepo to v13.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 15:20:06 +02:00
renovate[bot]
b503b2297c chore(deps): update dependency eslint-config-next to v13.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 15:18:41 +02:00
Tilman Vatteroth
44e0ae40b5 fix(ci): fix server start in cypress e2e test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-05 15:07:42 +02:00
Tilman Vatteroth
33629b945d fix(frontend): use standalone output only in production build
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-05 15:07:42 +02:00
renovate[bot]
045ba43c17 chore(deps): update nextjs monorepo to v13.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 15:07:42 +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
renovate[bot]
56bf75360a chore(deps): update github/codeql-action action to v2.3.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 04:52:13 +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]
cbfab3ca62 chore(deps): update dependency eslint-config-next to v13.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 20:42:24 +02:00
Tilman Vatteroth
db21f0eb48 chores: adjust yjs patch version
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-04 17:24:04 +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
renovate[bot]
09c0bc7a33 chore(deps): update dependency @types/react to v18.2.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 17:20:06 +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]
f87a7e1e69 chore(deps): update dependency @types/react to v18.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 11:12:47 +02:00
renovate[bot]
3b357e383b chore(deps): update dependency @types/react to v18.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 09:39:35 +02:00
renovate[bot]
00a5d3d209 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 02:48:49 +00:00
renovate[bot]
18d100a5ac chore(deps): update dependency @codemirror/autocomplete to v6.6.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 21:02:34 +02:00
renovate[bot]
698767d8dd chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 20:59:41 +02:00
renovate[bot]
72b88bb50c chore(deps): update dependency @codemirror/view to v6.11.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 17:24:59 +02:00
renovate[bot]
8f4b9232cf chore(deps): update dependency @codemirror/commands to v6.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 13:05:13 +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]
fc00b39234 chore(deps): update dependency mkdocs to v1.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 02:12:47 +00:00
renovate[bot]
55272ed2b9 chore(deps): update dependency mkdocs-material to v9.1.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-02 12:10:35 +02:00
renovate[bot]
67ab0f5bd2 fix(deps): update dependency vega-lite to v5.8.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-02 11:59:30 +02: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]
ba19daa08d chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-01 22:36:39 +00:00
renovate[bot]
4cdab3aede chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-01 17:03:44 +02:00
renovate[bot]
4afc993a14 chore(deps): update nextjs monorepo to v13.3.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-01 16:43:10 +02:00
renovate[bot]
64c840020b chore(deps): update dependency eslint-config-next to v13.3.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-01 16:42:50 +02:00