hedgedoc/test
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
..
csp.js Fix GitLab snippet export 2022-04-10 21:24:30 +02:00
letter-avatars.js Update tests and changelog 2022-01-07 18:21:33 +01:00
user.js polyfilling scrypt for node 8.5+ 2019-05-13 19:37:21 +02:00