projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for scheduled post with poll
[akkoma]
/
config
/
description.exs
diff --git
a/config/description.exs
b/config/description.exs
index 0580be09aad3205058ad71ef70fecb38370b8bf3..f84b52a4f6904822f75f037990a2aeacf38b09c7 100644
(file)
--- a/
config/description.exs
+++ b/
config/description.exs
@@
-60,6
+60,12
@@
frontend_options = [
label: "Build directory",
type: :string,
description: "The directory inside the zip file "
label: "Build directory",
type: :string,
description: "The directory inside the zip file "
+ },
+ %{
+ key: "custom-http-headers",
+ label: "Custom HTTP headers",
+ type: {:list, :string},
+ description: "The custom HTTP headers for the frontend"
}
]
}
]
@@
-1627,13
+1633,20
@@
config :pleroma, :config_description, [
group: :pleroma,
key: Pleroma.Web.MediaProxy.Invalidation.Script,
type: :group,
group: :pleroma,
key: Pleroma.Web.MediaProxy.Invalidation.Script,
type: :group,
- description: "
Script invalidate
settings",
+ description: "
Invalidation script
settings",
children: [
%{
key: :script_path,
type: :string,
children: [
%{
key: :script_path,
type: :string,
- description: "Path to
shell script. Which will run purge cache
.",
+ description: "Path to
executable script which will purge cached items
.",
suggestions: ["./installation/nginx-cache-purge.sh.example"]
suggestions: ["./installation/nginx-cache-purge.sh.example"]
+ },
+ %{
+ key: :url_format,
+ type: :string,
+ description:
+ "Optional URL format preprocessing. Only required for Apache's htcacheclean.",
+ suggestions: [":htcacheclean"]
}
]
},
}
]
},
@@
-1749,14
+1762,6
@@
config :pleroma, :config_description, [
type: :string,
description: "Adds the specified URL to report-uri and report-to group in CSP header",
suggestions: ["https://example.com/report-uri"]
type: :string,
description: "Adds the specified URL to report-uri and report-to group in CSP header",
suggestions: ["https://example.com/report-uri"]
- },
- %{
- key: :service_worker_allowed,
- label: "The Service-Worker-Allowed header",
- type: :string,
- description:
- "Sets the Service-Worker-Allowed header which limits the maximum allowed Service Worker scope",
- suggestions: ["/"]
}
]
},
}
]
},
@@
-3219,6
+3224,12
@@
config :pleroma, :config_description, [
type: :string,
description: "S3 host",
suggestions: ["s3.eu-central-1.amazonaws.com"]
type: :string,
description: "S3 host",
suggestions: ["s3.eu-central-1.amazonaws.com"]
+ },
+ %{
+ key: :region,
+ type: :string,
+ description: "S3 region (for AWS)",
+ suggestions: ["us-east-1"]
}
]
},
}
]
},