Tilman Vatteroth
57365bb727
refactor: move typeorm store into new session module
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-10 19:46:03 +02:00
Tilman Vatteroth
14ee7485ad
refactor: remove unused dependency on note module in permissions module
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-10 19:46:03 +02:00
Tilman Vatteroth
8596bed729
refactor: remove cycling dependency between notes and revisions
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-10 19:46:03 +02:00
renovate[bot]
8cdc90bb8e
fix(deps): update dependency minio to v7.0.29
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-10 00:13:27 +00:00
renovate[bot]
0faefda6bd
fix(deps): update dependency typeorm to v0.3.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-09 21:13:23 +02:00
renovate[bot]
b32eb7e6c7
fix(deps): update dependency @azure/storage-blob to v12.11.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-09 21:01:32 +02:00
renovate[bot]
1c3e94ee8a
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-09 21:01:09 +02:00
renovate[bot]
de7e2b8599
chore(deps): update test packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-09 21:00:47 +02:00
renovate[bot]
fc5c56c181
fix(deps): update dependency cli-color to v2.0.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-09 15:18:31 +00:00
renovate[bot]
8289eec784
chore(deps): update dependency mkdocs-material to v8.3.9
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-09 12:56:49 +00:00
renovate[bot]
aba9976ca1
chore(deps): update node.js to e479d86
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-09 10:54:17 +00:00
renovate[bot]
66ec5701f0
chore(deps): lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-04 04:05:51 +00:00
renovate[bot]
2ee7973346
chore(deps): update dependency ts-node to v10.8.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-02 21:17:53 +00:00
renovate[bot]
f13e236437
chore(deps): lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-27 03:24:03 +00:00
renovate[bot]
f784284346
chore(deps): update linters to v5.29.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-26 21:32:45 +02:00
David Mehren
c9cc1e2fb7
refactor: extract common app setup code
...
This allows the E2E tests and the real app to share the same setup.
Fixes #2083
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-26 20:43:23 +02:00
renovate[bot]
6947c9ae8d
fix(deps): pin dependency passport-custom to 1.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-25 17:03:19 +00:00
renovate[bot]
2bc1866746
fix(deps): update dependency ldapauth-fork to v5.0.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-25 14:16:18 +00:00
renovate[bot]
baa81dd0c5
chore(deps): update dependency mkdocs-material to v8.3.8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-25 11:32:41 +00:00
renovate[bot]
2a1b9b6856
chore(deps): update dependency @types/jest to v28.1.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-25 08:31:47 +00:00
renovate[bot]
1b0802be22
chore(deps): update dependency @nestjs/cli to v8.2.8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-25 05:00:57 +00:00
David Mehren
dcc4d56270
test(e2e/app): disable debug logging
...
Debug logging seems to have been left enabled accidentally
and is very spammy.
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-19 22:25:53 +02:00
Lautaro Alvarez
a0b5da6c8b
refactor(media-apis): Implement a decorator to convert header to Note instance
...
Just find the related note in an Interceptor (in both public and private routes)
Related issue: https://github.com/hedgedoc/hedgedoc/issues/1594
Signed-off-by: Lautaro Alvarez <lautarolalvarez@gmail.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-19 20:58:23 +02:00
renovate[bot]
d36961878d
chore(deps): update dependency prettier to v2.7.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-18 22:43:42 +02:00
renovate[bot]
3417a384e4
fix(deps): update nestjs packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-18 21:04:40 +02:00
renovate[bot]
6a00010975
chore(deps): update dependency mkdocs-material to v8.3.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-18 21:03:33 +02:00
renovate[bot]
db271b3d10
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-18 20:54:36 +02:00
renovate[bot]
9482af9b09
chore(deps): update dependency typescript to v4.7.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-18 20:54:21 +02:00
renovate[bot]
0914293d8b
chore(deps): update test packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-18 20:52:49 +02:00
renovate[bot]
87d41a0827
chore(deps): update dependency @tsconfig/node12 to v1.0.11
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-18 14:39:00 +00:00
renovate[bot]
4e6302184c
chore(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-18 10:53:08 +00:00
renovate[bot]
1307e29753
chore(deps): update node.js to 7ae4169
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-18 04:50:56 +00:00
Renovate Bot
1f24236239
chore(deps): lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 03:57:52 +00:00
Renovate Bot
11484df695
chore(deps): update dependency eslint-plugin-local-rules to v1.3.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 20:23:48 +02:00
Renovate Bot
c0c3c974be
chore(deps): update dependency pymdown-extensions to v9.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 20:22:34 +02:00
Renovate Bot
c96998fe55
fix(deps): update dependency @nestjs/config to v2.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 20:17:29 +02:00
David Mehren
06c39ea759
refactor: adapt for typeorm 0.3
...
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-12 20:09:07 +02:00
David Mehren
43d3f14322
Use new APIs in seed.ts
...
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-12 20:09:07 +02:00
David Mehren
2f1e6628a1
test(private/notes): add regression test
...
For reasons, the typeorm 0.3 started to always return all notes in the database.
This adds a regression test to check for that.
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-12 20:09:07 +02:00
David Mehren
d780d511cd
fix(notes-service): user query builder
...
For reasons, the typeorm 0.3 broke the find()
method when using relations in the WHERE clause.
This replaces the find method with a query builder.
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-12 20:09:07 +02:00
David Mehren
27a93a2895
fix(media-service): user query builder
...
For reasons, the typeorm 0.3 broke the find()
method when using relations in the WHERE clause.
This replaces the find method with a query builder.
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-12 20:09:07 +02:00
David Mehren
3503a45078
fix(history-service): user query builder
...
For reasons, the typeorm 0.3 broke the find()
method when using relations in the WHERE clause.
This replaces the find method with a query builder.
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-12 20:09:07 +02:00
David Mehren
366aead689
fix(revisions-service: user query builder
...
For reasons, the typeorm 0.3 broke the find()
method when using relations in the WHERE clause.
This replaces the find method with a query builder.
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-12 20:09:07 +02:00
David Mehren
c4975e4783
refactor: adapt for typeorm 0.3
...
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-12 20:09:07 +02:00
David Mehren
a07b5f54d1
chore(deps): update @nestjs/typeorm to v8.1.2
...
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-12 20:09:07 +02:00
Renovate Bot
115f3a3c07
fix(deps): update dependency typeorm to v0.3.4
...
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-12 20:09:07 +02:00
Renovate Bot
197a937a3f
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-11 23:43:57 +00:00
Renovate Bot
7764cc7d67
chore(deps): update dependency mkdocs-material to v8.3.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-11 20:30:47 +00:00
Renovate Bot
3b9d6aaff1
chore(deps): update dependency jest to v28.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-11 17:30:59 +00:00
Renovate Bot
a6d77f29a0
chore(deps): update dependency @types/node to v16.11.39
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-11 14:57:48 +00:00