hedgedoc/lib
Sheogorath d939de17df
Fix CSP for disqus and Google Analytics
This commit should fix existing problems with Disqus and Google
Analytics enabled in the meta-yaml section of a note.

Before this commit they were blocked by the strict CSP. It's still
possible to disable the added directives using `addDisqus` and
`addGoogleAnalytics` in the `csp` config section.

They are enabled by default to prevent breaking changes.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-30 16:33:52 +02:00
..
config Fix CSP for disqus and Google Analytics 2018-03-30 16:33:52 +02:00
migrations Add missing migration for permissions 2018-03-06 16:31:41 +01:00
models Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
ot Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
web Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
workers
csp.js Fix CSP for disqus and Google Analytics 2018-03-30 16:33:52 +02:00
history.js Improve history migration performance 2018-03-10 16:51:00 +08:00
letter-avatars.js
logger.js
realtime.js Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
response.js Fix CSP for disqus and Google Analytics 2018-03-30 16:33:52 +02:00
utils.js