~jadedctrl/jam-xwx-moe

Showing details for patch 6a033304415cca07e67f2c71d3335f43bad47a3d.
2024-03-03 (Sun), 10:49 PM - - 6a033304415cca07e67f2c71d3335f43bad47a3d

Faras apartan agordodosieron por blokoj; blokas du servilojn

Summary of changes
1 files added
  • pleroma/blokoj.exs
1 files modified with 9 lines added and 1 lines removed
  • pleroma/prod.exs with 9 added and 1 removed lines
diff -rN -u old-jam-xwx-moe/pleroma/blokoj.exs new-jam-xwx-moe/pleroma/blokoj.exs
--- old-jam-xwx-moe/pleroma/blokoj.exs	1970-01-01 00:00:00.000000000 +0000
+++ new-jam-xwx-moe/pleroma/blokoj.exs	2024-11-22 04:36:59.708192198 +0000
@@ -0,0 +1,3 @@
+config :pleroma, :mrf_simple,
+  reject: [ {"parcero.bond", "Malamaj trudafiŝoj freneze akraj."},
+            {"detroitriotcity.com", "Malamaj trudafiŝoj freneze akraj."} ]
diff -rN -u old-jam-xwx-moe/pleroma/prod.exs new-jam-xwx-moe/pleroma/prod.exs
--- old-jam-xwx-moe/pleroma/prod.exs	2024-11-22 04:36:59.708192198 +0000
+++ new-jam-xwx-moe/pleroma/prod.exs	2024-11-22 04:36:59.708192198 +0000
@@ -24,7 +24,7 @@
   do: import_config("prod.exported_from_db.secret.exs")
 
 
-config :pleroma, Pleroma.Captcha.Kocaptcha, endpoint: "https://kap.jam.xwx.moe"
+config :pleroma, Pleroma.Captcha.Kocaptcha, endpoint: "http://localhost:5001"
 
 config :pleroma, Pleroma.Captcha,
   enabled: true,
@@ -104,3 +104,11 @@
     Pleroma.HTML.Scrubber.Default,
     Pleroma.HTML.Transform.MediaProxy
   ]
+
+
+config :pleroma, :mrf,
+  policies: [
+    Pleroma.Web.ActivityPub.MRF.AntiLinkSpamPolicy, Pleroma.Web.ActivityPub.MRF.SimplePolicy
+  ]
+
+import_config "blokoj.exs"