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
Nicolas Dietrich
3331c0947c
Minor refactoring of freeURL condition check
...
Signed-off-by: Nicolas Dietrich <nidi@mailbox.org>
2021-01-22 16:52:49 +01:00
Yannick Bungers
ea52746104
Merge pull request #750 from hedgedoc/docs/fix-link-configuration
...
[Documentation] Fix link in manual setup
2021-01-21 21:36:28 +01:00
Tilman Vatteroth
4d48ef1509
[Documentation] Fix link in manual setup
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-21 21:22:07 +01:00
David Mehren
e8dca34dd9
Merge pull request #741 from hedgedoc/doc/setup-index
2021-01-18 20:13:08 +01:00
Tilman Vatteroth
46eda5eead
Rewrite sentence
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-18 16:56:32 +01:00
Tilman Vatteroth
c1d9364a1a
Add page to setup namespace
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-18 16:51:03 +01:00
Yannick Bungers
d0547a0337
Merge pull request #735 from hedgedoc/fix/correct-parsing-of-slide-options
...
Delete slide options that are not defined
2021-01-15 21:25:31 +01:00
Tilman Vatteroth
3eb64cff55
Delete slide options that are not defined
...
Reveal.js doesn't set the default value of an option in the provided config object
if the key is set with "undefined" as value. This leads to a broken slide mode,
because some critical settings are missing.
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-15 21:18:23 +01:00
David Mehren
e9d4587344
Bump version to 1.7.2
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-15 20:37:30 +01:00
Yannick Bungers
8af470634a
Merge pull request #730 from hedgedoc/maint/master-deps-upgrade
2021-01-15 20:22:38 +01:00
David Mehren
f3412146ba
Regenerate yarn.lock
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-14 23:31:53 +01:00
David Mehren
606d92997a
Upgrade to socket.io 2.4.1
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-14 23:31:53 +01:00
David Mehren
a4801187b7
Update yarn.lock
...
archiver@5.2.0, aws-sdk@2.828.0, file-type@16.2.0, prismjs@1.23.0, socket.io-client@2.4.0, bufferutil@4.0.3, utf-8-validate@5.0.4
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-14 23:31:53 +01:00
David Mehren
2b8aac289a
Merge pull request #727 from hedgedoc/fix/slideOptionsSanitation
2021-01-14 21:57:07 +01:00
Yannick Bungers
f8757382af
Merge pull request #722 from hedgedoc/docs/various-fixes
2021-01-14 21:48:58 +01:00
David Mehren
3d4f1e163c
Merge pull request #728 from hedgedoc/fix/statusBarCover
...
fixed last line statusbar cover problem
2021-01-14 21:39:20 +01:00
Philip Molares
8e611e42ee
added theme to the sanitization of slideOptions
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-14 16:42:53 +01:00
Philip Molares
a52982c7d2
fixed a problem that the last line of code becomes covered by status bar and can't be moved without changing the note.
...
Thanks to @mhdrone for reporting this and suggesting the fix
fixes #724
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-14 11:51:32 +01:00
Philip Molares
1546786c63
changed the SCRIPT_END_PLACEHOLDER regex to case insensitive
...
this was suggested by @TobiasHoll in https://github.com/hackmdio/codimd/issues/1648
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-14 11:35:17 +01:00
Philip Molares
35b0d39a12
added sanitation to the slideMode in frontmatter
...
This should prevent the issue mentioned in https://github.com/hackmdio/codimd/issues/1648
Specifically left out are
- dependency (user can't really include anything anyway, because CSP forbids most domains)
- autoSlideMethod (nothing our users should be able to change as they won't write JS to be affected by this)
- keyboard (this let's users write arbitrary code and seems therefore to problematic)
See:
https://github.com/hakimel/reveal.js/blob/3.9.2/README.md#configuration
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-14 11:18:09 +01:00
David Mehren
eaa7a15615
Docs: Reorder navigation links
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-13 20:59:32 +01:00
David Mehren
c8a7984fa4
Docs: Various formatting fixes
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-13 20:59:32 +01:00
David Mehren
1256eb3cd3
Docs: Use extensions to make markdown parsing more like GFM
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-13 20:59:32 +01:00
David Mehren
512fc2a914
GitLab Auth Guide: Fix indentation
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-11 12:05:31 +01:00
David Mehren
bf7d4ddcd8
GitHub Auth Guide: Fix indentation
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-11 12:04:56 +01:00
David Mehren
ee83c85eb0
SAML Auth Guide: Fix indentation
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-11 12:03:48 +01:00
David Mehren
80d8cc79f6
Docs: Unify code block languages
...
Use `yaml` for Dockerfiles, `shell` for environment variables and `json` for our config file.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-11 12:00:33 +01:00
David Mehren
877bc26078
Docs: Replace :smile
with actual 😃 emoji
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-11 11:54:33 +01:00
David Mehren
1d92a81755
Docs: Enable SuperFences extension
...
This allows indented code blocks in lists
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-11 11:54:33 +01:00
Simon C
6dab69de60
docs: Fix indentation of code
...
(cherry picked from commit 4559d52d52
)
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-11 11:12:57 +01:00
Tilman Vatteroth
5bdb392413
Several theme changes ( #659 )
...
* Several theme changes
- Add max width of 1440px
- Rename css file
- Fix edit button
- Add local Roboto font
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-05 22:55:00 +01:00