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 Add missing catch 2020-12-02 19:39:06 +01:00
models Use libravatar image if email address is defined 2022-01-07 14:01:32 +01:00
ot Fix logging in ot module 2018-11-13 23:30:13 +01:00
web Fix linter errors in imageRouter 2022-04-10 21:16:35 +02:00
workers Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
csp.js Fix GitLab snippet export 2022-04-10 21:24:30 +02:00
errors.js Check for existing notes on POST and dont override them 2021-03-29 23:00:34 +02:00
history.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
letter-avatars.js Use identicons as fallback for libravatar 2022-01-07 14:03:26 +01:00
logger.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
prometheus.js Add custom prometheus metrics 2021-04-25 20:06:56 +02:00
realtime.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
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