hedgedoc/public/js
Erik Michelson 0093aa4783 Fix GitLab snippet export
The snippet export broke due to two reasons.
First of all, the request to GitLab fail in the
default configuration due to the CSP not being
set properly. This commit adds the configured
GitLab base url to the connect-src directives.
The second problem is a change in the GitLab API
spec. Instead of `code` and `file_name` the
GitLab API now requires an `files` array with
`content` and `file_path` entries per snippet.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-04-10 21:24:30 +02:00
..
lib Set secure flag for non-session cookies 2021-08-15 00:08:31 +02:00
cover.js Force change of aria-hidden when modal shows or hides 2022-04-03 22:52:53 +02:00
extra.js Fix mermaid import 2021-12-02 19:11:39 +01:00
fix-aria-hidden-for-modals.js Force change of aria-hidden when modal shows or hides 2022-04-03 22:52:53 +02:00
history.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
htmlExport.js Inline CSS & JS into HTML export template 2021-08-15 00:09:53 +02:00
index.js Fix GitLab snippet export 2022-04-10 21:24:30 +02:00
locale.js Set secure flag for non-session cookies 2021-08-15 00:08:31 +02:00
mathjax-config-extra.js Fix MathJax config not being picked up 2017-10-22 02:48:24 +02:00
pretty.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
render.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
reveal-markdown.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
slide.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
utils.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00