Commit graph

4505 commits

Author SHA1 Message Date
David Mehren
944304b274 test(setup): use HD_BASE_URL
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
15a691b364 test(public/notes): compare permission lists as Set
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
5fc6265b77 test(public/notes): update tests for default groups
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
679d8a8655 refactor(default-access-level): rename from default-access-permission
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
7233f862f2 test(auth-service): add mock for find
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
ebb8b10804 fix(public/notes-controller): extract canEdit parameter from body
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
976e5671fa test(e2e/public/notes): test permission api
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
068517a73b fix(public/notes-controller): bind setUserPermission to an URL
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
3884d79474 test(e2e/public/notes): enable real auth
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
845861a030 style: fix linting errors
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
1f2cec2f7c test(e2e/public/media): test using real auth
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
ada90ed30b fix: map PermissionError to HTTP Forbidden
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
4271ef740c test: use constant credentials
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
4ade25036e test(setup): set HD_DOMAIN
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
7256717611 test(e2e/private/tokens): check token can't be deleted by wrong user
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
921cffb76f fix(auth-service): typeorm query in getTokensbyUser
TypeORM does not support WHERE queries for relation-colums directly.
This replaces the Equal() constructor with a manual comparison of the IDs.

See https://github.com/typeorm/typeorm/issues/2707

Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
e52cf4b4ae test(e2e/private/media): check upload can't be deleted by wrong user
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
David Mehren
7012f807b8 test: fix URLs in mock config
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 20:56:18 +01:00
renovate[bot]
4720d7c418 fix(deps): update dependency joi to v17.8.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 20:39:21 +01:00
renovate[bot]
e3a6f40022 fix(deps): update dependency dompurify to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:18:28 +01:00
renovate[bot]
621c410b5d fix(deps): update dependency mermaid to v9.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:17:09 +01:00
renovate[bot]
5ddce7a316 chore(deps): update typescript-eslint monorepo to v5.52.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:14:22 +01:00
renovate[bot]
ae68fd879c chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:06:52 +01:00
renovate[bot]
7e4b7680bc chore(deps): update testing-library
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:06:08 +01:00
renovate[bot]
6b24399668 chore(deps): update dependency @types/node to v18.14.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:04:22 +01:00
renovate[bot]
77e594ce14 chore(deps): update dependency cypress to v12.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:04:06 +01:00
renovate[bot]
b8073841e2 chore(deps): update dependency turbo to v1.8.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:03:30 +01:00
renovate[bot]
6e98c20f73 fix(deps): update vega
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 04:25:29 +00:00
renovate[bot]
96ebb38893 fix(deps): update nestjs packages to v9.3.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 00:31:39 +00:00
renovate[bot]
0848792af0 chore(deps): update test packages to v29.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:42:18 +00:00
renovate[bot]
2c76ab1214 chore(deps): update node.js to 045b1a1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:58:54 +01:00
renovate[bot]
378799d3b5 fix(deps): update dependency markdown-it-anchor to v8.6.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:57:49 +01:00
renovate[bot]
2b31807cdd fix(deps): update dependency yjs to v13.5.46
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:54:27 +01:00
renovate[bot]
9a41f87bd9 fix(deps): update dependency ws to v8.12.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:50:25 +01:00
renovate[bot]
57aad0ffa2 fix(deps): update dependency react-bootstrap to v2.7.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:47:35 +01:00
renovate[bot]
a6d4ea492f chore(deps): update dependency eslint-plugin-testing-library to v5.10.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:46:49 +01:00
renovate[bot]
e58ae7482a chore(deps): update dependency @jest/types to v29.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:50:57 +01:00
renovate[bot]
5c707ecfde fix(deps): update dependency sass to v1.58.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:50:25 +01:00
renovate[bot]
84eb8d0d00 chore(deps): update dependency @types/react-dom to v18.0.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:05:01 +01:00
renovate[bot]
8dc7190140 fix(deps): update dependency dompurify to v2.4.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:02:55 +01:00
renovate[bot]
d5645c7bfd chore(deps): update dependency mkdocs-material to v9.0.13
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:02:27 +01:00
renovate[bot]
9360e9553e fix(deps): update dependency i18next to v22.4.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:01:45 +01:00
renovate[bot]
ea76346233 chore(deps): update node.js to 78fa26e
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 15:21:10 +00:00
renovate[bot]
40ddf2a7c6 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 16:09:12 +01:00
Erik Michelson
7c9f2aa3be chore(reuse): add cc-by-4.0 license
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-18 15:57:44 +01:00
Erik Michelson
eec3fcfe13 ci(caching): do not cache by node-version
As we cache the yarn cache and not the node_modules, we can safely ignore the node version in the cache key.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-18 15:57:44 +01:00
Erik Michelson
51365bae59 ci(caching): add cleanup workflow
This workflow is recommended by GitHub (docs: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries) to remove caches for closed PRs as every PR writes their own cache.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-18 15:57:44 +01:00
Erik Michelson
b8f6910fe2 ci(caching): use cache-key without hash and docker cache without max setting
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-18 15:57:44 +01:00
renovate[bot]
aadedb698a fix(deps): update dependency abcjs to v6.1.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 14:34:26 +01:00
Erik Michelson
97216e78ff fix(tests): add license field to frontmatter
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-18 14:05:56 +01:00