renovate[bot]
28f04f461c
chore(deps): update dependency @types/node to v20.3.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 21:43:45 +00:00
renovate[bot]
85ba675507
fix(deps): update dependency pg to v8.11.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 19:26:13 +00:00
renovate[bot]
25fb9344af
chore(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 16:19:08 +00:00
renovate[bot]
9b1fbea77e
chore(deps): update dependency yjs to v13.6.6
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-25 23:10:44 +02:00
David Mehren
4d50f2ec33
fix(backend): immediately use our custom logger
...
While the DI and database initialization is running, NestJSs default logger is normally used. Our custom logger was only being initialized after DI setup is complete.
Errors encountered during DI setup were buffered and only printed after DI init was complete, or the app exited on error.
This led to the app not printing anything for a minute in certain cases.
This commit replaces the initial logger with our ConsoleLoggerService that logs everything.
After DI init is complete, that logger is replaced with a normal instance of ConsoleLoggerService that uses the real config from DI.
Fixes https://github.com/hedgedoc/hedgedoc/issues/4306
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-25 21:49:01 +02:00
renovate[bot]
e28b4183db
chore(deps): update dependency @types/node to v20.3.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-25 14:44:47 +02:00
renovate[bot]
b8bb690a0e
chore(deps): update dependency yjs to v13.6.5
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-23 15:44:40 +02:00
renovate[bot]
1496155b36
fix(deps): update dependency @nestjs/swagger to v7.0.4
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 14:18:53 +00:00
renovate[bot]
cd4d20d09e
chore(deps): update node.js to 77516e1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 05:01:55 +00:00
renovate[bot]
b7c9c80745
chore(deps): update node.js to 2bc2b33
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 20:24:22 +02:00
Tilman Vatteroth
cf02c35b49
fix: save created revision on realtime note destroy
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 14:17:25 +02:00
Avinash
b3eb6e4339
feat: increased test coverage for authService
...
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-06-21 14:07:00 +02:00
Avinash
239e21f4cb
refactor: removed unused userServices
...
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-06-21 14:07:00 +02:00
renovate[bot]
74164e1a72
fix(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 12:32:33 +02:00
Tilman Vatteroth
f32bd44091
fix: add @types/markdown-it to backend dev dependencies
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 07:28:01 +02:00
renovate[bot]
1fbb5c3b69
fix(deps): update dependency typeorm to v0.3.17
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 01:46:58 +00:00
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
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]
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]
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]
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
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
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]
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]
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]
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]
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]
a5472a923d
chore(deps): update node.js to 4962384
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-11 18:29:54 +02:00
renovate[bot]
806da7b95e
fix(deps): update dependency @nestjs/schedule to v2.2.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 16:29:17 +02:00
renovate[bot]
cc22d9c05c
chore(deps): update definitelytyped
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 09:03:45 +02:00
renovate[bot]
cffab443c0
fix(deps): update dependency yjs to v13.6.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-08 12:01:28 +02:00
renovate[bot]
4254d63a73
fix(deps): update zxcvbn-ts
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 19:15:01 +02:00
renovate[bot]
c278df59dc
chore(deps): update dependency @types/pg to v8.10.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 10:18:47 +00:00
renovate[bot]
972fc6fb00
chore(deps): update typescript-eslint monorepo to v5.59.9
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 22:27:45 +02:00
Philip Molares
0a8945d934
feat(backend): handle username always in lowercase
...
This should make all usernames of new users into lowercase. Usernames are also searched in the DB as lowercase.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-04 21:55:19 +02:00
renovate[bot]
9625900d1c
chore(deps): update node.js to 59ac653
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-04 20:43:09 +02:00
renovate[bot]
16b60ddde7
chore(deps): update dependency typescript to v5.1.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 11:14:03 +02:00
renovate[bot]
1f292de377
chore(deps): update node.js to f3fe00f
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 11:13:04 +02:00
renovate[bot]
222d4b23ae
chore(deps): update dependency eslint to v8.42.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 11:12:54 +02:00
Tilman Vatteroth
753c6e593f
refactor: remove isomorphic-ws
...
The package caused some issues while working on other features.
Mostly because bundlers have been unable to determine the correct
websocket constructor.
So I replaced it with a more object-oriented approach.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-02 17:40:25 +02:00
renovate[bot]
fd78605657
chore(deps): update yarn to v3.6.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-02 08:36:15 +02:00
renovate[bot]
c9b98f6185
chore(deps): update dependency @types/jest to v29.5.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-31 20:54:58 +02:00