Commit graph

1391 commits

Author SHA1 Message Date
Renovate Bot
0d43970894
chore(deps): update dependency @tsconfig/node12 to v1.0.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 11:41:09 +00:00
Renovate Bot
ffda7c652a
chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 20:30:34 +00:00
Renovate Bot
64456759fe
fix(deps): update nestjs packages to v7.6.18
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 09:19:49 +00:00
Renovate Bot
5789070265
chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 19:31:18 +00:00
Renovate Bot
65e69f464b
fix(deps): update dependency @azure/storage-blob to v12.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 07:13:36 +00:00
Renovate Bot
a5b1c51cc0
chore(deps): update dependency @tsconfig/node12 to v1.0.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 09:13:56 +00:00
Renovate Bot
a1c9227af4
chore(deps): update dependency @types/node to v14.17.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-08 21:12:15 +00:00
Renovate Bot
9180b2e5aa
chore(deps): update linters to v4.26.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 17:17:11 +00:00
Renovate Bot
2095212b5e
chore(deps): update dependency ts-jest to v27.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 17:12:54 +00:00
Renovate Bot
2501583477
chore(deps): update dependency jest to v27.0.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 17:08:07 +00:00
Renovate Bot
db2af06b53
chore(deps): update dependency @types/node to v14.17.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 15:45:18 +00:00
Renovate Bot
cd82f2e17e
chore(deps): update dependency prettier to v2.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 15:45:47 +00:00
Renovate Bot
e2b5417d51
chore(deps): update dependency eslint to v7.28.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 15:46:45 +00:00
Renovate Bot
b1c868ac10
fix(deps): update dependency typeorm to v0.2.34
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 15:46:31 +00:00
Renovate Bot
53aa2f23e8
chore(deps): update dependency ts-loader to v9.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 15:46:17 +00:00
Renovate Bot
e9a517dab3
chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 18:50:03 +00:00
Renovate Bot
dc92552f03
chore(deps): update dependency @types/node to v14
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 18:45:57 +00:00
Renovate Bot
805c6afde9
chore(deps): update dependency ts-node to v10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 18:40:23 +00:00
Renovate Bot
510ee82a67
fix(deps): update dependency typeorm to v0.2.33
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 18:39:56 +00:00
Renovate Bot
94d89419b5
fix(deps): update dependency rxjs to v7.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 18:31:50 +00:00
Renovate Bot
1a2610a05e
fix(deps): update dependency file-type to v16.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 18:31:37 +00:00
Renovate Bot
43b283871b
chore(deps): update dependency typescript to v4.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 18:31:24 +00:00
Renovate Bot
af20b940ce
chore(deps): update dependency ts-loader to v9.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 18:22:22 +00:00
Renovate Bot
db9312a88a
fix(deps): update nestjs packages to v7.6.17
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 18:22:08 +00:00
Renovate Bot
fcb69776b9
chore(deps): update dependency @types/express to v4.17.12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 18:05:20 +00:00
David Mehren
d3424d4096
Update dependency ts-jest to v27
Signed-off-by: David Mehren <git@herrmehren.de>
2021-06-01 20:10:06 +02:00
Renovate Bot
3db49e8535
chore(deps): update dependency jest to v27
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 18:07:00 +00:00
Renovate Bot
4205856b41
chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-31 17:49:08 +00:00
Philip Molares
e1ac2cfa69
chore(dependency): Add base32-encode
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-05-17 07:59:51 +02:00
Renovate Bot
69a2a24511
Update linters to v4.24.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-17 17:58:33 +00:00
Renovate Bot
942abfdc3d
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-17 02:45:24 +00:00
Renovate Bot
6658f0d5b4
Update dependency prettier to v2.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-15 19:06:39 +00:00
Renovate Bot
52d58f2d7e
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-15 20:10:29 +00:00
Renovate Bot
b965d62dc6
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-15 19:06:53 +00:00
Renovate Bot
d0d211e7ad
Update dependency rxjs to v7.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-13 21:31:38 +00:00
Renovate Bot
1b949fce99
Update dependency @types/node to v13.13.52
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-12 20:40:04 +00:00
Philip Molares
f739687b00
Refactor(note): Remove shortid from note
This is a 1.x relict and isn't used anymore in 2.x. All 1.x shortids will be converted to aliases on migration of 1.x to 2.x.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-05-11 22:37:52 +02:00
Philip Molares
8cc9e12bc3
ESLint: Add custom rule 'correct-logger-context'
This rule ensures, that the correct context is given in any logger statements.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-05-02 19:45:47 +02:00
Renovate Bot
6319b69aee
Update dependency @types/bcrypt to v5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-09 19:42:04 +00:00
Renovate Bot
b2f0bfa0bf
Update dependency eslint to v7.26.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-09 12:41:30 +00:00
Renovate Bot
618ab0dc9b
Update dependency ts-loader to v9.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-09 12:41:15 +00:00
Renovate Bot
8c0554d40e
Update linters to v4.22.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 20:27:14 +00:00
Renovate Bot
a6d7fc2c30
Update dependency file-type to v16.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 20:26:59 +00:00
Renovate Bot
d0f787e3c2
Update dependency ts-jest to v26.5.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 16:10:56 +00:00
Renovate Bot
c2645472f0
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 01:12:21 +00:00
Renovate Bot
116aa5e022
Pin dependency @tsconfig/node12 to 1.0.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-30 18:53:44 +00:00
Renovate Bot
34ae957dee
Update dependency rxjs to v7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-30 18:53:59 +00:00
David Mehren
6ee2ddead5
Use node12 TypeScript base config
TypeScript recommends using a base config from https://github.com/tsconfig/bases.

Using this config reduces compile times by ~30%
and the size of the dist folder by ~45%.
It also enables the recommended `esModuleInterop` option,
which necessitated some changes to imports.
See also https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#support-for-import-d-from-cjs-from-commonjs-modules-with---esmoduleinterop

Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-29 22:47:18 +02:00
Renovate Bot
c32c601d36
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-29 14:49:27 +00:00
Renovate Bot
448225e124
Update dependency eslint-plugin-jest to v24.3.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-27 20:32:19 +00:00
Renovate Bot
77d03dd4aa
Update definitelyTyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-27 14:46:56 +00:00
Renovate Bot
608cc41527
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 15:33:20 +00:00
Renovate Bot
dbf326d9a8
Update dependency ts-loader to v9.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 11:22:22 +00:00
Renovate Bot
e7cdc30eff
Update dependency ts-loader to v9.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-22 20:22:10 +00:00
Renovate Bot
380365fc82
Update dependency ts-loader to v9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-19 22:32:09 +00:00
Renovate Bot
7e5eaf977d
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-19 20:47:15 +00:00
Renovate Bot
4377376821
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 13:01:52 +00:00
Renovate Bot
7ca095b910
Pin dependency eslint-plugin-jest to 24.3.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 13:01:27 +00:00
Philip Molares
1a8ae49e98
Dependency: Add eslint-plugin-jest
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-12 16:59:30 +02:00
Renovate Bot
58916ce243
Update dependency @types/node to v13.13.50
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 20:08:26 +00:00
Renovate Bot
f600ec8448
Update dependency ts-jest to v26.5.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 17:09:46 +00:00
Renovate Bot
fc6ceef9f2
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 11:08:16 +00:00
Renovate Bot
484252b29e
Update dependency @types/node to v13.13.49
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-14 21:07:29 +00:00
Renovate Bot
600af87247
Update dependency typescript to v4.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-13 20:04:08 +00:00
Renovate Bot
b63c28c9cd
Update dependency @types/bcrypt to v3.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-09 22:42:57 +00:00
Renovate Bot
c608453e18
Update dependency @types/node-fetch to v2.5.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-08 10:57:13 +00:00
Renovate Bot
b2e89187f3
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-06 14:49:32 +00:00
Renovate Bot
0248edf872
Update linters to v4.21.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-05 18:36:25 +00:00
Renovate Bot
c0e89b3bd0
Update definitelyTyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-02 18:34:55 +00:00
Renovate Bot
4eea0791df
Update dependency @types/supertest to v2.0.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-31 20:46:51 +00:00
Renovate Bot
890c222fd9
Update dependency typeorm to v0.2.32
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-31 20:47:05 +00:00
Renovate Bot
46a9341d14
Update linters to v4.20.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:12:20 +00:00
Renovate Bot
ded9a7b85e
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:05:15 +00:00
Renovate Bot
5e8d545b11
Update dependency rxjs to v6.6.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 00:05:10 +00:00
Renovate Bot
37f973f800
Update dependency ts-loader to v8.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 11:20:57 +00:00
Renovate Bot
6b59c08ae9
Update dependency @types/node to v13.13.48
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-27 01:14:20 +00:00
Renovate Bot
5ec4a05a70
Update dependency eslint to v7.23.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-26 21:58:11 +00:00
Renovate Bot
81a5a7c01a
Update NestJS packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-26 11:24:58 +00:00
Renovate Bot
474fd58297
Update dependency @types/jest to v26.0.22
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-25 19:26:39 +00:00
Renovate Bot
be42fb426f
Update NestJS packages to v7.6.15
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-25 11:21:07 +00:00
Renovate Bot
b3dc9653e6
Update linters to v4.19.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-25 11:21:20 +00:00
Renovate Bot
52da6f0ea2
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-24 21:58:48 +00:00
Renovate Bot
3f4f5936cb
Update dependency @nestjs/swagger to v4.8.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-19 14:43:34 +00:00
Renovate Bot
8273d8a5b9
Update dependency @types/jest to v26.0.21
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-17 16:05:02 +00:00
Renovate Bot
14e3035e96
Update dependency ts-jest to v26.5.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-17 13:46:03 +00:00
Renovate Bot
dc825bc200
Update dependency @types/node to v13.13.47
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-15 22:49:00 +00:00
Renovate Bot
96396ea237
Update linters to v4.18.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-15 19:22:12 +00:00
Renovate Bot
d09bbf661d
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-15 07:54:51 +00:00
Renovate Bot
981aecaa99
Update dependency ts-loader to v8.0.18
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 17:52:33 +00:00
Renovate Bot
4942b4b922
Update dependency @azure/storage-blob to v12.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 17:49:35 +00:00
Renovate Bot
793ab84e0f
Update dependency @types/node to v13.13.46
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 17:46:28 +00:00
Renovate Bot
9d192567e5
Update NestJS packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 17:42:57 +00:00
Renovate Bot
45a0bae1e8
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 16:21:22 +00:00
Renovate Bot
2a83c9b2ac
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 21:36:19 +00:00
Renovate Bot
68fdfebc23
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 21:23:35 +00:00
Renovate Bot
2abc81134d
Update dependency typescript to v4.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 21:16:23 +00:00
Renovate Bot
aeda6fb577
Update dependency file-type to v16.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 21:16:11 +00:00
Renovate Bot
e1cf539b1c
Update dependency ts-jest to v26.5.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-04 08:30:33 +00:00
Renovate Bot
4e532a2c5a
Pin dependencies
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 22:12:19 +00:00
Philip Molares
d6e8d9a592
S3Backend: Add S3 MediaBackend
Add minio dependency

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-23 16:14:14 +01:00
Philip Molares
1942df0da0
AzureBackend: Add Azure MediaBackend
Add @azure/storage-blob dependency
This is the relevant part of the official azure sdk.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-22 22:33:56 +01:00
Philip Molares
a00a093a14
ImgurBackend: Add Imgur MediaBackend
Add node-fetch dependency.
This was chosen as other libs we use already use node-fetch.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-26 16:16:00 +01:00
David Mehren
0344a8294e
ConsoleLoggerService: Fix ESLint errors
We now use @types/cli-color to provide type information

Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-24 20:39:25 +01:00
David Mehren
f79492fe63
NoteEntity: Fix ESLint errors
We now use @types/shortid to provide type information

Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-24 21:10:24 +01:00
Renovate Bot
c930955123
Update dependency bcrypt to v5.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-26 05:34:10 +00:00
Renovate Bot
440f035438
Update dependency @nestjs/schematics to v7.2.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-26 09:55:26 +00:00
Renovate Bot
7f27fb3768
Update dependency typescript to v4.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-23 23:51:55 +00:00
Renovate Bot
50fe3533f9
Update dependency eslint-config-prettier to v8.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-25 20:02:01 +00:00
Renovate Bot
04bc1c587c
Update dependency eslint-config-prettier to v8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-21 12:01:55 +00:00
Renovate Bot
1625872c8d
Update linters to v4.15.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-25 19:07:03 +00:00
Renovate Bot
2cd1554d79
Update dependency ts-jest to v26.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-25 19:03:08 +00:00
Renovate Bot
4ad723734b
Update dependency rxjs to v6.6.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-25 01:19:34 +00:00
Renovate Bot
99c50f1f91
Update NestJS packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-24 14:12:26 +00:00
Renovate Bot
1df4039b79
Update dependency @types/node to v13.13.45
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-20 10:17:41 +00:00
Renovate Bot
3c74a6791a
Update dependency @types/node to v13.13.44
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-19 05:29:49 +00:00
Renovate Bot
ece4df5aee
Update dependency @nestjs/cli to v7.5.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-17 09:08:29 +00:00
Renovate Bot
949abc21eb
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 21:43:40 +00:00
Renovate Bot
41d6121d51
Pin dependency nest-router to 1.0.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 21:07:58 +00:00
Philip Molares
698dd1a634
PublicApi: Add correct prefix
Using nest-router for this purpose as it is a rather easy addition to our structure. As we don't add the Router to any e2e tests we don't need to change them.

fixes #523

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-15 10:26:12 +01:00
Renovate Bot
24a5f2646a
Update dependency typeorm to v0.2.31
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:17:45 +00:00
Renovate Bot
4979b9c5bc
Update dependency @types/node to v13.13.42
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:14:30 +00:00
Renovate Bot
540aae7dd5
Update dependency class-transformer to v0.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:14:45 +00:00
Renovate Bot
96fd807d37
Update linters to v4.15.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:09:10 +00:00
Renovate Bot
5d1854483b
Update dependency sqlite3 to v5.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:08:39 +00:00
Renovate Bot
9b211cec6f
Update dependency eslint to v7.20.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 00:59:10 +00:00
Renovate Bot
9338d2c2cd
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:27:03 +00:00
Renovate Bot
08a02de19b
Update dependency typescript to v4.1.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:21:49 +00:00
Renovate Bot
0ee37cf37b
Update dependency ts-jest to v26.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:21:20 +00:00
Renovate Bot
f3f3708451
Update dependency ts-loader to v8.0.17
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:17:13 +00:00
Renovate Bot
be8e06032c
Update dependency joi to v17.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:11:05 +00:00
Renovate Bot
8ce096b7f5
Update dependency @types/node to v13.13.41
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:03:57 +00:00
Renovate Bot
38151e4702
Update NestJS packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 21:55:30 +00:00
Renovate Bot
7bf3f59dd8
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 22:38:57 +00:00
Renovate Bot
5a811b9109
chore(deps): update dependency ts-jest to v26.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-29 14:02:05 +00:00
Renovate Bot
ca066f4228
fix(deps): update nestjs packages to v7.6.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-27 17:26:10 +00:00
Renovate Bot
e643d59fc2
chore(deps): update dependency supertest to v6.1.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-25 22:02:40 +00:00
Renovate Bot
671aa005f5
fix(deps): pin dependencies
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-25 21:52:35 +00:00
Philip Molares
141e16c2b9
regenerated yarn.lock
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-25 21:32:17 +01:00
Philip Molares
667cf7e915
auth: add hash function
the hash function uses bcrypt with 2^16 iterations.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-17 14:32:17 +01:00
Renovate Bot
1c7452d066
chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-25 20:21:20 +00:00
Renovate Bot
bd6c7ee7c0
chore(deps): update linters to v4.14.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-25 19:38:27 +00:00
Renovate Bot
b52f50e390
chore(deps): update dependency supertest to v6.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-25 06:43:08 +00:00
Renovate Bot
ba48701ca9
fix(deps): update nestjs packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-22 13:53:55 +00:00
Renovate Bot
4afc75912a
fix(deps): update dependency @nestjs/swagger to v4.7.12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-21 14:57:08 +00:00
Renovate Bot
69cce13ea6
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-19 10:06:59 +00:00
Renovate Bot
ba17b53a79
Update dependency supertest to v6.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-15 21:45:12 +00:00
Renovate Bot
3c58c74401
Update dependency @nestjs/swagger to v4.7.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-15 21:34:51 +00:00
Renovate Bot
2180b8edc1
Update dependency @types/node to v13.13.40
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-15 21:28:54 +00:00
Renovate Bot
917a795646
Update dependency class-transformer to v0.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-15 21:24:49 +00:00
Renovate Bot
a84091b670
Update dependency class-validator to v0.13.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-14 05:45:22 +00:00
Renovate Bot
0dedffcd62
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-13 21:32:17 +00:00
Renovate Bot
f40d285b29
Pin dependencies
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-13 21:29:09 +00:00
David Mehren
7d9e606b7d
Add proof of concept config system
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-30 22:35:12 +01:00
Renovate Bot
55efd9f087
Update linters to v4.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-13 17:16:35 +00:00
Renovate Bot
90c56a3fe0
Update dependency typeorm to v0.2.30
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-13 17:07:58 +00:00
Renovate Bot
67aa10d7b2
Update dependency file-type to v16.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-13 16:58:34 +00:00
Renovate Bot
f6b43cb11f
Update dependency class-validator to v0.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-13 16:46:10 +00:00
Renovate Bot
99e7dc9ecf
Update dependency @nestjs/swagger to v4.7.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-13 16:35:13 +00:00
Renovate Bot
83fdf2dfc4
Update dependency @types/express to v4.17.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 22:29:20 +00:00
Renovate Bot
a1acb6eebd
Update dependency sqlite3 to v5.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-08 15:41:58 +00:00
David Mehren
7daf1a47a5
Update @types/express-serve-static-core and @types/serve-static
After updating @types/express these need to be updated to prevent broken typings.
This does not happen automatically, so I needed to delete these two packages from
yarn.lock and run `yarn install` again.

See https://github.com/DefinitelyTyped/DefinitelyTyped/issues/47339#issuecomment-691800846

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-07 17:14:30 +01:00
Renovate Bot
b71be5bca7
Update definitelyTyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-07 09:15:51 +00:00
Renovate Bot
3df5e516d7
Update dependency @types/jest to v26
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 23:00:35 +00:00
Renovate Bot
84e99aac6e
Update dependency ts-jest to v26.4.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 22:57:36 +00:00
Renovate Bot
157f10ac61
Update dependency file-type to v16
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 22:54:07 +00:00
Renovate Bot
1ecf5def66
Update dependency prettier to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 22:44:29 +00:00
Renovate Bot
3921127c43
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 22:25:56 +00:00
Renovate Bot
78e5df4a95
Update dependency typescript to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 22:21:58 +00:00
Renovate Bot
4769a81e9b
Update dependency jest to v26.6.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 22:16:28 +00:00
Renovate Bot
c36a3c5374
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 22:13:17 +00:00
Renovate Bot
654cd83443
Update dependency ts-node to v9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 21:51:21 +00:00
Renovate Bot
d726a6c729
Update dependency ts-loader to v8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 21:46:50 +00:00
Renovate Bot
b161870f2f
Update dependency supertest to v6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 21:40:56 +00:00
Renovate Bot
4ceeedca65
Update dependency swagger-ui-express to v4.1.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 20:25:55 +00:00
Renovate Bot
a928a527df
Update dependency typeorm to v0.2.29
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 20:14:55 +00:00
Renovate Bot
43ba25ae72
Pin dependency class-transformer to 0.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 20:03:59 +00:00
David Mehren
bdb470e045
Add cli-color dependency, that previously was in @nestjs/common
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 20:54:47 +01:00
Renovate Bot
90004bb7a7
Update NestJS packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 19:43:16 +00:00
Renovate Bot
abc47ff7da
Update dependency class-transformer to ^0.3.0 [SECURITY]
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 18:38:14 +00:00
Renovate Bot
4746058765
Pin dependencies
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-05 22:12:43 +00:00
David Mehren
2980f3a244
Update dependencies
Signed-off-by: David Mehren <git@herrmehren.de>
2020-10-24 23:02:05 +02:00
David Mehren
15db6a9b2a
Use useStaticAssets instead of @nestjs/serve-static
`serve-static` does not work with `createTestingModule` and is not recommended when "just" serving a few images.

See https://github.com/nestjs/serve-static/issues/240

Signed-off-by: David Mehren <git@herrmehren.de>
2020-10-24 11:32:23 +02:00
David Mehren
9b3345fa13
Use serve-static to serve uploaded files.
Add `@nestjs/serve-static` to serve uploaded media from the upload directory on the local filesystem.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-10-16 22:38:31 +02:00
David Mehren
93cf9c2c56
NotesController: Use custom logic to access raw markdown
NestJS does not support content-types other than application/json.
Therefore we need to directly access the request object to get the raw body content.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-09-19 14:51:12 +02:00
David Mehren
6bee3b16cf
Add Session entity
This entity implements the Session interface from connect-typeorm, which we will later use to store session data from express-session.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-08-13 20:25:43 +02:00
David Mehren
7ceebb47ba
Update yarn.lock with Nest 7.4
Signed-off-by: David Mehren <git@herrmehren.de>
2020-08-12 19:54:05 +02:00
David Mehren
1906f44e74
Enable automatic OpenAPI spec generation.
NestJS can automatically generate an OpenAPI spec by analyzing controllers and used DTOs.
This commit enables this feature. The API docs are served under /apidoc.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-07-26 16:53:43 +02:00
David Mehren
69afdd3b05
Add NoteModule
This contains the module, a model which was adapted from the old code and two DTOs.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-07-25 20:24:59 +02:00
David Mehren
774f9cd8a3
Add TypeORM support
Signed-off-by: David Mehren <git@herrmehren.de>
2020-07-24 21:50:30 +02:00
David Mehren
e53a8648b4
Add empty NestJS application
Signed-off-by: David Mehren <git@herrmehren.de>
2020-07-21 21:24:56 +02:00
David Mehren
d6d4f35cf5
Import meta-files
These files are imported from HedgeDoc 1 / the master branch.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-23 22:02:58 +01:00