David Mehren
87c83dcba5
Merge pull request #1246 from hedgedoc/fix/heroku_pg_ssl
...
Ignore Postgres SSL errors on Heroku
2021-05-09 14:59:29 +02:00
David Mehren
24883f7d99
Merge pull request #1241 from hedgedoc/renovate/master-test-packages
...
Update dependency mocha to v8.4.0 (master)
2021-05-09 14:46:02 +02:00
David Mehren
396e651254
Merge pull request #1247 from hedgedoc/renovate/master-linters
...
Update dependency eslint to v7.26.0 (master)
2021-05-09 14:45:31 +02:00
Renovate Bot
e7110c6305
Update dependency mocha to v8.4.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-09 12:40:58 +00:00
Renovate Bot
165327ad59
Update dependency eslint to v7.26.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-09 12:40:44 +00:00
David Mehren
f545fbd9a1
Merge pull request #1250 from hedgedoc/renovate/master-pymdown-extensions-8.x
...
Update dependency pymdown-extensions to v8.2 (master)
2021-05-09 14:39:48 +02:00
Renovate Bot
1d5cd3cdc9
Update dependency pymdown-extensions to v8.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-08 17:26:14 +00:00
Yannick Bungers
db50bdf919
Merge pull request #1249 from hedgedoc/adjustSetup
...
Docs: Add mention to install devDependencies
2021-05-08 16:07:10 +02:00
Philip Molares
a4b4ebd80c
Docs: Add mention to install devDependencies
...
Before `yarn build` can be succesfully run, we need to install the devDependencies.
This is necessary, because `bin/setup` does not install the devDependencies…
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-05-08 13:47:31 +02:00
David Mehren
86be1243f8
Ignore Postgres SSL errors on Heroku
...
The connection to Heroku's Postgres instances must use SSL,
but not check the certificate.
This adds the necessary configuration to the Heroku setup script.
Fixes #1245
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-07 21:43:06 +02:00
David Mehren
3e836d815b
Fix typo in release notes
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-06 22:37:47 +02:00
David Mehren
71841d7d35
Merge pull request #1239 from hedgedoc/release/1.8.1
2021-05-06 22:31:39 +02:00
David Mehren
a897ef7dea
Update example config
...
The development config now runs on http://localhost:3000 out-of-the-box.
The production config now makes clear that domain should be changed.
Both configs don't include `"linkifyHeaderStyle": "gfm"` anymore
to make the links on the homepage work.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-06 22:24:02 +02:00
David Mehren
0555d01f4a
Bump version to 1.8.1
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-06 22:24:02 +02:00
David Mehren
62452cda9a
Update maintainers list
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-06 22:24:02 +02:00
David Mehren
1b1b328d49
Add release notes for 1.8.1
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-06 22:24:02 +02:00
David Mehren
2c12feb127
Fix 1.8.0 changelog
...
CVE-2021-29475 has been fixed since
HedgeDoc 1.5.0, instead of 1.6.0
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-06 21:34:30 +02:00
David Mehren
d9604ce134
Merge pull request #1240 from hedgedoc/renovate/master-pin-dependencies
...
Pin dependencies (master)
2021-05-06 21:34:04 +02:00
Renovate Bot
3a8b4c9634
Pin dependencies
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-06 19:28:40 +00:00
David Mehren
4625276ef7
Merge pull request #1227 from hedgedoc/enhancement/esbuild
...
Use esbuild to minify frontend JS
2021-05-06 21:27:33 +02:00
David Mehren
c243859c45
Merge pull request #1237 from hedgedoc/renovate/master-mkdocs-material-7.x
...
Update dependency mkdocs-material to v7.1.4 (master)
2021-05-06 21:26:47 +02:00
David Mehren
dfaa6b25a7
Merge pull request #1236 from hedgedoc/renovate/master-webpack-cli-4.x
...
Update dependency webpack-cli to v4.7.0 (master)
2021-05-06 21:26:07 +02:00
David Mehren
cec032d151
Merge pull request #1223 from hedgedoc/fix/useSSL
...
Automatically enable protocolUseSSL when useSSL is set
2021-05-06 21:24:49 +02:00
David Mehren
aece96f539
Automatically enable protocolUseSSL when useSSL is set
...
This makes the behavior consistent with the docs and
saves the user from having to both set
`useSSL` and `protocolUseSSL`.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-06 21:19:14 +02:00
David Mehren
140b2c261c
Merge pull request #1222 from hedgedoc/fix/upgrade_insecure_requests
...
Fix upgradeInsecureRequests CSP directive
2021-05-06 21:18:46 +02:00
David Mehren
dc1f621eb8
Merge pull request #1233 from hedgedoc/fix/insertOnStartOfLines
...
Fix insertOnStartOfLines behaviour
2021-05-06 21:16:22 +02:00
David Mehren
41c86d1cf1
Use esbuild to minify frontend JS
...
This speeds up build times massively
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-06 21:13:56 +02:00
Renovate Bot
24e2f62f1c
Update dependency webpack-cli to v4.7.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-06 19:10:17 +00:00
Renovate Bot
0ec7daf5f7
Update dependency mkdocs-material to v7.1.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-06 19:09:54 +00:00
David Mehren
ad7fadee17
Merge pull request #1226 from hedgedoc/enhancement/devDependencies
2021-05-06 21:08:44 +02:00
David Mehren
9d3902d208
Merge pull request #1234 from hedgedoc/fix/numbered-task-lists
...
Fix click handler for numbered task lists
2021-05-06 21:07:21 +02:00
Erik Michelson
7f8be22e97
Fix click handler for numbered task lists
...
The regex for tasklists in 1.x didn't include upper-case x/X letters nor ordered lists (1. [ ] abc).
This commit changes the regex to allow both.
Signed-off-by: Erik Michelson <opensource@erik.michelson.eu>
2021-05-05 23:34:03 +02:00
David Mehren
e4b2b6ff73
Fix insertOnStartOfLines behaviour
...
A bug in insertOnStartOfLines lead to duplicated text,
if the cursor was not at the start of a line.
This fixes the behaviour of insertOnStartOfLines to always use
the complete first and last line of the selection,
even if they were only partially selected.
Fixes #1231
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-05 22:57:49 +02:00
David Mehren
926493a983
Only install production dependencies in bin/setup
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-05 15:38:00 +02:00
David Mehren
317aba65d8
Move frontend-only deps to devDependencies
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-05 13:35:14 +02:00
David Mehren
0b61f48129
Fix upgradeInsecureRequests CSP directive
...
The `upgradeInsecureRequests` option of Helmets CSP middleware
was a boolean in Helmet 3, but with Helmet 4,
everything changed to lists.
This commit adjusts the addUpgradeUnsafeRequestsOptionTo
function accordingly.
Closes #1221
See also https://github.com/helmetjs/helmet/tree/v4.6.0/middlewares/content-security-policy
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-04 11:10:53 +02:00
David Mehren
f48e36d205
Merge pull request #1219 from hedgedoc/release/1.8.0
2021-05-03 22:49:15 +02:00
David Mehren
e6d4ac5f9a
Remove mention of .sequelizerc from docs
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-03 22:26:08 +02:00
David Mehren
73e26e1d2d
Bump version to 1.8.0
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-03 22:26:08 +02:00
David Mehren
30a91b6fd7
Add release notes for 1.8.0
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-03 22:26:08 +02:00
Yannick Bungers
9d08eaec8f
Merge pull request #1213 from hedgedoc/renovate/master-lock-file-maintenance
...
Lock file maintenance (master)
2021-05-03 21:31:51 +02:00
Renovate Bot
de96462bc2
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 19:25:15 +00:00
Yannick Bungers
c6590a84ed
Merge pull request #1218 from hedgedoc/maintenance/master/update_meta-marked
...
Update meta-marked
2021-05-03 21:21:47 +02:00
David Mehren
287928e8a8
Merge pull request #1210 from hedgedoc/renovate/master-mini-css-extract-plugin-1.x
...
Update dependency mini-css-extract-plugin to v1.6.0 (master)
2021-05-03 21:08:28 +02:00
David Mehren
d029d0bf41
Update meta-marked in yarn.lock
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-03 18:19:06 +02:00
Renovate Bot
5d8a499d52
Update dependency mini-css-extract-plugin to v1.6.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-30 12:46:00 +00:00
Yannick Bungers
f5d8d26728
Merge pull request #1204 from hedgedoc/renovate/master-mini-css-extract-plugin-1.x
...
Update dependency mini-css-extract-plugin to v1.5.1 (master)
2021-04-29 16:46:08 +02:00
Renovate Bot
ae71297ae1
Update dependency mini-css-extract-plugin to v1.5.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 14:18:36 +00:00
David Mehren
90a8aebb71
Merge pull request #1191 from hedgedoc/release/1.8.0-rc1
2021-04-26 22:20:57 +02:00
Erik Michelson
0d943d1284
Extract list of supported languages in separate file
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-04-26 21:45:31 +02:00