Commit graph

3938 commits

Author SHA1 Message Date
renovate[bot]
db6c6c86b5 chore(deps): update dependency mkdocs to v1.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 23:51:42 +00:00
renovate[bot]
a7b663a01f chore(deps): update dependency abcjs to v6.1.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 04:47:50 +00:00
renovate[bot]
f7fa0d9727 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-10 04:25:11 +00:00
renovate[bot]
f9e9130b97 chore(deps): update dependency eslint to v8.25.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-09 20:34:54 +02:00
David Mehren
3aeb2a619b Pass through breaks option to published note
The markdown for the publish-view is generated
using the `Note.extractMeta` method.
It uses meta-marked to separate the metadata from markdown.
Only the raw markdown is then sent to the client,
so it cannot respect the `breaks` option.

This adds an evil hack to send the `breaks` option with the markdown
if it is contained in the metadata block.

Fixes https://github.com/hedgedoc/hedgedoc/issues/2358

Signed-off-by: David Mehren <git@herrmehren.de>
2022-10-03 20:18:16 +02:00
renovate[bot]
a71b4923e7 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-03 01:03:22 +00:00
renovate[bot]
78fc336c25 chore(deps): update dependency mkdocs-material to v8.5.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-02 18:31:03 +02:00
renovate[bot]
2547625379 chore(deps): update dependency mkdocs to v1.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-02 17:55:03 +02:00
renovate[bot]
f6528fde68 chore(deps): update dependency pymdown-extensions to v9.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-02 17:54:50 +02:00
renovate[bot]
fc71e885eb chore(deps): update dependency mkdocs-material to v8.5.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-01 18:33:42 +00:00
renovate[bot]
78de83777d chore(deps): update dependency mkdocs-material to v8.5.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-01 06:12:50 +00:00
Tilman Vatteroth
98e9616af8 fix(docs): Add a note that node 18 is not supported
Node 18 is not supported because of dependency problems. It's already covered by the package.json but not by the docs.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-30 08:53:43 +02:00
renovate[bot]
7067c1a28e chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-26 03:25:31 +00:00
renovate[bot]
16e2b1cd55 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-25 11:09:58 +02:00
Tilman Vatteroth
68466f6f09 fix: Change data type of history attribute in user table to long text
When using mysql the normal text attribute has a fixed size. When this size is reached then the json will be cut off and becomes invalid.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-25 11:09:23 +02:00
Tilman Vatteroth
9254c0dc39 Convert history attribute in user table to longtext
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-25 11:09:23 +02:00
renovate[bot]
345fab95c5 chore(deps): update dependency mkdocs-material to v8.5.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-24 03:59:17 +00:00
renovate[bot]
50affce8d2 chore(deps): update dependency mkdocs-redirects to v1.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 19:15:09 +02:00
renovate[bot]
f175de9f52 chore(deps): update dependency mkdocs-material to v8.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 17:07:00 +00:00
renovate[bot]
4f9d9d2f9a chore(deps): update dependency mermaid to v9.1.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-17 09:30:58 +00:00
renovate[bot]
6976d309d3 chore(deps): update dependency mkdocs-material to v8.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-17 11:22:14 +02:00
renovate[bot]
2fa4b3dd23 chore(deps): update dependency eslint to v8.23.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-17 05:39:22 +00:00
renovate[bot]
3633f4157b fix(deps): update dependency uuid to v9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-11 15:34:55 +02:00
renovate[bot]
69ece9c1b9 chore(deps): update dependency esbuild-loader to v2.20.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-11 15:29:41 +02:00
renovate[bot]
e385a4cb8e chore(deps): update dependency mkdocs-material to v8.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-10 10:10:53 +00:00
renovate[bot]
e7bb61bf64 chore(deps): update dependency abcjs to v6.1.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-10 04:36:05 +00:00
Pol Dellaiera
99bab9c309 Update public/docs/yaml-metadata.md
Co-authored-by: Yannick Bungers <github@innay.de>
Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2022-09-05 10:11:48 +02:00
Pol Dellaiera
8c56c8d733 Update documentation based on code-review feedback.
Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2022-09-05 10:11:48 +02:00
Pol Dellaiera
1b58871c06 Update yaml-metadata.md.
Update `slideOptions` documentation and links.

Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2022-09-05 10:11:48 +02:00
renovate[bot]
2644640017 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-05 04:08:13 +00:00
Pol Dellaiera
9d93a95d32 docs: Improve consistency in MathJax examples.
Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2022-09-04 21:09:01 +02:00
renovate[bot]
2cf31a949d chore(deps): update dependency abcjs to v6.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-04 06:55:15 +00:00
renovate[bot]
9412331c2e chore(deps): update dependency abcjs to v6.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-03 20:31:33 +00:00
renovate[bot]
33e6bbed5d chore(deps): update dependency prismjs to v1.29.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-01 09:44:08 +02:00
renovate[bot]
02b650c974 chore(deps): update dependency abcjs to v6.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-01 09:39:07 +02:00
renovate[bot]
cc13b67407 fix(deps): update dependency file-type to v18
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-29 05:11:16 +02:00
renovate[bot]
7647d6a59b chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-29 00:51:50 +00:00
renovate[bot]
efca18b01f chore(deps): update dependency eslint to v8.23.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-28 13:08:00 +02:00
renovate[bot]
fe6533f63a chore(deps): update dependency mkdocs-redirects to v1.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 13:53:54 +02:00
renovate[bot]
f98559f4cb chore(deps): update dependency mkdocs-material to v8.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 11:52:31 +00:00
renovate[bot]
d041d253c9 fix(deps): update dependency minio to v7.0.32
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 11:46:19 +00:00
renovate[bot]
f7bbadfaf4 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 13:46:14 +02:00
renovate[bot]
c839ff8308 chore(deps): update dependency jquery to v3.6.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 06:16:18 +00:00
Tilman Vatteroth
164fe21d18 Replace embedding shortcode regexes with more specific ones to safeguard against xss attacks
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-26 18:59:06 +02:00
David Mehren
9ab8bf3cac Fix crash in LDAP authentication
Since https://github.com/vesse/node-ldapauth-fork/commit
/741a648df98d789856b3301d65103b74872fdeea, ldapauth-fork calls `push` on
 the attributes array.

 Since we deep-freeze our config object in https://github
 .com/hedgedoc/hedgedoc/blob/master/lib/config/index.js#L200, this
 causes a crash.

 This commit fixes the crash by creating a mutable clone of the LDAP
 config and passing that to the LDAP strategy.

 Fixes https://github.com/hedgedoc/hedgedoc/issues/2561

Signed-off-by: David Mehren <git@herrmehren.de>
2022-08-22 09:01:04 +02:00
David Mehren
58f321ce29 Add dark mode toggle in mobile view
Fixes #2534

Signed-off-by: David Mehren <git@herrmehren.de>
2022-08-22 08:52:49 +02:00
renovate[bot]
4f22184be5 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-22 01:34:27 +00:00
renovate[bot]
5ff5f88cfd chore(deps): update dependency mkdocs-material to v8.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-21 22:36:49 +02:00
renovate[bot]
ce2073daf4 chore(deps): update dependency mermaid to v9.1.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-20 05:23:12 +00:00
Philip Molares
fc99c98a9c docs: fixed link to history writeup on index page
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-08-17 19:58:29 +02:00