Commit graph

2962 commits

Author SHA1 Message Date
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
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
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
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