Commit graph

4179 commits

Author SHA1 Message Date
renovate[bot]
18218748ab chore(deps): update dependency eslint-plugin-n to v16.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 19:37:08 +02:00
renovate[bot]
38869ff50e chore(deps): update dependency webpack-merge to v5.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 19:35:44 +02:00
Sheogorath
1f1b2bd386 fix(oauth2): Fix crash in rolesClaim extraction
This patch adds a try-catch around the rolesClaim extraction to prevent
full crashes of HedgeDoc when a user profile is read, that doesn't
contain any such claim, which can happen with some IdPs, like Keycloak,
that omit the attribute when it's empty.

As a result an authorized user would crash the entire server, which is
definitely unintended behaviour. The simply try-catch should resolve the
issue and make sure that roles is always defined even if the
`extractProfileAttribute` call fails.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2023-10-19 19:34:44 +02:00
renovate[bot]
5db2fa1a0e chore(deps): update actions/checkout action to v4.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 17:48:37 +00:00
renovate[bot]
e372c7df49 fix(deps): update dependency mariadb to v3.2.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 20:13:13 +00:00
renovate[bot]
6da58107d1 chore(deps): lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 01:40:43 +00:00
renovate[bot]
94b34fe3a4 chore(deps): update dependency bufferutil to v4.0.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 19:12:32 +00:00
renovate[bot]
1aeff17821 fix(deps): update dependency mysql2 to v3.6.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 04:33:39 +00:00
renovate[bot]
33aee1e1f4 chore(deps): update dependency mkdocs-material to v9.4.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-14 10:22:10 +00:00
renovate[bot]
63e108a8e6 chore(deps): update dependency mkdocs-material to v9.4.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 09:06:02 +00:00
renovate[bot]
50229d561d fix(deps): update dependency winston to v3.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-08 09:14:10 +02:00
Matt Fisher
74b573e414 Add a warning about an NGINX pitfall and its symptom in HedgeDoc
Signed-off-by: Matt Fisher <matt.fisher@nsidc.org>
2023-10-07 18:06:07 +02:00
renovate[bot]
8479649582 chore(deps): update dependency eslint to v8.51.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:23:17 +02:00
renovate[bot]
3215bc696b fix(deps): update dependency aws-sdk to v2.1472.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 14:39:07 +02:00
renovate[bot]
a1ac15480c chore(deps): update dependency mkdocs-material to v9.4.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 19:25:07 +00:00
renovate[bot]
6d42cab984 chore(deps): update yarn to v3.6.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 01:37:24 +00:00
renovate[bot]
05e6ef1e89 chore(deps): update dependency mkdocs-material to v9.4.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 12:24:57 +00:00
David Mehren
8afbd32065
Regenerate yarn.lock
Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-01 19:48:10 +02:00
renovate[bot]
9c70c55a44 fix(deps): update dependency aws-sdk to v2.1467.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 19:29:08 +02:00
renovate[bot]
6c47a18261 fix(deps): update dependency archiver to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 19:26:44 +02:00
renovate[bot]
7592986cf2 fix(deps): update dependency rimraf to v5.0.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 06:33:35 +00:00
renovate[bot]
e14430f418 fix(deps): update dependency markdown-it to v13.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 19:56:08 +00:00
renovate[bot]
7a9bf0cd6a fix(deps): update dependency rimraf to v5.0.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 01:56:43 +00:00
renovate[bot]
15eaaf41b1 fix(deps): update dependency rimraf to v5.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 21:34:18 +00:00
renovate[bot]
535019905f chore(deps): update dependency mkdocs-material to v9.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 09:39:10 +00:00
renovate[bot]
d7ea219a1d chore(deps): lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 00:37:13 +00:00
renovate[bot]
fe0baeecc9 fix(deps): update dependency aws-sdk to v2.1463.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-24 11:47:11 +02:00
renovate[bot]
05e620b539 chore(deps): update actions/checkout action to v4.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-24 10:30:08 +02:00
renovate[bot]
96cb072280 chore(deps): update dependency eslint to v8.50.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-24 10:29:51 +02:00
renovate[bot]
3351f3b57c chore(deps): update dependency mkdocs-material to v9.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 16:46:52 +00:00
renovate[bot]
4325ebe5b5 chore(deps): update dependency mkdocs-material to v9.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 09:21:23 +02:00
renovate[bot]
b57b06a372 fix(deps): update dependency aws-sdk to v2.1461.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 08:50:41 +02:00
renovate[bot]
f72cd9e310 fix(deps): update dependency aws-sdk to v2.1460.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 20:34:35 +02:00
renovate[bot]
57edcd5c51 chore(deps): update dependency remark-cli to v12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 20:34:17 +02:00
renovate[bot]
ef2ff6c2b9 chore(deps): update dependency mkdocs-material to v9.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 08:18:15 +00:00
renovate[bot]
221017d1ed chore(deps): update dependency esbuild-loader to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 10:13:20 +02:00
renovate[bot]
5f7b18825e chore(deps): update dependency mkdocs to v1.5.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 08:10:31 +00:00
renovate[bot]
7ca3604347 fix(deps): update dependency uuid to v9.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 18:49:01 +00:00
renovate[bot]
de40c95323 fix(deps): update dependency mariadb to v3.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 18:47:19 +00:00
renovate[bot]
33dd122d7f chore(deps): update dependency eslint-plugin-n to v16.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 20:46:41 +02:00
renovate[bot]
8c7c868bc6 chore(deps): update dependency mkdocs-material to v9.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 20:46:00 +02:00
renovate[bot]
293e24a5d3 fix(deps): update dependency aws-sdk to v2.1459.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 20:43:15 +02:00
renovate[bot]
43d3a594a3 chore(deps): lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 02:20:24 +00:00
Tilman Vatteroth
2472d0b755 ci: remove node 16
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-10 20:57:05 +02:00
renovate[bot]
6efbc0e16c fix(deps): update dependency mysql2 to v3.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-10 01:59:00 +00:00
renovate[bot]
7d491d0cbc chore(deps): update dependency eslint to v8.49.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 09:43:47 +02:00
renovate[bot]
056c2c88e5 fix(deps): update dependency aws-sdk to v2.1454.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 09:43:22 +02:00
renovate[bot]
cfc64b36fc chore(deps): update actions/cache action to v3.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 16:00:23 +00:00
renovate[bot]
e7b70e8e1a fix(deps): update dependency aws-sdk to v2.1453.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 17:40:11 +02:00
renovate[bot]
ad469cd3c2 chore(deps): update dependency mkdocs-material to v9.2.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-04 21:04:27 +00:00