Commit graph

3938 commits

Author SHA1 Message Date
renovate[bot]
49bd1c1427 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-19 04:40:02 +00:00
renovate[bot]
4e187928b6 chore(deps): update dependency eslint to v8.30.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 18:46:15 +01:00
renovate[bot]
b4f238daa9 chore(deps): update dependency jquery to v3.6.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 06:17:02 +00:00
renovate[bot]
ef79df1887 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-12 03:32:47 +00:00
renovate[bot]
5f9052eea4 chore(deps): update dependency mocha to v10.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-11 22:43:19 +01:00
renovate[bot]
3e05ab3a07 chore(deps): update dependency eslint-plugin-n to v15.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-11 22:10:58 +01:00
renovate[bot]
ff3e675d6a chore(deps): update dependency eslint-plugin-n to v15.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-10 03:39:55 +00:00
renovate[bot]
7720d7a49e chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-05 04:19:58 +00:00
renovate[bot]
3c810a6f18 chore(deps): update dependency eslint to v8.29.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-04 21:19:03 +01:00
VaiTon
0dfe793b1c docs: fix keycloak documentation
This PR https://github.com/hedgedoc/hedgedoc/pull/2810 introduced a bug when using some OIDC providers. 

The environment variabiles in the compose files are already escaped and the quoted text get sent to the OIDC provider, that fails to parse it.



Signed-off-by: VaiTon <eyadlorenzo@gmail.com>
2022-12-04 20:59:33 +01:00
renovate[bot]
2ecea8a845 chore(deps): update dependency mkdocs-material to v8.5.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-03 04:55:51 +00:00
renovate[bot]
5e9aa4c020 chore(deps): update dependency pymdown-extensions to v9.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-27 21:23:13 +01:00
Erik Michelson
9229fb2d90 chore(changelog): add bugfix entry in changelog
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-11-27 20:51:37 +01:00
Erik Michelson
0a9939cfb4 fix(user-export): sanitize filenames in zip properly
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-11-27 20:51:37 +01:00
renovate[bot]
2342587b98 chore(deps): update dependency pymdown-extensions to v9.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-20 18:48:30 +01:00
renovate[bot]
8c623b4e82 chore(deps): update dependency eslint to v8.28.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-20 18:30:49 +01:00
renovate[bot]
f55fdcac0b chore(deps): update dependency abcjs to v6.1.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-19 02:20:43 +00:00
Vojtěch Káně
e6d6650d04 docs: fixed link to history writeup on index page
Signed-off-by: Vojtěch Káně <vojtech.kane@gmail.com>
2022-11-18 10:32:30 +01:00
renovate[bot]
b8d23c79f3 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-14 05:23:57 +00:00
renovate[bot]
1e666d056e chore(deps): update dependency mkdocs-material to v8.5.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-12 07:29:18 +00:00
renovate[bot]
3ef73f051c chore(deps): update dependency eslint-plugin-n to v15.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-12 05:18:17 +00:00
renovate[bot]
c1656aef25 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-07 01:13:19 +00:00
David Mehren
9ad995d0f6 Update yarn.lock
Signed-off-by: David Mehren <git@herrmehren.de>
2022-11-06 23:10:59 +01:00
David Mehren
6bad318c35 Bump version to 1.9.6
Signed-off-by: David Mehren <git@herrmehren.de>
2022-11-06 23:10:59 +01:00
David Mehren
5f988de6a2 docs: update release notes
Signed-off-by: David Mehren <git@herrmehren.de>
2022-11-06 22:24:48 +01:00
David Mehren
f606a7825f refactor(migrations): move cleanup code into migration
We cannot execute the cleanup script as a subprocess with sqlite,
as we now wrap the migrations in a SAVEPOINT, which blocks a second
process.

This moves the cleanup code into the migration file, so it can be
executed in-process.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-11-06 22:24:48 +01:00
David Mehren
c83eb7ec7e style(migrations): fix formatting errors
Signed-off-by: David Mehren <git@herrmehren.de>
2022-11-06 22:24:48 +01:00
Philip Molares
638c2f6740 fix(migrations): don't run with foreign keys activated
This PR deactivates and reactivates the foreign_keys in the DB for the duration of all migrations.
This prevents a cascade of deletion, when table columns are changed and tables get recreated by sequelize.

Fixes #2809

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-11-06 22:24:48 +01:00
Philip Molares
912bea3e23 docs: add changelog entry about migration fix
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-11-06 22:24:48 +01:00
Sheogorath
cf7712639a chore: update mastodon badge
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2022-11-06 21:39:32 +01:00
renovate[bot]
f6d0496e1e chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-06 21:39:09 +01:00
Sheogorath
f98a96eaa6 docs: Fix keycloak guide
Since Keycloak version 20.0.0 it's needed to explicitly request the
openid scope. Since we define it anyway, why not request all the scopes
hedgedoc needs to function.

This patch should help to fix people's HedgeDoc deployments.

References:
https://github.com/keycloak/keycloak/pull/14237
https://shivering-isles.com/fixing-hedgedoc-profile-info-keycloak-20

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2022-11-06 21:38:27 +01:00
renovate[bot]
81ca171895 chore(deps): update dependency mkdocs-material to v8.5.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-05 06:18:39 +00:00
renovate[bot]
99908efa01 chore(deps): update dependency mkdocs to v1.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-05 03:51:30 +00:00
renovate[bot]
59191b1529 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-31 06:33:00 +00:00
David Mehren
63f33f1737 Fix express deprecation warning
Signed-off-by: David Mehren <git@herrmehren.de>
2022-10-30 22:15:16 +01:00
David Mehren
bed9835d36 Add contributors and update AUTHORS
Signed-off-by: David Mehren <git@herrmehren.de>
2022-10-30 22:15:16 +01:00
David Mehren
d4f1a1b6bf Import translations from POEditor
Signed-off-by: David Mehren <git@herrmehren.de>
2022-10-30 22:15:16 +01:00
David Mehren
50cac714ce Bump version and update release notes
Signed-off-by: David Mehren <git@herrmehren.de>
2022-10-30 22:15:16 +01:00
David Mehren
0bb1e92324 Update yarn.lock
Signed-off-by: David Mehren <git@herrmehren.de>
2022-10-30 22:15:16 +01:00
David Mehren
c5b9882432 Update dependencies
Signed-off-by: David Mehren <git@herrmehren.de>
2022-10-30 22:15:16 +01:00
renovate[bot]
57759cc407 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-24 04:43:04 +00:00
renovate[bot]
ddf8edd699 chore(deps): update dependency pymdown-extensions to v9.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-23 21:19:55 +02:00
renovate[bot]
109ec19bcc chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 12:14:01 +02:00
renovate[bot]
79cc175c99 chore(deps): update dependency mkdocs-material to v8.5.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 05:55:21 +00:00
renovate[bot]
47b1bb6b6d chore(deps): update dependency mocha to v10.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-18 23:30:08 +02:00
renovate[bot]
56d4c402bd chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-17 05:37:30 +00:00
Yannick Bungers
14534ee884 Update lockfile
Signed-off-by: Yannick Bungers <git@innay.de>
2022-10-16 21:05:34 +02:00
David Mehren
e2b0117c3e Fix missing syntax highlighting in the markdown editor
In e17cc644 the Webpack build process for CodeMirror was changed.
For unknown reasons, not all plugins and modes were added.
This adds all plugins currently enabled in
https://github
.com/hedgedoc/CodeMirror/blob/951b3d94bb5ad9ac7b44642adbe595e843390506/release.sh

Signed-off-by: David Mehren <git@herrmehren.de>
2022-10-16 21:05:34 +02:00
David Mehren
58e3dacd61 Update to v5.65.9 of our CodeMirror fork
Signed-off-by: David Mehren <git@herrmehren.de>
2022-10-16 21:05:34 +02:00