logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: 9d6f201e5eb37c74490fc47b9b9c98575c6803e6
parent 29be5018b0a7a50708aad68f69f187184ceaa7b4
Author: Pleroma User <66706-pleromian@users.noreply.git.pleroma.social>
Date:   Fri, 20 Jun 2025 21:22:27 +0000

Add tos setting

Diffstat:

Achangelog.d/tos-setting.add1+
Mconfig/config.exs1+
Mconfig/description.exs7+++++++
3 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/changelog.d/tos-setting.add b/changelog.d/tos-setting.add @@ -0,0 +1 @@ +Allow Terms of Service panel behaviour to be configurable diff --git a/config/config.exs b/config/config.exs @@ -307,6 +307,7 @@ config :pleroma, :frontend_configurations, collapseMessageWithSubject: false, disableChat: false, greentext: false, + embeddedToS: true, hideFilteredStatuses: false, hideMutedPosts: false, hidePostStats: false, diff --git a/config/description.exs b/config/description.exs @@ -1261,6 +1261,7 @@ config :pleroma, :config_description, [ background: "/static/aurora_borealis.jpg", collapseMessageWithSubject: false, greentext: false, + embeddedToS: true, hideFilteredStatuses: false, hideMutedPosts: false, hidePostStats: false, @@ -1313,6 +1314,12 @@ config :pleroma, :config_description, [ description: "Enables green text on lines prefixed with the > character" }, %{ + key: :embeddedToS, + label: "Embedded ToS panel", + type: :boolean, + description: "Hide Terms of Service panel decorations on About and Registration pages" + }, + %{ key: :hideFilteredStatuses, label: "Hide Filtered Statuses", type: :boolean,