Erik Michelson
9597ac5422
feat(notes): check for equal alias or note id
...
When creating a new note or adding a new alias to one,
it is checked that the new name
is neither forbidden nor already in use.
Co-authored-by: David Mehren <git@herrmehren.de>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-04-18 22:15:11 +02:00
Erik Michelson
8693edbf6a
refactor(media): add media redirection endpoint
...
Previous versions of HedgeDoc suffered from the problem
that changing the media backend required manipulation of
the media links in all created notes. We discussed in
#3704 that it's favourable to have an endpoint that
redirects to the image's original URL. When changing the
media backend, the link stays the same but just the
redirect changes.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-04-18 22:11:49 +02:00
Philip Molares
1f19a6fac4
lint: fix error in new test
...
This was probably introduced because the PR was open so long
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2024-04-18 21:52:36 +02:00
yamashush
1c22a425bd
test: complete todo
...
Signed-off-by: yamashush <38120991+yamashush@users.noreply.github.com>
2024-04-18 21:26:06 +02:00
renovate[bot]
9aaec95398
fix(deps): update dependency @nestjs/schedule to v4
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 11:31:07 +02:00
Erik Michelson
92bde4d281
enhancement(api-tokens): add prefix and more strict validation
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-04-09 10:54:35 +02:00
Erik Michelson
956dd28648
feat: add event listener for canceling destroy timer
...
Signed-off-by: yamashush <38120991+yamashush@users.noreply.github.com>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-03-03 21:15:32 +01:00
renovate[bot]
61bf3adf99
chore(deps): update linters
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 17:51:22 +01:00
renovate[bot]
5775b07b2d
chore(deps): update dependency @types/node to v20.11.18
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-15 15:34:38 +00:00
renovate[bot]
ecce1adc16
fix(deps): update nestjs packages to v10.3.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 13:13:48 +00:00
renovate[bot]
663faaf8f7
chore(deps): update yarn to v4.1.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-02-10 18:00:34 +01:00
renovate[bot]
73e34755a1
fix(deps): update dependency joi to v17.12.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-02-10 18:00:34 +01:00
renovate[bot]
315d43f209
fix(deps): update dependency htmlparser2 to v9.1.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-02-10 18:00:34 +01:00
renovate[bot]
b58c475f83
fix(deps): update dependency express-session to v1.18.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-02-10 18:00:34 +01:00
renovate[bot]
0eb473e5fc
chore(deps): update typescript-eslint monorepo to v6.21.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-02-10 18:00:34 +01:00
renovate[bot]
eb71573227
chore(deps): update linters
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-02-10 18:00:34 +01:00
renovate[bot]
01257ea7ac
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.5.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-02-10 18:00:34 +01:00
renovate[bot]
d089634369
fix(deps): update dependency ws to v8.16.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-02-10 18:00:34 +01:00
renovate[bot]
20c41578f3
fix(deps): update dependency reflect-metadata to v0.2.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-02-10 18:00:34 +01:00
renovate[bot]
970686202d
chore(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2024-02-10 18:00:34 +01:00
renovate[bot]
1ccf02bab6
fix(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-10 18:00:34 +01:00
renovate[bot]
0474dbbac8
fix(deps): update dependency typeorm to v0.3.20
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-10 18:00:34 +01:00
renovate[bot]
3f5f7bbc27
chore(deps): update dependency yjs to v13.6.12
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-10 18:00:34 +01:00
renovate[bot]
68ae8fd726
chore(deps): update dependency @types/jest to v29.5.12
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-10 18:00:34 +01:00
renovate[bot]
bf0991a671
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.4.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-10 18:00:34 +01:00
renovate[bot]
074a92444b
chore(deps): update definitelytyped
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-10 18:00:34 +01:00
renovate[bot]
c36bf7f1c2
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.4.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 16:19:43 +01:00
renovate[bot]
95e09f02f7
chore(deps): update dependency @types/node to v20.11.10
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-28 21:02:24 +00:00
renovate[bot]
696cc5086c
fix(deps): update dependency sqlite3 to v5.1.7
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-28 16:55:25 +00:00
renovate[bot]
ec7ba41e45
chore(deps): update node.js to 2f46fd4
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-28 16:06:28 +00:00
renovate[bot]
e5386ed856
chore(deps): update definitelytyped
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-28 16:30:29 +01:00
renovate[bot]
2e8424fb40
fix(deps): update dependency joi to v17.11.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 07:24:23 +00:00
renovate[bot]
ddc70d66cc
fix(deps): update dependency reflect-metadata to v0.1.14
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 07:24:04 +00:00
renovate[bot]
7e1494d780
fix(deps): update dependency class-validator to v0.14.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 04:08:09 +00:00
renovate[bot]
7016eddbb8
chore(deps): update test packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 04:07:42 +00:00
renovate[bot]
76a89a0f9b
fix(deps): update dependency @nestjs/swagger to v7.1.17
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 04:05:35 +00:00
renovate[bot]
3a31f977c3
chore(deps): update linters
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 01:45:58 +00:00
renovate[bot]
d3b9bba683
chore(deps): update dependency yjs to v13.6.11
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-24 22:00:54 +00:00
renovate[bot]
7d01059e66
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.3.9
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 12:17:12 +00:00
renovate[bot]
a6c3f4fe43
chore(deps): update definitelytyped
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 10:49:56 +00:00
renovate[bot]
a48b160eff
chore(deps): update node.js to 8e6a472
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-21 17:16:42 +00:00
renovate[bot]
09d37c4ec3
fix(deps): update dependency passport to v0.7.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 21:09:43 +01:00
renovate[bot]
2ab59b750c
chore(deps): update linters
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2023-12-08 09:10:43 +01:00
renovate[bot]
8ab09131a8
fix(deps): update dependency cookie to v0.6.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 21:20:41 +01:00
renovate[bot]
215ac7e23f
fix(deps): update dependency @azure/storage-blob to v12.17.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 21:20:24 +01:00
renovate[bot]
dbc81435bf
chore(deps): update dependency typescript to v5.3.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 21:07:59 +01:00
renovate[bot]
235e0b8d68
fix(deps): update dependency @nestjs/passport to v10.0.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 19:25:12 +00:00
renovate[bot]
c18683fab3
chore(deps): update dependency @types/jest to v29.5.11
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 19:24:49 +00:00
renovate[bot]
6631886b01
chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v4.3.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 20:12:43 +01:00
renovate[bot]
429ec248eb
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.3.8
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 18:44:57 +00:00
renovate[bot]
af34736199
fix(deps): update definitelytyped
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 19:16:51 +01:00
renovate[bot]
754121a7da
chore(deps): update definitelytyped
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 18:48:21 +01:00
David Mehren
a607128b78
fix(media-service): correct type in chooseBackendType
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-12-07 18:46:39 +01:00
David Mehren
422b28fe55
chore(eslint): allow PascalCase for imports
...
Applies https://github.com/typescript-eslint/typescript-eslint/pull/7841 to our config
Signed-off-by: David Mehren <git@herrmehren.de>
2023-12-07 18:46:39 +01:00
renovate[bot]
e1e8a24d60
chore(deps): update typescript-eslint monorepo to v6.13.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 18:46:39 +01:00
renovate[bot]
7b1870b6b9
chore(deps): update yarn to v4.0.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2023-12-07 17:14:34 +00:00
renovate[bot]
d31e6a2ad3
fix(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-03 04:13:45 +00:00
renovate[bot]
8bea2f76a3
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.3.7
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 08:39:11 +00:00
renovate[bot]
8e3519737c
chore(deps): update node.js to 32427bc
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 19:27:26 +00:00
renovate[bot]
ecaa2c3ed8
chore(deps): update dependency yjs to v13.6.10
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 00:26:13 +00:00
renovate[bot]
84eb2527cc
chore(deps): update dependency @types/jest to v29.5.10
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 21:06:55 +00:00
renovate[bot]
52c96816d0
chore(deps): update dependency eslint-plugin-local-rules to v2.0.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 21:06:44 +00:00
renovate[bot]
8884bbb428
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.3.6
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 20:08:18 +00:00
renovate[bot]
99b4ee8cc1
chore(deps): update node.js to b1789b7
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 19:15:47 +00:00
renovate[bot]
4775622f19
chore(deps): update test packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 21:22:23 +00:00
renovate[bot]
cce42983cc
chore(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 21:08:18 +00:00
renovate[bot]
a18638aac5
chore(deps): update yarn to v4.0.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 20:00:30 +00:00
Philip Molares
26aae03b22
chore: update ts-node to 11.0.0-beta.1
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-29 21:52:14 +01:00
renovate[bot]
9118e11c6b
chore(deps): update linters
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 08:43:22 +02:00
renovate[bot]
15e4773706
chore(deps): update dependency @nestjs/cli to v10.2.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 23:14:09 +02:00
renovate[bot]
2be48eff36
chore(deps): update node.js to 8e015de
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-25 23:17:22 +00:00
renovate[bot]
4e0582d1dc
chore(deps): update definitelytyped
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-25 22:48:24 +02:00
Philip Molares
e797d600d4
chore: release alpha 2
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-25 21:55:27 +02:00
renovate[bot]
daecf20dd6
chore(deps): update yarn to v4
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 11:26:16 +02:00
Philip Molares
723f3f611c
feat(realtime): add disconnect reason
...
The frontend now doesn't try to reconnect, when the disconnection happened because of a lack of permissions
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-23 22:39:21 +02:00
renovate[bot]
c0f8f43859
chore(deps): update dependency @types/markdown-it to v13.0.5
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 17:43:27 +00:00
renovate[bot]
b0b47b95e4
fix(deps): update dependency @nestjs/swagger to v7.1.14
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 17:12:54 +00:00
renovate[bot]
5dfa43d1a8
chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v4.2.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 10:50:20 +00:00
renovate[bot]
c8fc28f37c
chore(deps): update dependency eslint-plugin-jest to v27.4.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-21 01:24:08 +00:00
renovate[bot]
e1a6c84efd
chore(deps): update test packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:50:07 +00:00
renovate[bot]
403593c9d1
fix(deps): update definitelytyped
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:26:14 +00:00
renovate[bot]
eaddca2451
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.3.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:00:29 +02:00
renovate[bot]
8b5713b9f4
chore(deps): update typescript-eslint monorepo to v6.8.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 19:35:02 +02:00
renovate[bot]
3525f72162
chore(deps): update ts-node digest to c06cbe7
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 00:18:57 +00:00
renovate[bot]
fea54603fd
chore(deps): update node.js to 002b6ee
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 23:18:33 +00:00
renovate[bot]
16e4202916
chore(deps): update node.js to a369136
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 23:00:32 +00:00
renovate[bot]
913cfce2e8
chore(deps): update node.js to d962f13
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 20:28:22 +00:00
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