David Mehren
689ca2018d
Import translations from POEditor
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-04 21:35:20 +02:00
Erik Michelson
143864b8d9
enhancement(metrics): allow disabling via config option
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-06-04 21:03:46 +02:00
Tilman Vatteroth
a349ddde56
doc: add note about arm64 to the release notes
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-04 20:51:34 +02:00
David Mehren
bbee1aa278
fix: macOS compatibility for bin/setup
...
After carefully studying the man pages of GNU sort and BSD sort,
we concluded that the version_lt function should also work on macOS.
Testing seemed to confirm that.
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-04 20:38:57 +02:00
David Mehren
acf24a1dd2
fix(esbuild): exclude reveal.js marked plugin
...
https://github.com/hedgedoc/hedgedoc/pull/4114
did not properly fix the missing speaker notes.
It turns out that by just excluding
reveal.js/plugin/markdown/marked.js
from esbuild processing, we can stop invalid JS from being generated.
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-04 20:31:21 +02:00
renovate[bot]
36cc55ae8e
fix(deps): pin dependency socket.io to 2.5.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-04 17:24:59 +02:00
renovate[bot]
11b856f3b6
fix(deps): pin dependencies
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-04 17:21:06 +02:00
renovate[bot]
2f70d66d7d
fix(deps): update dependency file-type to v18.5.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-04 10:37:20 +02:00
renovate[bot]
29b75ce78b
chore(deps): update dependency eslint to v8.42.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 12:17:33 +02:00
renovate[bot]
75311149bc
chore(deps): update yarn to v3.6.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 12:14:34 +02:00
David Mehren
5df8a45413
Fix jsonlint script
...
Yarn 2 has its own script interpreter, which does not support loops.
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-03 12:09:40 +02:00
David Mehren
50b60e30f1
Adjust setup-node action for Yarn 3
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-03 12:09:40 +02:00
David Mehren
3542a0304c
Update setup docs and setup script for Yarn 3
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-03 12:09:40 +02:00
David Mehren
3d9607e83a
Add release notes for Yarn 3
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-03 12:09:40 +02:00
David Mehren
eddec26683
Add workspace-tools yarn plugin
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-03 12:09:40 +02:00
David Mehren
e918621167
Add interactive-tools yarn plugin
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-03 12:09:40 +02:00
David Mehren
adc03d5c8b
Update yarn.lock with Berry
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-03 12:09:40 +02:00
David Mehren
555d92ca8d
Switch to Yarn Berry
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-03 12:09:40 +02:00
renovate[bot]
a5c15a3645
fix(deps): update dependency aws-sdk to v2.1389.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-02 08:38:29 +02:00
renovate[bot]
553a784402
fix(deps): update dependency pdfobject to v2.2.12
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-02 03:49:07 +00:00
renovate[bot]
672c50c7f4
chore(deps): update dependency eslint-config-standard to v17.1.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-31 16:42:52 +02:00
renovate[bot]
60daf7a7f9
chore(deps): update dependency mkdocs-material to v9.1.15
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-29 18:41:42 +00:00
David Mehren
1a9cea0ec1
Update release notes for more supported node versions
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-05-29 11:23:21 +02:00
David Mehren
8a9f5b5c3a
Run CI for Node 18 & 20
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-05-29 11:23:21 +02:00
David Mehren
f6a28fb69b
Fix bin/setup checking outdated node requirements
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-05-29 11:23:21 +02:00
David Mehren
7b3b6ad7ac
Update supported node versions in docs
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-05-29 11:23:21 +02:00
David Mehren
6a916d060a
Make our Webpack config compatible with Node 18+
...
Node 18 and newer switched to OpenSSL 3, which does not support the MD4
hash algorithm.
Unfortunately, Webpack 4 hardcodes the use of MD4 at various places.
This leaves us no other option than to monkey-patch node to transform
calls to the MD4 hash to use SHA256.
References:
https://github.com/webpack/webpack/issues/14532
https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported/69691525#69691525
Signed-off-by: David Mehren <git@herrmehren.de>
2023-05-29 11:23:21 +02:00
David Mehren
b1928b77b4
fix(webpack): give reveal.js's marked.js a 'exports' variable
...
I really don't know why this breaks only in a production build, but this
evil
hack makes the script work again.
Closes https://github.com/hedgedoc/hedgedoc/issues/3862
Signed-off-by: David Mehren <git@herrmehren.de>
2023-05-28 19:16:32 +02:00
renovate[bot]
18fad4a6fa
fix(deps): update dependency aws-sdk to v2.1386.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-28 16:11:59 +02:00
renovate[bot]
cca73a6eda
fix(deps): update dependency winston to v3.9.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-28 16:11:47 +02:00
Julian Rother
2eb4c8e05f
Fix premature note cleanup on error
...
Connection forbidden errors cause cleanup of note state without first
checking if other clients are still connected to the note. This leads
to inconsistent pad content and changes not being saved properly.
This change reverts parts of 725e982
(Fix realtime on forbidden not clean
up properly ...). The call to `interruptConnection()` on permission errors
is redundant, since `failConnection()` and `disconnect()` already perform
all required cleanup in this case. The other call to `interruptConnection()`
only happens when a client (the first client for a note) disconnects while
the note is being loaded from the database. It is refactored for clarity.
Fixes #3894
Co-authored-by: David Mehren <git@herrmehren.de>
Signed-off-by: Julian Rother <julian@jrother.eu>
2023-05-28 16:10:51 +02:00
renovate[bot]
317f1f87f9
fix(deps): update dependency mysql2 to v3.3.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-27 19:15:00 +00:00
renovate[bot]
e65517e7d7
chore(deps): update dependency webpack-merge to v5.9.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-24 21:09:38 +02:00
renovate[bot]
d6dd657f19
fix(deps): update dependency minio to v7.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-24 19:09:16 +00:00
renovate[bot]
adacf58987
fix(deps): update dependency connect-session-sequelize to v7.1.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-23 10:03:03 +00:00
renovate[bot]
04e3e0647b
fix(deps): update dependency mysql2 to v3.3.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-23 06:27:36 +00:00
renovate[bot]
fef82610c1
chore(deps): update dependency eslint to v8.41.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-21 19:47:09 +02:00
renovate[bot]
29b35dac8b
fix(deps): update dependency aws-sdk to v2.1381.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-21 19:46:57 +02:00
renovate[bot]
7e1f25d873
chore(deps): update dependency mkdocs-material to v9.1.14
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-20 14:11:31 +00:00
renovate[bot]
43d34327bd
chore(deps): update dependency mkdocs-material to v9.1.13
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 23:44:57 +00:00
renovate[bot]
454c5d3177
chore(deps): update dependency jquery to v3.7.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 17:53:11 +02:00
renovate[bot]
e64407bc0c
fix(deps): update dependency aws-sdk to v2.1378.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 17:49:55 +02:00
renovate[bot]
d4a60ab0ec
chore(deps): update dependency remark-preset-lint-markdown-style-guide to v5.1.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 17:49:25 +02:00
renovate[bot]
169dec448e
chore(deps): update dependency eslint-plugin-n to v16
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 17:48:51 +02:00
renovate[bot]
85f07e8c16
fix(deps): update dependency pdfobject to v2.2.11
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 13:29:43 +00:00
renovate[bot]
cfdeab9bfb
chore(deps): update dependency pymdown-extensions to v10.0.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 12:02:44 +02:00
renovate[bot]
f45c0c3db6
chore(deps): update dependency pymdown-extensions to v10 [security]
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 11:59:09 +02:00
renovate[bot]
0eb630db62
fix(deps): update dependency pg to v8.11.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-15 18:17:15 +02:00
renovate[bot]
17d893e4f4
fix(deps): update dependency mysql2 to v3.2.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-14 19:17:55 +00:00
Tilman Vatteroth
cd83499bc0
chore: drop support for node 14
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-14 21:12:48 +02:00