Commit graph

1861 commits

Author SHA1 Message Date
David Mehren
b7cb3181c4
NotesService: rename getLastRevision to getLatestRevision
This fixes an inconsistency with `RevisionsService`

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-10 18:20:28 +01:00
David Mehren
89df171751
Add missing license header in CodeQL workflow
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-10 20:20:30 +01:00
David Mehren
efb48b9812
Enable GitHub CodeQL analysis
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-10 20:17:21 +01:00
Renovate Bot
8599965137
Update dependency mkdocs-material to v6.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-10 19:09:49 +00:00
David Mehren
9b9f101577
MarkdownBody: Register swagger metadata
As explained in https://github.com/nestjs/swagger/issues/32#issuecomment-716169471, it's possible to register swagger metadata in custom decorators by providing an array of `enhancers`.
We now add metadata with the `MarkdownBody` decorator: The request needs a `body` with content-type `text/markdown`.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-10 19:21:00 +01:00
David Mehren
a523eadec2
NotesController: Do not crash on nonexistent notes
This commit adds proper error handling and returns 404 when a note does not exist.
Previously, we leaked the `NotInDBError` and sent a 500 status code.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-09 22:38:10 +01:00
Philip Molares
30b1457f7c
fixed copyright template for idea
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-09 22:47:17 +01: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
Philip Molares
503639733c
Fix some typos in history.md
(cherry picked from commit 0195d074a8)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-12-01 00:32:48 +01:00
Simon C
3ef987d293
docs: Fix indentation of code 2021-01-08 14:58:01 +01:00
David Mehren
254f9a487a
Renovate: Maintain lock files once per week
This option makes Renovate refresh yarn.lock once per week
See https://docs.renovatebot.com/configuration-options/#lockfilemaintenance

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-07 17:35:17 +01: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
David Mehren
3801b1b042
Format with Prettier 2
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 23:48:53 +01: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
bd34b9a6ec
Update actions/setup-node action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 22:40:22 +00:00
David Mehren
2a0b31d1ad
Cleanup ESLint config
The name of the plugin and the recommended config changed at some point, so we adapt to that

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 23:37:05 +01: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
Tilman Vatteroth
7aeaf488c4
Change year in copyright to 2021
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 21:36:07 +01: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
David Mehren
1aa683b6ed
Renovate: group all packages under @nestjs
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 20:34:19 +01:00
David Mehren
26f8c43a0f
Update Renovate config
This commit
- removes `group:nextjsMonorepo` as that is already included in `config:base` via `group:monorepos`
- disables the hourly PR creation limit
- enables the dependency dashboard
- enables automatic rebasing when the base branch updates

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 19:35:04 +01: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
David Mehren
e68ddd8fdc
E2E tests: Increase timeout & set concurrency to 1
For some reason Jest sometimes times out when running in GitHub Actions.
This tries to mitigate that error.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 19:16:31 +01:00
Tilman Vatteroth
7fb7b3cd10
Add license headers
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 14:07:34 +01:00
Tilman Vatteroth
e4080b7ead
Several theme changes (#659)
* Several theme changes

- Add max width of 1440px
- Rename css file
- Fix edit button
- Add local Roboto font

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
(cherry picked from commit 5bdb392413)
2021-01-05 22:55:00 +01:00
David Mehren
98951d26c5
Set fetch-depth to 0 for coverage jobs
This allows codecov to fetch the commit SHA

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 13:17:30 +01:00
David Mehren
a1c9b67b6b
Add build artifacts to .gitignore
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 13:04:46 +01:00
David Mehren
1fa368fa5f
Add CI badges to readme
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 12:55:40 +01:00
David Mehren
8aca83e656
Add coverage analysis to CI workflow
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 12:38:33 +01:00
David Mehren
890e9c942b
Fix prettier errors
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-05 23:11:31 +01:00
David Mehren
7960776bd1
Add CI workflow
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-05 23:02:12 +01:00
Philip Molares
f57e4efcf0
used correct branch for reuse workflow
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 23:35:46 +01:00
Philip Molares
223e58f958
changed license of doc images
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 22:49:21 +01:00
Philip Molares
6e855b657f
added idea copyright information
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 22:48:58 +01:00
Philip Molares
03a81fb6c0
added reuse workflow
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 22:13:01 +01:00
Philip Molares
dc63c76f43
added reuse information
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 22:12:38 +01:00