Commit graph

4274 commits

Author SHA1 Message Date
renovate[bot]
f508f0269d fix(deps): update dependency mysql2 to v3.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 21:23:44 +01:00
renovate[bot]
ca132e66d6 fix(deps): update dependency prom-client to v15.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 21:23:25 +01:00
renovate[bot]
a51f1c668f chore(deps): update actions/cache action to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 21:23:09 +01:00
renovate[bot]
8eb502008a chore(deps): update actions/upload-artifact action to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 21:22:48 +01:00
renovate[bot]
a391ca8d3f fix(deps): update dependency sqlite3 to v5.1.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 20:04:54 +00:00
renovate[bot]
ec5691b7b4 fix(deps): update dependency mariadb to v3.2.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 20:04:38 +00:00
renovate[bot]
a9ef39b089 chore(deps): update dependency mkdocs-material to v9.5.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 20:04:15 +00:00
renovate[bot]
af98a0a5b4 chore(deps): update dependency eslint-plugin-import to v2.29.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 18:15:36 +00:00
renovate[bot]
344f77bd51 chore(deps): update actions/setup-node action to v4.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 18:15:20 +00:00
renovate[bot]
be4266b324 chore(deps): update actions/cache action to v3.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 18:15:10 +00:00
Erik Michelson
538f41cf1c fix(opengraph): treat user frontmatter values as String
A bug was reported that having frontmatter fields being only numeric results in an error. This seems to be caused
as the frontmatter is processed by the yaml-parser but returned
with the types as given. So a numeric value is returned as a number,
a "true" or "false" is returned as boolean etc.
As we expect strings in the template, that resulted in an exception.

This commit fixes this by treating every value as string in the template.
Since we've got no other usages of opengraph data, this should not have been
a security problem.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-01-17 17:10:06 +01:00
Sheogorath
ddf08cfb96 chore: Drop twitter from docs
It seems except of the documentation for auth providers, this should be
everything regarding Twitter.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2023-12-22 23:00:00 +01:00
renovate[bot]
d64b988253 chore(deps): update dependency eslint-plugin-n to v16.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 09:12:40 +01:00
renovate[bot]
accdb95203 chore(deps): update dependency mkdocs-material to v9.5.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 20:32:49 +00:00
renovate[bot]
458926f7a9 fix(deps): update dependency aws-sdk to v2.1514.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 21:03:56 +01:00
renovate[bot]
84d43bc2f0 chore(deps): update dependency mkdocs-material to v9.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 19:54:36 +01:00
renovate[bot]
4a9fb965ed fix(deps): update dependency aws-sdk to v2.1513.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 19:23:06 +01:00
renovate[bot]
012583c5e8 fix(deps): update dependency prom-client to v15
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 19:21:59 +01:00
renovate[bot]
a29a27bfe2 fix(deps): update dependency passport to v0.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 19:20:27 +01:00
renovate[bot]
3b081c8029 fix(deps): update dependency aws-sdk to v2.1510.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 09:32:46 +01:00
renovate[bot]
3bcde93bd7 chore(deps): update dependency eslint to v8.55.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 09:32:38 +01:00
renovate[bot]
ad3ad6320f fix(deps): update dependency aws-sdk to v2.1509.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 21:20:25 +01:00
renovate[bot]
87a6819779 chore(deps): update dependency pymdown-extensions to v10.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 20:09:59 +01:00
renovate[bot]
7f83c804b9 chore(deps): update yarn to v3.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 20:09:25 +01:00
renovate[bot]
fa4f3e04f6 chore(deps): update dependency eslint to v8.54.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 18:54:23 +01:00
renovate[bot]
66505d6e5d fix(deps): update dependency mysql2 to v3.6.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 17:51:38 +00:00
renovate[bot]
44b8dff04f chore(deps): update dependency mkdocs-material to v9.4.14
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 17:51:09 +00:00
renovate[bot]
dc8b5b7b21 fix(deps): update dependency aws-sdk to v2.1508.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 18:48:18 +01:00
renovate[bot]
2c1e7f629b fix(deps): update dependency file-type to v18.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 18:47:55 +01:00
renovate[bot]
ee26c16537 fix(deps): update dependency cookie to v0.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 18:47:35 +01:00
Philip Molares
35f8718b4d docs: fix azure active directory docs
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-11-20 13:25:13 +01:00
renovate[bot]
979f89af15 chore(deps): lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 03:10:50 +00:00
renovate[bot]
61e5dc71bd chore(deps): update dependency abcjs to v6.2.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 01:39:21 +00:00
renovate[bot]
afa1fb6f14 chore(deps): update dependency pymdown-extensions to v10.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 21:23:14 +01:00
renovate[bot]
9c084fb860 chore(deps): update actions/setup-node action to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 20:53:33 +01:00
renovate[bot]
5b2dbf7b6e fix(deps): update dependency async to v3.2.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 19:51:42 +00:00
renovate[bot]
c53fc1d23c fix(deps): update dependency mysql2 to v3.6.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 19:51:26 +00:00
Jordi Mallach
91acb9063b Add a reference to Mermaid 9.1.7 documentation
HedgeDoc 1.9.x bundles Mermaid version 9.1.7, which
is old enough that current Mermaid syntax will fail to
render inside HedgeDoc notes.

Add a pointer to Mermaid 9.1.7 docs, so users of the
current stable HedgeDoc know what's actually supported.

https://github.com/mermaid-js/mermaid/blob/v9.1.7/docs/n00b-gettingStarted.md

Signed-off-by: Jordi Mallach <jordi@igalia.com>
2023-11-12 20:47:40 +01:00
renovate[bot]
9de50d743d chore(deps): update dependency mkdocs-material to v9.4.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 19:47:27 +00:00
renovate[bot]
8f33223cb8 chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 20:45:21 +01:00
renovate[bot]
a1295a3b35 chore(deps): update dependency mkdocs-material to v9.4.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 08:51:59 +00:00
renovate[bot]
eb5c16f9b4 chore(deps): update actions/setup-node action to v3.8.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:43:21 +00:00
renovate[bot]
591fd9101c chore(deps): lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 00:34:36 +00:00
renovate[bot]
4c01b2a3c1 chore(deps): update dependency eslint to v8.52.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 20:40:07 +02:00
renovate[bot]
34286b7ce9 chore(deps): update dependency pymdown-extensions to v10.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:30:14 +00:00
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