Commit graph

4686 commits

Author SHA1 Message Date
Renovate Bot
83249b730b Update dependency mermaid to v8.8.3 2020-11-07 16:35:17 +01:00
Renovate Bot
8751fdcf20 Update dependency copy-webpack-plugin to v6.3.0 2020-11-07 16:34:29 +01:00
Renovate Bot
9b1fff830a Update dependency @craco/craco to v5.8.0 2020-11-07 16:33:41 +01:00
Renovate Bot
6579eadaa9 Update dependency vega-embed to v6.13.0 2020-11-07 16:29:46 +01:00
Renovate Bot
8f42c02f41 Update dependency webpack-bundle-analyzer to v4 2020-11-07 16:28:24 +01:00
Renovate Bot
900ea16d80 Update actions/cache action to v2.1.3 2020-11-07 16:23:46 +01:00
mrdrogdrog
e73661d406
Refactor emoji code (#720)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-04 21:33:52 +01:00
Philip Molares
0e058e16e2
move taskLists from full to basic renderer (#725) 2020-11-01 21:38:17 +01:00
Philip Molares
c9fe4e4887
moved alertContainer to basic renderer from full renderer (#736) 2020-10-31 20:22:55 +01:00
renovate[bot]
433985f508
Update dependency eslint-config-standard to v16 (#735)
* Update dependency eslint-config-standard to v16
* disable useless message
* replace regex

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-31 10:33:51 +01:00
Renovate Bot
173d5e2fb7 Update dependency i18next to v19.8.3 2020-10-31 10:27:47 +01:00
Renovate Bot
39401fa31a Update dependency cypress to v5.5.0 2020-10-31 10:15:07 +01:00
Renovate Bot
87ffd9a063 Update typescript-eslint monorepo to v4.6.0 2020-10-31 10:08:12 +01:00
Renovate Bot
25b717bd9d Update dependency typescript to v4.0.5 2020-10-31 10:07:54 +01:00
Renovate Bot
594c3e3dd2 Update dependency react-redux to v7.2.2 2020-10-31 10:07:42 +01:00
Renovate Bot
ac9c0ba04c Update dependency highlight.js to v10.3.2 2020-10-31 10:07:20 +01:00
Renovate Bot
f906799ea5 Update dependency eslint-plugin-jsx-a11y to v6.4.1 2020-10-31 10:06:41 +01:00
Renovate Bot
9f9c8af5f1 Update dependency @cypress/webpack-preprocessor to v5.4.10 2020-10-31 10:04:06 +01:00
Renovate Bot
4ce097fb12 Update definitelyTyped 2020-10-31 10:03:10 +01:00
Erik Michelson
87bd316017
Removed 'ago'-suffix from translations (#673)
moment.js had a flag that stripped these suffixes from their output, so that we could customize the messages more. luxon does not have this flag and therefore generates double suffixes.
2020-10-30 22:54:36 +01:00
David Mehren
cd37eef45e
Get port and upload path from config
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-30 22:35:57 +01:00
David Mehren
99dfa2d1fb
Load config to global scope
Otherwise every module would have to parse the config again

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-08 12:52:30 +01: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
David Mehren
c4b61ae580
Note E2E tests: Check that create & update dates are updated correctly
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-10 20:12:21 +01:00
David Mehren
88c0794724
NotesService: Get note creation time from database
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-10 18:22:30 +01:00
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