Skip to content
Snippets Groups Projects
Commit e4b1df77 authored by Bob Mottram's avatar Bob Mottram
Browse files

Pleroma markup settings

parent fc4ba0c8
No related branches found
No related tags found
No related merge requests found
......@@ -547,6 +547,18 @@ function pleroma_create_config {
echo '';
echo '# begin filtering';
echo 'config :pleroma, :instance,';
echo ' federating: true,';
echo ' limit: 5000,';
echo ' public: true,';
echo ' allow_relay: false,';
echo ' finmoji_enabled: true,';
echo ' quarantined_instances: [],';
echo ' mrf_transparency: true,';
echo ' allowed_post_formats: [';
echo ' "text/plain",';
echo ' "text/html",';
echo ' "text/markdown"';
echo ' ],';
echo ' rewrite_policy: Pleroma.Web.ActivityPub.MRF.SimplePolicy';
echo '';
echo 'config :pleroma, :mrf_simple,';
......@@ -558,6 +570,16 @@ function pleroma_create_config {
echo '';
echo 'config :phoenix, :stacktrace_depth, 20';
echo '';
echo 'config :pleroma, :markup,';
echo ' allow_inline_images: true,';
echo ' allow_headings: true,';
echo ' allow_tables: true,';
echo ' allow_fonts: false,';
echo ' scrub_policy: [';
echo ' Pleroma.HTML.Transform.MediaProxy,';
echo ' Pleroma.HTML.Scrubber.Default';
echo ' ]';
echo '';
echo 'config :pleroma, Pleroma.Repo,';
echo ' adapter: Ecto.Adapters.Postgres,';
echo ' username: "pleroma",';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment