Commit graph

4163 commits

Author SHA1 Message Date
Renovate Bot
d70d5675d2
chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 15:49:54 +00:00
David Mehren
18822d60a8
Merge pull request #1773 from hedgedoc/renovate/develop-linters 2021-10-27 17:46:22 +02:00
Renovate Bot
443c2e8a1b
chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 15:41:46 +00:00
David Mehren
85528cc016
Merge pull request #1772 from hedgedoc/renovate/develop-ts-node-10.x 2021-10-27 17:39:51 +02:00
Renovate Bot
05d7ba2b50
chore(deps): update dependency ts-node to v10.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 02:27:04 +00:00
renovate[bot]
2105cf78db
chore(deps): update dependency @types/node to v14.17.32 (#1781)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 02:25:34 +00:00
renovate[bot]
2e86058c1d
chore(deps): update dependency @types/node to v14.17.31 (#1779)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:10:08 +00:00
renovate[bot]
ddcb689a59
chore(deps): update dependency @types/node to v14.17.30 (#1778)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 17:43:30 +00:00
renovate[bot]
33203268a9
fix(deps): update nestjs packages to v8.1.2 (#1777)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 17:33:51 +00:00
Yannick Bungers
a06ffdd8c6
Merge pull request #1741 from hedgedoc/enhancement/faster_tests 2021-10-24 18:49:43 +02:00
renovate[bot]
cdb2bfec6c
chore(deps): update dependency @types/node to v14.17.29 (#1771)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 21:27:11 +00:00
renovate[bot]
17b61a972c
fix(deps): update dependency @nestjs/swagger to v5.1.4 (#1770)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 11:08:12 +00:00
renovate[bot]
02e3a9ee58
chore(deps): update dependency @types/node to v14.17.28 (#1769)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 09:57:04 +00:00
David Mehren
691152579b
Update API routes in private API E2E tests
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 20:17:03 +02:00
David Mehren
c6cac58a67
Update API routes in public API E2E tests
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 20:17:03 +02:00
David Mehren
4428f3fb39
Separate private and public API in TestSetup
Including both PublicApiModule and PrivateApiModule in the test setup
lead to the API routes overwriting each other.
This adds a router to separate the APIs as they are in the normal app.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 20:17:03 +02:00
David Mehren
0bb333ca69
Migrate private history API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 20:17:03 +02:00
David Mehren
209a9b93a6
Migrate private me API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 20:17:03 +02:00
David Mehren
ddaeb4fc66
Migrate private media API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 20:17:02 +02:00
David Mehren
9489fbaa79
Migrate private notes API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 19:52:41 +02:00
David Mehren
8a640f6be9
Migrate public alias API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 19:52:41 +02:00
David Mehren
cddd28f082
Migrate public me API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 19:52:38 +02:00
David Mehren
5b2b2e9a44
Migrate public media API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 19:51:57 +02:00
David Mehren
9539581219
Migrate public notes API E2E test to global TestSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 19:51:57 +02:00
David Mehren
046607f1e5
Move common test preparations into TestSetup class
Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 19:51:57 +02:00
David Mehren
ade58e3ca1
Move tsconfig.test.json to test directory
WebStorm does not support typescript.*.json files,
but always uses the nearest tsconfig.json.
Moving the test-specific tsconfig into the test folder allows WebStorm
to use the correct config for the E2E-tests and
stops it from showing unnecessary errors.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-10-21 19:51:57 +02:00
David Mehren
1710b7c00a
Merge pull request #1751 from hedgedoc/fix/privateMediaAPIDoc 2021-10-21 19:40:47 +02:00
David Mehren
5c645b3242
Merge pull request #1760 from hedgedoc/renovate/develop-linters 2021-10-21 19:32:35 +02:00
David Mehren
eff51df526
Merge pull request #1759 from hedgedoc/renovate/develop-test-packages 2021-10-21 19:32:11 +02:00
David Mehren
afdcd8e4af
Merge pull request #1766 from hedgedoc/renovate/develop-ts-node-10.3.x 2021-10-21 19:31:33 +02:00
Renovate Bot
60ecf93551
chore(deps): update linters to v5.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 16:36:48 +00:00
Renovate Bot
8866d9cebe
chore(deps): update dependency jest to v27.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 16:36:24 +00:00
Renovate Bot
a85d61b48a
chore(deps): update dependency ts-node to v10.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 16:36:05 +00:00
renovate[bot]
06bd588360
fix(deps): update dependency @nestjs/swagger to v5.1.3 (#1765)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 16:34:40 +00:00
renovate[bot]
c5d80f5c89
fix(deps): update dependency @nestjs/swagger to v5.1.2 (#1764)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 13:49:17 +00:00
Yannick Bungers
835acad499
Merge pull request #1752 from hedgedoc/fix/exceptionsAPI 2021-10-19 19:44:02 +02:00
renovate[bot]
b74527d4ac
fix(deps): update dependency @types/minio to v7.0.11 (#1758)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 10:50:36 +00:00
renovate[bot]
4ec3595477
chore(deps): update nestjs packages (#1757)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 09:51:31 +00:00
renovate[bot]
c316d862d1
chore(deps): update dependency ts-jest to v27.0.7 (#1749)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 08:13:56 +00:00
renovate[bot]
d94e37d4dc
chore(deps): update dependency mkdocs-material to v7.3.4 (#1756)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 06:59:37 +00:00
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