Commit graph

676 commits

Author SHA1 Message Date
Erik Michelson
b35bc739e5 chore(deps): use the same ts-node version in frontend/backend
This changes the specified version from main branch to a specific commit.
Hopefully this changes will result in (better) caching of the ts-node
package, especially in the GitHub CI. By setting a specific commit,
the package is also pinned like all other dependencies and therefore
ensures a more predictionable behaviour.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 10:49:46 +02:00
renovate[bot]
9be9c4ed79 chore(deps): update dependency eslint-plugin-prettier to v5.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 04:18:31 +00:00
renovate[bot]
8bc3dab517 chore(deps): update typescript-eslint monorepo to v6.7.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-09 19:07:10 +00:00
David Mehren
3d03835af9 chore: set version in all packae.jsons
Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-08 22:01:47 +02:00
David Mehren
85e17bee79 fix: support dots in semver prerelease identifier
Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-08 22:01:47 +02:00
Yannick Bungers
ece2bc2880 Update Tests for HD_SHOW_LOG_TIMESTAMP
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 20:42:37 +02:00
Yannick Bungers
44a7bfdd9c Add config option for Disabling timestamp in log
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 20:42:37 +02:00
David Mehren
c8c20da469 fic(ci): add git to build containers
Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-08 19:10:41 +02:00
David Mehren
10776de54f fix(migrations): use migration file extension according to runtime
We need to use .ts only if we run inside ts-node
or other tools that use it. In all other cases, we need to
refer to the .js migration files.

Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-08 17:58:32 +02:00
David Mehren
f8f198f9c9 feat: add initial database migration
Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-08 17:58:32 +02:00
Yannick Bungers
fbd5fa8b07 Remove not needed TODOs
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
8879b51344 Adding issues for TODOs
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
7e1123e8a4 Move monitoring TODO
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
944c67e7f1 Remove TODO for tlsOptions in ldap config
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
b145f652e3 Add example noteId
Signed-off-by: Yannick Bungers <git@innay.de>

Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
7a41cce94f Remove gitlab api version option
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
c34176ef85 More context for database todo
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
0aff06637c Remove history entry todos
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
18116f4e64 Remove user creation todo
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
renovate[bot]
7050d7d5ed chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-08 11:12:09 +00:00
David Mehren
56e2270736 fix(session-service): properly handle session store results
Previously, an undefined result in fetchUsernameForSessionId
was handled the same way as an error, rejecting the promise.

This fixes the behavior, only rejecting the promise if an error
is returned from the session store and properly returning
undefined if the session store returns that.

Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-07 19:01:57 +02:00
David Mehren
4426d6f51a chore(deps): update to git version of ts-node
The last release is more than a year old and does not
support TS 5.0 properly

Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-07 19:01:57 +02:00
renovate[bot]
d5d44e43ed fix(deps): update dependency joi to v17.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:25:07 +02:00
renovate[bot]
9df6a24792 chore(deps): update dependency eslint to v8.51.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:23:20 +02:00
Philip Molares
a73e539a20 fix: check if auth names contain duplicates
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 16:05:59 +02:00
Erik Michelson
5d396eb99c fix: change property name in backend DTO
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 15:51:32 +02:00
renovate[bot]
f3a3055e08 chore(deps): update yarn to v3.6.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 12:44:15 +00:00
renovate[bot]
585e1989e1 chore(deps): update dependency @types/node to v20.8.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 14:39:13 +02:00
Philip Molares
5335c48df7 feat(config): warn user about not yet supported config
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 14:33:21 +02:00
Philip Molares
d43da06ec1 refactor: remove dropbox, facebook & twitter login
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 13:28:37 +02:00
David Mehren
170977baa9 fix: ensure successful startup is logged
The default log level is 'warning', so we log the final
startup message as warning to ensure it is visible by default.

Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-07 11:11:45 +02:00
David Mehren
0693812e8b refactor: remove HstsConfig
This config object was originally ported from the HD1 config,
but is not required anymore.

HD2 does not support handling TLS anymore, so it does not make
sense for it to set TLS-related headers.
The reverse proxy terminating TLS can easily set HSTS headers.

Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-07 11:10:37 +02:00
renovate[bot]
19da3bf1ab fix(deps): update nestjs packages to v10.2.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 10:53:25 +00:00
renovate[bot]
59193cd3bc fix(deps): update dependency @nestjs/swagger to v7.1.13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 07:17:47 +00:00
renovate[bot]
e2c8b89682 chore(deps): update dependency @types/supertest to v2.0.14
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 01:46:31 +00:00
renovate[bot]
5e839f9816 chore(deps): update typescript-eslint monorepo to v6.7.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 19:17:25 +00:00
renovate[bot]
89b8b01579 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 19:28:40 +02:00
renovate[bot]
0edd7b8bb8 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.1.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-30 15:35:08 +00:00
renovate[bot]
bddab7c664 chore(deps): update node.js to 37750e5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-30 01:12:33 +00:00
renovate[bot]
ab27d96434 chore(deps): update dependency eslint-plugin-jest to v27.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 23:03:41 +00:00
renovate[bot]
899aeddc02 chore(deps): update node.js to 6f52984
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 22:59:20 +00:00
renovate[bot]
55aa522c9f chore(deps): update dependency @types/node to v20.7.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 17:33:55 +00:00
renovate[bot]
38896300ac chore(deps): update node.js to a348d50
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 05:26:00 +00:00
renovate[bot]
d307693b82 chore(deps): update dependency @types/node to v20.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 21:26:56 +00:00
renovate[bot]
381b0f10a4 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 14:53:11 +00:00
renovate[bot]
a3ff25db93 fix(deps): update dependency rimraf to v5.0.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 06:44:06 +00:00
renovate[bot]
6f9ab03ebd chore(deps): update dependency @types/node to v20.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 08:30:29 +02:00
renovate[bot]
150ec672c6 chore(deps): update dependency markdown-it to v13.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 20:07:40 +00:00
renovate[bot]
1c40939483 fix(deps): update dependency rimraf to v5.0.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 02:00:41 +00:00
renovate[bot]
37ccd9ba67 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 21:48:25 +00:00