Commit graph

6248 commits

Author SHA1 Message Date
Renovate Bot
908f418620 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 02:23:45 +00:00
Renovate Bot
807bd5a59a Update dependency @uiw/react-codemirror to v4.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 21:39:41 +01:00
David Mehren
931a168e5d fix(session-middleware): don't hardcode database ttl
The cookie expiration is taken from the config,
but the expiration of session data in the database was hardcoded.

This removes the hardcoded value, so TypeormStore defaults
to cookie.maxAge.

References:
https://github.com/nykula/connect-typeorm#options
https://github.com/expressjs/session#cookiemaxage
Signed-off-by: David Mehren <git@herrmehren.de>
2022-02-27 20:55:13 +01:00
Renovate Bot
b470ccdc97 Update dependency sass to v1.49.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 20:04:04 +01:00
Tilman Vatteroth
376cb08461 Regenerate yarn.lock
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-27 19:46:15 +01:00
Renovate Bot
5f320f74d9 Update Yarn to v3.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 19:46:15 +01:00
Tilman Vatteroth
6e7afbac9b Add missing parameter for deployment action
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-27 19:28:16 +01:00
Renovate Bot
8ccb615651 Update actions/setup-node action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 19:08:15 +01:00
Philip Molares
cf5c398933 fix: openapi decorator
This now correctly returns the dto if it is provided. Previously it would return () => undefined, when the dto was not defined, which crashed some internal logic in nestjs.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-02-27 18:40:53 +01:00
renovate[bot]
b2fc852e09
Update bobheadxi/deployments action to v1 (#1884)
* Update bobheadxi/deployments action to v1

Signed-off-by: Renovate Bot <bot@renovateapp.com>

* Migrate deploy action

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-27 17:26:59 +00:00
Renovate Bot
bb2c248147 chore(deps): update dependency mkdocs-material to v8.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 18:22:31 +01:00
Renovate Bot
c95346330d Update i18next
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 18:19:30 +01:00
Renovate Bot
82a96566de Update dependency eslint to v8.10.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 18:05:37 +01:00
Renovate Bot
8bf84c9391 Update dependency luxon to v2.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 17:50:30 +01:00
Renovate Bot
face75024b Update dependency netlify-cli to v9.8.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 17:50:08 +01:00
Renovate Bot
84ad1424a1 Update dependency abcjs to v6.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 17:49:43 +01:00
Renovate Bot
72ef02608b chore(deps): update yarn to v3.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2022-02-26 14:07:23 +01:00
Renovate Bot
4e83c19dc7 chore(deps): update dependency mkdocs-material to v8.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 14:00:27 +01:00
Renovate Bot
eeb8de4f78 fix(deps): update dependency raw-body to v2.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 13:56:36 +01:00
Renovate Bot
a8264bdd7f chore(deps): update dependency eslint to v8.10.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 13:48:34 +01:00
Renovate Bot
b0b590757e chore(deps): update actions/setup-node action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 13:43:50 +01:00
Renovate Bot
4d8682f27a fix(deps): update dependency typeorm to v0.2.44
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 11:15:16 +00:00
Renovate Bot
c97533f70f chore(deps): update linters to v5.12.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 11:07:33 +00:00
Renovate Bot
4bba9a2520 chore(deps): update dependency @types/node to v16.11.26
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 08:48:55 +00:00
Renovate Bot
0318f7ea0d chore(deps): update dependency @types/jest to v27.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 04:44:06 +00:00
Renovate Bot
70a26bedb0 chore(deps): update dependency @nestjs/schematics to v8.0.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 02:24:25 +00:00
renovate[bot]
19f4f78645
Update dependency @types/node to v16.11.26 (#1866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 09:28:01 +01:00
Renovate Bot
a999fc8c0a Update dependency netlify-cli to v9.8.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-23 22:09:43 +01:00
renovate[bot]
d0375c8e5d
Update linters to v5.12.1 (#1875)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-22 17:58:41 +01:00
Renovate Bot
f72c85b887 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 02:40:08 +00:00
Tilman Vatteroth
0c32a35dd6 Regenerate yarn.lock
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-20 21:47:45 +01:00
Renovate Bot
4140b08f89 Update dependency next to v12.1.0 [SECURITY]
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-20 21:47:45 +01:00
Renovate Bot
4ee40ac495 Update dependency @next/bundle-analyzer to v12.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-20 21:47:45 +01:00
Renovate Bot
df8bbee93d Update dependency netlify-cli to v9.6.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-20 21:47:45 +01:00
Renovate Bot
625ce20977 Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-20 21:47:45 +01:00
Renovate Bot
29b6e9c0c0 Update dependency @uiw/react-codemirror to v4.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-20 21:47:45 +01:00
Renovate Bot
2927ae08d8 Update dependency cypress to v9.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-20 21:47:45 +01:00
Renovate Bot
720a14c4a9 Update dependency sass to v1.49.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-20 21:47:45 +01:00
Renovate Bot
dc6f907277 Update dependency dompurify to v2.3.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-20 21:47:45 +01:00
Renovate Bot
b24904aac8 Update dependency abcjs to v6.0.0-beta.39
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-20 21:47:45 +01:00
Renovate Bot
98392b1203 Update dependency @types/node to v16.11.25
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-20 21:47:45 +01:00
Renovate Bot
37028fad59 Update dependency vega-embed to v6.20.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-20 21:25:51 +01:00
Philip Molares
86ef8f3c7f docs: add documentation to OpenApi decorator
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-02-20 20:56:09 +01:00
Philip Molares
cae55e0baa test: fix e2e test error codes
As these were changed with the openapi decorator the test need to reflect this.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-02-20 20:56:09 +01:00
Philip Molares
89aac9d4b6 refactor: use new openapi decorator
Also remove fullapi decorator, because it's fully replaced by the openapi decorator.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-02-20 20:56:09 +01:00
Philip Molares
a283002a34 feat: create openapi decorator
This decorator gets a list of http codes and possible descriptions and adds all necessary decorator internally to the method or the class. This will prevent long OpenApi annotations and keep the controllers shorter.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-02-20 20:56:09 +01:00
Philip Molares
c6bb8f62e8 refactor: use a base dto class
This gives all dto classes a common super class for usage of the type system.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-02-20 20:56:09 +01:00
Philip Molares
0955bf048d refactor: rename markdown body decorator
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-02-20 20:56:09 +01:00
Philip Molares
7f8d745c80 refactor: move permissions decorator into api utils dir
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-02-20 20:56:09 +01:00
Renovate Bot
23aab0e529 Update CodeMirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-20 20:48:57 +01:00