Commit graph

3027 commits

Author SHA1 Message Date
David Mehren
ebd180c8f9
Merge pull request #1142 from hedgedoc/renovate/master-css-loader-5.x
Update dependency css-loader to v5.2.2 (master)
2021-04-17 14:59:36 +02:00
Renovate Bot
780d6a5dff
Update dependency css-loader to v5.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-16 16:43:11 +00:00
David Mehren
ad9d1e3364
Merge pull request #1119 from hedgedoc/renovate/master-major-linters
Update dependency eslint-plugin-promise to v5 (master)
2021-04-15 22:23:28 +02:00
Renovate Bot
af82e760ed
Update dependency eslint-plugin-promise to v5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 20:13:31 +00:00
David Mehren
e7d3c35d4e
Merge pull request #1120 from hedgedoc/renovate/master-linters
Update dependency eslint to v7.24.0 (master)
2021-04-15 22:12:34 +02:00
Renovate Bot
92a484224f
Update dependency eslint to v7.24.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 20:05:50 +00:00
Yannick Bungers
81bd7f7349
Merge pull request #1118 from hedgedoc/renovate/master-css-loader-5.x
Update dependency css-loader to v5.2.1 (master)
2021-04-15 22:04:55 +02:00
Renovate Bot
95d1385560
Update dependency css-loader to v5.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-13 20:01:39 +00:00
Yannick Bungers
c4a523e7d6
Merge pull request #1123 from hedgedoc/renovate/master-mkdocs-material-7.x
Update dependency mkdocs-material to v7.1.1 (master)
2021-04-13 22:01:15 +02:00
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