Renovate Bot
8ad7108f6c
Update dependency mkdocs-material to v7.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 10:35:06 +00:00
David Mehren
3e161c612f
Merge pull request #1116 from hedgedoc/docs/hedgedoc-domain
...
Replace codimd.org link with hedgedoc.org
2021-04-08 22:33:44 +02:00
Erik Michelson
185c50b25f
Replace codimd.org link with hedgedoc.org
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-04-08 21:43:48 +02:00
David Mehren
d5fa101a3b
Merge pull request #1109 from hedgedoc/renovate/master-mini-css-extract-plugin-1.x
...
Update dependency mini-css-extract-plugin to v1.4.1 (master)
2021-04-07 16:34:29 +02:00
Renovate Bot
6c90f36169
Update dependency mini-css-extract-plugin to v1.4.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-07 13:04:02 +00:00
David Mehren
fc603dbb3a
Merge pull request #1104 from hedgedoc/renovate/master-lock-file-maintenance
...
Lock file maintenance (master)
2021-04-06 17:33:20 +02:00
Renovate Bot
416d8d5b5b
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-05 00:28:45 +00:00
Yannick Bungers
572affdfb6
Merge pull request #1101 from hedgedoc/add-missing-mkdocs-plugin
2021-04-04 22:09:35 +02:00
Yannick Bungers
48e736f3bf
Merge pull request #1102 from hedgedoc/fix-saml-docs
...
Fix emoji replacement in SAML docs
2021-04-04 22:08:29 +02:00
Tilman Vatteroth
5218a4f07f
Fix emoji replacement in SAML docs
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-04 16:30:46 +02:00
Tilman Vatteroth
53e3a816b1
Add missing footnote mkdocs extension
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-03 21:15:18 +02:00
Tilman Vatteroth
4a0b00d0a6
Replace Unicode character with emoji shortcode
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-03 21:14:53 +02:00
David Mehren
c093c67c67
Merge pull request #1091 from hedgedoc/improvement/add-hfm-docs
...
[Docs] Add "HedgeDoc flavored markdown" page
2021-04-03 14:12:17 +02:00
Tilman Vatteroth
f355cfc864
[Docs] Add "HedgeDoc flavored markdown" page
...
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-01 08:45:29 +02:00
David Mehren
4f73d3ab98
Merge pull request #1075 from hedgedoc/fix/featuresTags
...
Features.md: Change tag explanation
2021-03-31 20:48:53 +02:00
David Mehren
4f2dcbd16f
Merge pull request #1088 from hedgedoc/fix/remove-yahoo-csp
...
CSP: Remove yahoo domain from defaults
2021-03-31 20:42:06 +02:00
Erik Michelson
f948de1d48
Remove yahoo domain from default CSP rules
...
Signed-off-by: Erik Michelson <opensource@erik.michelson.eu>
2021-03-29 23:35:12 +02:00
Yannick Bungers
1534d7029b
Merge pull request #1079 from hedgedoc/fix/mimeTypes
2021-03-29 23:14:53 +02:00
Yannick Bungers
3a60f069cb
Merge pull request #1084 from hedgedoc/fix/double-freeurl-note-creation
2021-03-29 23:14:14 +02:00
David Mehren
bede2530cf
Merge pull request #1085 from hedgedoc/renovate/master-mkdocs-material-7.x
...
Update dependency mkdocs-material to v7.1.0 (master)
2021-03-29 23:12:22 +02:00
Erik Michelson
dcea082286
Add better logging messages
...
Signed-off-by: Erik Michelson <opensource@erik.michelson.eu>
2021-03-29 23:07:11 +02:00
Renovate Bot
53c83003ee
Update dependency mkdocs-material to v7.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:04:12 +00:00
David Mehren
0f59bf989d
Merge pull request #1080 from hedgedoc/renovate/master-lock-file-maintenance
...
Lock file maintenance (master)
2021-03-29 23:03:21 +02:00
David Mehren
74f3780b22
Merge pull request #1083 from hedgedoc/fix/unix_socket_cleanup
...
Properly clean up socket on exit
2021-03-29 23:01:32 +02:00
Erik Michelson
124b064252
Check for existing notes on POST and dont override them
...
Previously one could override notes in FreeURL-mode by sending multiple POST requests to the /new/<alias> endpoint. This commit adds a check for an already existing note with the requested alias and returns a HTTP 409 Conflict error in case that happens.
Signed-off-by: Erik Michelson <opensource@erik.michelson.eu>
2021-03-29 23:00:34 +02:00
Philip Molares
5dbe99b4c7
ImageUpload: Fix errors with .jpeg and .svg
...
This checks all files that claim to be an svg (by their extension) that they really are and defines the typeFromMagic accordingly
Files that got identified as jpg, but have the extension .jpeg get their extension fixed.
The files extensions will work in all cases now.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-29 22:38:42 +02:00
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