Move ToS settings to the FE section

This commit is contained in:
Pleromian 2025-02-04 17:51:46 +00:00 committed by Pleroma User
parent e4251486aa
commit 00e68bf918
2 changed files with 8 additions and 6 deletions

View file

@ -174,7 +174,6 @@ config :pleroma, :instance,
short_description: "",
background_image: "/images/city.jpg",
instance_thumbnail: "/instance/thumbnail.jpeg",
embedded_terms: true,
favicon: "/favicon.png",
limit: 5_000,
description_limit: 5_000,
@ -308,6 +307,7 @@ config :pleroma, :frontend_configurations,
collapseMessageWithSubject: false,
disableChat: false,
greentext: false,
embeddedToS: true,
hideFilteredStatuses: false,
hideMutedPosts: false,
hidePostStats: false,

View file

@ -1057,11 +1057,6 @@ config :pleroma, :config_description, [
description: "Favicon of the instance",
suggestions: ["/favicon.png"]
},
%{
key: :embedded_terms,
type: :boolean,
description: "Embed Terms of Service panel on About and Registration pages",
},
%{
key: :show_reactions,
type: :boolean,
@ -1266,6 +1261,7 @@ config :pleroma, :config_description, [
background: "/static/aurora_borealis.jpg",
collapseMessageWithSubject: false,
greentext: false,
embeddedToS: true,
hideFilteredStatuses: false,
hideMutedPosts: false,
hidePostStats: false,
@ -1317,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",