Commit graph

245 commits

Author SHA1 Message Date
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
renovate[bot]
45799627ad chore(deps): update dependency eslint to v8.31.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-31 11:02:30 +01:00
renovate[bot]
6dccd3a235 chore(deps): update dependency @types/jest to v29.2.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-31 05:15:29 +00:00
renovate[bot]
98eec1e0c9 chore(deps): update dependency @nestjs/cli to v9.1.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-31 02:49:13 +00:00
David Mehren
b311265762 fix(media-controller): throw if no file was uploaded
Signed-off-by: David Mehren <git@herrmehren.de>
2022-12-30 11:02:56 +01:00
renovate[bot]
9d8d5e8d55 chore(deps): update dependency @types/ws to v8.5.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-30 11:01:28 +01:00
renovate[bot]
b67fab7491 chore(deps): update typescript-eslint monorepo to v5.47.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-28 19:03:30 +01:00
renovate[bot]
8d736dcb44 chore(deps): update nestjs packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-28 18:42:46 +01:00
renovate[bot]
e899afaecc chore(deps): update dependency @types/node to v18.11.18
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-28 18:42:10 +01:00
renovate[bot]
e5359a69ca chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 14:45:05 +01:00
renovate[bot]
c7251b7f06 chore(deps): update typescript-eslint monorepo to v5.47.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 13:55:13 +01:00
renovate[bot]
43f69da085 chore(deps): update yarn to v3.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 12:10:51 +00:00
renovate[bot]
d0542a119f chore(deps): update typescript-eslint monorepo to v5.46.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-18 22:55:52 +01:00
renovate[bot]
92442480cb fix(deps): update dependency rxjs to v7.8.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-18 21:59:43 +01:00
renovate[bot]
e1f0d0c3a0 chore(deps): update dependency @types/node to v18.11.17
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-18 15:43:09 +01:00
renovate[bot]
b57152ac24 Update dependency eslint to v8.30.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 18:48:09 +01:00
renovate[bot]
12b3f2881a Update dependency sqlite3 to v5.1.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 14:07:10 +00:00
renovate[bot]
7ea0973a98 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 12:25:16 +01:00
renovate[bot]
db55ee7437 chore(deps): update node.js to 3ed634e
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 12:24:09 +01:00
renovate[bot]
7ab7779f23 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 12:21:10 +01:00
renovate[bot]
102253a5f4 chore(deps): update dependency @types/cookie-signature to v1.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-12 20:42:40 +01:00
renovate[bot]
45091412f8 chore(deps): update dependency @types/node to v18.11.13
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-12 03:34:54 +00:00
Tilman Vatteroth
60db7f4931 fix(docs): Adjust getting started docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 23:09:10 +01:00
Tilman Vatteroth
298b6bc205 fix(backend): migrate code to use the commons workspace
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 23:09:10 +01:00
renovate[bot]
2f92918168 chore(deps): update dependency prettier to v2.8.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-11 22:26:44 +01:00
Tilman Vatteroth
a97f7e8fd1 fix(realtime): Allow connections for guest users
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 22:21:51 +01:00
renovate[bot]
4ab66dfe2d fix(deps): update dependency class-validator to v0.14.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-11 22:09:47 +01:00
renovate[bot]
de6faa6bd0 chore(deps): update typescript-eslint monorepo to v5.46.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 20:46:41 +01:00
renovate[bot]
6c17d77e91 fix(deps): update dependency lib0 to v0.2.58
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 11:52:57 +01:00
renovate[bot]
ff490dec04 fix(deps): update dependency @nestjs/swagger to v6.1.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 11:22:27 +01:00
renovate[bot]
504c8ee204 chore(deps): update typescript-eslint monorepo to v5.45.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 11:20:23 +01:00
renovate[bot]
2d596c2391 chore(deps): update dependency typescript to v4.9.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 10:59:01 +01:00
renovate[bot]
7391182eb9 chore(deps): update test packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 10:58:53 +01:00
renovate[bot]
ea4318a5fc chore(deps): update dependency @types/node to v18.11.12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 10:58:42 +01:00
renovate[bot]
b775a07821 chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-05 08:46:43 +01:00
renovate[bot]
c44c4605cb fix(deps): update dependency rxjs to v7.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 23:36:23 +01:00
renovate[bot]
c0d3973c48 chore(deps): update typescript-eslint monorepo to v5.45.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 23:35:31 +01:00
renovate[bot]
5e93bc3b8c chore(deps): update dependency eslint to v8.29.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 22:17:08 +01:00
Tilman Vatteroth
2241a3faea feat(package): adjust packages to workspaces
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-04 20:59:46 +01:00
renovate[bot]
046a173891 fix(deps): update nestjs packages to v9.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 02:46:23 +00:00
renovate[bot]
9fbd5ef99a chore(deps): update test packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-03 18:47:06 +00:00
renovate[bot]
8239f9e2a6 chore(deps): update dependency yjs to v13.5.43
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-03 16:15:52 +00:00
renovate[bot]
ab361d0ba0 fix(deps): update dependency lib0 to v0.2.55
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-03 14:02:38 +00:00
renovate[bot]
840cb61d2b chore(deps): update dependency tsconfig-paths to v4.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-03 11:44:09 +00:00
renovate[bot]
b3dae7cb1b chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-03 07:01:11 +00:00
renovate[bot]
d9224e81dc chore(deps): update node.js to 80844b6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-03 04:58:23 +00:00
renovate[bot]
1928cd8639 chore(deps): update yarn to v3.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-01 23:51:51 +01:00
renovate[bot]
bdf87ebc9d chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-29 22:04:57 +00:00
renovate[bot]
6d7165f767 chore(deps): update dependency prettier to v2.8.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-28 16:36:12 +01:00
Philip Molares
d3249c6635 test: fix "creates a new revision" test
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-11-27 21:29:23 +01:00
Philip Molares
231a3fd6bd feat: add note specific filename for unidiff format in revision patch
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-11-27 21:29:23 +01:00
renovate[bot]
89aec40627 fix(deps): update dependency @types/minio to v7.0.15
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-26 02:50:09 +00:00
renovate[bot]
2206349415 fix(deps): update dependency ws to v8.11.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-21 17:13:07 +01:00
renovate[bot]
49bc1bfcdc chore(deps): update dependency typescript to v4.9.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-21 16:52:03 +01:00
renovate[bot]
a1fc1e521c chore(deps): update dependency jest to v29.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-21 16:50:19 +01:00
renovate[bot]
8225fbb538 chore(deps): update dependency eslint to v8.28.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-21 16:35:43 +01:00
renovate[bot]
5c4cbb1380 chore(deps): update typescript-eslint monorepo to v5.43.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-21 14:40:12 +01:00
Tilman Vatteroth
9fae96f622 fix(ci): move codecov config to top-level
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-20 23:02:13 +01:00
renovate[bot]
73c7fc2984 chore(deps): update dependency @types/jest to v29.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-20 19:47:21 +00:00
renovate[bot]
fcfdc3987b chore(deps): update node.js to c59fb39
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-20 18:55:14 +00:00
renovate[bot]
1e9ac0a5f6 fix(deps): update dependency joi to v17.7.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-20 18:33:15 +01:00
renovate[bot]
cdbe75ce9b fix(deps): update nestjs packages to v9.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-20 18:31:31 +01:00
renovate[bot]
2250495d4f chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-14 05:25:36 +00:00
renovate[bot]
2b2b9c9823 chore(deps): update node.js to 2241dcb
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-12 16:27:49 +00:00
renovate[bot]
6a0e770282 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-12 10:14:08 +00:00
renovate[bot]
ec467ded55 chore(deps): update node.js to 083a23f
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-12 05:20:00 +00:00
renovate[bot]
4092859fce chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-07 01:03:19 +00:00
renovate[bot]
9154a08646 chore(deps): update dependency eslint-plugin-jest to v27.1.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-06 22:47:06 +01:00
renovate[bot]
92cad1bdd6 chore(deps): update dependency @types/node to v18.11.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-06 22:31:58 +01:00
renovate[bot]
d6e18ab6f3 fix(deps): update dependency lib0 to v0.2.53
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-06 22:20:08 +01:00
renovate[bot]
6cc04a1827 chore(deps): update dependency @types/jest to v29.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-06 22:19:55 +01:00
renovate[bot]
dab3233d25 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-06 22:17:54 +01:00
Tilman Vatteroth
bf30cbcf48 fix(repository): Move backend code into subdirectory
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-30 22:46:42 +01:00