Commit graph

3044 commits

Author SHA1 Message Date
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
David Mehren
b47f1e80b4
Add docs about troubleshooting migrations
Signed-off-by: David Mehren <git@herrmehren.de>
2021-03-03 12:38:44 +01:00
David Mehren
0db862f3c9
Run database migrations automatically on startup
This commit removes the need for separate migrations with the sequelize-cli
by running them with umzug on application startup.

This is a port of #384

Co-authored-by: Sheogorath <sheogorath@shivering-isles.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-27 21:33:05 +01:00
David Mehren
6186e0f48f
Merge pull request #962 from hedgedoc/renovate/master-mkdocs-material-7.x
Update dependency mkdocs-material to v7.0.3 (master)
2021-02-26 18:45:56 +01:00
Renovate Bot
6798ee9056
Update dependency mkdocs-material to v7.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-26 16:07:38 +00:00
David Mehren
d98393e431
Merge pull request #889 from hedgedoc/renovate/master-uuid-8.x 2021-02-25 20:49:03 +01:00
David Mehren
dc702a1597
Merge pull request #945 from hedgedoc/renovate/master-mkdocs-material-7.x
Update dependency mkdocs-material to v7 (master)
2021-02-25 20:45:50 +01:00
Renovate Bot
c97530fcf0
Update dependency mkdocs-material to v7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-25 19:10:35 +00:00
David Mehren
fbbc72ad13
Merge pull request #955 from hedgedoc/renovate/master-mini-css-extract-plugin-1.x
Update dependency mini-css-extract-plugin to v1.3.9 (master)
2021-02-25 20:09:40 +01:00
Renovate Bot
60b689a56b
Update dependency mini-css-extract-plugin to v1.3.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-25 19:02:35 +00:00
David Mehren
7215cfab50
Merge pull request #954 from hedgedoc/renovate/master-css-loader-5.x
Update dependency css-loader to v5.1.0 (master)
2021-02-25 20:01:52 +01:00
Renovate Bot
be5872004a
Update dependency css-loader to v5.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-25 16:12:37 +00:00
David Mehren
090d4178d9
Merge pull request #926 from hedgedoc/1.x/note-nonexistent-404
Add HTTP 404 error on actions for non-existent notes
2021-02-19 11:57:11 +01:00
David Mehren
50b8c73f4e
Merge pull request #930 from hedgedoc/renovate/master-mini-css-extract-plugin-1.x
Update dependency mini-css-extract-plugin to v1.3.8 (master)
2021-02-18 21:18:23 +01:00
Renovate Bot
2af4b8d3cc
Update dependency mini-css-extract-plugin to v1.3.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-18 19:47:09 +00:00
David Mehren
506d45d196
Merge pull request #929 from hedgedoc/renovate/master-html-webpack-plugin-4.x
Update dependency html-webpack-plugin to v4.5.2 (master)
2021-02-18 20:46:19 +01:00
Renovate Bot
a61d2b8260
Update dependency html-webpack-plugin to v4.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-18 15:06:27 +00:00
Erik Michelson
7e597226ec
Add HTTP 404 error on non-existent note downloads
When FreeURL mode is enabled and you called the /download route, the note was created and the user redirected to the blank note.
This is caused because the findNote method automatically creates a note when no existing one is found.
This commit adds a new parameter to the findNote method which allows to disable this behaviour. In that case a HTTP 404 error will be returned.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-02-17 22:02:47 +01:00
David Mehren
929ceca20f
Merge pull request #914 from hedgedoc/renovate/master-lock-file-maintenance
Lock file maintenance (master)
2021-02-16 22:42:48 +01:00
David Mehren
67cb3c89f5
Use new uuid export
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-16 22:25:38 +01:00
Renovate Bot
b9ae440d53
Update dependency uuid to v8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 22:25:36 +01:00
Renovate Bot
d4026855dc
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 21:17:12 +00:00
David Mehren
a4b0976ab7
Merge pull request #888 from hedgedoc/renovate/master-turndown-7.x 2021-02-16 22:15:42 +01:00
David Mehren
0f7f11e4f3
Fix HTML clipboard import
jQuery's .html() method escapes contained text (e.g. '<' becomes
'&lt;'). This confuses the turndown parser, which then only performs
unescaping, but does not convert to markdown.
By using .text() instead, the unescaped content is returned and turndown
can correctly generate markdown.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-16 22:06:45 +01:00
Renovate Bot
27ffe2515b
Update dependency turndown to v7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 22:06:45 +01:00
David Mehren
da3d51ba6f
Merge pull request #917 from hedgedoc/renovate/master-mini-css-extract-plugin-1.x
Update dependency mini-css-extract-plugin to v1.3.7 (master)
2021-02-16 20:25:12 +01:00
Renovate Bot
02d9799c5e
Update dependency mini-css-extract-plugin to v1.3.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:16:17 +00:00
David Mehren
59819be34c
Merge pull request #872 from hedgedoc/renovate/master-major-linters 2021-02-16 20:15:15 +01:00
Philip Molares
136d895d15 Linter: Fix all lint errors
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-15 12:15:14 +01:00
Renovate Bot
b0a45bdf9c
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 19:16:36 +00:00
David Mehren
6b8fa94402
Merge pull request #859 from hedgedoc/renovate/master-markdown-it-mark-3.x
Update dependency markdown-it-mark to v3 (master)
2021-02-13 20:15:44 +01:00
Renovate Bot
f0d0070b46
Update dependency markdown-it-mark to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 19:05:07 +00:00
Yannick Bungers
b01421c470
Merge pull request #841 from hedgedoc/renovate/master-ejs-3.x 2021-02-13 20:03:45 +01:00
David Mehren
7c6abe09b7
Merge pull request #858 from hedgedoc/renovate/master-markdown-it-ins-3.x
Update dependency markdown-it-ins to v3 (master)
2021-02-13 19:44:01 +01:00
Renovate Bot
eaaa929dd2
Update dependency markdown-it-ins to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 18:34:59 +00:00
David Mehren
5ad05a97bc
Merge pull request #857 from hedgedoc/renovate/master-markdown-it-emoji-2.x
Update dependency markdown-it-emoji to v2 (master)
2021-02-13 19:33:44 +01:00
Renovate Bot
669c581cd7
Update dependency markdown-it-emoji to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 18:05:52 +00:00
David Mehren
c8eab63778
Merge pull request #855 from hedgedoc/renovate/master-markdown-it-container-3.x
Update dependency markdown-it-container to v3 (master)
2021-02-13 19:04:47 +01:00
Renovate Bot
9a3b02a7ae
Update dependency markdown-it-container to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 17:56:13 +00:00
David Mehren
dc89764894
Merge pull request #854 from hedgedoc/renovate/master-markdown-it-12.x
Update dependency markdown-it to v12 (master)
2021-02-13 18:54:51 +01:00
Renovate Bot
aa101fd3da
Update dependency markdown-it to v12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 17:24:00 +00:00
David Mehren
7d813162c9
Merge pull request #846 from hedgedoc/renovate/master-highlight.js-10.x
Update dependency highlight.js to v10 (master)
2021-02-13 18:22:53 +01:00
Renovate Bot
391316fef9
Update dependency highlight.js to v10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 17:07:59 +00:00
David Mehren
6c0b200698
Merge pull request #845 from hedgedoc/renovate/master-helmet-4.x
Update dependency helmet to v4 (master)
2021-02-13 18:06:56 +01:00
Renovate Bot
453faf21e9
Update dependency helmet to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:01:13 +00:00
David Mehren
3b4f96bd4d
Merge pull request #884 from hedgedoc/renovate/master-sequelize-cli-6.x
Update dependency sequelize-cli to v6 (master)
2021-02-13 17:00:00 +01:00
Renovate Bot
18b3a98f23
Update dependency sequelize-cli to v6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 23:00:55 +00:00
David Mehren
f3b733dd40
Merge pull request #885 from hedgedoc/renovate/master-spin.js-4.x 2021-02-12 23:57:34 +01:00
David Mehren
788e7d460a
Update webpack config and JS import for spin.js v4
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-12 23:47:58 +01:00