hedgedoc/lib
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
..
config Allow SAML authentication provider to be named 2022-03-20 19:59:53 +01:00
migrations
models Use libravatar image if email address is defined 2022-01-07 14:01:32 +01:00
ot
web Fix linter errors in imageRouter 2022-04-10 21:16:35 +02:00
workers
csp.js Fix GitLab snippet export 2022-04-10 21:24:30 +02:00
errors.js
history.js
letter-avatars.js Use identicons as fallback for libravatar 2022-01-07 14:03:26 +01:00
logger.js
prometheus.js
realtime.js
response.js Fix GitLab snippet export 2022-04-10 21:24:30 +02:00
utils.js Exclude /metrics and /status routes from session initialization 2021-07-20 23:56:54 +02:00