Commit graph

3059 commits

Author SHA1 Message Date
Renovate Bot
7c35ce5b49
Update dependency list.js to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 19:49:17 +00:00
David Mehren
7f5ceaa496
Merge pull request #830 from hedgedoc/renovate/master-major-remark-monorepo
Update remark monorepo (master) (major)
2021-02-09 20:41:13 +01:00
David Mehren
ab4108810e
Merge pull request #843 from hedgedoc/renovate/master-file-saver-2.x
Update dependency file-saver to v2 (master)
2021-02-09 20:40:50 +01:00
David Mehren
b468fb623b
Switch to ejs 3 compliant imports
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-09 20:27:39 +01:00
Renovate Bot
554a1db487
Update remark monorepo
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 19:09:07 +00:00
Renovate Bot
5a2918d855
Update dependency file-saver to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 19:04:33 +00:00
Renovate Bot
fcc4efb8db
Update dependency ejs to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 19:04:17 +00:00
David Mehren
1a22e89d88
Merge pull request #837 from hedgedoc/renovate/master-connect-session-sequelize-7.x 2021-02-09 20:03:05 +01:00
Renovate Bot
f2e7361119
Update dependency connect-session-sequelize to v7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 18:06:28 +00:00
David Mehren
073d390662
Merge pull request #860 from hedgedoc/maint/more-loader-upgrades 2021-02-09 19:05:13 +01:00
David Mehren
09a3f86c83
Merge pull request #863 from hedgedoc/fix/sequelize-dialect-link
Fix link to sequelize docs for database dialects
2021-02-09 13:36:23 +01:00
Tilman Vatteroth
ed9e74e68b
Fix link to sequelize database dialect docs
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-09 13:18:54 +01:00
David Mehren
472f94877a
Update webpack-cli to 4.5.0
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:20:15 +01:00
David Mehren
0fc6ee6250
Update url-loader to 4.1.1
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:19:20 +01:00
David Mehren
28fa996b4f
Update mini-css-extract-plugin to 1.3.6
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:12:12 +01:00
David Mehren
06830f1f78
Update css-loader to 5.0.2
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:12:12 +01:00
David Mehren
5c54283b23
Update less to 4.1.1
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:12:12 +01:00
David Mehren
5f7613b85d
Update less-loader to 7.3.0
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:12:12 +01:00
David Mehren
51fc2dd529
Merge pull request #814 from hedgedoc/renovate/master-file-loader-6.x
Update dependency file-loader to v6 (master)
2021-02-08 22:20:14 +01:00
Renovate Bot
394d9161e8
Update dependency file-loader to v6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 21:09:27 +00:00
David Mehren
69b3929a1a
Merge pull request #831 from hedgedoc/maint/upgrade-webpack-loaders 2021-02-08 22:07:10 +01:00
David Mehren
fea78d8ef0
Upgrade to expose-loader 1.0.3
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 21:52:34 +01:00
David Mehren
8c60e2159c
Upgrade to imports-loader 1.2.0
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 21:52:30 +01:00
David Mehren
082939ac9a
Merge pull request #798 from hedgedoc/fix/default-note-freeurl
Fix note creation in FreeURL-mode does not apply default template
2021-02-07 16:04:14 +01:00
David Mehren
05e9b5ab8f
Merge pull request #834 from hedgedoc/renovate/master-async-3.x
Update dependency async to v3 (master)
2021-02-05 22:58:55 +01:00
Renovate Bot
c5d3e7cda1
Update dependency async to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-05 21:18:09 +00:00
David Mehren
58d362d28c
Merge pull request #809 from hedgedoc/renovate/master-actions-setup-node-2.x
Update actions/setup-node action to v2 (master)
2021-02-05 22:11:31 +01:00
David Mehren
37eee24893
Merge pull request #808 from hedgedoc/renovate/master-webpack-4.x
Update dependency webpack to v4.46.0 (master)
2021-02-05 22:11:18 +01:00
Renovate Bot
0012ccad14
Update actions/setup-node action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-05 20:59:08 +00:00
Renovate Bot
64e850ce71
Update dependency webpack to v4.46.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-05 20:58:55 +00:00
David Mehren
7076179d46
Merge pull request #807 from hedgedoc/renovate/master-pymdown-extensions-8.x
chore(deps): update dependency pymdown-extensions to v8.1.1 (master)
2021-02-05 21:52:11 +01:00
David Mehren
b087836f97
Merge pull request #805 from hedgedoc/renovate/master-html-webpack-plugin-4.x
chore(deps): update dependency html-webpack-plugin to v4.5.1 (master)
2021-02-05 21:51:52 +01:00
Renovate Bot
4af6a8d302
chore(deps): update dependency pymdown-extensions to v8.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-05 11:46:59 +00:00
Renovate Bot
0b203b38e1
chore(deps): update dependency html-webpack-plugin to v4.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-05 11:46:21 +00:00
David Mehren
43052921b4
Merge pull request #806 from hedgedoc/renovate/master-mkdocs-material-6.x
chore(deps): update dependency mkdocs-material to v6.2.8 (master)
2021-02-05 12:45:32 +01:00
Renovate Bot
6972f19e79
chore(deps): update dependency mkdocs-material to v6.2.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-04 20:47:49 +00:00
David Mehren
a4f7b51292
Merge pull request #829 from hedgedoc/getting-started-page
[Docs] Add "getting started" page
2021-02-03 23:02:32 +01:00
Tilman Vatteroth
63b50651df
[Docs] Add "getting started" page
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-03 21:42:49 +01:00
Yannick Bungers
18de2e7954
Merge pull request #802 from hedgedoc/extend-docs-with-community-install
Extend setup page with community methods
2021-02-03 21:02:33 +01:00
Tilman Vatteroth
dc76d158e7
[Docs] Extend setup page with community methods
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-03 20:54:29 +01:00
David Mehren
4aa5fa7a6c
Merge pull request #800 from hedgedoc/fix/slide-options
Fix wrong acces to slide options
2021-02-03 20:01:15 +01:00
Tilman Vatteroth
9f59a73049
Fix wrong acces to slide options
If the slide options in the frontmatter are empty
or not present, then slideOptions object in the
parsed JSON is undefined. This triggers an
exception when the sanitized slide options object
is built.

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-02 13:27:37 +01:00
Erik Michelson
3808c08c2d
Fix note creation in FreeURL mode not using template
As explained in #391, the previous note creation logic didn't handle the case "alias is set, but it's not a file on disk". The fix introduces a separate if-statement for this scenario at the cost of a doubled filesystem read access.

Co-Authored-By: @evanlinde
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-02-02 00:38:54 +01:00
David Mehren
78a732abe6
Merge pull request #779 from hedgedoc/enhancement/night-css
Improved CSS in night-mode
2021-01-29 20:32:07 +01:00
Erik Michelson
40d30baa03
Improved CSS in night-mode
A general invert-filter is applied to all pre elements in night mode. As diagrams are embedded inside pre tags, they're inverted as well. For sequence-diagrams and flow-charts this looks well, if we wouldn't additionally set the stroke and text color to white in night-mode. These additional white rules invert the already inverted diagram again and make it not good visible. The graphviz and abc embeddings aren't really optimized to be inverted, therefore they're now excluded from invertion and stay in day mode.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-01-28 12:30:47 +01:00
David Mehren
dfd710982a
Merge pull request #755 from nidico/issue-754-config-require-freeurl-authentication 2021-01-25 23:53:04 +01:00
Nicolas Dietrich
ad056d7dbb Don't add new config option in hackmd compatibility layer
Signed-off-by: Nicolas Dietrich <nidi@mailbox.org>
2021-01-23 16:20:03 +01:00
Nicolas Dietrich
5e269e4af9 Keep JS and env varibale name in sync (requireFreeURLAuthentication)
Signed-off-by: Nicolas Dietrich <nidi@mailbox.org>
2021-01-23 14:14:47 +01:00
Nicolas Dietrich
1ded386421
Fix link to DCO in contributing docs
Signed-off-by: Nicolas Dietrich <nidi@mailbox.org>

(cherry picked from commit d1ae76a5f9)
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-22 18:10:47 +01:00
Nicolas Dietrich
497569fee4 Add config option which requires authentication in FreeURL mode
This mitigates unintended note creation by bots or humans through a
simple GET call.

See discussion in #754.

Signed-off-by: Nicolas Dietrich <nidi@mailbox.org>
2021-01-22 16:52:49 +01:00