Commit graph

5305 commits

Author SHA1 Message Date
Tilman Vatteroth
c25c0fac92 fix: don't save revisions on creation
sometimes we create revisions for notes that don't exist yet. If we try to persist a revision that is referring to a non-existing note the whole attempt crashes.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
bb355feddc fix: improve and adjust tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
eb986b1504 test: improve select query mock builder
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
f95f5406be fix: make other services use the revision create method
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
7161ffd5f2 fix: adjust seeding to new revision create signature
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
e84096b5dc feat: generate metadata from content on revision creation
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
90df9a4e32 feat: move title and description to revision entity
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
20197d36df refactor(commons): remove redundant method
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
5443510a79 feat: add turbo task for test without coverage
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
f29a30d94b fix(ci): replace healthcheck command
According to https://github.com/MariaDB/mariadb-docker/issues/512#issuecomment-1588619808
the mysqladmin command has been removed from the image.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-19 22:08:50 +02:00
renovate[bot]
5a569a2f25 chore(deps): update mariadb docker tag to v11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 22:08:50 +02:00
Tilman Vatteroth
aa6e420346 deps(ci): update cypress browsers docker image
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-19 22:08:25 +02:00
renovate[bot]
9605b46831 chore(deps): update typescript-eslint monorepo to v5.60.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 19:48:45 +02:00
renovate[bot]
a7963d1745 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 19:46:13 +02:00
renovate[bot]
73c9079568 chore(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 19:45:48 +02:00
renovate[bot]
1fe54f4959 fix(deps): update dependency i18next to v23.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 19:45:24 +02:00
renovate[bot]
068c44afde chore(deps): update dependency eslint-plugin-jest to v27.2.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 17:30:57 +00:00
renovate[bot]
1681954245 fix(deps): update dependency emoji-picker-element to v1.18.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 14:13:55 +02:00
renovate[bot]
c4258dac4e chore(deps): lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 03:31:00 +00:00
renovate[bot]
00a7af234c chore(deps): update dependency eslint to v8.43.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-17 16:23:02 +02:00
Tilman Vatteroth
fc70a73875 chore: renew yarn.lock
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-17 16:21:08 +02:00
renovate[bot]
024216c5d7 chore(deps): update dependency yjs to v13.6.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-17 16:21:08 +02:00
renovate[bot]
d0f6bd69f9 fix(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-17 16:20:40 +02:00
Tilman Vatteroth
a9d88dbd12 fix: configure renovate to pin yjs patch
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-17 07:51:07 +02:00
Tilman Vatteroth
ac825edbe3 fix: replace RouterModule from nest-router with @nestjs/core
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-16 23:00:06 +02:00
renovate[bot]
cf34a19494 chore(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 23:00:06 +02:00
renovate[bot]
2b3fd44552 fix(deps): update i18next
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 20:48:49 +02:00
renovate[bot]
b285cf4a19 fix(deps): update dependency tlds to v1.240.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 14:02:16 +02:00
renovate[bot]
ff0f72a57c chore(deps): update nextjs monorepo to v13.4.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 04:55:44 +00:00
renovate[bot]
1f5fd995dd chore(deps): update dependency eslint-config-next to v13.4.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 00:50:00 +00:00
renovate[bot]
5a677bf481 chore(deps): update dependency mkdocs-material to v9.1.16
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 19:48:34 +00:00
renovate[bot]
fdfa978299 fix(deps): update dependency yjs to v13.6.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 16:58:24 +00:00
renovate[bot]
d1e15131a1 chore(deps): update node.js to 0a8a2a2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 14:09:52 +00:00
renovate[bot]
0ea9113a6a chore(deps): update github/codeql-action action to v2.20.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 21:48:03 +02:00
renovate[bot]
13863002d0 fix(deps): update dependency sass to v1.63.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 21:32:08 +02:00
renovate[bot]
dd40dfecdf chore(deps): update dependency @testing-library/dom to v9.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 18:55:28 +00:00
renovate[bot]
fecb5bb993 fix(deps): update dependency @nestjs/config to v2.3.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 17:49:34 +00:00
renovate[bot]
04f8da983e fix(deps): update dependency react-redux to v8.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 21:17:42 +02:00
renovate[bot]
cba89c1264 chore(deps): update docker/metadata-action action to v4.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 21:16:17 +02:00
renovate[bot]
07f9ef56a8 chore(deps): update docker/setup-buildx-action action to v2.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 21:15:53 +02:00
renovate[bot]
0acc38afeb chore(deps): update dependency @codemirror/view to v6.13.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 21:15:18 +02:00
renovate[bot]
8330dc663b chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 18:02:49 +00:00
renovate[bot]
7f85e8129c chore(deps): update docker/build-push-action action to v4.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 13:08:25 +00:00
renovate[bot]
cc815d76f3 chore(deps): update typescript-eslint monorepo to v5.59.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 21:17:16 +00:00
renovate[bot]
4873af6fa1 chore(deps): update codemirror to v6.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 18:57:06 +02:00
renovate[bot]
8539765a1e chore(deps): update dependency @codemirror/view to v6.13.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 18:42:03 +02:00
renovate[bot]
07676e09e0 fix(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 16:10:27 +00:00
renovate[bot]
6f14730c91 fix(deps): update dependency @uiw/react-codemirror to v4.21.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 12:43:02 +00:00
renovate[bot]
3f7ed556dc chore(deps): lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 11:35:55 +00:00
renovate[bot]
ebf6b32ddf fix(deps): update dependency react-bootstrap-typeahead to v6.2.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 04:09:50 +00:00