Add sane defaults for database_config_whitelist, add a task to remove non-whitelisted configs #1077

Merged
floatingghost merged 13 commits from mkljczk/akkoma:akkoma-database-config-whitelist into develop 2026-04-01 10:38:31 +00:00
Contributor
No description provided.
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Update test and config for Akkoma
Some checks are pending
ci/woodpecker/pr/test/1 Pipeline is pending approval
ci/woodpecker/pr/test/2 Pipeline is pending approval
1721746ece
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This shouldn't be an error
Some checks are pending
ci/woodpecker/pr/test/1 Pipeline is pending approval
ci/woodpecker/pr/test/2 Pipeline is pending approval
f70eb0127e
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Oneric left a comment
Owner

I don’t use and aren’t too familiar with db config, so I’ll leave proper review and merge for others.
However I already noticed that one of the whitelisted section simply doesn’t exist, indicating this default cherry-picked from Pleroma might need (possibly more than this one removal) adjustments for Akkoma

I don’t use and aren’t too familiar with db config, so I’ll leave proper review and merge for others. However I already noticed that one of the whitelisted section simply doesn’t exist, indicating this default cherry-picked from Pleroma might need (possibly more than this one removal) adjustments for Akkoma
@ -569,0 +571,4 @@
{:cors_plug},
{:ex_aws, :s3},
{:mime},
{:prometheus, Pleroma.Web.Endpoint.MetricsExporter},
Owner

this config section does not exist

this config section does not exist
Author
Contributor

I recall checking whether this group is present in Akkoma and I thought I removed it before committing…

I recall checking whether this group is present in Akkoma and I thought I removed it before committing…
Oneric marked this conversation as resolved
Update default config
Some checks are pending
ci/woodpecker/pr/test/1 Pipeline is pending approval
ci/woodpecker/pr/test/2 Pipeline is pending approval
a14d405e78
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
floatingghost left a comment
Owner

i do use DB config extensively, and this seems good to me

i'm happy to take this as-is and fix the changelog thingy myself, works on ihba - thanks!

i do use DB config extensively, and this seems good to me i'm happy to take this as-is and fix the changelog thingy myself, works on ihba - thanks!
@ -0,0 +1 @@
Add reasonable defaults for :database_config_whitelist

extremely minor, we use the old changelog format rather than the new changelog.d

extremely minor, we use the old changelog format rather than the new changelog.d
floatingghost deleted branch akkoma-database-config-whitelist 2026-04-01 10:38:31 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AkkomaGang/akkoma!1077
No description provided.