David Mehren
6501e62557
Properly clean up socket on exit
...
`file.unlink` requires a callback, which we didn't set.
This commit adds a callback with (error) logging, enabling HedgeDoc
to properly clean up the socket.
Closes #784
Signed-off-by: David Mehren <git@herrmehren.de>
2021-03-29 22:23:09 +02:00
Renovate Bot
92f3b523e7
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 00:04:54 +00:00
Philip Molares
be3eee1603
Config: Remove image/jpg
...
This was done because both .jpg and .jpeg get the mime type 'image/jpeg' by FileType
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-28 22:28:35 +02:00
Philip Molares
fdb04a3655
Dependency: Add is-svg
...
This is used to check if .svg files really are svg.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-28 22:26:36 +02:00
David Mehren
6531ea1a21
Merge pull request #1070 from hedgedoc/renovate/master-linters
...
Update dependency eslint to v7.23.0 (master)
2021-03-28 20:47:35 +02:00
Renovate Bot
54d735adca
Update dependency eslint to v7.23.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 18:35:44 +00:00
David Mehren
8252e10f52
Merge pull request #1077 from hedgedoc/renovate/master-mkdocs-material-7.x
...
Update dependency mkdocs-material to v7.0.7 (master)
2021-03-28 20:34:15 +02:00
David Mehren
396e4a10a4
Merge pull request #1074 from hedgedoc/renovate/master-webpack-cli-4.x
...
Update dependency webpack-cli to v4.6.0 (master)
2021-03-28 20:34:08 +02:00
David Mehren
b3f9a1bab8
Merge pull request #1069 from hedgedoc/renovate/master-mini-css-extract-plugin-1.x
...
Update dependency mini-css-extract-plugin to v1.4.0 (master)
2021-03-28 20:34:01 +02:00
David Mehren
b1b76af1d2
Merge pull request #1061 from hedgedoc/renovate/master-css-loader-5.x
...
Update dependency css-loader to v5.2.0 (master)
2021-03-28 20:33:08 +02:00
Philip Molares
82aa36177f
Features.md: Change tag explanation
...
Explain tags in the features.md with yaml metadata, instead of the
heading syntax.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-28 19:02:30 +02:00
Renovate Bot
48568d8ef4
Update dependency mkdocs-material to v7.0.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 14:19:17 +00:00
Renovate Bot
f1b2cf779b
Update dependency webpack-cli to v4.6.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-27 16:07:02 +00:00
Renovate Bot
359e80bd98
Update dependency mini-css-extract-plugin to v1.4.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-26 19:59:24 +00:00
Renovate Bot
504a796cda
Update dependency css-loader to v5.2.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-25 11:19:38 +00:00
David Mehren
5883e8ea57
Merge pull request #1053 from hedgedoc/renovate/master-lock-file-maintenance
...
Lock file maintenance (master)
2021-03-25 12:18:36 +01:00
Renovate Bot
5bbaee9d26
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-22 01:14:43 +00:00
David Mehren
2ea40bb98d
Merge pull request #1022 from hedgedoc/fix/translate
...
[1.x] Templates: Remove lang and add translation parameter
2021-03-18 21:36:24 +01:00
David Mehren
12937ed087
Merge pull request #1034 from hedgedoc/renovate/master-css-loader-5.x
...
Update dependency css-loader to v5.1.3 (master)
2021-03-17 11:09:31 +01:00
Philip Molares
8e6aab0145
Templates: Remove lang and add translation parameter
...
Since the interface is not always in english, we mostly removed the lang attribute from all html tags. Since the error messages in error.ejs are not translated, but always in english, there the global lang="en" should be kept.
Also in the slide and editor template the div, which contains the user generated text, has the attribute translate="no" now, to avoid unwanted translations.
Since on the publish view (pretty.ejs) only the user generated content is shown, we set the lang to the language defined in yaml (or 'en') as a default, but that was also moved to the corresponding markdown div instead of html.
Fixes #881
See also #437
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-16 10:48:44 +01:00
Renovate Bot
0b2d7d2cbb
Update dependency css-loader to v5.1.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-15 20:33:24 +00:00
David Mehren
cddbe57e76
Merge pull request #1025 from hedgedoc/1.x/replace-request
...
[1.x] Dependencies: Replace deprecated request library with node-fetch
2021-03-15 21:32:33 +01:00
David Mehren
35d740430b
Merge pull request #1013 from hedgedoc/renovate/master-lock-file-maintenance
...
Lock file maintenance (master)
2021-03-15 08:53:46 +01:00
Renovate Bot
7781306602
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 18:12:32 +00:00
David Mehren
205c2c8897
Merge pull request #1028 from hedgedoc/renovate/master-linters
...
Update dependency eslint to v7.22.0 (master)
2021-03-14 19:11:00 +01:00
Renovate Bot
a2a813d64a
Update dependency eslint to v7.22.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 18:03:39 +00:00
David Mehren
84e20db4c3
Merge pull request #1027 from hedgedoc/renovate/master-test-packages
...
Update dependency mocha to v8.3.2 (master)
2021-03-14 19:01:13 +01:00
David Mehren
315c0a8159
Merge pull request #1020 from hedgedoc/renovate/master-css-loader-5.x
...
Update dependency css-loader to v5.1.2 (master)
2021-03-14 19:00:31 +01:00
Renovate Bot
aea402e0d6
Update dependency mocha to v8.3.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 16:16:40 +00:00
Renovate Bot
f06a4642ea
Update dependency css-loader to v5.1.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 16:16:10 +00:00
David Mehren
c32ed95b55
Merge pull request #1029 from hedgedoc/renovate/master-mkdocs-material-7.x
...
Update dependency mkdocs-material to v7.0.6 (master)
2021-03-14 17:15:10 +01:00
Renovate Bot
01bcfc499b
Update dependency mkdocs-material to v7.0.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 14:36:35 +00:00
Erik Michelson
731fb24500
Replace request library with node-fetch
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-03-12 22:27:49 +01:00
David Mehren
91846ac9a6
Merge pull request #976 from hedgedoc/renovate/master-lock-file-maintenance
...
Lock file maintenance (master)
2021-03-07 22:44:31 +01:00
Renovate Bot
1f93a795fa
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 21:37:50 +00:00
David Mehren
c99c69d860
Merge pull request #996 from hedgedoc/renovate/master-test-packages
...
Update dependency mocha to v8.3.1 (master)
2021-03-07 22:36:05 +01:00
Renovate Bot
d87b12a2d2
Update dependency mocha to v8.3.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 21:14:55 +00:00
David Mehren
99619d486d
Merge pull request #1010 from hedgedoc/renovate/master-mkdocs-material-7.x
...
Update dependency mkdocs-material to v7.0.5 (master)
2021-03-07 22:13:55 +01:00
Renovate Bot
7a6d9752bd
Update dependency mkdocs-material to v7.0.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 19:03:55 +00:00
David Mehren
d764b696df
Merge pull request #997 from hedgedoc/docs/remove_sequelizerc
2021-03-06 17:31:11 +01:00
David Mehren
4e5ff6f075
Update link to config docs in setup script
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-03-06 10:36:24 +01:00
David Mehren
73a83f3ed6
Add release notes entry for #969
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-03-06 10:35:34 +01:00
David Mehren
bf0a7ebee7
Remove .sequelizerc
...
After https://github.com/hedgedoc/hedgedoc/pull/969 was merged,
a separate configuration file for the sequelize-cli is no longer
required.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-03-06 10:34:22 +01:00
David Mehren
4c9fc63884
Merge pull request #973 from hedgedoc/renovate/master-linters
...
Update dependency eslint to v7.21.0 (master)
2021-03-05 20:32:36 +01:00
Renovate Bot
04240ba4e3
Update dependency eslint to v7.21.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-05 19:26:00 +00:00
David Mehren
65c7b69db9
Merge pull request #985 from hedgedoc/renovate/master-mkdocs-material-7.x
...
Update dependency mkdocs-material to v7.0.4 (master)
2021-03-05 20:23:23 +01:00
David Mehren
eaecb48e11
Merge pull request #979 from hedgedoc/renovate/master-css-loader-5.x
...
Update dependency css-loader to v5.1.1 (master)
2021-03-05 20:22:33 +01:00
Renovate Bot
b70ce530ca
Update dependency mkdocs-material to v7.0.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-04 19:35:19 +00:00
Renovate Bot
c0d703e2b3
Update dependency css-loader to v5.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-04 19:34:21 +00:00
David Mehren
64a2fb8be7
Merge pull request #969 from hedgedoc/feature/port_automated_migrations
2021-03-04 20:33:30 +01:00