Commit graph

3130 commits

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