summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependency file-loader to v6Renovate Bot2021-02-082-7/+7
| | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Merge pull request #831 from hedgedoc/maint/upgrade-webpack-loadersDavid Mehren2021-02-083-44/+56
|\
| * Upgrade to expose-loader 1.0.3David Mehren2021-02-083-35/+38
| | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * Upgrade to imports-loader 1.2.0David Mehren2021-02-083-9/+18
|/ | | | Signed-off-by: David Mehren <git@herrmehren.de>
* Merge pull request #798 from hedgedoc/fix/default-note-freeurlDavid Mehren2021-02-071-3/+4
|\ | | | | Fix note creation in FreeURL-mode does not apply default template
| * Fix note creation in FreeURL mode not using templateErik Michelson2021-02-021-3/+4
| | | | | | | | | | | | | | 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>
* | Merge pull request #834 from hedgedoc/renovate/master-async-3.xDavid Mehren2021-02-052-9/+2
|\ \ | | | | | | Update dependency async to v3 (master)
| * | Update dependency async to v3Renovate Bot2021-02-052-9/+2
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #809 from hedgedoc/renovate/master-actions-setup-node-2.xDavid Mehren2021-02-051-3/+3
|\ \ | | | | | | Update actions/setup-node action to v2 (master)
| * | Update actions/setup-node action to v2Renovate Bot2021-02-051-3/+3
| | | | | | | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | | Merge pull request #808 from hedgedoc/renovate/master-webpack-4.xDavid Mehren2021-02-052-7/+7
|\ \ \ | |/ / |/| | Update dependency webpack to v4.46.0 (master)
| * | Update dependency webpack to v4.46.0Renovate Bot2021-02-052-7/+7
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #807 from hedgedoc/renovate/master-pymdown-extensions-8.xDavid Mehren2021-02-051-1/+1
|\ \ | | | | | | chore(deps): update dependency pymdown-extensions to v8.1.1 (master)
| * | chore(deps): update dependency pymdown-extensions to v8.1.1Renovate Bot2021-02-051-1/+1
| | | | | | | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | | Merge pull request #805 from hedgedoc/renovate/master-html-webpack-plugin-4.xDavid Mehren2021-02-052-6/+6
|\ \ \ | |/ / |/| | chore(deps): update dependency html-webpack-plugin to v4.5.1 (master)
| * | chore(deps): update dependency html-webpack-plugin to v4.5.1Renovate Bot2021-02-052-6/+6
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #806 from hedgedoc/renovate/master-mkdocs-material-6.xDavid Mehren2021-02-051-1/+1
|\ \ | | | | | | chore(deps): update dependency mkdocs-material to v6.2.8 (master)
| * | chore(deps): update dependency mkdocs-material to v6.2.8Renovate Bot2021-02-041-1/+1
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #829 from hedgedoc/getting-started-pageDavid Mehren2021-02-033-9/+33
|\ \ | | | | | | [Docs] Add "getting started" page
| * | [Docs] Add "getting started" pageTilman Vatteroth2021-02-033-9/+33
|/ / | | | | | | Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* | Merge pull request #802 from hedgedoc/extend-docs-with-community-installYannick Bungers2021-02-036-20/+23
|\ \ | | | | | | Extend setup page with community methods
| * | [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 #800 from hedgedoc/fix/slide-optionsDavid Mehren2021-02-031-49/+50
|\ \ | |/ |/| Fix wrong acces to slide options
| * Fix wrong acces to slide optionsTilman Vatteroth2021-02-021-49/+50
|/ | | | | | | | | | 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>
* 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>