Commit graph

3918 commits

Author SHA1 Message Date
Erik Michelson
9949e3a875 feat(healthcheck): add /_health endpoint
This endpoint returns the internal readiness state used by
the realtime code to indicate whether HedgeDoc is performing
properly. As it only returns the state of a variable, it is
less resource hungry compared to a call to /status for
checking the health of HedgeDoc.

By prepending the route with an underscore, it should not be conflicting with already created pads in FreeURL mode.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-19 22:09:16 +01:00
renovate[bot]
4cf56bfdca fix(deps): update dependency aws-sdk to v2.1338.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-18 14:10:10 +01:00
renovate[bot]
9273511305 fix(deps): update dependency mariadb to v3.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 23:07:47 +00:00
renovate[bot]
f40680643d fix(deps): update dependency aws-sdk to v2.1337.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 09:22:01 +01:00
renovate[bot]
5c0eb1e4a4 fix(deps): update dependency graceful-fs to v4.2.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-16 20:29:23 +00:00
renovate[bot]
951fac0102 chore(deps): update actions/checkout action to v3.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 21:40:23 +01:00
renovate[bot]
2b32f93278 fix(deps): update dependency aws-sdk to v2.1336.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 21:40:03 +01:00
renovate[bot]
eb02b9552f fix(deps): update dependency sqlite3 to v5.1.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 17:20:34 +01:00
renovate[bot]
c44cffb01f fix(deps): update dependency aws-sdk to v2.1335.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 17:20:16 +01:00
renovate[bot]
1d3f4b27ed chore(deps): update dependency mkdocs-material to v9.1.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 19:30:29 +00:00
renovate[bot]
ea7b02c6e5 fix(deps): update dependency sqlite3 to v5.1.5 [security]
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 03:10:45 +00:00
renovate[bot]
bea4454e99 chore(deps): update actions/cache action to v3.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-13 08:26:33 +01:00
renovate[bot]
3c552da01d chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-13 02:12:35 +00:00
renovate[bot]
9a276255ed chore(deps): update dependency eslint to v8.36.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 09:18:15 +01:00
renovate[bot]
01330437ee chore(deps): update actions/cache action to v3.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 09:17:44 +01:00
renovate[bot]
e9d4d4df7c chore(deps): update dependency mkdocs-material to v9.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 08:02:45 +00:00
renovate[bot]
75490bfa24 chore(deps): update dependency jquery to v3.6.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 06:43:02 +00:00
Jordi Mallach
9bda8f2180 Allow setting documentMaxLength via CMD_DOCUMENT_MAX_LENGTH
Signed-off-by: Jordi Mallach <jordi@igalia.com>
2023-03-09 10:20:42 +01:00
renovate[bot]
9c0411e628 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-06 04:13:26 +00:00
renovate[bot]
85d8e23896 chore(deps): update dependency pymdown-extensions to v9.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-05 18:45:11 +01:00
renovate[bot]
5920bc60db chore(deps): update dependency mkdocs-material to v9.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-05 18:38:29 +01:00
Tilman Vatteroth
e2b84e134a fix: extend parsing of boolean environment vars
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-02 21:12:27 +01:00
Tilman Vatteroth
29b3562672 feat: use codemirror precompiled package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-28 09:25:43 +01:00
Tilman Vatteroth
72f45fd8b0 deps: change codemirror git link to master
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-27 17:18:40 +01:00
renovate[bot]
e59f852a9e chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-27 01:32:03 +00:00
renovate[bot]
1985cf497b chore(deps): update dependency mkdocs-material to v9.0.15
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-26 12:57:12 +01:00
renovate[bot]
dd4330f18c chore(deps): update dependency eslint to v8.35.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-26 12:57:02 +01:00
renovate[bot]
e70c6e408c chore(deps): update dependency mkdocs-material to v9.0.14
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 12:37:18 +00:00
renovate[bot]
0cceac3343 chore(deps): update actions/cache action to v3.2.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 09:20:26 +00:00
David Mehren
44a253e0a0
Merge pull request #3376 from hedgedoc/master-ci
refactor(ci): restructure workflows
2023-02-19 22:54:00 +01:00
Erik Michelson
b7dcd43d9d
refactor(ci): restructure workflows
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-19 22:42:32 +01:00
David Mehren
cad64b4b1a
Merge pull request #3375 from hedgedoc/release/1.9.7 2023-02-19 22:36:11 +01:00
David Mehren
d6a5ea5636
Ensure clean-webpack-plugin does not delete HTML export files
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 22:04:26 +01:00
David Mehren
3f4c64fcb5
Update yarn.lock
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 21:46:50 +01:00
David Mehren
d4f19e4e38
Bump version to 1.9.7
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 21:46:50 +01:00
David Mehren
f02702149e
Import translations from POEditor
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 21:46:50 +01:00
David Mehren
59273144df
Update CodeMirror
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 21:40:31 +01:00
David Mehren
f8586c1bfc
Update aws-sdk,mariadb
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 21:40:31 +01:00
David Mehren
e28a7f3e2b
Update chance, file-type
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-19 21:40:31 +01:00
Erik Michelson
057777f31f fix(night-mode): migrate cookie solution to store only
Signed-off-by: Erik Michelson <michelson@uni-bremen.de>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-19 21:40:01 +01:00
Tilman Vatteroth
9055214418 feat(docs): activate search plugin
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-19 10:47:42 +01:00
renovate[bot]
cfc60419db chore(deps): update dependency mkdocs-material to v9.0.13
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 15:11:23 +00:00
renovate[bot]
d315d07aba chore(deps): update dependency esbuild-loader to v3.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 09:33:34 +00:00
renovate[bot]
427cc1c613 chore(deps): update dependency abcjs to v6.1.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 05:54:47 +00:00
Tilman Vatteroth
a44ae8b27b feat(bundle): add webpack clean plugin
To avoid unnecessary and broken files in the build directory.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-17 19:40:51 +01:00
Tilman Vatteroth
5552be1412 fix(bundle): force esbuild-loader to use cjs instead of iife
Beginning with esbuild-loader 3 it uses iife for web bundles to avoid
pollution of the "window" object.
However, this broke our prod bundle because some variables should go into the global namespace.

See https://github.com/esbuild-kit/esbuild-loader/releases/tag/v3.0.0

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-17 19:40:35 +01:00
renovate[bot]
8efbb059e2 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-13 05:38:33 +00:00
David Mehren
b5de88afd1 Adjust webpack config for esbuild-loader v3
Signed-off-by: David Mehren <git@herrmehren.de>
2023-02-12 21:24:43 +01:00
renovate[bot]
846f5b3716 chore(deps): update dependency esbuild-loader to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-12 21:24:43 +01:00
Tilman Vatteroth
fec5e09664 fix(image-router): correct usage of rimraf
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-12 20:58:02 +01:00