Commit graph

3904 commits

Author SHA1 Message Date
David Mehren
f79ca5b39f
Merge pull request #1857 from hedgedoc/fix/crash-on-metrics 2021-12-03 20:13:07 +01:00
David Mehren
1baf7db914
Add changelog entry
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-03 10:35:01 +01:00
David Mehren
9d8f33014a
Exclude /status, /metrics from session middleware
Because of seemingly undocumented changes in passport 0.5.0,
passport now crashes on requests to paths without session data.

This removes the session middleware from /status and /metrics, which are
 excluded from sessions since 90c5ab0833.

 Fixes https://github.com/hedgedoc/container/issues/270

Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-03 10:30:57 +01:00
David Mehren
ece1bb8d56
Update Node requirements in manual setup guide
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 22:32:32 +01:00
Yannick Bungers
d676008ff7
Merge pull request #1855 from hedgedoc/release/1.9.1 2021-12-02 22:18:49 +01:00
Tilman Vatteroth
3d05aac2d5
Bump version to 1.9.1
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 22:14:54 +01:00
David Mehren
da182bdea6
Update yarn.lock
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 22:14:54 +01:00
David Mehren
2246a629a8
Import translations from POEditor
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 22:14:34 +01:00
Tilman Vatteroth
22ecc7bb0d
Add release notes for 1.9.1
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 22:14:31 +01:00
Yannick Bungers
f57913ef8a
Merge pull request #1793 from hedgedoc/renovate/master-formidable-2.x 2021-12-02 20:03:19 +01:00
Yannick Bungers
386c08a339
Merge branch 'master' into renovate/master-formidable-2.x 2021-12-02 19:59:39 +01:00
Yannick Bungers
36050598e8
Merge pull request #1850 from hedgedoc/renovate/master-file-type-17.x 2021-12-02 19:54:56 +01:00
Yannick Bungers
b9d933a2f2
Merge pull request #1670 from hedgedoc/renovate/master-mermaid-8.x 2021-12-02 19:54:38 +01:00
David Mehren
ae966dba8f
Merge pull request #1721 from hedgedoc/renovate/master-esbuild-loader-2.x 2021-12-02 19:40:39 +01:00
Renovate Bot
11e3d1e679
chore(deps): update dependency esbuild-loader to v2.16.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 18:36:03 +00:00
David Mehren
9e7ec12553
Merge pull request #1754 from hedgedoc/renovate/master-flowchart.js-1.x 2021-12-02 19:34:49 +01:00
Renovate Bot
4d2fcd7731
chore(deps): update dependency flowchart.js to v1.17.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 18:17:36 +00:00
David Mehren
8106ecad88
Merge pull request #1718 from hedgedoc/renovate/master-jquery-ui-1.x 2021-12-02 19:16:04 +01:00
David Mehren
381d360d58
Fix mermaid import
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 19:11:39 +01:00
Renovate Bot
b87fd60314
chore(deps): update dependency mermaid to v8.13.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 17:44:32 +00:00
Renovate Bot
e8a3160155
chore(deps): update dependency jquery-ui to v1.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 17:44:18 +00:00
David Mehren
b552231cf4
Merge pull request #1676 from hedgedoc/renovate/master-passport-0.x 2021-12-02 18:42:31 +01:00
Renovate Bot
c63f9a38c3
fix(deps): update dependency passport to ^0.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 16:51:07 +00:00
David Mehren
8157701a83
Merge pull request #1639 from hedgedoc/renovate/master-prismjs-1.x 2021-12-02 17:47:02 +01:00
David Mehren
c72760dca1
Merge pull request #1650 from hedgedoc/renovate/master-remark-monorepo 2021-12-02 17:46:45 +01:00
Renovate Bot
74746022ad
chore(deps): update dependency remark-preset-lint-markdown-style-guide to v5.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 16:42:18 +00:00
Renovate Bot
c85b055f49
chore(deps): update dependency prismjs to v1.25.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 16:42:04 +00:00
David Mehren
24c7c8ee4f
Merge pull request #1715 from hedgedoc/renovate/master-webpack-cli-4.x 2021-12-02 17:39:15 +01:00
David Mehren
fccedf5791
Merge pull request #1722 from hedgedoc/renovate/master-major-linters 2021-12-02 17:36:25 +01:00
David Mehren
6acb23f26d
Fix checkUploadType after upgrade to file-type 17
This package is now ESM-only, so we need to `import()` it and
raise the oldest supported Node version.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 17:30:47 +01:00
David Mehren
7c5c2f7981
Fix imageRouter after upgrade to formidable 2
file.path is now file.filepath, and we need to use the proper constructor

See https://github.com/node-formidable/formidable/blob/master/CHANGELOG.md#200

Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 17:19:24 +01:00
Renovate Bot
f6a61c4ea7
fix(deps): update dependency formidable to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 15:59:38 +00:00
Renovate Bot
b6a2a618bb
fix(deps): update dependency file-type to v17
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 15:59:24 +00:00
Renovate Bot
7171bd26f3
chore(deps): update dependency eslint to v8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 15:58:52 +00:00
Renovate Bot
3eb29eba4f
chore(deps): update dependency webpack-cli to v4.9.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 15:58:11 +00:00
David Mehren
af3f4ceae1
Merge pull request #1651 from hedgedoc/renovate/master-prom-client-14.x 2021-12-02 16:55:34 +01:00
Renovate Bot
a147148a78
fix(deps): update dependency prom-client to v14
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 20:41:48 +00:00
David Mehren
28faff3875
Merge pull request #1849 from dbrgn/uploads-mode-docs 2021-11-29 21:31:15 +01:00
Danilo Bargen
74d7fc06f3 Docs: Document UPLOADS_MODE env var for Docker image
Signed-off-by: Danilo Bargen <mail@dbrgn.ch>
2021-11-24 22:51:06 +01:00
renovate[bot]
9728837f7c
chore(deps): lock file maintenance (#1847)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 06:26:03 +00:00
David Mehren
4f9facbf5d
Merge pull request #1829 from hedgedoc/faq/why-does-my-interface-look-weird 2021-11-21 22:23:45 +01:00
Tilman Vatteroth
661d387cfe
Add new FAQ section "Why does my interface look weird?"
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-21 22:11:43 +01:00
David Mehren
de3b49a451
Merge pull request #1696 from hedgedoc/renovate/master-pymdown-extensions-9.x 2021-11-21 21:14:39 +01:00
Renovate Bot
f048565eea
chore(deps): update dependency pymdown-extensions to v9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 02:12:19 +00:00
renovate[bot]
8b20e7c9c6
chore(deps): update dependency remark-cli to v10.0.1 (#1830)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 02:08:21 +00:00
renovate[bot]
6034610ab6
chore(deps): lock file maintenance (#1820)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-15 03:28:52 +00:00
renovate[bot]
89f97fc4c4
chore(deps): update dependency eslint-plugin-import to v2.25.3 (#1812)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 12:16:59 +00:00
renovate[bot]
494c4d439d
chore(deps): lock file maintenance (#1804)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 03:47:12 +00:00
Yannick Bungers
2d811ffeb2
Merge pull request #1790 from hedgedoc/fix-gitlab-response-crash 2021-11-05 09:19:24 +01:00
David Mehren
489f785992
Set global timeout for Ajax operations
`ajaxSetup()` sets the default values for future Ajax operations.

See also
https://api.jquery.com/jQuery.ajaxSetup/
https://api.jquery.com/jquery.ajax/

Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-04 20:49:53 +01:00