renovate[bot]
1b176bac08
chore(deps): update dependency eslint-plugin-jest to v25.2.2 ( #1755 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 04:10:27 +00:00
Yannick Bungers
a2ebd16260
Remove unnecessary exception handling in private notes.controller.ts
...
and change noteIdOrAlias to Note as parameter
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-18 22:35:47 +02:00
Yannick Bungers
04dca6aa68
Add API doc for private media API
...
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-18 20:20:14 +02:00
Alexandru Văleanu
b3d3015ce7
Add delete media in private API ( #1736 )
...
Adds the missing API route of deleting media in the private API.
2021-10-18 20:00:28 +02:00
David Mehren
93844efc6c
Merge pull request #1744 from hedgedoc/renovate/develop-linters
2021-10-16 15:56:29 +02:00
Renovate Bot
a1992f296c
chore(deps): update dependency eslint-plugin-jest to v25.2.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-15 23:09:47 +00:00
renovate[bot]
4546bfdd2c
fix(deps): update dependency cli-color to v2.0.1 ( #1746 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-15 23:08:26 +00:00
Yannick Bungers
9d4fc6d7c6
Merge pull request #1735 from hedgedoc/fix-username
2021-10-15 21:37:10 +02:00
renovate[bot]
9a0b31c8ba
chore(deps): update dependency ts-jest to v27.0.6 ( #1743 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 23:07:49 +00:00
renovate[bot]
1e63d83448
chore(deps): update dependency @types/node to v14.17.27 ( #1742 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 21:22:06 +00:00
renovate[bot]
a21f47f05e
fix(deps): update nestjs packages to v8.1.1 ( #1740 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 10:57:32 +00:00
renovate[bot]
398efc24b2
chore(deps): update dependency eslint-plugin-jest to v25.0.6 ( #1739 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 09:54:07 +00:00
renovate[bot]
919fce8a85
chore(deps): update dependency eslint to v8.0.1 ( #1738 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 05:12:36 +00:00
renovate[bot]
765a0d92de
chore(deps): update dependency @types/node to v14.17.26 ( #1734 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 00:15:16 +00:00
renovate[bot]
737d543cf0
chore(deps): pin dependency http-proxy-middleware to 2.0.1 ( #1737 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 23:02:00 +00:00
Yannick Bungers
325e1893f8
Change createTokenForUser signature
...
user is now used instead of username
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-13 22:59:51 +02:00
David Mehren
aa18371915
Merge pull request #1672 from hedgedoc/feature/frontend_proxy
2021-10-13 22:56:17 +02:00
Yannick Bungers
d33cfa4541
fix username spelling from userName
...
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-13 22:54:00 +02:00
Yannick Bungers
aa8455a079
change getTokensByUsername to getTokensByUser
...
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-13 22:22:08 +02:00
David Mehren
aed28abff5
Cleanup dist folder before starting
...
For some reason, files from the dist folder get used
for execution even when running with ts-node.
This adds a cleanup step before starting the app.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-13 21:36:39 +02:00
David Mehren
a4749d60f7
Add dev-proxy to frontend dev server
...
This adds a reverse proxy to the backend, that automatically
redirects requests that are not handled by the backend to the React
dev server running on port 3001.
The reverse proxy is only enabled when NODE_ENV is set to
'development'.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-13 21:36:38 +02:00
Yannick Bungers
e5750b0084
Merge pull request #1673 from hedgedoc/remove-hardcoded
2021-10-13 21:14:33 +02:00
David Mehren
1cf37cc035
Merge pull request #1697 from hedgedoc/renovate/develop-pymdown-extensions-9.x
2021-10-13 21:14:05 +02:00
David Mehren
a25d60a454
Merge pull request #1685 from hedgedoc/renovate/develop-linters
2021-10-13 21:12:20 +02:00
Renovate Bot
296d1e2268
chore(deps): update dependency pymdown-extensions to v9
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 18:54:35 +00:00
Yannick Bungers
141b1bf5e8
Add e2e tests for tokens
...
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-13 20:54:27 +02:00
Yannick Bungers
276d423ee2
Fix tests with using sessions in e2e tests of private api
...
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-13 20:54:27 +02:00
Renovate Bot
cd9f2060f1
chore(deps): update dependency eslint-plugin-import to v2.25.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 18:54:17 +00:00
Yannick Bungers
28266bca0b
Get user from Session instead of hardcoded value
...
Signed-off-by: Yannick Bungers <git@innay.de>
2021-10-13 20:52:39 +02:00
David Mehren
3304fc5f88
Merge pull request #1733 from hedgedoc/renovate/develop-typescript-4.4.x
2021-10-13 20:51:49 +02:00
David Mehren
54f0f49452
Merge pull request #1732 from hedgedoc/renovate/develop-mkdocs-1.2.x
2021-10-13 20:48:45 +02:00
Renovate Bot
0dfeacf776
chore(deps): update dependency typescript to v4.4.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 18:39:00 +00:00
Renovate Bot
93c3176d2e
chore(deps): update dependency mkdocs to v1.2.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 18:37:24 +00:00
David Mehren
d32727aa2f
Merge pull request #1723 from hedgedoc/renovate/develop-major-linters
2021-10-13 20:33:20 +02:00
renovate[bot]
1ec9acc0d9
chore(deps): update dependency @types/node to v14.17.24 ( #1731 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 17:56:06 +00:00
David Mehren
1fe0c4fed3
Disable new no-unsafe-argument ESLint rule for tests
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-13 19:54:38 +02:00
Renovate Bot
dc7a681b89
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 17:43:43 +00:00
David Mehren
00b210e191
Merge pull request #1688 from hedgedoc/renovate/develop-nestjs-packages
2021-10-13 19:39:18 +02:00
Renovate Bot
5e075098f3
fix(deps): update nestjs packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 17:25:30 +00:00
David Mehren
606dafa645
Merge pull request #1728 from hedgedoc/renovate/develop-ts-node-10.x
2021-10-13 19:19:27 +02:00
David Mehren
1249cb8b70
Merge pull request #1716 from hedgedoc/renovate/develop-rxjs-7.x
2021-10-13 19:18:23 +02:00
Renovate Bot
34f47c153e
chore(deps): update dependency ts-node to v10.3.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 19:39:18 +00:00
Renovate Bot
4eadbd7ee3
fix(deps): update dependency rxjs to v7.4.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 16:27:50 +00:00
renovate[bot]
f8d38124ed
chore(deps): update dependency mkdocs-material to v7.3.3 ( #1727 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 16:25:36 +00:00
renovate[bot]
485a673ce6
chore(deps): lock file maintenance ( #1725 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 02:51:43 +00:00
renovate[bot]
d70fb5fde7
chore(deps): update dependency jest to v27.2.5 ( #1720 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 16:01:31 +00:00
David Mehren
9d785100e8
Merge pull request #1671 from hedgedoc/enhancement/validation_logs
2021-10-07 20:38:38 +02:00
renovate[bot]
6f0a09f55a
chore(deps): update dependency mkdocs-material to v7.3.2 ( #1714 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 21:08:14 +00:00
renovate[bot]
0f9832f9e5
fix(deps): update nestjs packages to v8.0.11 ( #1712 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 12:42:15 +00:00
renovate[bot]
a43f4d0354
chore(deps): update dependency @types/node to v14.17.21 ( #1711 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-05 23:39:57 +00:00