summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [Docs] Extend setup page with community methodsTilman Vatteroth2021-02-036-20/+23
| | | | Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Merge pull request #779 from hedgedoc/enhancement/night-cssDavid Mehren2021-01-291-19/+8
|\ | | | | Improved CSS in night-mode
| * Improved CSS in night-modeErik Michelson2021-01-281-19/+8
|/ | | | | | 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>
* Merge pull request #755 from ↵David Mehren2021-01-254-4/+9
|\ | | | | | | nidico/issue-754-config-require-freeurl-authentication
| * Don't add new config option in hackmd compatibility layerNicolas Dietrich2021-01-231-1/+0
| | | | | | | | Signed-off-by: Nicolas Dietrich <nidi@mailbox.org>
| * Keep JS and env varibale name in sync (requireFreeURLAuthentication)Nicolas Dietrich2021-01-232-2/+2
| | | | | | | | Signed-off-by: Nicolas Dietrich <nidi@mailbox.org>
| * Add config option which requires authentication in FreeURL modeNicolas Dietrich2021-01-225-1/+5
| | | | | | | | | | | | | | | | | | 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>
| * Minor refactoring of freeURL condition checkNicolas Dietrich2021-01-221-4/+6
| | | | | | | | Signed-off-by: Nicolas Dietrich <nidi@mailbox.org>
* | Fix link to DCO in contributing docsNicolas Dietrich2021-01-221-2/+2
|/ | | | | | | Signed-off-by: Nicolas Dietrich <nidi@mailbox.org> (cherry picked from commit d1ae76a5f91b88c9bd3f6c21e48bb424b257bad0) Signed-off-by: David Mehren <git@herrmehren.de>
* Merge pull request #750 from hedgedoc/docs/fix-link-configurationYannick Bungers2021-01-211-1/+1
|\ | | | | [Documentation] Fix link in manual setup
| * [Documentation] Fix link in manual setupTilman Vatteroth2021-01-211-1/+1
|/ | | | Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Merge pull request #741 from hedgedoc/doc/setup-indexDavid Mehren2021-01-181-0/+8
|\
| * Rewrite sentenceTilman Vatteroth2021-01-181-1/+1
| | | | | | | | Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
| * Add page to setup namespaceTilman Vatteroth2021-01-181-0/+8
|/ | | | Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Merge pull request #735 from hedgedoc/fix/correct-parsing-of-slide-optionsYannick Bungers2021-01-151-0/+6
|\ | | | | Delete slide options that are not defined
| * Delete slide options that are not definedTilman Vatteroth2021-01-151-0/+6
|/ | | | | | | | 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>
* Bump version to 1.7.2David Mehren2021-01-154-3/+12
| | | | Signed-off-by: David Mehren <git@herrmehren.de>
* Merge pull request #730 from hedgedoc/maint/master-deps-upgradeYannick Bungers2021-01-151-479/+400
|\
| * Regenerate yarn.lockDavid Mehren2021-01-141-342/+319
| | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * Upgrade to socket.io 2.4.1David Mehren2021-01-141-106/+21
| | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * Update yarn.lockDavid Mehren2021-01-141-54/+83
|/ | | | | | 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>
* Merge pull request #727 from hedgedoc/fix/slideOptionsSanitationDavid Mehren2021-01-142-2/+52
|\
| * added theme to the sanitization of slideOptionsPhilip Molares2021-01-141-0/+1
| | | | | | | | Signed-off-by: Philip Molares <philip.molares@udo.edu>
| * changed the SCRIPT_END_PLACEHOLDER regex to case insensitivePhilip Molares2021-01-141-1/+1
| | | | | | | | | | | | this was suggested by @TobiasHoll in https://github.com/hackmdio/codimd/issues/1648 Signed-off-by: Philip Molares <philip.molares@udo.edu>
| * added sanitation to the slideMode in frontmatterPhilip Molares2021-01-141-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #722 from hedgedoc/docs/various-fixesYannick Bungers2021-01-1414-83/+106
|\ \
| * | Docs: Reorder navigation linksDavid Mehren2021-01-131-6/+6
| | | | | | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * | Docs: Various formatting fixesDavid Mehren2021-01-135-8/+11
| | | | | | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * | Docs: Use extensions to make markdown parsing more like GFMDavid Mehren2021-01-132-0/+3
| | | | | | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * | GitLab Auth Guide: Fix indentationDavid Mehren2021-01-111-12/+13
| | | | | | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * | GitHub Auth Guide: Fix indentationDavid Mehren2021-01-111-2/+2
| | | | | | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * | SAML Auth Guide: Fix indentationDavid Mehren2021-01-111-10/+15
| | | | | | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * | Docs: Unify code block languagesDavid Mehren2021-01-1110-20/+20
| | | | | | | | | | | | | | | | | | Use `yaml` for Dockerfiles, `shell` for environment variables and `json` for our config file. Signed-off-by: David Mehren <git@herrmehren.de>
| * | Docs: Replace `:smile` with actual 😃 emojiDavid Mehren2021-01-116-8/+9
| | | | | | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * | Docs: Enable SuperFences extensionDavid Mehren2021-01-111-0/+1
| | | | | | | | | | | | | | | | | | This allows indented code blocks in lists Signed-off-by: David Mehren <git@herrmehren.de>
| * | docs: Fix indentation of codeSimon C2021-01-111-23/+32
| |/ | | | | | | | | (cherry picked from commit 4559d52d521939739b0d3aad0c84e39d2aa5c960) Signed-off-by: David Mehren <git@herrmehren.de>
* | Merge pull request #728 from hedgedoc/fix/statusBarCoverDavid Mehren2021-01-141-1/+1
|\ \ | |/ |/| fixed last line statusbar cover problem
| * fixed a problem that the last line of code becomes covered by status bar and ↵Philip Molares2021-01-141-1/+1
|/ | | | | | | | | | 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>
* Several theme changes (#659)Tilman Vatteroth2021-01-057-1/+35
| | | | | | | | | | * 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>
* Merge pull request #656 from hedgedoc/docs/move-contentYannick Bungers2021-01-0594-56/+83
|\ | | | | Move docs into subdirectory to make structor work
| * Change history linkTilman Vatteroth2021-01-051-1/+1
| | | | | | | | Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
| * Change links in READMETilman Vatteroth2021-01-051-10/+20
| | | | | | | | Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
| * Use svg in readmeTilman Vatteroth2021-01-051-1/+1
| | | | | | | | Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
| * Move docs into subdirectory to make mkdocs work in a subdirectoryTilman Vatteroth2021-01-0594-45/+62
|/ | | | Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Merge pull request #655 from hedgedoc/remove-ie11Yannick Bungers2021-01-041-2/+4
|\ | | | | Remove IE11 support from README
| * Remove IE11 support from READMEDavid Mehren2021-01-041-2/+4
|/ | | | | | Apparently we have stopped supporting IE11. It shows a syntax error for our JS. I have spent half an hour trying to add IE11 to our Babel config, but that did not resolve the issue. It seems bigger changes to our Webpack config might be necessary to support IE11 again, which I don't think is worthwhile. It's probably reasonable to just remove IE from the list of supported browsers. Signed-off-by: David Mehren <git@herrmehren.de>
* Merge pull request #650 from hedgedoc/mkdocsDavid Mehren2021-01-048-1/+111
|\
| * added documentation about how the write, build and deploy thisPhilip Molares2021-01-044-2/+32
| | | | | | | | | | | | documentation. Signed-off-by: Philip Molares <philip.molares@udo.edu>
| * removed kubernetes from navigationPhilip Molares2021-01-041-1/+0
| | | | | | | | Signed-off-by: Philip Molares <philip.molares@udo.edu>
| * added all necessary configs to use structorPhilip Molares2021-01-036-9/+42
| | | | | | | | | | | | see https://github.com/traefik/structor Signed-off-by: Philip Molares <philip.molares@udo.edu>