Commit graph

4459 commits

Author SHA1 Message Date
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
Erik Michelson
90ae3e2e75 test(e2e): add cypress test for license frontmatter
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-13 18:10:51 +01:00
Erik Michelson
cf34df21b7 feat: add license frontmatter field for link header
This commit adds the "license" frontmatter property which sets a link with the "license" relation in the head of the HTML page.
Furthermore, this commit restructures the other head elements for a note altogether into a single component that can be used to inject all head elements at once.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-13 18:10:51 +01:00
Tilman Vatteroth
91e7056882 fix(frontend e2e): name of iframe capsule test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-13 18:06:17 +01:00
Tilman Vatteroth
9ff9c2de27 deps: add dotenv to read env files
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-13 18:06:17 +01:00
renovate[bot]
dfd3addd6c chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-13 05:40:33 +00:00
Tilman Vatteroth
57bfca7b15 fix(frontend): refactor api error handling
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-12 22:10:31 +01:00
Tilman Vatteroth
e93144eb40 fix: add .env to gitignore
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-12 22:10:31 +01:00
Tilman Vatteroth
32127b14cb fix: move nvmrc into root directory
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-12 22:10:31 +01:00
David Mehren
9e78776412 refactor(notes-service): use default-access-level & cleanup createNote
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-12 20:42:10 +01:00
David Mehren
cdc9ebd352 refactor(default-access-level): rename from default-access-permission
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-12 20:42:10 +01:00
David Mehren
1d1c367309 ci: disable renovate auto-rebase
Save CI resources by not rebasing unnecessarily

Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-12 20:20:15 +01:00
renovate[bot]
acb920a4b6 fix(deps): update dependency @uiw/react-codemirror to v4.19.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-12 11:59:10 +01:00
renovate[bot]
0eb49954b4 chore(deps): update dependency @types/express-session to v1.17.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-12 02:06:59 +00:00
renovate[bot]
3e8756ed54 chore(deps): update dependency @types/react to v18.0.28
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 19:44:05 +00:00
renovate[bot]
06a9c3f6dd chore(deps): update node.js to 992dd13
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 17:37:11 +00:00
renovate[bot]
d0776f8620 chore(deps): update node.js to 45748c3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 17:30:06 +00:00
renovate[bot]
4bf672c736 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:44:23 +01:00
renovate[bot]
35d02a945f chore(deps): update dependency eslint to v8.34.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:43:28 +01:00
renovate[bot]
29f79f5cdd fix(deps): update nestjs packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:37:57 +01:00
renovate[bot]
f34e0ac588 fix(deps): update dependency @uiw/react-codemirror to v4.19.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:34:56 +01:00
renovate[bot]
2eb5aad0f2 fix(deps): update dependency joi to v17.7.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:28:16 +01:00
renovate[bot]
51049b7c36 fix(deps): update dependency react-bootstrap to v2.7.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:27:38 +01:00
renovate[bot]
47f1ad69b7 chore(deps): update dependency @types/node to v18.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:12:21 +01:00
renovate[bot]
18c458a759 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:12:07 +01:00
renovate[bot]
718db1a85d fix(deps): update dependency @nestjs/swagger to v6.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:10:33 +01:00
renovate[bot]
4d1d9b7815 chore(deps): update typescript-eslint monorepo to v5.51.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:07:26 +01:00
renovate[bot]
ced66117e9 chore(deps): update dependency turbo to v1.7.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:05:12 +01:00
renovate[bot]
ac572a2fbb chore(deps): update test packages to v29.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:40:36 +01:00
renovate[bot]
0dccf6ba07 chore(deps): update dependency @jest/types to v29.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:30:21 +01:00
renovate[bot]
c6735be7d0 chore(deps): update dependency mkdocs-material to v9.0.12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:29:26 +01:00
renovate[bot]
b756d99143 chore(deps): update docker/setup-buildx-action action to v2.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:29:16 +01:00
renovate[bot]
bdd7d69305 chore(deps): update github/codeql-action action to v2.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:29:07 +01:00
renovate[bot]
e7025290c7 chore(deps): update node.js to 1035064
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:28:57 +01:00
renovate[bot]
a5dffe603e chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:28:46 +01:00
renovate[bot]
f0d564cb4c chore(deps): update node.js to bfc56a6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:28:26 +01:00
renovate[bot]
c24290d5c0 chore(deps): update actions/cache action to v3.2.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 06:43:15 +00:00
Tilman Vatteroth
caa53e3556 feat: add patch to add generic types to eventemitter2
EventEmitter2 has types, but they're very basic and not very type safe.
I created this patch, because my improved types haven't been merged into the official package.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 21:58:41 +01:00
Tilman Vatteroth
11c2f57e4b fix(commons): extract name of markdown content yjs channel into the commons package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 15:43:59 +01:00
Tilman Vatteroth
329a4d4e55 chore(deps): pin dependencies of commons package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 13:53:11 +01:00
Tilman Vatteroth
e9eab686e2 fix(docker): Separate docker builds into two jobs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 11:56:10 +01:00
Tilman Vatteroth
3ca64e84e1 fix(docker): fix workspace focus command
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 22:10:48 +01:00
Tilman Vatteroth
2d8ed6e136 fix(ci): fix docker build args
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:55:04 +01:00
Tilman Vatteroth
21f44fac5b fix(ci): remove changes job from PR deploy workflow
This job should prevent deployments if the frontend hasn't been changed.
This is not necessary anymore because the deployment will be done explicitly.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
Tilman Vatteroth
a0bb7e349e fix(ci): deploy pull request only if label is present
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
Erik Michelson
305b6f5910 misc: add turbo monorepo util
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: David Mehren <git@herrmehren.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
Tilman Vatteroth
e3512d3a87 chore: remove renovate.json from frontend
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00