From 9d6f201e5eb37c74490fc47b9b9c98575c6803e6 Mon Sep 17 00:00:00 2001 From: Pleroma User <66706-pleromian@users.noreply.git.pleroma.social> Date: Fri, 20 Jun 2025 21:22:27 +0000 Subject: [PATCH] Add tos setting --- changelog.d/tos-setting.add | 1 + config/config.exs | 1 + config/description.exs | 7 +++++++ 3 files changed, 9 insertions(+) create mode 100644 changelog.d/tos-setting.add diff --git a/changelog.d/tos-setting.add b/changelog.d/tos-setting.add new file mode 100644 index 000000000..db9b0d5f2 --- /dev/null +++ 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 index a231c5ba0..31d7258ee 100644 --- 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 index 2f7dc30a0..e20fa4b28 100644 --- 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, @@ -1312,6 +1313,12 @@ config :pleroma, :config_description, [ type: :boolean, 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",