Commit graph

6259 commits

Author SHA1 Message Date
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
renovate[bot]
0f2cd4e483
Update dependency @testing-library/react to v12.1.3 (#1865)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 22:46:04 +01:00
renovate[bot]
cc45eee78f
Update dependency react-bootstrap-typeahead to v5.2.2 (#1869)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 22:45:34 +01:00
Renovate Bot
e339f740e7 fix(deps): update dependency @types/node-fetch to v2.6.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 20:48:05 +01:00
Renovate Bot
2bdb567ff5 fix(deps): update nestjs packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 20:42:26 +01:00
Renovate Bot
b413c35d8a chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 20:40:39 +01:00
Renovate Bot
c13ead34f8 chore(deps): update dependency mkdocs-material to v8.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 20:39:56 +01:00
Renovate Bot
48b52227f9 fix(deps): update dependency typeorm to v0.2.43
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 11:48:04 +00:00
Renovate Bot
8e3b7cf4f1 fix(deps): update dependency raw-body to v2.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 10:03:14 +00:00
Renovate Bot
5cbecf4ddd chore(deps): update dependency eslint-plugin-jest to v26.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 08:37:48 +00:00
Renovate Bot
161aa89747 chore(deps): update dependency @types/node to v16.11.25
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 04:55:57 +00:00
Renovate Bot
bd3add4d1b chore(deps): update dependency @nestjs/cli to v8.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 02:21:30 +00:00
Tilman Vatteroth
8b4e9191e5
Fix smooth scroll and other bugs (#1861)
This PR fixes:

- The wrong clean up of window post message communicators
- The smooth scroll bug in chrome (Fixes Anchor navigation in render view not working #1770)
- Scroll by using touch devices in renderer
- Lazy loading of the editor (code mirror doesn't need to be lazy loaded any more)
2022-02-14 16:37:34 +00:00
Erik Michelson
c917e9d5f1 Update name in docs
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-02-14 11:50:02 +01:00
Erik Michelson
49b563f182 Use 'HedgeDoc' in changelog and license
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-02-14 11:50:02 +01:00
David Mehren
81d47b57d6 test: app should not crash on requests to /
Regression test for 396ad181d0

Signed-off-by: David Mehren <git@herrmehren.de>
2022-02-14 11:28:02 +01:00
David Mehren
2c081b8dbf fix: correctly initialize exception mapping
The constructor of an exception filter must be given
an instance of HttpAdapterHost, otherwise it will crash at runtime.

This can be reproduced by GETing /.

Reference: https://docs.nestjs.com/exception-filters#inheritance
Signed-off-by: David Mehren <git@herrmehren.de>
2022-02-14 11:28:02 +01:00
renovate[bot]
0f3f7a82b5
Lock file maintenance (#1862)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-14 10:41:32 +01:00
Renovate Bot
bb115dedb6 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-14 02:35:57 +00:00
Philip Molares
5f228b1bf2
refactor: Deduplicate delete modal (#1734) 2022-02-14 00:44:17 +01:00
Tilman Vatteroth
6a6f6105b9
Upgrade to CodeMirror 6 (#1787)
Upgrade to CodeMirror 6

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-13 11:14:01 +00:00
Tilman Vatteroth
1a09bfa5f1 Fix renovate match string for docker images
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-12 23:41:54 +01:00
Tilman Vatteroth
728b955e98 Update cypress/browser to node16.13.2-chrome97-ff96
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-12 23:09:20 +01:00
Renovate Bot
13d6df5346 Update dependency netlify-cli to v9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 22:11:27 +01:00
Renovate Bot
44da4baf9b Update dependency emoji-picker-element to v1.10.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 21:33:32 +01:00
Renovate Bot
cd4d565dcb Update dependency vega-embed to v6.20.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 21:04:49 +01:00
Renovate Bot
b99dfd1521 Update i18next
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 21:02:09 +01:00
Renovate Bot
4454162fe5 Update dependency ts-node to v10.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 21:01:51 +01:00
Renovate Bot
91835d23cb Update dependency netlify-cli to v8.19.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 19:02:57 +01:00
Renovate Bot
36c7d32e0a Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 18:59:38 +01:00
Renovate Bot
bc86eeb189 Update dependency sharp to v0.30.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 18:26:07 +01:00
Renovate Bot
604e9e3746 Update dependency jest to v27.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 18:23:43 +01:00
Renovate Bot
dc3afb8de0 Update dependency mermaid to v8.14.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 18:11:31 +01:00
Renovate Bot
55e409be4d Update dependency abcjs to v6.0.0-beta.38
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 18:08:05 +01:00
Renovate Bot
d7c5d8e2f0 Update dependency @types/node to v16.11.24
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 18:06:45 +01:00
Renovate Bot
bf5917b563 fix(deps): update nestjs packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 11:54:16 +01:00
Renovate Bot
df857f9886 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 11:54:03 +01:00
Renovate Bot
c38e3e3fa1 fix(deps): update dependency rxjs to v7.5.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 11:53:55 +01:00
Renovate Bot
f631cf2423 chore(deps): update dependency mkdocs-material to v8.1.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 11:53:46 +01:00
Renovate Bot
77ed48b736 chore(deps): update dependency pymdown-extensions to v9.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 11:46:06 +01:00