Commit graph

122 commits

Author SHA1 Message Date
renovate[bot]
f8be64cfba chore(deps): update yarn to v3.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:07:06 +01:00
Yannick Bungers
7f8371fec2 Remove redundant password strength check
Signed-off-by: Yannick Bungers <git@innay.de>
2023-02-06 08:46:56 +01:00
renovate[bot]
8023b126a2 fix(deps): update dependency yjs to v13.5.45
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:26:22 +01:00
renovate[bot]
5c9b918a34 chore(deps): update dependency @types/node to v18.11.19
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:25:13 +01:00
renovate[bot]
4cf7eb4cbd fix(deps): update dependency @nestjs/passport to v9.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:25:00 +01:00
renovate[bot]
532713a218 chore(deps): update node.js to 72b0f91
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 22:35:27 +01:00
Tilman Vatteroth
5e1fdbe81d fix(config): Replace HD_DOMAIN and HD_EDITOR_BASE_URL with HD_BASE_URL
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 22:32:31 +01:00
Tilman Vatteroth
65ac00913b chore(deps): Update optional to 1.1.0
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 22:32:31 +01:00
Tilman Vatteroth
7b2d541cac fix(backend): Use regex to parse version
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:21:08 +01:00
Tilman Vatteroth
69a7a1ae69 fix(docker): fix Dockerfiles of backend and frontend
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:21:08 +01:00
Tilman Vatteroth
74178b6edf fix(backend): Remove redundant test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 18:38:32 +01:00
Tilman Vatteroth
38bcb9affd fix(backend): Fix open handles in backend test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 18:38:32 +01:00
Tilman Vatteroth
d76714f2a2 fix(commons): Move "wait for other promises to finish" util to commons
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 18:38:32 +01:00
renovate[bot]
5c34281f66 chore(deps): update dependency @types/express to v4.17.17
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 10:37:55 +01:00
renovate[bot]
37398df3bd chore(deps): update dependency typescript to v4.9.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 14:00:25 +01:00
renovate[bot]
834faf7213 chore(deps): update dependency eslint to v8.33.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 13:59:49 +01:00
renovate[bot]
2cbeffa2d0 chore(deps): update typescript-eslint monorepo to v5.49.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-29 19:28:52 +01:00
renovate[bot]
6628bd644c fix(deps): update dependency @zxcvbn-ts/core to v2.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 17:43:04 +01:00
renovate[bot]
843d66c0f2 chore(deps): update test packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 17:35:49 +01:00
renovate[bot]
779f96cdbc fix(deps): update dependency rimraf to v4.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 16:14:21 +01:00
renovate[bot]
1fada21d6f chore(deps): update dependency @types/express to v4.17.16
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 10:06:07 +00:00
renovate[bot]
495e1e1c95 chore(deps): update dependency @nestjs/cli to v9.1.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 06:58:55 +00:00
renovate[bot]
671e53c273 chore(deps): update node.js to 4619ec6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 03:44:49 +00:00
Philip Molares
9f34b5ec24 chore(backend): enhance .env.example
In an effort to make the example file more directly usable. This adds `HD_AUTH_LOCAL_ENABLE_LOGIN` and `HD_AUTH_LOCAL_ENABLE_REGISTER` to have an authentication method directly available.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-24 22:43:23 +01:00
renovate[bot]
c8d4f0dc18 fix(deps): update dependency lib0 to v0.2.60
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 20:42:46 +01:00
renovate[bot]
e285d4f0da chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 14:46:27 +01:00
renovate[bot]
b5258da551 fix(deps): update dependency rimraf to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 14:45:20 +01:00
renovate[bot]
cb946e0a3a chore(deps): update dependency @types/jest to v29.2.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 11:31:12 +01:00
renovate[bot]
9356651684 chore(deps): update dependency ts-jest to v29.0.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 19:30:31 +01:00
renovate[bot]
3915a05e24 chore(deps): update typescript-eslint monorepo to v5.48.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 19:29:22 +01:00
renovate[bot]
cb1058c915 fix(deps): update dependency node-fetch to v2.6.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 18:35:46 +01:00
renovate[bot]
cf9131c06e chore(deps): update dependency prettier to v2.8.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-16 11:54:32 +00:00
Erik Michelson
2225057ebe misc(apidocs): move URL route of API docs
This makes the Swagger UI route more consistent to the real API routes.
Especially, the "private" prefix of the private API docs was irritating.
Additionally, this commit adds a rule to the Caddyfile for proxying the API docs to the backend.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-01-15 18:20:25 +01:00
Erik Michelson
d52fc55ef3 feat(apidocs): use real version number
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-01-15 18:20:25 +01:00
Philip Molares
8ee2d809c7 test(backend): add regression test for issue #3135
When a PasswordTooWeakError is encountered the newly created user should be removed again. This should prevent registration error from "burning" usernames for further use.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-15 18:15:28 +01:00
Philip Molares
47d1765b12 refactor(backend): don't create local user if password is too weak
This prevents the previous problem that the backend created a user that was then not correctly removed again

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-15 18:15:28 +01:00
Philip Molares
0ec9edc07d test(backend): change registration disabled error code
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-15 18:14:01 +01:00
Philip Molares
c39a9430a2 feat(backend): add RegistrationDisabledError
This error is thrown by RegistrationEnabledGuard instead of directly throwing an http error.
The new RegistrationDisabledError is mapped to the Forbidden HTTP code 403, since this better represents the actual error.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-15 18:14:01 +01:00
renovate[bot]
e3edae8d64 chore(deps): update node.js to ab3603c
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-14 21:20:17 +01:00
Erik Michelson
69d625188c fix(tests): syntax for loop in console-logger service
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-09 20:09:56 +01:00
Tamotsu Takahashi
396050c6cf Set the session cookie after registering
Fix https://github.com/hedgedoc/react-client/issues/2524

Signed-off-by: Tamotsu Takahashi <ttakah+github@gmail.com>
2023-01-08 14:31:34 +01:00
renovate[bot]
1c73c89d45 fix(deps): update dependency ws to v8.12.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 23:50:17 +01:00
renovate[bot]
cd875b6402 chore(deps): update dependency prettier to v2.8.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 22:57:48 +01:00
renovate[bot]
021ec535dd chore(deps): update typescript-eslint monorepo to v5.48.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 22:45:24 +01:00
renovate[bot]
960ea6eb19 chore(deps): update dependency @types/passport-local to v1.0.35
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 18:51:27 +00:00
renovate[bot]
6149bc9373 chore(deps): update dependency tsconfig-paths to v4.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 15:50:56 +00:00
renovate[bot]
43c3d04f46 chore(deps): update dependency eslint-plugin-jest to v27.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 12:32:08 +00:00
renovate[bot]
ae17ba2aef chore(deps): update node.js to 88e1842
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 04:09:42 +00:00
renovate[bot]
47ba755db0 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-06 11:53:24 +01:00
renovate[bot]
ea535d6be0 fix(deps): update dependency yjs to v13.5.44
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-01 20:16:54 +00:00