Commit graph

5144 commits

Author SHA1 Message Date
Tilman Vatteroth
745be42101 test(i18n): replace e2e test for language picker with unit test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:29:14 +02:00
Tilman Vatteroth
07a28824d3 refactor(i18n): use browser api to determine display names for languages
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:29:14 +02:00
Tilman Vatteroth
53a3c92fdb fix(i18n): use event to change luxon language setting
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:29:14 +02:00
Tilman Vatteroth
a23c215d8d refactor: split apply-dark-mode hook into multiple hooks
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:02:34 +02:00
Tilman Vatteroth
bcff03ef99 refactor: move dark-mode-state hook into other directory
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:02:34 +02:00
Tilman Vatteroth
cba8d917ed refactor: move apply-dark-mode hook into other directory
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:02:34 +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
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