Commit graph

1683 commits

Author SHA1 Message Date
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
Renovate Bot
8c75b9dd57 chore(deps): update dependency @tsconfig/node12 to v1.0.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-11 11:43:26 +00:00
Renovate Bot
2fcce27412 chore(deps): update node.js to 57b98f1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-11 04:19:58 +00:00
Renovate Bot
501372aa3c chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-06 04:51:30 +00:00
Renovate Bot
b94f52a84a fix(deps): update dependency passport to v0.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-05 22:22:46 +02:00
Renovate Bot
27483333dc chore(deps): update dependency @types/jest to v28
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-05 22:16:50 +02:00
David Mehren
bfd5dee950 ci: drop Node.js 12
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-05 22:04:10 +02:00
David Mehren
d104a98f81 test(FrontendConfig): Remove loop over irrelevant variables
Some variables are not used in any logic,
so looping over them does not make any sense.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-05 20:43:44 +02:00
David Mehren
f3cf4f4b1f test(FrontendConfig): Move getAuthProviders to own test
Signed-off-by: David Mehren <git@herrmehren.de>
2022-06-05 20:43:44 +02:00
Renovate Bot
e7a6472059 chore(deps): update dependency eslint-plugin-jest to v26.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-05 20:33:26 +02:00
Renovate Bot
06deae08aa chore(deps): update dependency mkdocs-material to v8.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-05 15:13:50 +00:00
Renovate Bot
36a9c4c566 chore(deps): update dependency eslint-plugin-jest to v26.4.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-05 03:00:13 +00:00
Renovate Bot
8a2b7f8017 fix(deps): update nestjs packages to v8.4.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 22:43:30 +00:00
Renovate Bot
8d864b9255 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 22:44:43 +02:00
Renovate Bot
7f8ed2316b chore(deps): update test packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 18:40:07 +00:00
Renovate Bot
ded22d029f chore(deps): update dependency mkdocs-material to v8.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 18:39:29 +02:00
Renovate Bot
7d13117123 chore(deps): update dependency typescript to v4.7.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 15:24:51 +00:00
Renovate Bot
f5350c5de5 chore(deps): update dependency ts-node to v10.8.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 12:52:31 +00:00
Renovate Bot
ea8b7bf721 chore(deps): update dependency eslint-plugin-jest to v26.4.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 10:42:05 +00:00
Renovate Bot
9952526f8f chore(deps): update dependency @types/node to v16.11.38
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 04:44:02 +00:00
Philip Molares
f9f81cf348 chore: add .gitignore to docs
This prevents common folders used in the documentation process to be
considered by git.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-06-02 17:19:01 +02:00
Renovate Bot
fcf5910ae6 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-30 04:09:13 +00:00
Renovate Bot
7621ad20b1 chore(deps): update dependency eslint-plugin-jest to v26.4.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-30 01:22:17 +00:00
Renovate Bot
aceeedd512 chore(deps): update dependency eslint-plugin-jest to v26.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-29 15:27:37 +02:00
Renovate Bot
d8212bafaa chore(deps): update dependency mkdocs-material to v8.2.16
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 19:04:53 +00:00
Renovate Bot
7f6687259c chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 14:57:28 +02:00
Renovate Bot
c6fd5a585e chore(deps): update dependency typescript to v4.7.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 14:56:50 +02:00
Renovate Bot
c58d1d47e4 chore(deps): update dependency ts-jest to v28.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 02:56:49 +00:00
Renovate Bot
92e1caa472 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-23 04:21:56 +00:00
David Mehren
1ac4258d07 fix(revision-service): fix count of duplicate authors
`getRevisionUserInfo` returned an incorrect list of usernames,
as users who edited a note at multiple places appeared multiple times.

 This commit fixes this behaviour by deduplicating the author
  objects using a Set.

  Closes #2180

Signed-off-by: David Mehren <git@herrmehren.de>
2022-05-22 23:13:04 +02:00
Renovate Bot
52b5dc1929 fix(deps): update dependency passport to v0.5.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 17:48:54 +02:00
Renovate Bot
891336468a chore(deps): update yarn to v3.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2022-05-22 17:41:07 +02:00
Renovate Bot
6db903db33 chore(deps): update nestjs packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 16:56:18 +02:00
Renovate Bot
35be1eb09e chore(deps): update dependency @types/node to v16.11.36
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 16:41:30 +02:00
Renovate Bot
9ccf571b56 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 16:28:00 +02:00
Renovate Bot
813b414d0a fix(deps): update dependency @nestjs/schedule to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 16:27:49 +02:00