Commit graph

286 commits

Author SHA1 Message Date
David Mehren
60f1c630e1
Merge pull request #1537 from hedgedoc/maint/remove_ws
Remove redundant `ws` dependency
2021-08-14 23:24:46 +02:00
Renovate Bot
0c8ac678a3
chore(deps): update dependency esbuild-loader to v2.15.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-08-14 14:07:29 +00:00
Renovate Bot
d7ec1404cf
chore(deps): update dependency eslint-plugin-import to v2.24.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-08-14 12:13:25 +00:00
David Mehren
9831a55287
Remove redundant ws dependency
`socket.io` already depends on `ws` and uses it by default.
The separate dependency to and initialization of `ws` sees to be
a relic of the past usage of `uws`, but is redundant now.

As documented in https://socket.io/docs/v2/server-initialization/#Notable-options,
`perMessageDeflate` is now `false` by default.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-08-14 12:52:12 +02:00
Renovate Bot
8bea370c3a
chore(deps): update dependency js-cookie to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-08-14 10:22:34 +00:00
Renovate Bot
25786de736
chore(deps): update dependency remark-preset-lint-markdown-style-guide to v5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-08-14 09:24:20 +00:00
renovate[bot]
7e3ed970e5
chore(deps): lock file maintenance (#1520)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 04:56:24 +00:00
renovate[bot]
fad7ae416b
chore(deps): update dependency mermaid to v8.11.4 (#1511)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-05 19:33:12 +00:00
Renovate Bot
91512bcc2c
chore(deps): update dependency remark-cli to v10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-08-05 07:56:50 +00:00
renovate[bot]
0a01ee314b
chore(deps): update dependency mermaid to v8.11.3 (#1506)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-04 19:06:46 +00:00
David Mehren
8ab173e994
Merge pull request #1475 from hedgedoc/renovate/master-lock-file-maintenance
chore(deps): lock file maintenance (master)
2021-08-01 18:58:24 +02:00
Renovate Bot
673c900bbb
chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-08-01 16:13:14 +00:00
Renovate Bot
657f2dc930
chore(deps): update dependency eslint to v7.32.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-08-01 16:11:46 +00:00
renovate[bot]
f00d785c7e
chore(deps): update dependency mermaid to v8.11.2 (#1481)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-01 15:52:02 +00:00
Renovate Bot
d51f06a386
chore(deps): update dependency mocha to v9.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-26 19:42:15 +00:00
Renovate Bot
3fc75616bb
chore(deps): update dependency eslint to v7.31.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-18 08:22:07 +00:00
Renovate Bot
4c522ffed7
chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 18:55:15 +00:00
Renovate Bot
3c1f177172
chore(deps): update dependency css-loader to v5.2.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 18:40:35 +00:00
Renovate Bot
936df7e067
chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-05 00:17:01 +00:00
Renovate Bot
67498905c1
chore(deps): update dependency mocha to v9.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-03 16:03:54 +00:00
Renovate Bot
93eb7e19af
chore(deps): update dependency prismjs to v1.24.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-03 11:59:29 +00:00
Renovate Bot
f40ad5b9a8
chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-03 08:38:43 +00:00
David Mehren
e9059e43dd
Merge pull request #1405 from hedgedoc/renovate/master-optimize-css-assets-webpack-plugin-6.x
chore(deps): update dependency optimize-css-assets-webpack-plugin to v6.0.1 (master)
2021-07-03 10:34:11 +02:00
Renovate Bot
7d38462650
chore(deps): update dependency mermaid to v8.11.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-03 08:29:40 +00:00
Renovate Bot
5b0466f45a
chore(deps): update dependency optimize-css-assets-webpack-plugin to v6.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-03 08:29:27 +00:00
David Mehren
2bec179272
Merge pull request #1412 from hedgedoc/renovate/master-prismjs-1.x
chore(deps): update dependency prismjs to v1.24.0 (master)
2021-07-03 10:28:11 +02:00
David Mehren
9553c7193b
Merge pull request #1422 from hedgedoc/renovate/master-linters
chore(deps): update dependency eslint to v7.30.0 (master)
2021-07-03 10:27:24 +02:00
Renovate Bot
b50005842e
chore(deps): update dependency prismjs to v1.24.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-03 08:16:59 +00:00
Renovate Bot
639a8bedd8
chore(deps): update dependency eslint to v7.30.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-03 08:16:30 +00:00
Renovate Bot
19c0125edf
chore(deps): update dependency mini-css-extract-plugin to v1.6.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-03 08:16:02 +00:00
Renovate Bot
cbf3c51edd
chore(deps): update dependency mocha to v9.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-03 08:03:11 +00:00
Renovate Bot
c8472b5823
chore(deps): update dependency turndown to v7.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-29 16:57:05 +00:00
Renovate Bot
bfa2eac7f5
chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 11:35:26 +00:00
Renovate Bot
26b8abe2a9
chore(deps): update dependency eslint to v7.29.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 20:29:58 +00:00
David Mehren
938afbddc3
Replace handlebars with string.replace
The html.hbs template does not contain any logic,
so we can replace the lib with good old string.replace calls.
This significantly reduces the bundle size, as we don't have to ship
a full template engine to the client.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-06-11 09:29:26 +02:00
Renovate Bot
33c1ce00e4
chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 19:30:50 +00:00
David Mehren
2cecb9184b
Merge pull request #1368 from hedgedoc/feature/remove_script_loader 2021-06-07 22:58:35 +02:00
David Mehren
bf3b45bc11
Uninstall script-loader
Signed-off-by: David Mehren <git@herrmehren.de>
2021-06-07 20:59:37 +02:00
David Mehren
fa1ed66088
Load abcjs from npm package
This also loads abcjs without script-loader.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-06-07 20:59:37 +02:00
David Mehren
bd62e79f7d
Load ot without script-loader
The ot library is tricky to load with Webpack, as it writes
it's functions into a global `ot` object and does not export anything.
I got it working using `exports-loader` to put the `ot` object
into a CommonJS export and then forcing Webpack to only
load using CommonJS.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-06-07 20:59:37 +02:00
David Mehren
5aeb7f4d0f
Merge pull request #1372 from hedgedoc/renovate/master-major-test-packages
chore(deps): update dependency mocha to v9 (master)
2021-06-07 19:23:46 +02:00
Renovate Bot
8136358f2f
chore(deps): update dependency webpack-cli to v4.7.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 17:05:37 +00:00
Renovate Bot
fe8122be8f
chore(deps): update dependency mocha to v9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 16:00:50 +00:00
David Mehren
8348a6bf10
Merge pull request #1364 from hedgedoc/renovate/master-webpack-merge-5.x
chore(deps): update dependency webpack-merge to v5.8.0 (master)
2021-06-07 17:57:05 +02:00
Renovate Bot
1cebed4838
chore(deps): update dependency webpack-merge to v5.8.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 15:49:00 +00:00
Renovate Bot
1665664c38
chore(deps): update dependency eslint to v7.28.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 15:48:39 +00:00
David Mehren
b8ab985cc7
Merge pull request #1356 from hedgedoc/renovate/master-mermaid-8.x
chore(deps): update dependency mermaid to v8.10.2 (master)
2021-06-07 17:47:25 +02:00
David Mehren
33e509b05e
Merge pull request #1351 from hedgedoc/renovate/master-highlight.js-10.x
chore(deps): update dependency highlight.js to v10.7.3 (master)
2021-06-07 17:47:20 +02:00
Renovate Bot
2a922cd339
chore(deps): update dependency mermaid to v8.10.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 15:43:09 +00:00
Renovate Bot
7c6201a051
chore(deps): update dependency highlight.js to v10.7.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 15:42:53 +00:00